p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: Connect error


Message #1 by "Phil Perks" <philp@w...> on Fri, 3 Mar 2000 12:27:1
You're right - you can't use an HTTP address as the data source. It has
to be a local file. If the database is on the same server, then this
should be no problem.

Dave


"Phil Perks" <philp@w...> wrote in message
news:<6553BCF3E25DD2118F0A00AA00AE6AAA173A24@t...>...
> --Original Message-----
> From: Crystin Slade [mailto:Crystin.Slade@c...]
> Sent: 03 March 2000 11:50
> To: support@w...
> Subject: Active Server Pages 3.0 2-6-10
> 
> 
> Hi
> 
> I am using a connect string to connect to an Access Database as
follows:-
> 
> strcalconn = "Provider=Microsoft.Jet.OLEDB.4.0; Data
> Source=http://www.crystin.co.uk/calexpress/PremUnsec.mdb"
> 
> I am getting the following error when I try to connect to the
database.  I
> have checked the spelling and case and it is all correct.  I suspect
the
> problem is using a URL instead of a standard filename.  Could you
please
> sugggest how I get around this as I have tried many things so far to
no
> avail.
> 
> Microsoft JET Database Engine error '80004005'
> 
> Not a valid file name.
> 
> /calexpress/processdata.asp, line 35
> 
> Best regards
> Crystin Slade
> 
> 
ProASP3CodeClinic@i...
$subst('Email.Unsub')

  Return to Index