Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


ADODB and Windows VISTA

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,45677
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> ADODB and Windows VISTA
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 ADODB and Windows VISTA - 4/10/2007 2:05:47 PM   
  wata33

 

Posts: 1
Score: 0
Joined: 4/10/2007
Status: offline
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
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> ADODB and Windows VISTA Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts