Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 324
  • Last Modified:

Can only view asp file locally

I have an asp page that doesn't do anything all that complex, however, I can only access it at http://localhost - as soon as I try remotely accessing it, I get Internal Server Error - 500 (that old chestnut!)

Any suggestions?
0
jezzar
Asked:
jezzar
  • 5
  • 4
  • 2
  • +5
1 Solution
 
webwomanCommented:
Any includes in it? If there are and you don't have them where they're expected to be, you get that error.
0
 
dredgeCommented:
re-install IIS and make sure to include ASP support.

if you are using Windows NT Server, make sure you have IIS4 (or if you are using NT Workstation, make sure you have Personal Web Server 4).
0
 
dredgeCommented:
webwoman:

if you're include files are in the wrong place, you end up getting "include file not found" errors, not HTTP 500 errors. HTTP 500 = Internal Server Error. this means that something inside of your server crapped out when trying to process whatever.
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
webwomanCommented:
Depends on what the include file is... if it's adovbs.inc, you get the 500 error.
0
 
jezzarAuthor Commented:
No, not using any includes. In fact, the first page is quite a simple form...
0
 
dredgeCommented:
have you tried reinstalling IIS like i suggested?
0
 
jezzarAuthor Commented:
It's Windows 2000 advanced server on a 'mission critical' server... I wonder if I can do that?
0
 
dredgeCommented:
you should be able to.

Win2K doesn't require you to re-start your server when installing/uninstalling IIS.

or, you can just wait til off-hours, when not very many people are on the site and do it then.
0
 
meverestCommented:
how many web sites on your IIS, and are you using hiost headers?

i can reproduce your error by setting the host header on all web sites, and only one with 'localhost' set.

make sure that the web site you are working with is running on the IP address you are hitting, and has no host header settings.
0
 
dgorinCommented:
If you are using IE5+ as a browser, you can get more details on the error.  Open Tools - Internet Options - Advanced and uncheck the "show friendly HTTP errors" property.

You should get much more info about the error.  Nearly all asp errors will end up as a 500 error, without knowing more about the error it's all a shot in the dark.

0
 
jezzarAuthor Commented:
Hmmm interesting, have discovered what's setting it off. If I enable anonymous viewing of the site, it works fine. As soon as you have to log in, it doesn't... even if you authenticate as Administrator?!
0
 
jezzarAuthor Commented:
...contd: also, turning friendly errors off, gives me:

-2146893039 (0x80090311)

when I view the page...
0
 
meverestCommented:
ok, make sure that the auth'ed user also has rights to the parent folders.  if the ACLs of the parent folder do not explicity allow administrator (or implicitly, ie 'everyone') then you may have this trouble.

cheers.
0
 
Eric AKA NetminderCommented:
Not to send the discussion off into a tailspin... but did you set your anonymous visitors permissions to be able to execute scripts?
0
 
jezzarAuthor Commented:
There shouldn't be any anonymous visitors, only auth'd ones...
0
 
Eric AKA NetminderCommented:
*chuckle*... are they authorized to execute scripts?
0
 
amp072397Commented:
jezzar:

You have several open questions:

http://www.experts-exchange.com/jsp/qShow.jsp?ta=mssql&qid=20258948
http://www.experts-exchange.com/jsp/qShow.jsp?ta=mssql&qid=20152711
http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20237024
http://www.experts-exchange.com/jsp/qShow.jsp?ta=asp&qid=20089318
http://www.experts-exchange.com/jsp/qShow.jsp?ta=networkgen&qid=20109113
http://www.experts-exchange.com/jsp/qShow.jsp?ta=sendmail&qid=20137337
http://www.experts-exchange.com/jsp/qShow.jsp?ta=iis&qid=20149165

To assist you in your cleanup, I'm providing the following guidelines:

1.  Stay active in your questions and provide feedback whenever possible. Likewise, when feedback has not been provided by the experts, commenting again makes them receive an email notification, and they may provide you with further information. Experts have no other method of searching for questions in which they have commented, except manually.

2.  Award points by hitting the Accept Comment As Answer button located above and to the left of that expert's comment.

3.  When grading, be sure to read:
http://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp#3
to ensure that you understand the grading system here at EE. If you grade less than an A, you must explain why.

4.  Questions that were not helpful to you should be PAQ'd (stored in the database for their valuable content?even if not valuable to you) or deleted. To PAQ or delete a question, you must first post your intent in that question to make the experts aware. Then, if no experts object after three full days, you can post a zero-point question at community support to request deletion or PAQ. Please include the link(s) to the question(s).
CS:  http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
At that point, a moderator can refund your points and PAQ or delete the question for you. The delete button does not work.

5.  If you fail to respond to this cleanup request, I must report you to the Community Support Administrator for further action.

Our intent is to get the questions cleaned up, and not to embarrass or shame anyone. If you have any questions or need further assistance at all, feel free to ask me in this question or post a zero-point question at CS. We are very happy to help you in this task!


thanks!
amp
community support moderator

2/8
0
 
fz2hqsCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQ \ NO REFUND

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

fz2hqs
EE Cleanup Volunteer

0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 5
  • 4
  • 2
  • +5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now