简体   繁体   中英

VS2010 - ASP.NET Configuration Won't Open

I have a standard ASP.NET project. I have created a login control on the page and now I would like to start adding the option to register as a member on my page.

My problem is that when I click "Asp.net Configuration" in the solution explorer or under the Projects tab. Nothing opens up.

I have made sure that my project is not running, the configuration window just won't open.

SOLVED! I had exactly the same problem, Firefox was my default browser, after I reset Internet Explorer as the default browser, it worked! The configuration page is (for some silly reason) a web page, and perhaps it only jives with IE.

I had the same problem, but I didn't want to keep switching from Firefox to IE to solve the issue. Digging a bit deeper, it seems the provided URL is incomplete. You need to use the following template:

http://localhost:<port>/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=<projectPath>&applicationUrl=/

Hope that helps.

First check if you have an aspnetdb.mdf under the App_Data subfolder of that you previously set up the needed tables for the application services in another database.

If you haven't got these then build the solution and navigate to the page which has the login control on it. Normally ASP.NET will generate the needed database aspnetdb.mdf in the App_Data folder. Once you have that database you should be able to use the configuration which starts a web application with which you can create your users and define the roles to which they belong.

Grz, Kris.

有时,如果未在VS编辑器上打开web.config文件,则不会显示ASP配置浏览器页面,因此请确保在VS编辑器中打开web.config,然后尝试访问配置。

I was having the same issue with a brand new ASP.NET project in Visual Studio 2012.

When trying to open Project --> ASP.NET Configuration from Visual Studio, it was saying: An error was encountered. Please return to the previous page and try again. An error was encountered. Please return to the previous page and try again.

The path to my application was: E:\\\\_Dev\\C#\\Site

I changed the Path to: E:\\\\_Dev\\Web\\Site and guess what? It works .

So even the # from C# was causing an issue. This thing is very picky on special characters...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM