Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Connect to SQL from .net apps

Author  Topic 

moss442
Starting Member

1 Post

Posted - 2007-06-21 : 08:21:17
I'm struggling to connect to my SQL server whilst running a dot net application which is located on a network drive.
the program will run perfectly from my c drive, but as soon as i move the program file on to the network, it no longer recognises my windows permissions, and does not connect to the database.
can someone help?
is there some code that i need to add to my dot net code?

DonAtWork
Master Smack Fu Yak Hacker

2167 Posts

Posted - 2007-06-21 : 11:36:12
www.connectionstrings.com

[Signature]For fast help, follow this link:
http://weblogs.sqlteam.com/brettk/archive/2005/05/25.aspx
Learn SQL
http://www.sql-tutorial.net/
http://www.firstsql.com/tutor.htm
http://www.w3schools.com/sql/default.asp
Go to Top of Page

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2007-06-22 : 17:33:44
Yeah, change your connection settings and passwords to match the remote database.
Go to Top of Page
   

- Advertisement -