Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Connecting via SQLServer?

Reply
Thread Tools

Connecting via SQLServer?

 
 
Blink
Guest
Posts: n/a
 
      07-18-2003
We have an ASP.NET application running on one machine, and a SQL Server on
the other. Under development conditions the application runs fine, and can
connect away to its heart's content, but when we deploy it we get connection
issues. The exact error message we get is

"SQL Server does not exist or access
denied....System.Data.SqlClient.SqlException: SQL Server does not exist or
access denied. at System.Data.SqlClient.SqlConnection.Open() at
Microsoft.ApplicationBlocks.Data.SqlHelper.Execute Dataset(String
connectionString, CommandType commandType, String commandText,
SqlParameter[] commandParameters) in
c:\inetpub\wwwroot\testdb\sqlhelper.cs:line 424 at
Microsoft.ApplicationBlocks.Data.SqlHelper.Execute Dataset(String
connectionString, CommandType commandType, String commandText) in
c:\inetpub\wwwroot\testdb\sqlhelper.cs:line 403 at
testdb.testdb.Page_Load(Object sender, EventArgs e) in
c:\inetpub\wwwroot\testdb\testdb.aspx.cs:line "

Has anyone seen this before? We know the connection string is correct, and
that the server exists. The machines can ping each other. Does ASP.NET need
to be given special data rights or anything like that? Do I need to set up a
trusted connection between the two machines? Any help would be greatly
appreciated.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting Wireless to Dial-Up Via ICS Greg Wireless Networking 0 08-04-2005 08:32 PM
Req: Help - connecting two machines (one wireless) via Draytek Vigor 2600g Mike Wireless Networking 1 03-02-2005 10:02 AM
Connecting 2 sites via wireless JohnDpatriot Wireless Networking 4 11-20-2004 02:13 AM
Problems connecting Cisco3005 and Sofaware SBox-200 via vpn Thorsten Cisco 0 11-18-2004 08:52 AM
Connecting two 1601's back-to-back via serial interfaces Cyber-Soldier Cisco 1 11-20-2003 07:49 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57