Welcome Guest Search | Active Topics | Log In | Register

Conection string [SOLVED] Options · View
thiswayup
#1 Posted : Monday, August 25, 2008 2:57:13 PM

Rank: YAF Forumling


Joined: 8/24/2008
Posts: 2
Location: london
Hi

I'm having problems with the connection string in the web.config. I've read http://wiki.yetanotherfo...ion%20Instructions.ashx but I'm not sure what section/key should I be putting in my string. I will be using sql2005 and I guess i use Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword; looking at http://www.connectionstr...?carrier=sqlserver2005.

I tried the post which suggested using:
<connectionStrings>
<add name="yafnet"
connectionString="Server=.\EXPR2005;
UID=XXXX;PWD=xxxx;
database=yaf;
Trusted_Connection=no" />
</connectionStrings>

but that doesnt work either.

Can anyone point me in the right direction? Thanks

Joe
thiswayup
#2 Posted : Monday, August 25, 2008 7:23:27 PM

Rank: YAF Forumling


Joined: 8/24/2008
Posts: 2
Location: london
Whoops, just realised was suppose to add it to the yafnet.config file under and as example :

Quote:
<connstr>user id=username;pwd=XXXX;data source=.\EXPR2005;initial catalog=yaf;timeout=90</connstr>


as detailed http://wiki.yetanotherfo...t/SqlServerExpress.ashx

ref: rtfm Rolling Eyes
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 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.053 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET