1 Comments

If you are still working with WebForms and the FormsAuthentication in visual studio 2013, you are probably missing the option `Asp.Net Configuration` which fires a tool to configure users and groups for your asp.net webapplication.

Sorry for the dutch screenshot by the way. But this is the tool that I am referring to.

image

I have found this post about manually starting IIS Express to manage it and I had some problems with it, so that is the reason that I am blogging about it. To help others, but also as a reference for myself if I have this issue again.

    1. Open Command Prompt (Windows key + X, or Windows key + R, cmd <enter>)
    2. Navigate to the IIS Express folder (cd C:\Program Files\IIS Express <enter>)
    3. Copy paste this:
      iisexpress.exe /path:C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles /vpath:"/webadmin" /port:12345 /clr:4.0 /ntlm
    4. Open your browser and navigate to: http://localhost:12345/webadmin/default.aspx?applicationPhysicalPath=C:\Path\to\your\webformcode\&applicationUrl=/ (I had to login with my windows account) Do not forget to change the path to your code!

image

You can close IIS Express in the console with `Q` if you are done. I hope that this option will be put back in Visual Studio 2013 update 1 or something for all those webform developers.

Good luck!

    Pin on pinterest Plus on Googleplus Post on LinkedIn

    Comments

    Comment by jp

    please do not run the commandprompt as admin!