|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
asp 500 error (about to throw monitor)
i'm using asp (vb) with an sql database for our used instruments web page. there are 7 asp files and 1 .asa file in a directory with a folder for uploaded images. there is also a .mdb file.
we have the following files: addImage.asp addUsed.asp currentUsed.asp delImage.asp editUsed.asp global.asa listUsed.asp removeUsed.asp usedInstrumentDB.mdb i haven't been working with asp that long, and although i've got some of it figured out my problem is this. I've taken one of these folders and copied it (and renamed all the variables in the .asp file to point to the right place). this new file should work exactly like the old one did, same code, same root directory on the server, same everything (except for folder name). like I said, i've check, rechecked, and checked again to make sure everything pointed at the right place. BUT I KEEP GETTING 500 ERRORS!! where should i be looking for the problem? I've checked read/write/execute permissions on all the asp files and the mdb file. I've gone over the code line by line to make sure it's exactly the same as the other ones. do i need to alter something within the mdb file? can anyone point me in the right direction? thanks in advance Last edited by beermunk : January 21st, 2003 at 11:22 AM. |
|
#2
|
|||
|
|||
|
Quote:
So I take it then that you've checked the connection string in your global.asa? If not check there. Also, is there an ODBC connection set up? You may need to modify it. If you don't know how to do that, let me know and I'll walk you through it. Or search the forum, as I believe I've posted instructions before. No need to touch the .mdb file. |
|
#3
|
|||
|
|||
|
the string in the global.asa file points to a folder, then a sub folder that i cannot see. is this a file that i'll have to edit to?
here's how our directory is setup: _private UsedStuff1 UsedStuff2 UsedStuff3 > upload folder (for storing pics) editused.asp addused.asp viewused.asp goblal.asa usedStuff3DB.mdb here's the script that i found in the asa file: 'Sub Session_OnStart '**Put your code here ** 'End Sub 'EventName Description 'Session_OnStart Runs the first time a user runs any page in your application 'Session_OnEnd Runs when a user's session times out or quits your application 'Application_OnStart Runs once when the first page of your application is run for the first time by any user 'Application_OnEnd Runs once when the web server shuts down </SCRIPT> <SCRIPT LANGUAGE=VBScript RUNAT=Server> Sub Application_OnStart '==Visual InterDev Generated - startspan== '-- Project Data Environment 'Set DE = Server.CreateObject("DERuntime.DERuntime") 'Application("DE") = DE.Load(Server.MapPath("Global.ASA"), "_private/DataEnvironment/DataEnvironment.asa") '==Visual InterDev Generated - endspan== End Sub </SCRIPT> any and all help is very much apreciated! |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > asp 500 error (about to throw monitor) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|