The database requested to log on to 'store1 'cannot be opened. Logon Failed. User 'localhost \ aspnet' Login Failed

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.