Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access_asp thread: IIS 0x80004005 error: Disk or network error.


Message #1 by "Igor Mihacic" <igorm@p...> on Tue, 16 Oct 2001 13:30:40 +0200
Hi to all! I hope someone could help me.



The problem:

IIS 5.0 on Win2k server reports this error type:

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)

[Microsoft][ODBC Microsoft Access Driver] Disk or network error.



This happens when I try to get some data from Access 2000. A system DSN is

set to the database. The connection string in an ASP file is:

set rsTest = Server.CreateObject("ADODB.Recordset")

rsTest.ActiveConnection= "dsn=database;"



I look around on various forums and help pages and MS support and found some

answers that didn't solve my problem.



So I set the permissons both on the pages and on the database to

IUSR_Machine and also Everyone and give them full control. The ODBC driver

for Access is version 4.xxx



Any idea what else could I try?





Bye,

-- igor



Message #2 by "Frank Kech" <fkech@s...> on Tue, 16 Oct 2001 08:45:10 -0500
If the database is not on the server, that's your problem. Unfortunately you

can't use Challenge and Response authentication because the outside client's

password is not sent to the server. Try basic authentication.





-----Original Message-----

From: Igor Mihacic [mailto:igorm@p...]

Sent: Tuesday, October 16, 2001 6:31 AM

To: Access ASP

Subject: [access_asp] IIS 0x80004005 error: Disk or network error.





Hi to all! I hope someone could help me.



The problem:

IIS 5.0 on Win2k server reports this error type:

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)

[Microsoft][ODBC Microsoft Access Driver] Disk or network error.



This happens when I try to get some data from Access 2000. A system DSN is

set to the database. The connection string in an ASP file is:

set rsTest = Server.CreateObject("ADODB.Recordset")

rsTest.ActiveConnection= "dsn=database;"



I look around on various forums and help pages and MS support and found some

answers that didn't solve my problem.



So I set the permissons both on the pages and on the database to

IUSR_Machine and also Everyone and give them full control. The ODBC driver

for Access is version 4.xxx



Any idea what else could I try?





Bye,

-- igor
Message #3 by "Paddy Anigbo" <dirosky@h...> on Tue, 16 Oct 2001 14:58:03 +0100
Igor,



Are you trying to access a network drive? It sure sounds like it.



Patrick



----- Original Message -----

From: Igor Mihacic

Sent: 16 October 2001 12:37

To: Access ASP

Subject: [access_asp] IIS 0x80004005 error: Disk or network error.



Hi to all! I hope someone could help me.



The problem:

IIS 5.0 on Win2k server reports this error type:

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)

[Microsoft][ODBC Microsoft Access Driver] Disk or network error.



This happens when I try to get some data from Access 2000. A system DSN is

set to the database. The connection string in an ASP file is:

set rsTest = Server.CreateObject("ADODB.Recordset")

rsTest.ActiveConnection= "dsn=database;"



I look around on various forums and help pages and MS support and found some

answers that didn't solve my problem.



So I set the permissons both on the pages and on the database to

IUSR_Machine and also Everyone and give them full control. The ODBC driver

for Access is version 4.xxx



Any idea what else could I try?





Bye,

-- igor
Message #4 by "Igor Mihacic" <igorm@p...> on Tue, 16 Oct 2001 17:51:20 +0200
OK! Both the ASP files and the database are on the same machine. The problem

were, that for some reason IIS behave strangely when the permissions on

drive C (system drive) was set differently then Everyone (full control).



Previously the permissions was set to (Administrators - full control;

System - full control; IUSR - full control). This was when I tried different

combinations. Then when I set permissions for Everyone againt to full

control (default when Win2k is fresh installed) and the problem disapears.

So not even now I don't know where exactly was the problem.



Now the application is running, but if someone know, what was wrong with the

permissions ...



Thnx a lot,

-- igor



> -----Original Message-----

> From: Frank Kech [mailto:fkech@s...]

> Sent: Tuesday, October 16, 2001 3:45 PM

> To: Access ASP

> Subject: [access_asp] RE: IIS 0x80004005 error: Disk or network error.

>

>

> If the database is not on the server, that's your problem.

> Unfortunately you

> can't use Challenge and Response authentication because the

> outside client's

> password is not sent to the server. Try basic authentication.

>

>

> -----Original Message-----

> From: Igor Mihacic [mailto:igorm@p...]

> Sent: Tuesday, October 16, 2001 6:31 AM

> To: Access ASP

> Subject: [access_asp] IIS 0x80004005 error: Disk or network error.

>

>

> Hi to all! I hope someone could help me.

>

> The problem:

> IIS 5.0 on Win2k server reports this error type:

> Microsoft OLE DB Provider for ODBC Drivers (0x80004005)

> [Microsoft][ODBC Microsoft Access Driver] Disk or network error.

>

> This happens when I try to get some data from Access 2000. A system DSN is

> set to the database. The connection string in an ASP file is:

> set rsTest = Server.CreateObject("ADODB.Recordset")

> rsTest.ActiveConnection= "dsn=database;"

>

> I look around on various forums and help pages and MS support and

> found some

> answers that didn't solve my problem.

>

> So I set the permissons both on the pages and on the database to

> IUSR_Machine and also Everyone and give them full control. The ODBC driver

> for Access is version 4.xxx

>

> Any idea what else could I try?

>

>

> Bye,

> -- igor




>

>




  Return to Index