Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP Connection Problem

Status
Not open for further replies.

alan2624

Programmer
Mar 26, 2002
16
US
The connection works on my local machine but not on our Intranet server. The DSN is set up correctly and it tests fine but when I try to run a page with the connection DSN, it just tells me that the page cannot be found and no mention of a problem with the database.

If I commect the connection information out, the page runs fine.

Is there something in IIS that needs to be set-up differently.

Below is the page I was trying to load:

<%
dim cnnData Object
set cnnData = SERVER.createObject("adodb.Connection")
cnnData.open "DSN=mytime"
RESPONSE.write "HELLO"
%>

Thanks
 
If you're getting "page cannot be found" errors from your browser, it sounds to me like you're having less like a MySQL problem and more like an IIS problem.

As such, you'll probably want to ask your question in the IIS forum.



Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top