Connecting via SQLServer?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Blink

    #1

    Connecting via SQLServer?

    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....Syste m.Data.SqlClien t.SqlException: SQL Server does not exist or
    access denied. at System.Data.Sql Client.SqlConne ction.Open() at
    Microsoft.Appli cationBlocks.Da ta.SqlHelper.Ex ecuteDataset(St ring
    connectionStrin g, CommandType commandType, String commandText,
    SqlParameter[] commandParamete rs) in
    c:\inetpub\wwwr oot\testdb\sqlh elper.cs:line 424 at
    Microsoft.Appli cationBlocks.Da ta.SqlHelper.Ex ecuteDataset(St ring
    connectionStrin g, CommandType commandType, String commandText) in
    c:\inetpub\wwwr oot\testdb\sqlh elper.cs:line 403 at
    testdb.testdb.P age_Load(Object sender, EventArgs e) in
    c:\inetpub\wwwr oot\testdb\test db.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.



Working...