ADODB and Windows VISTA

Author Message
wata33

  • Total Posts : 1
  • Scores: 0
  • Reward points : 0
  • Joined: 4/10/2007
  • Status: offline
ADODB and Windows VISTA Tuesday, April 10, 2007 3:05 PM (permalink)
0
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

 
#1

    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • 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
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9