Recently, I upgraded my enviroment to Windows Vista, Business, where IIS 7.0 can be installed. However, I found a lot of differences from my old XP environment.
I set up an ODBC connection both on my Vista and XP platforms. When I execute following Script on my XP localhost, It displays "HELLO!" However, when I run it on my Vista, it replies back error message "An error occurred on the server when processing the URL. Please contact the system administrator."
<% @LANGUAGE = "VBScript" @CODEPAGE=932 %>
<%
Dim f, DBC
Set DBC = Server.CreateObject("ADODB.Connection")
DBC.Open "ynu2007"
DBC.Close
%>
<HTML>
<HEAD>
<TITLE>Login Process</TITLE>
</HEAD>
HELLO!
<BODY>
</BODY>
</HTML>
However, if I commented out some of the lines above as follows, I could get "HELLO!"
<% @LANGUAGE = "VBScript" @CODEPAGE=932 %>
<%
Dim f, DBC
rem Set DBC = Server.CreateObject("ADODB.Connection")
rem DBC.Open "ynu2007"
rem DBC.Close
%>
<HTML>
<HEAD>
<TITLE>Login Process</TITLE>
</HEAD>
HELLO!
<BODY>
</BODY>
</HTML>
Tell me how I can avoid the error message. I have given "Everyone" fullcontrole to the relevant folder.
BEST