ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 21st, 2003, 10:18 AM
beermunk beermunk is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 2 beermunk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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 10:22 AM.

Reply With Quote
  #2  
Old January 21st, 2003, 06:10 PM
aspnewbie aspnewbie is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: The Great White North
Posts: 361 aspnewbie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 50 sec
Reputation Power: 17
Send a message via MSN to aspnewbie
Quote:
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).


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.

Reply With Quote
  #3  
Old January 22nd, 2003, 11:46 AM
beermunk beermunk is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 2 beermunk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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!

Reply With Quote
  #4  
Old May 30th, 2010, 03:24 PM
onlineclick onlineclick is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2010
Location: US
Posts: 13 onlineclick User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 44 sec
Reputation Power: 0
Hi all*

Hi allIm new to the site. really looking forward to meeting new people, seeing what they have to say and just really chilling on some social network other than facebook. bleh. like i said, i am me, now who are you?Peace out.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > asp 500 error (about to throw monitor)


Developer Shed Advertisers and Affiliates


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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap