IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old June 29th, 2005, 09:38 AM
Molsonbubba Molsonbubba is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: Toronto, Canada
Posts: 56 Molsonbubba User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 4 m 7 sec
Reputation Power: 4
MySQL Connection Problem

Hello,

I am wandering if I am on the right track to figure out the connection problem. Here is the code that generates the error. It is custom error - Database not found. Checking ODBC connection and MySQL driver revealed that connection in fact is present and works. If I remove the code from the page then all is OK but upon an attmept to access the database HTTP 404 - File Not Found is generated by IIS.
*****************
Set fso = Server.CreateObject("Scripting.FileSystemObject")
If NOT fso.FileExists(Server.MapPath(dbPath)) Then
Response.Redirect("error.asp?error=dbexists")
ElseIf NOT fso.FileExists(Server.MapPath(sp_dir & "siteprotect.txt")) Then
Response.Redirect("error.asp?error=spexists")
End If
Set fso = Nothing
******************

I assume it has soemthign to do with the permisions/IIS/ASP?Please tell me if this is correct and how to fix it. My search revealed no similar problems. This might be of interest. The problem started after install of ASP Runner 3.1.

Thank you in advance,
Alex

Reply With Quote
  #2  
Old June 29th, 2005, 08:11 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,713 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 23 h 57 m 59 sec
Reputation Power: 688
Don't crosspost.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #3  
Old June 29th, 2005, 09:56 PM
Molsonbubba Molsonbubba is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: Toronto, Canada
Posts: 56 Molsonbubba User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 4 m 7 sec
Reputation Power: 4
No need to be so short. People have reasons to do what they do. Mine was that my reasearch of other forums led me to believe this problem may be related to IIS. So I posted here.

Reply With Quote
Closed Thread

Viewing: Dev Shed ForumsSystem AdministrationIIS > MySQL Connection Problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway