Asked By
Arthur 10 points N/APosted on - 01/29/2012
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.
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.
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.
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.
Open up IIS
Select the application pool where WCF is hosted.
Go to Advance Settings
Change the Network Framework to 4.0
Do the following things too if it won't work.
Go to IIS and do the same, choose the application pool.
You need to use the exact same thing for both. Set the permission to Network Service.
Â
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Â
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.
Choosing the right Linux virtual private server (VPS) is a critical decision that can greatly impact your online projects, whether you’re running a website, hosting applications, or setting up a development environment. With various...
Have you ever wished you could access your important documents anytime, anywhere? With cloud document storage, that wish becomes a reality. In today’s fast-paced world, secure and accessible document management is more essential than...
Are you worried about data you lost during some operation on your Windows 11? Don’t worry; we are here to guide you on how to recover the lost data from your Windows device in...
The finest laptops are powerful enough to do your daily tasks, comfortable enough to use all day, and power-efficient enough to ensure you don't run out of battery power unexpectedly. Of course, all these...
Before getting into knowing the facts, let’s have a brief about the Dark Web. The dark web is the data of the World Wide Web that is accessible only through special software, combinations, or...
While looking for a chemical-free way to clear and purify both durable and low grounds in your home, a steam cleaner is an excellent solution. With a spurt of superheated steam, this cleaning equipment...
Internet monitoring software keeps a log of all internet activities. You can install this type of software on your computer remotely or by the administrator. An operating console controls this software. This type of...
A Hard Disk Drive is usually partitioned into various smaller drives for optimization. A partition manager helps make this process easier and more efficient. Here, let’s discuss the top 10 best partition manager software.
1....
Music production is the initial stage of any song. Music production can be done either in studios or at home using an online music production software. Here, let’s discuss the top 10 best online...