|
|
|
| |||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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.
|
| Viewing: Dev Shed Forums > System Administration > IIS > MySQL Connection Problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|