Error setting up new server to run asp.net

G

Guest

Hi,

I have a working site on my desktop. I tried to move it to production and
I am getting an error on my new server. It has something to do with setting
a profile. Here is the error.


Server Error in '/' Application.
--------------------------------------------------------------------------------

An error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact that
under the default settings SQL Server does not allow remote connections.
(provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance
Specified)
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: An error has occurred
while establishing a connection to the server. When connecting to SQL Server
2005, this failure may be caused by the fact that under the default settings
SQL Server does not allow remote connections. (provider: SQL Network
Interfaces, error: 26 - Error Locating Server/Instance Specified)

Source Error:



Line 22: }
Line 23: set {
Line 24: this.SetPropertyValue("ServiceID", value);
Line 25: }
Line 26: }




Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\root\d461163d\3668414d\App_Code.l-bn1lfj.3.cs Line: 24



What must I do to fix this?

Thanks.
 
J

Juan T. Llibre

Your server is trying to locate the database server, but fails in the attempt.

Where is the profile database stored ?

You need to provide correct connection information to
*that* database server, from your production server.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top