The server error in the "/istore" application.
The database requested to log on to 'store1 'cannot be opened. Logon Failed. User 'localhost \ aspnet' Login Failed.
Note:An error occurred while executing the current Web request. Check the stack trace information for details about the error and the source of the error in the code.
Exception details:System. Data. sqlclient. sqlexception: the database requested to log on to 'store1 'cannot be opened. Logon Failed. User 'localhost \ aspnet' Login Failed.
Source error:
Row 236: Row 237: // open the database connection row 238: myconnection. open (); line 239: // execute the data operation command line 240: // After sqldatareader reads data to the record set, the database connection is automatically closed
Source file:E: \ Inetpub \ wwwroot \ istore \ istoredbo. CSRow:238
Stack trace:
[Sqlexception: the database requested to log on to 'store1 'cannot be opened. Logon Failed. User 'localhost \ aspnet' Login Failed.] System. data. sqlclient. connectionpool. getconnection (Boolean & isintransaction) + 474 system. data. sqlclient. sqlconnectionpoolmanager. getpooledconnection (sqlconnectionstring options, Boolean & isintransaction) + 372 system. data. sqlclient. sqlconnection. open () + 384 istore. istoredbo. getgoodscategories () in E: \ Inetpub \ wwwroot \ istore \ istoredbo. CS: 238 istore. menu. page_load (Object sender, eventargs E) in E: \ Inetpub \ wwwroot \ istore \ menu. ascx. CS: 45 system. web. UI. control. onload (eventargs e) + 67 system. web. UI. control. loadrecursive () + 35 system. web. UI. control. loadrecursive () + 98 system. web. UI. control. loadrecursive () + 98 system. web. UI. page. processrequestmain () + 731
Version:Microsoft. NET Framework Version: 1.1.4322.573; ASP. NET version: 1.1.4322.573