YAFLogo

Spring
  • Spring
  • 50.6% (Neutral)
  • YAF Forumling Topic Starter
2009-05-28T18:48:21Z
Hi friends,

Please help me. I use SQL2005 and I can't attach database of Yafnet. I rewrote the connection string in Db.config file as below:

<connectionStrings>

<add name="yafnet" connectionString="data source(local);Database=yafnet;UID=sa;pwd=sa" />

</connectionStrings>

But when I run web application , it showed the error on error.aspx :

"Startup Error: Unable to connect to the Database. Exception Message: Cannot open database "yafnet" requested by the login. The login failed. Login failed for user 'sa'. (4060)

Please contact the administrator if this message persists. "

Please help me.

Thank you.

Sponsor