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.


"Phil Perks" <philp@w...> wrote in message
> --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
> 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
> problem is using a URL instead of a standard filename.  Could you
> sugggest how I get around this as I have tried many things so far to
> avail.
> Microsoft JET Database Engine error '80004005'
> Not a valid file name.
> /calexpress/processdata.asp, line 35
> Best regards
> Crystin Slade

  Return to Index