Do not forget to set The Application Name property when working with the providers of the ASP.Net
Posted on 9/19/2006 3:59:21 AM
in #ASP.NET 2.X
Hi
Whenever you use the Membership and role API of the ASP.NET
2.0 remember to configure the Application Name. If you do not give an
Application name and restart your application all the data related to your
previous Application will be useless.
When the application Name attribute is not configured,
ASP.NET uses the application virtual root path within the web-server to
automatically create application Name. This Application name is used when
adding data to an ASP.NET Application Service database. Now when you
restart the Application a new Application name is created and makes all the
data related to the previous Application name waste for you.
So if you have used a membership API (and not given an
Application Name) and created some users in the development server and then
move the application to the production server, the application will create a
new application name and all your previously created users will not be used for
this application. To avoid this problem add an Application Name while
configuring the Membership API. Hope this Helps Thanks Vikram
|