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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Login problem when run ASP website on IIS WinXP Pro

Status
Not open for further replies.

ato

MIS
Oct 24, 2002
28
US
I have create a website with a login for security. I test run it on my win2k laptop with IIS and it let me login fine. but when I copy my website and but it on my winXP pro workstation IIS at work and run it. It's prompt me if I want to download and save or open to edit it. Please help. I use ms access for database and for "connection.inc" I use this code.

<%
Set connObj = server.createobject(&quot;ADODB.Connection&quot;)
connObj.open &quot;Provider=Microsoft.Jet.OLEDB.4.0; Data Source= &quot; & server.mappath(&quot;Medmark.mdb&quot;)
Set cusRS = server.createobject(&quot;ADODB.Recordset&quot;)
%>

Please help.
 
Are you running your page through the web server? It sounds like your opening your page from the file which is why it is asking you to download it rather than processing it.

Make sure your url starts with http://

Hope this helps
BDC.
 
Hi, BDC2

Thank you for the info. I totally forgot all about that. and the my of the folder then the file that i want to execute.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top