Wierd connection problem



Having an issue connecting to one of my SQL Servers that I just cannot
explain.

I have two applications running on the same server that SQL is running
on. One is a C# Service that runs as my server software and currently
uses a remote SQL Database with no problems. The other is a new
ASP.Net webpage I am adding for configuration purposes and viewing log
data, etc. To reduce lag and traffic I wanted to make both the ASP.Net
site and my Service start using the local SQL database, and stop using
my remote SQL Database that is running somewhere else.

Here is the problem however...

Using the identical connection string, my ASP.Net page can connect to
the local database, no problem. My service however will not connect to
the local database. Keep getting SQL Server not found or invalid login
errors. I just cannot explain this as all are running from the same
computer and use the exact same connection string.

The only difference I can see is that the service runs with the .Net
1.1 framework, and the ASP.Net page runs with the 2.0 framework.

Anyone have any ideas?

Thanks,

--
Stephan
2001 Yamaha YZF-R6 <--- Stolen
.



Relevant Pages

  • sqlConnection not working in VS.net IDE
    ... Data Connection to my sql database on my network. ... ..but after i finish the data form and try to bring up records when i ...
    (microsoft.public.dotnet.general)
  • authentication
    ... I have a situation in which I am working on an A2003 app ... that is connected to a SQL 2005 backend. ... for example on one of our SQL servers. ... This is the dialog box that has the checkbox for trusted connection, ID, ...
    (microsoft.public.access.formscoding)
  • Re: How can I open an SQL database and be the only one who has access to it?
    ... That's a JET switch that's a NOOP with SQL Server. ... William Vaughn ... > I'm opening an ADODB connection to an SQL database in VB6 using the ... > adModeShareExclusive mode for the connection object. ...
    (microsoft.public.data.ado)
  • Re: Password for Links to SQL Database
    ... create a linked table to SQL server, or make path-through query - you will ... > I am developing an Access app with links into an SQL database. ... suspect it has something to do with Connection declarations. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Performance
    ... Scale out is generally a matter of adding more ... SQL servers and distributing (usually via code but distributed partitions is ... also an option) your database and/or functions across them. ...
    (microsoft.public.dotnet.framework.performance)