 |
BOOK: Beginning ASP.NET 4 : in C# and VB
 | This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|
|

October 5th, 2011, 03:50 PM
|
|
Authorized User
|
|
Join Date: Jun 2011
Posts: 45
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Chap 16 - Sign Up for Your New Account, pg 584, #10
Imar,
I got a message saying my login failed.
Here is part of the message.
Server Error in '/WebSite4' Application.
--------------------------------------------------------------------------------
Login failed for user 'Gateway_64\Jack'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
SQLExpress database file auto-creation error:
The connection string specifies a local Sql Server Express instance using a database location within the application's App_Data directory. The provider attempted to automatically create the application services database because the provider determined that the database does not exist. The following configuration requirements are necessary to successfully check for existence of the application services database and automatically create the application services database
Should I put PlanetWrox.mdf in the App_Data folder and check the security settings?
Thanks
|
|

October 5th, 2011, 04:03 PM
|
|
Authorized User
|
|
Join Date: Jun 2011
Posts: 45
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Chap 16 - Sign Up for Your New Account, pg 584, #10
Imar,
You asked me,"Does it crash, or do I get a message saying that your login attempt failed?
I replied that I got a message. I think I should be more clear. It crashed and the message was on the yellow screen of death.
When I told you I got a message, I should have said it crashed.
Sorry, for my ignorance.
Jack Koyle
|
|

October 5th, 2011, 04:10 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Take a look at the messge:
Quote:
The following configuration requirements are necessary to successfully check for existence of the application services database and automatically create the application services database
|
Does it provide more information?
Looks like your account is not allowed to create a new database (the PlanetWrox database is irrelevant at this stage). Are you an administrator on your machine?
Imar
|
|

October 5th, 2011, 05:12 PM
|
|
Authorized User
|
|
Join Date: Jun 2011
Posts: 45
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Chap 16 - Sign Up for Your New Account, pg 584, #10
Yes, I am the Administrator. In fact, I am the only user on this machine.
I'm stumped??? Do you know where I tell the system that I am allowed to create a database? Is that something that should be done in the Management Studio?
Jack Koyle
|
|

October 6th, 2011, 03:27 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Can you run Management Studio and then create a new database? Have you tried reinstalling SQL Server Express?
Imar
|
|
 |
|