Spring
  • Posts: 1
  • Joined: 28/05/2009
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
Users browsing this topic
    Forum Jump  
    • You cannot post new topics in this forum.
    • You cannot reply to topics in this forum.
    • You cannot delete your posts in this forum.
    • You cannot edit your posts in this forum.
    • You cannot create polls in this forum.
    • You cannot vote in polls in this forum.

    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved