 
View Full Version : ASP - Errore di rete o disco??? boh!
RiccardoS
25-06-2002, 13:06
Allora, quando ho un sito su WinNT server, con pagine asp, che si era sputtanato, e dava questo errore:
Microsoft OLE DB Provider for ODBC Drivers error '80004005' 
[Microsoft][ODBC Microsoft Access Driver] Errore di rete o disco. 
/attiv/securityloginrespond.asp, line 14 
la riga 14 è questa:
conntemp.Open "activities"
cioè quando la pagina asp apre la connessione al db (fatta con ODBC).
Ebbene, siccome non riuscivo a risolvere, pensando che qualcuno avesse messo le mani sulle dll dell'asp o sulle configurazioni, ho reinstallato l'IIS e tutto è andato a posto.
Questa mattina, magicamente... mi ritrovo con quest'errore, solo che ora so per sicuro che ci metto solo io le mani (almeno spero  ) e proprio non capisco dove stia il problema!
MSciglio
25-06-2002, 14:41
Ciao...
Effettivamente è un errore molto strano. Sicuro che non sia realmente un problema del disco?
Potresti provare ad installare l'ultima versione dell'MDAC.
Ho guardato nell'MSDN ed ho trovato solo il seguente articolo, ma non so se è quello che ti serve... :
SUMMARY
Active Server Pages (ASP) needs a special configuration in order to access file-based data from a Novell server. Simply mapping a drive letter to a Novell share (utilizing Novell Client Services) will fail. You may receive one of the following errors: 
Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access 97 Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data. 
-or- 
Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access 97 Driver] Disk or network error. 
MORE INFORMATION
Because IIS runs as a service and impersonates Windows NT accounts, IIS must access the Novell server's resources via an NT Gateway setup by GSNW (Gateway Services for NetWare). 
Step 1 - On the Novell Server
Create a new account or use any existing account. 
Give this account "Trustee Directory Assignments" for the folder in which the database resides. 
Give this account the following rights: Create, Erase, File Scan, Modify, Read, Write. 
Create a Group called NTGATEWAY. 
Add the user to this group. 
Step 2 - On the NT Server
Install GSNW (Gateway Services for NetWare) if not already installed. 
Open GSNW control panel. Set the preferred server to the Novel Server. 
Click on Gateway and set the Gateway Account to the account created or modified in Step 1 - On the Novell Server. 
Set the password for that account. 
Click ADD, and map a drive letter to a Novell share. Note the drive letter. 
Click OK twice to exit GSNW. You should now be able to create a new DSN that uses the gateway's mapped drive letter to access the database on the Novell server.
RiccardoS
25-06-2002, 14:49
nono il disco è a posto... come già detto, tempo fa ero riuscito a risolvere il problema reinstallando iis... cosa che non ho assolutamente intenzione di rifare. :D du palle!
inoltre ho anche installato gli mdac, i jet engine... ecc... ecc...
grazie per l'aiuto cmq, anche se di novell io non ho assolutamente nulla nella rete... sono tutti server NT e client windows comunicanti via tcp/ip.
sob!
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.