Use the Provider tab to test or assign providers for membership and role management for the Web site. Database providers are classes that are called to store application data for a particular feature. Instead, you can choose to use a different provider, such a remote SQL Server database, to store membership and role management.
The general procedure is to open the Web Site Administration Tool, select the appropriate tab, and then adjust the settings that are available on that tab.
Most changes take effect immediately. The following sections provide some considerations for working with the Web Site Administration Tool.
Most changes to configuration settings that you make in the Web Site Administration Tool take effect immediately. This requires the Web site to which the change applies to be restarted. Because this will cause currently active sessions in the Web site to be lost, you should make configuration changes to a staged or development version of the Web site before publishing these changes to the production server. For settings for which the Web Site Administration Tool interface has a dedicated Save button, leaving the Web Site Administration Tool idle or allowing the Web Site Administration Tool to time out before you click Save will cause your configuration settings changes to be lost.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Linked Related So, while you can easily add users on your development machine, you cannot use the same tool to add a user on the live website.
Personally, I think this is a big flaw that Microsoft should address. I think what you need to do is create an administration page of your own that allows you to do such things as add a user or assign a user to a role, or delete a user. Unfortunately, this may take a little fiddling around with some VB code-behind.
At least this is the approach I am taking to solve the same problem on a site I am building. Thursday, November 27, AM. Beamer - MVP 0. Actually, there are ways to use the tool with live sites, but only if you control the server. SetCurrentException application. Context, securityException ; application. Sunday, November 13, PM.
User posted Finally, Somebody posted completed answer. Thank you very much. Friday, December 30, PM. User posted This looks great, but I do not understand how I determine the applicationUrl.
Thanks, Mike. Monday, January 2, PM. Tuesday, January 3, AM. User posted Please forgive me, I really want this to work, but I do not understand what is going on. I have a Windows Server. Since I setup a virtual folder for the ASP. NETWebAdminfiles and got nothing from that either. I threw a 'default. Global' " error.
0コメント