Internal Server Error with asp.net Website

Asked By 10 points N/A Posted on -
qa-featured

I am building a website through Visual Studio with asp.net but when I try to run the index page which is the default.aspx, it generates an Internal Server Error.  

What is the correct configuration in order to run the page correctly?

Help please.

Server Error

Error Summary

HTTP Error 500.19 – Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

SHARE
Best Answer by Michelle Bang
Best Answer
Best Answer
Answered By 55 points N/A #104252

Internal Server Error with asp.net Website

qa-featured

There are many possibilities that why you are getting this error. But you can try the following in order to get rid of this error.

  1. First see if you have placed the index page in the right directory which is in C temp root something. Your page must be in there in order to access it.
  2. After that, you have to check if the application pool of your website running in IIS is at .Net 4.0 because sometimes you are using .Net 4.0 but it is actually on 3.5. To make sure do the following.

    1. Open up IIS
    2. Select the application pool where  WCF is hosted.
    3. Go to Advance Settings
    4. Change the Network Framework to 4.0

Do the following things too if it won't work.

  1. Go to IIS and do the same, choose the application pool.
  2. You need to use the exact same thing for both. Set the permission to Network Service.
     
Answered By 15 points N/A #104253

Internal Server Error with asp.net Website

qa-featured

Hello,

Research on the web turned out several methods of troubleshooting this particular issue.

I will give you several methods to try and hope they help you out:

#1 :

  • The first one includes watching a youtube video that discusses this particular error. It's better if you can actually see the resolution to your issue, at least in my opinion. Here's the video

#2:

  • Check your subwebs. They could be pointing to a different path or a path that you previously were working on but changed it recently. Update each subwebs' applications Basic Settings to point to the correct path

#3:

  • Compile your project and select C:Inetpubwwwroot<projectname> as the repository for your deployable files. Make sure that the path of the application under IIS points to the new path

#4:

  • Set the web application's folder permissions so that the following  are included: ASPNET and IIS_IUSRS and IUSR 

Hope all these methods are of use to you.

Good luck!

Answered By 5 points N/A #104254

Internal Server Error with asp.net Website

qa-featured

Arthur It's first good to remind that the ASP is an acronym for Active Server Pages which is a language of .net which is developed by Microsoft and this language is similar to C and also it is majorly used in many programs for smooth execution.

 
Coming to Windows Application Form in ASP it is simple, and as it is drag and drop and no need to generate any code for that as automatically code will be generated.
 
The problem might be completely due to the incomplete installation of IIS successfully and also error you shown may also occur if the source is not available so the error may be with IIS or else the running script.
 
Coming to IIS which can be said as an Internet Information Server first check this whether the installation is successful or not by accessing the local host in any browser.
 
Thank You.

Related Questions