ukgolfer
Posts: 2
|
Posted: 02/22/2004, 10:07 AM |
|
I am gettingthe following error message (caanot access database)
Error information:
Microsoft JET Database Engine (0x80004005)
Not a valid file name.
Other possible cause of this problem:
The database cannot be opened, most likely due to incorrect connection settings or insufficient security set on your database folder or file.
For more details please refer to http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306518
Have added the demo file "internet.mdb" to the following:
www.uk101.com/codecharge/portal
and I have updated common.asp to the following:
ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=http://www.uk101.com/codecharge/portal/Internet.mdb;Persist Security Info=False"
Any ideas as to hy it wont work
|
|
|
Don Safar
|
Posted: 02/22/2004, 10:50 AM |
|
Make sure the IUSR_machinename account has read/write privileges on the
database. Also you will need to change the document search order in IIS so
it looks for default.asp before default.html.
"ukgolfer" <ukgolfer@forum.codecharge> wrote in message
news:64038efca5307b@news.codecharge.com...
> I am gettingthe following error message (caanot access database)
>
> Error information:
> Microsoft JET Database Engine (0x80004005)
> Not a valid file name.
> Other possible cause of this problem:
> The database cannot be opened, most likely due to incorrect connection
settings or insufficient security set on your database folder or file.
> For more details please refer to http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306518
>
> Have added the demo file "internet.mdb" to the following:
> www.uk101.com/codecharge/portal
>
> and I have updated common.asp to the following:
> ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data
Source=http://www.uk101.com/codecharge/portal/Internet.mdb;Persist Security
Info=False"
>
> Any ideas as to hy it wont work
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
peterr
Posts: 5971
|
Posted: 02/22/2004, 12:52 PM |
|
The problem appears to be in your string: http://www.uk101.com/codecharge/portal/Internet.mdb
Please replace it with the standard Windows path, for example:
c:\wwwroot\inetpub\...\Internet.mdb
Your hosting company may need to provide you with exact instructions.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
Wayne
|
Posted: 02/22/2004, 1:00 PM |
|
How stupid of me!!!
I was adding the address rather than the local details for the server.
Gor confused when I saw c:\wwwroot\inetpub. I thought that it was set up to work on a localhost.
THANKSSS
|
|
|