I have created a website for my university that requires membership. I used the web administration tool from Visual Studio and created Users and Rules.When i test it from Visual Studio it works fine. The Web Administration Tool automatically creates a SQL database named ASPNETDB.MDF in the App_Data folder that saves membership data. My question is will the database work when i add the website at the IIS? Do i have to create a sql server database and add a connection?Please answer me.It's really important. i only want a very basic membership.
Web Administration Tool database with IIS
585 Views Asked by Jossua Lim At
1
There are 1 best solutions below
Related Questions in ASP.NET
- Implementing Azure AD B2C Authentication in .NET 8 Blazor Project (RenderMode: InteractiveAuto)
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- IIS Rewrite Module exclude bots but allow GoogleBot
- Angular 16 sending null values to API
- I am the domain admin, newbie, how do I connect youtube.com on my domain?
- Dropdown list showing SQLServer2005SQLBrowserUser$DONSERVER instead of Active Directory group name in ASP.NET MVC C#
- ASP.NET Identity, Losing Ability to Login until Application Pool Recycles
- How to unprotect ASP.NET FormAuthentication cookie
- How does it work using ASP.NET FormAuthentication
- What is the purpose of a completely standalone 'this'?
- Is there a way to read .csproj PropertyGroup variable in c#
- MSBuild trying to copy different dll with similar name into project sporadically
- Minimizing IdentityServer4 Round Trips in Microservice Architecture with Ocelot
- Azure AD guest account in web app authentication user claims data
- Receiving 400 bad request on post when customer auth handler is used
Related Questions in VISUAL-STUDIO-2010
- how do i stop system stack overflow in visual basic?
- How to remove shortcut/alias to a .cpp and .h file from another project in Visual Studio 2019?
- VS2010 Macro/Environment issue causing a HResult: 0x80070057 (E_INVALIDARG) exception
- DevOps 2022 Server not connecting on VS 2012 and VS 2010
- How can i make a prefab instantiate another prefab?
- VS2010 Installer Project Custom Action to run an EXE is failing
- I commit from my Microsoft Visual Studio, however, I am now seeing that i now have two versions of two files
- Is there a way to make AfxMessageBox() take focus from another program?
- in visual studio 2017 was use a model i made but i get the error Read_POLS_Chunk(): Error reading a polygon not 1-3 vertices
- C++ vector subscript out of range : Monotone Interpolation
- c language, When decimal digit of %g in printf equal to 0.5, and length is more than 6, it is not upper ceil, why?
- IloEnv env ; don't work in the dbug and it can access to it
- Create a kml for a Google Earth tree view item through vb-net
- Error in RDLC REPORT in vs2010- An error occurred during local report processing, Object reference not set to an object instance
- This AVD's configuration is missing a kernel file! Visual Studio Code
Related Questions in IIS
- error 500 on IIS FastCGI but no clue despite multiple error loggings activated
- IIS Rewrite Module exclude bots but allow GoogleBot
- How to deploy angular 17 SSR into IIS
- IIS web site with httpplatformhandler on specific route does not redirect to the nextjs site
- Why is 'EDITBIN /STACK:2097152 w3wp.exe' cmd is giving me an LNK1342 error?
- Primeng Angular styles on subdomain don't work
- Apps migrated from IIS server1 to another IIS server2 stopped communicating with an App on IIS server 1 via SSL (HTTPS)
- How to authenticate with REST API service on IIS using pass-through authentication in Python?
- ASP.NET Core 8 is missing from application pool selection after install
- Azure Application Gateway ByPass
- SSL certificate is installed on iis and website but in browser is unknown
- Redirect to another site but show the original URL in browser
- Problem in hosting React App with react-router-dom on IIS Server
- Django Channels on IIS
- ASP.NET Core/Angular17 application files does not load when published in IIS
Related Questions in ASP.NET-MEMBERSHIP
- Membership provider GetUser(username,false) returning null for some of the users
- Membership authentication fails inexplicably
- ASP.NET MembershipProvider creates only one session
- Is there a common identity platform to use both in .NET Framework 4.8 and Blazor (.NET Core 7)?
- WSAT with Visual Studio 2022 or alternative
- Inserting a aspnet_membership user directly into the database
- Sitecore - Diferent password requirements for diferent roles
- Hooking up MS SQL Server databae with AWS Cognito for Authentication
- Migrate ASP.NET Membership users to Azure AD via External Identity Provider
- Is an OpenIdConnect MembershipProvider for SharePoint On Premise possible?
- .Net test multiple connections for AD authentication using system.web.security (membership)
- a page can have only one server-side form tag - allow unauthenticated access in aspnet membership provider
- Implement pbkdf2 in aspnet membership provider - Non-negative number required
- ASPNet_RegSQL named instance with port specified
- Configuration error on ASP.NET page with MySQL membership
Related Questions in WEB-ADMINISTRATION
- Remove-WebConfigurationProperty not removing file extension in request filtering section of IIS
- PowerShell - web administration - get just the 443 bindings - having trouble
- What's the difference between IISAdministration and WebAdministration
- IIS: add a Deny rule to .NET Authorization
- Add proxy element to applicationHost.config in system.webServer section via Powershell
- Replace SSL Certificate on Remote IIS 10 server from VB.NET
- Powershell WebAdministration IF Statement with value "False" not working as expected
- Getting specific app pool's worker process in PowerShell returns value but process is already stopped
- powershell find iis virtual application name from url
- FileLoad Exception when attempting to alter IIS site configurations through powershell
- How to remove multiple IIS bindings in PowerShell fast?
- Make Django REST endpoints inaccessible if no permission exists
- How to update "physical path" of a site on IIS 10 using Powershell?
- Difference between WebCommitDelay and IISCommitDelay
- How can I correct the Write-Host results of my PowerShell script / WebAdministration foreach loops?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can use db from /App_Data as explained in this SO answer:
ASP.NET: How to deploy App_Data to webhost? - but it depends on your server set up.
When using Membership my preference is to run it from a separate db in either SQL / SQL Express, as then have choice to run IIS site and db on different servers if required. Also better for security / scaling etc.
Once db is created you can use aspnet_regsql.exe to install Membership services into the db. It's usually located here - c:\Windows\Microsoft.NET\Framework\< versionNumber >\aspnet_regsql.exe. Can run as GUI or command line:
http://msdn.microsoft.com/en-us/library/x28wfk74.aspx
When running Membership from a separate db you'll also need to configure a provider in web.config. Something along the lines of this:
in < System.Web > section:
I've used a similar set up to this a good few times with no problems. If using db from /App_Data you shouldn't need to do any of the web.config stuff