I can't browse my web sites at localhost?
-
Hello! I installed Vista Ultimate with IIS6 and IIS7 options. I couldn't browse any web sites locally under Inetpub directory. I started getting an error message but I couldn't find the source of it. The message is:
An error occurred on the server when processing the URL. Please contact the system administrator
The web sites which I have based on classical asp pages. I also installed Microsoft Visual Studio (The latest edition) with SQL 2005 Express option. Whenever the asp codes in the pages try to establish a connection to database, the above message appears. How can I fix this problem? Any Idea? Here is the sub procedure where the error occurs:Sub Initialize_Connection() If Response.IsClientConnected = True Then DPath = Server.MapPath( "_database\RES_001_EBYK.MDB" ) ConnStr= "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Dpath & ";Jet OLEDB:Database Password=12345;" Set ObjectConnection=Server.CreateObject ("ADODB.Connection") ObjectConnection.Open ConnStr End If End Sub
Thanks. :(( -
Hello! I installed Vista Ultimate with IIS6 and IIS7 options. I couldn't browse any web sites locally under Inetpub directory. I started getting an error message but I couldn't find the source of it. The message is:
An error occurred on the server when processing the URL. Please contact the system administrator
The web sites which I have based on classical asp pages. I also installed Microsoft Visual Studio (The latest edition) with SQL 2005 Express option. Whenever the asp codes in the pages try to establish a connection to database, the above message appears. How can I fix this problem? Any Idea? Here is the sub procedure where the error occurs:Sub Initialize_Connection() If Response.IsClientConnected = True Then DPath = Server.MapPath( "_database\RES_001_EBYK.MDB" ) ConnStr= "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Dpath & ";Jet OLEDB:Database Password=12345;" Set ObjectConnection=Server.CreateObject ("ADODB.Connection") ObjectConnection.Open ConnStr End If End Sub
Thanks. :(( -
Read the thread complete here, it may solve your problem http://www.codeproject.com/script/comments/forums.asp?msg=1799306&forumid=363403#xx1799306xx[^]