OK...several things a-miss here.
In the web.config file, this...
Code:<add name="CONN" connectionString="Data Source=*;Initial Catalog=New_Data;Integrated Security=True" providerName="System.Data.SqlClient"/>
should read (if your running SQL EXPRESS)...
Code:
<add name="CONN" connectionString="Data Source=MYSERVERNAME\SQLEXPRESS;Initial Catalog=MY_YAF_DB_NAME;Integrated Security=True" providerName="System.Data.SqlClient"/>
and this...
Code:<add key="SqlConn" value="user id=*;password=*;Data Source=*;Initial Catalog=New_Data;Connect Timeout=360;"/>
<add key="connstr" value="user id=yaf1;pwd=yaf1;data source=(local);initial catalog=yaf;timeout=90"/>
should read...
Code:<add key="connstr" value="user id=yaf1;pwd=yaf1;data source=MYSERVERNAME\SQLEXPRESS;initial catalog=yaf;timeout=90"/>
In your yafnet.config, same problem. This...
Code:<connstr>user id=yaf1;pwd=yaf1;data source=(local);initial catalog=New_Data;timeout=90</connstr>
should read....
Code:<connstr>user id=yaf1;pwd=yaf1;data source=MYSERVERNAME\SQLEXPRESS;initial catalog=YAFDBNAME;timeout=90</connstr>
Download and install the SQL Server Management Studio Express (it's free) which will allow you to, funny enough, manage your databases.
When you first start this program, the "connect to server" window will appear. You server name is in the "Server Name" box. If you running Express version, you need to append "\EXPRESS" to the end of this for the connection to work.
If all else fails, on your PC, go to Control Panel>Administraive Tools>Data Sources (ODBC). Click on SYstem DSN and click "ADD". Scroll down to "SQL Server" and click "Finish". In the next box, enter "test" in block 1, "test" in block 2 then select your server from the thrid box and click "Next", CLick "Next" again. Check the "change the default database to:" dropdown to the YAF database and click "Next". Click "Finish" and when the confirm window apears click "Test Data Source". If you get a "successful" message, click "OK".
Now, do this all over again, except this time, in the second window change the authentication from Windows to SQL Server and enter you username and password. Step through everything to the end and test the connection. If it fails, your SQL User does not have permissions to do what needs doing!
Go into SQLSMSE expand "your server">databases>"YAFDB">security>users and right click the user and increase the permissions. If you user is not there, add them.
HTH

.....the man in black fled across the desert..........and the gunslinger followed.....