locked
Cannot open user default database. Login failed. Login failed for user 'NT AUTHORITY\SYSTEM'. RRS feed

  • Question

  • Hello !!!

    I've got this error when I am browsing site from IIS 7 

    Cannot open user default database. Login failed. Login failed for user 'NT AUTHORITY\SYSTEM'.

    Connection String is ...

    private string ConStr = @"Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Program Files\Microsoft SQL Server\MSSQL10.YDINNING\MSSQL\DATA\DBYDining.mdf;Integrated Security=True;Connect Timeout=1000;User Instance=True";

    I don't know what am I going to do ...

    Please help me ...


    Shwe Nann Thu

    Thursday, November 22, 2012 5:15 AM

Answers

All replies