server 2012... web site is set to use the .net 2.0 app pool. I ran aspnet_regsql.exe from the v2 directory to setup membership provider. I then browsed to the site, which loaded fine, and presented the login page. I tried to login and received an exception
letting me know it could not connect to the database which reminded me I still needed to update a connection string. I updated the connection string and now the app does not give me an exception, it tells me what it should when the username/password is wrong.
I'm inlcuding that information so connectivity can be ruled out. There are no users in the database yet so I obviously can't login succesfully yet. So that's when I ran into the issue, '.net users' is not present when my site is selected in IIS? I can't add
any users.
what may I be missing here? This same app is setup on several other iis 7 (win 2008) servers the same way. Is there something different with iis8 server 2012? Am I just forgetting something?
c0pe
Member
319 Points
435 Posts
iis 8 on server 2012 - no '.net users' in IIS?
Dec 05, 2012 12:01 AM|LINK
Hello,
server 2012... web site is set to use the .net 2.0 app pool. I ran aspnet_regsql.exe from the v2 directory to setup membership provider. I then browsed to the site, which loaded fine, and presented the login page. I tried to login and received an exception letting me know it could not connect to the database which reminded me I still needed to update a connection string. I updated the connection string and now the app does not give me an exception, it tells me what it should when the username/password is wrong. I'm inlcuding that information so connectivity can be ruled out. There are no users in the database yet so I obviously can't login succesfully yet. So that's when I ran into the issue, '.net users' is not present when my site is selected in IIS? I can't add any users.
what may I be missing here? This same app is setup on several other iis 7 (win 2008) servers the same way. Is there something different with iis8 server 2012? Am I just forgetting something?
Angie xu - M...
All-Star
18446 Points
1560 Posts
Microsoft
Re: iis 8 on server 2012 - no '.net users' in IIS?
Dec 11, 2012 05:28 AM|LINK
Hi
We can learn this information here, IIS does not (yet) support management of users and roles if you set the application pool to .NET 4.
You have to switch to a .NET 2.0 application pool and disable the targetframework 4.0 attribute in your web.config to manage users.
After you are done with user management in IIS you can return to 4.0 pool and target framework settings.]
Check this to learn the new in IIS 8
http://www.iis.net/learn/get-started/whats-new-in-iis-8
New in Windows Server 2012
http://technet.microsoft.com/en-us/library/hh831769.aspx
hope it helpful to troubleshoot.
Kind regards
Feedback to us
Develop and promote your apps in Windows Store