To solve the error follow the following steps:
Step 1: Go to Control Panel -> Programs and Features
-> Turn Windows Features on or off
Step 2: Mark the features as like following image.
Step 3: Click OK and reset IIS.
Some days ago, I fall in a problem. I could not create an ASP.net project. An error occurred when I press ok button in New project.
ERROR:
"The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'http://localhost/MyProjectMahedee'. 'HTTP/1.0 503 Service Unavailable'."
After a long time after googling, I came to a result. The result is – Just check Bypass Proxy server for local address in Internet Options in conection tab in LAN Settings.
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
|
[NullReferenceException: Object reference not set to an instance of an object.] |