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!

Can Display html but not ASP pages.

Status
Not open for further replies.

logout151

IS-IT--Management
Nov 15, 2000
24
US
I just started working with ASP's, and I am having a problem getting them working.

I get this error 'internal server error 500' whenever I try to load up any ASP page, including localstart.asp, a page that should load without a problem. However, if I change the extension to .html on any ASP page I created, I can see the html page, of course without the asp stuff.

I did not have this problem when I first load IIS, (yesterday). The problem seems to have started when I loaded Frontpage 98. I uninstalled IIS and FP and then reinstalled IIS and still can not serve up a page.

Anybody have any ideas?

-Log
 
Hi!

Check the default document in properties of site->documents tab.

hope this will help. iis_guru@yahoo.com
 
I have is set to an existing html page since I can't get any asp pages.

When I turn off Friendly Errors I get this error

Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.

And this is in the event log

The server failed to load application '/LM/W3SVC/1/ROOT'. The error was '8007045a'.
For additional information specific to this message please visit the Microsoft Online Support site located at:
-Log
 
Hi!

If your site is using any scripts from scripts folder if yes set the permission to execute.

hope this will help. iis_guru@yahoo.com
 
I think problem is with iwam_<servername> account
check it out, its not synchronized
 
Jakhan,

I am not sure how I would synchronize this account, what do I need to do?

-Log
 
Syncronize IWAM/IUSR account:


Microsoft KB article # Q297989

I've had this problem a NUMBER of times and this is usually the problem.

As for permissions to execute:

Go to Internet Services Manager, get properties on website
look for Execute Permissions and set to something other than 'None'. If 'None' is not chosen, it's not the problem.

Personal recommendation is to definitely check the IWAM account and syncronize it.
 
Log:

When you load FP98, the system resets the server extension setting. You need to set up the permission again.

To do so, open IIS. Highlight the website in question, right click, go Properties. Click HOME DIRECTORY tab, at lower section, at Execute Permission, select Scripts or Scripts and Execute (depending on what applications you are running, but for ASP Scripts is okay). Click OK. Retry the web page.

Let me know, if you have any question.

Jack


It's not about whether you can do it or not, it's about HOW
OK, Let's Do It !!! [pipe]
jliu@Cipk.com


 
I am having a similar problem. All asp pages worked, we installed a service pack and restarted and now you get the following error when trying to load asp pages.

Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.

I checked default web site page to see if the home directory settings were set to run scripts and they are. Any other suggestions?

 
Hello

I had just the same problem... what I did to solve it: when you right click on your website folder in iis, choose &quot;All tasks&quot; --> &quot;check serverextentions&quot;...
Let us know if it worked...

greetz

Mim
 
Hi thanks to all who replied. My problem was the IWAM and IUSR passwords, after following the steps in the Q297989 article from Microsoft, my problem was resolved!!
 
&quot;internal server error 500&quot; is most likely related to your code in your asp page. Copy & paste this into a new file..
-----------------------------------------------
<%@ Language = VBSCRIPT %>
<% Option Explicit %>

<HTML>
<BODY>
<P>An Error has occurred. We appologize for this inconvenience.
<P>
<U>Useful Links:</U><BR>
<LI><A HREF=&quot;/&quot;>Main Page</A>

<P><HR><P>

<%
'Create an instance of the ASPError object
Dim objASPError
Set objASPError = Server.GetLastError()
%>

<CENTER>
<TABLE BORDER=1 CELLSPACING=1>
<TR>
<TH COLSPAN=2>Detailed Error Information</TH>
</TR>

<TR>
<TD>ASP Code</TD>
<TD><%=objASPError.ASPCode%></TD>
</TR>
<TR>
<TD>Error Number</TD>
<TD><%=objASPError.Number%></TD>
</TR>
<TR>
<TD>Source Code that caused the error</TD>
<TD><%=objASPError.Source%></TD>
</TR>
<TR>
<TD>Category</TD>
<TD><%=objASPError.Category%></TD>
</TR>
<TR>
<TD>Error Occured in</TD>
<TD><%=objASPError.File%></TD>
</TR>
<TR>
<TD>Line Number</TD>
<TD><%=objASPError.Line%></TD>
</TR>
<TR>
<TD>Column Number</TD>
<TD><%=objASPError.Column%></TD>
</TR>
<TR>
<TD>Description</TD>
<TD><%=objASPError.Description%></TD>
</TR>
<TR>
<TD>Extended Description</TD>
<TD><%=objASPError.ASPDescription%></TD>
</TR>
</TABLE>
</BODY>
</HTML>
-----------------------------------------------
Name the file ErrorHandler.asp then go into IIS.. right click on the website.. click properties.. under the &quot;custom errors&quot; tab.. find &quot;500:100 internal server error&quot; double click on it.. and replace the page in the &quot;URL&quot; box with new &quot;ErrorHandler.asp&quot; page.

Now mimic the error.. you should now get a detailed description of what went wrong. Good Luck.

Hope this helps.

T
 
You may also want to turn on more detailed error reporting for the 500 errors. This MS article will tell you how to do it. By enabling this you will be able to know what line of your page the server had a problem with. It won't always solve the problem, but it will point you in the right direction.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top