Keith1985
asked on
CreateUserWizard not creating a new user
I'm having a little problem when creating a new user from the CreateNewUser wizard control. I'm creating the ASP.NET app through IIS and I get this error when filling out the registration form:
"Cannot open database "aspnetdb" requested by the login. The login failed.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'."
I'm fairly new to programming and not that familiar with IIS yet, but I have seen the 'NT AUTHORITY\NETWORK SERVICE' in SQL Management Studio, so i'm sure I have to do something here, but not sure what.
Also, this is a big plus also, I want to use the CreateUserWizard when hosted by GoDaddy. I installed the ASP Schema on GoDaddy, and I was just wondering how to accomplish this? I made this problem 500 points because if solved, it will help out a lot.
"Cannot open database "aspnetdb" requested by the login. The login failed.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'."
I'm fairly new to programming and not that familiar with IIS yet, but I have seen the 'NT AUTHORITY\NETWORK SERVICE' in SQL Management Studio, so i'm sure I have to do something here, but not sure what.
Also, this is a big plus also, I want to use the CreateUserWizard when hosted by GoDaddy. I installed the ASP Schema on GoDaddy, and I was just wondering how to accomplish this? I made this problem 500 points because if solved, it will help out a lot.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great resource alanwarren. All solutions were very helpful.
ASKER
I like where you are going here, but one problem, when I insert the CreateUserControl it doesn't automatically create the dbaspnet schema. Now, if I create a a local website, then the database is created as soon as I register a user from the form, but its not doing it now that I'm under IIS. This is what is driving me crazy. Of course by now you have figured out that I'm a newbie in development, so that is why I may be having a little trouble here.
Keith1985-354771.flv