Yet Another Forum.NET
»
YAF Forum Discussions
»
YAF & Portals
»
Please help!! Startup Error: Unable to connect to the Database. Exception Message
|
|
 Rank: YAF Forumling
Joined: 6/13/2008 Posts: 4
|
please help,im having this error,im using sql server 2000
Startup Error: Unable to connect to the Database. Exception Message: Cannot open database "Forum2" requested by the login. The login failed. Login failed for user 'MYPC\ASPNET'. (4060)
i have this in my web.config.
<connectionStrings> <add name="yafnet" connectionString="data source=MYPC\SQLEXPRESS;initial catalog=Forum2;uid=yaf1;pwd=yaf1;trusted_connection=true" /> </connectionStrings>
|
|
|
 Rank: YAF Head Dude

Joined: 10/10/2004 Posts: 2,761 Location: Honolulu, HI
|
Your connection string is incorrect. Try: "user id=yaf1;pwd=yaf1" "Honesty may be the best policy, but it’s important to remember that apparently, by elimination, dishonesty is the second-best policy." -- George Carlin 
|
|
|
| Users browsing this topic |
|
Guest
|
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.
YAFPro Theme Created by Jaben Cargman (Tiny Gecko)Powered by YAF 1.9.3 RC1 |
YAF © 2003-2008, Yet Another Forum.NETThis page was generated in 0.060 seconds.