Security Quick Starts...error!

Topics: Security Application Block
Sep 18, 2007 at 10:02 AM
I am starting with the security quickstart in the Enterprise Library but, when I press F5 It gives me an error window in which is written "(...) cannot open database "aspnetdb" requested by the login. The login failed (...) "

I think I need to run aspnet_regsql.exe because the aspnet database is not created. There are a number of options that are available for this command and I am not sure which of the options is required for the quickstart to run. Rather than going through trial and error I thought I would ask here. Any suggestions?

Thank you
Sep 18, 2007 at 12:13 PM

Assuming you installed SQL Express with the default settings when you installed VS 2005, you should only need to set the server name in the aspnet_regsql.exe wizard to .\SQLEXPRESS.

Sep 18, 2007 at 2:06 PM
thanks I've already done exactly in this way and It works!