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!

500 Error on my server

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am trying to learn ASP. I am using IIS 4.0 on WinNT 4.0 (SP5) with FrontPage 2000. I checked all the security settings the directorys are fine, evrything looks right (I went through it with a fine tooth comb) but when it comes to running the ASP code, the server gives a 500 Error every time. How can I get over this? I have my scripts in their own directory (on my computer it is C:\InetPub\ Is there a problem here? What is going on???! Help, please. I really want to learn this stuff, but I can't even start :(
 
HI.<br>
WHY DON´T YOU TRY TO LEARN ASP INSTALLING FRONTPAGE 98 SERVER EXTENSIONS, AND MICROSOFT VISUAL INTERDEV???<br>
IT´S EASY TO USE AND LEARN.<br>
(I´M SPANISH, SO SORRY FOR MY ENGLISH)
 
Your English is fine. However, your caps lock seems to be stuck. I am *attempting* to learn these things. I have gotten as far as understanding how to use ASP, how to set up the permissions, etc. However, I am stuck, I cannot get it to work. I don't know what the problem IS, so I don't know what I need to learn. I cannot even find a reference to what a 500 server error is. It has nothing to do with permissions, I know that. <br>
<br>
John Vogel
 
Hi John,<br>
Well, let´s see, i´m going to tell you how i´ve installed it:<br>
1.First of all, I´ve installed WINDOWS NT SERVER 4(SP3)<br>
(Have you installed windows nt server or workstation?????)<br>
2.After this, I´ve installed NT OPTION PACK 4, which contains IIS.<br>
3.I´ve installed MICROSOFT FRONT PAGE 98' SERVER EXTENSIONS.<br>
4.I´ve installed MICROSOFT VISUAL INTERDEV.<br>
<br>
Once i´ve installed these things, i´ve run Visual interdev, and i´ve made my first asp page.<br>
<br>
(MAYBE THE MATTER IS WITH FRONT PAGE 2000, IF I WERE YOU, <br>
I´LL TRY TO INSTALL ALL THE COMPONENTS THAT I´VE TOLD YOU)
 
jvogel,<br>
<br>
You mentioned that your scripts were on your local hard drive. ASP is server-based. Are you certain that the 'server' can see your scripts? I know that sounds funny, but if your scripts directory is not a part of your 'server' system, you'll end up grinding your teeth down, tearing your hair out, and still get no results (from a bald, toothless 'victim'). That is, your scripts directory needs to be a part of your 'inetpub' or ' or 'whatever it's called on your system' directory/folder tree. Don't know that is relevant to your '500' problem, but worth a look.<br>
<br>
As for the '500' error, shows the error as<br>
<br>
500 Server Error The server encountered an unexpected condition which prevented it from fulfilling the request <br>
<br>
Another item is <br>
<br>
Russ posted October 17, 1998 09:11 PM CT <br>
--------------------------------------------------------------------------------<br>
As far as I know, there are only two things that cause the error you're getting. One is permissions and you've covered that. The other is the upload. Did you make sure you uploaded the files in ASCII, not binary?<br>
Russ<br>
<br>
from <br>
<br>
and one more is <br>
<br>
HTTP 500 Server Error Date: Wed, 01 Sep 1999 02:57:59 GMT Server: NCSA/1.5.2 Content-type: text/html <br>
500 Server Error<br>
The server has temporarily run out of resources for your request. Please try again at a later time<br>
from <br>
<br>
one last one is <br>
<br>
error 500 <br>
The FrontPage Server Extensions are in one of three states: 1]not installed, 2]not installed correctly, or 3]corrupted. If the first is accurate, they need to be installed. If the last two, they need to be reinstalled. <br>
<br>
from <br>
<br>
<br>
All these came from a Copernic99 search on 'HTML Error 500', and are just from the top six hits.<br>
<br>
<br>
Don't know whether that will help, but hope it will.<br>
<br>
Make a good day . . .<br>
. . . barn<br>
 
Are you sure this was changed to a WEB app and not left as a physical folder?<br>
<br>
After many hints about virtual folders, I finally solved my problem without changing any my code or my design strategy. <br>
<br>
I finally noticed that there was no ALIAS name for my second physical folder, FY2000, but there WAS one for the folder that worked, FY99. After much research, I found that Alias seems to be the equivalent of a default directory or short name for the full path. Not having one, the web server expects all file references to contain a full path name. But, when an Alias is specified for the web folder, short file names are allowed and they are expected to be in contained in the default directory specified by the Alias. <br>
<br>
Also, since there was no Alias, there was no web or “virtual folder. Furthermore, I really needed an Alias name before I could check off and enable Execute permission for the web folder. This is good for both Script and .EXE files.<br>
<br>
I looked at the properties of the folder in then at its Internet tab. Then I looked to see if there is an Alias name which must be there before it can be enabled as a web or “Virtual” folder. I typed in the name of my default folder as the Alias name. When I did this, I made it a web/virtual folder. Only then was I able to check off Execute permission for the folder. <br>
<br>
So it seems like you need an Alias for Execute permission as well as Default PATH name.<br>
<br>
Giving the path to the DSN is okay for database sources, but leaves paths to other files in the folder up in the air.<br>
The hyperlink from FY99 to FY2000 worked because it had the full path to the new folder.<br>
<br>
Let me know if this makes sense. <br>
<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top