Questions tagged [aspnetdb]
104 questions
2
votes
1 answer
My ASP.NET 4 login stopped working...why?
I am working on an ASP.NET 4.0 C# project. The CreateUserWizard is working fine, but the login controls I built are always showing this message:
Your login attempt was not successful. Please try again.
This started happening after I changed the…

Nikhil Tamhankar
- 439
- 5
- 12
- 30
2
votes
2 answers
Why CreateUserWizard Control automatically adds the ASPNETDB.MDF database?
I only want to use CreateUserWizard Control to collect information from the user and insert into my custom database. I don't want to use Asp.Net Membership .
When I add this setting to the web.config
…

Waqar Janjua
- 6,113
- 2
- 26
- 36
2
votes
1 answer
The recommended way for initializing the `aspnetdb` database for the web app (roles, users)?
I am trying to write a console application that would create and populate the authentication database for the web application. It should be the part of the deployment routine. The following code partly works:
using System.Web.Management;
using…

pepr
- 20,112
- 15
- 76
- 139
2
votes
2 answers
How do you update the aspnetdb membership IsApproved value?
I need to update existing users IsApproved status in the aspnet_Membership table. I have the code below that does not seem to be working. The user.IsApproved property is updated but it is not saving it to the database table. Are there any additional…

Matt
- 2,730
- 4
- 28
- 35
2
votes
1 answer
After changing ASPNETDB Username via sql, User.Identity not updating
I'm calling a stored procedure to change the username. This works and the username is changed.
After I change the username, Membership.GetUser() returns null. I check User.Identity and it still has the old username and is authenticated.
First I…

scw
- 5,450
- 8
- 36
- 49
2
votes
1 answer
How to use ASPNETDB on shared hosting?
On my asp.net site I use local DB, connection string is
Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|\MyDataBase.mdf;Integrated Security=True;Connect Timeout=30
So, MyDataBase.mdf is in APP_DATA folder.
I need to use standard…

ihorko
- 6,855
- 25
- 77
- 116
2
votes
1 answer
Invalid value for key attachdbfilename
I try to run my asp net application in godaddy webserver and get error:
Exception Details: System.ArgumentException: Invalid value for key ‘attachdbfilename’.
My connection string:

user007
- 1,064
- 3
- 12
- 29
2
votes
0 answers
sharepoint mysite authentication
I have created mysite and two other sites as 3 different web applications in my sharepoint server like
http://site1.sp.com:45 - site 1
http://site2.sp.com:45 - site 2
http://mysite.sp.com:45 - mysite site
all sites are using authentication …

Manoj Prasanna
- 99
- 1
- 11
1
vote
1 answer
CREATE DATABASE permission denied in database 'master'. A database with the same name exists
I was running my application in Visual Studio 2010 Application Server, but now I have changed it to use IIS Local Server, then everything crushed. I am getting following error:
System.Data.SqlClient.SqlException: CREATE DATABASE permission denied…

Tapas Bose
- 28,796
- 74
- 215
- 331
1
vote
2 answers
How can I mass generate Usernames, Passwords, and simple profile info to load into ASPNETDB?
I have an existing database with an accountnumber. I want to create a script that will take that column as input and generate for each accountnumber a username/password/profile entry.
The profile entry would be the original account number.
So, for…

Doug Chamberlain
- 11,192
- 9
- 51
- 91
1
vote
2 answers
How Can I upload ASPNETDB Database to Server?
I have uploaded my database backup and it works fine. but since I've created a new user from ASP.NET Configuration I've that it saves the user information in the ASPNETDB.
I already published my database from MVS and open it in M SQL Server…

Sosy
- 109
- 1
- 2
- 12
1
vote
4 answers
A network-related or instance-specific error occurred while establishing a connection to SQL Server
I HOST MY ASP.NET WEBSITE ON WEBSERVER ..But after upload when i try to access my site ...
http://www.vbi.volvobusesindia.com
Then following error occurs ....
A network-related or instance-specific
error occurred while establishing a
…

ClixNCash
- 81
- 1
- 4
- 14
1
vote
3 answers
A network-related or instance-specific error occurred while establishing a connection to SQL Server
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote…

ClixNCash
- 81
- 1
- 4
- 14
1
vote
3 answers
upload ASPNETDB.mdf to shared hosting?
I am developing asp.net mvc2 application and I use asp.net membership provider which uses ASPNETDB.mdf database. I have also my own database and now I wonder how to upload these 2 databases to server? Should I upload them as .mdf file or should I…

ilija veselica
- 9,414
- 39
- 93
- 147
1
vote
1 answer
How to create a new user in aspnetdb, when using asp:login control
I need to add the capability to create a user in an app built using the asp:Login control.
How do I do this?

BreakHead
- 10,480
- 36
- 112
- 165