Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio | ASP.NET Configuration error

I have a problem as I have struggled with for a week. Now I give up! I really can not figure out how to solve it. Every time I open the ASP.NET Configuration in VS10, then comes the first with this error: **An error was encountered. Please return to the previous page and try again. **

If I then press: How do I Use this Tool

so this comes up: **Tool Has Timed Out

As a security measure, the Web Site Administration Tool times out after a period of inactivity. Changes to machine.config or web.config may also result in the tool needing to be restarted. To continue configuring your web site, restart the tool. **

Some who can answer me on what's happening here?

like image 296
Thomas Bolander Avatar asked Sep 09 '10 17:09

Thomas Bolander


People also ask

What is configuration error in asp net?

"It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."

Where is web config file in Visual Studio 2022?

config file is located in the %SystemRoot%\Microsoft.NET\Framework\%VersionNumber%\CONFIG\ folder.

How do I edit web config in Visual Studio?

Each of the settings in the web. config file appear in the Application settings area of this dialog box. To change a value, click it, then click Edit. In the Edit/Add Application Settings dialog box, type the new value, then click OK.


2 Answers

"Special characters in the path may be the problem, according to the posts." as Posted above by Dave Swersky

THIS worked perfectly for me! I had a special character ("#") in my folder path I removed this and removed spaces for good measure! I was getting the error "Tool has timed out" among other errors when accessing the WSAT(Web site administration tool) from the ASP.NET configuration menu item.

like image 63
Adam Hughes Avatar answered Oct 11 '22 02:10

Adam Hughes


I saw a post somewhere else that said the problems was solved when the default browser was changed to Internet Explorer. I have been using Firefox and have the exact same problem. When I changed the default browser to IE, the configuration page came up with no problem. But it won't work twice in a row without going in and setting the default browser back to IE each time. When I go back in to Program Access and Defaults, "Use by current browser" is selected. I have to reselect IE, and then it will work one time.

like image 38
Steven W. Avatar answered Oct 11 '22 01:10

Steven W.