Click here to Skip to main content
15,922,419 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to handel this(The channel 'tcp' is already registered.) Exception in remotin Pin
Piyush Vardhan Singh29-Apr-08 22:51
Piyush Vardhan Singh29-Apr-08 22:51 
AnswerRe: How to handel this(The channel 'tcp' is already registered.) Exception in remotin Pin
eyeseetee29-Apr-08 22:54
eyeseetee29-Apr-08 22:54 
GeneralRe: How to handel this(The channel 'tcp' is already registered.) Exception in remotin Pin
Piyush Vardhan Singh29-Apr-08 23:16
Piyush Vardhan Singh29-Apr-08 23:16 
GeneralRe: How to handel this(The channel 'tcp' is already registered.) Exception in remotin Pin
eyeseetee29-Apr-08 23:18
eyeseetee29-Apr-08 23:18 
GeneralRe: How to handel this(The channel 'tcp' is already registered.) Exception in remotin Pin
Piyush Vardhan Singh29-Apr-08 23:28
Piyush Vardhan Singh29-Apr-08 23:28 
GeneralRe: How to handel this(The channel 'tcp' is already registered.) Exception in remotin Pin
eyeseetee29-Apr-08 23:47
eyeseetee29-Apr-08 23:47 
GeneralRe: How to handel this(The channel 'tcp' is already registered.) Exception in remotin Pin
Piyush Vardhan Singh30-Apr-08 0:08
Piyush Vardhan Singh30-Apr-08 0:08 
Question"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: Named Pipes Pro Pin
1.21 Gigawatts29-Apr-08 22:50
1.21 Gigawatts29-Apr-08 22:50 
Hi peeps

I know loads of you have probably seen this error, or read about it before - so this shouldn't be a problem to answer.

I can connect and see my database (which is on my local machine) in Visual Studio (I am uing LINQ to connect and auto-generate entity classes). When I run my application it comes back with the dreadful error:

"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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"

Now I've done everyting you are supposed to do:
1) Ensured remote connections are enabled, enabled TCP and named pipes
2) Started Browser service
3) Restarted servcies and/or Rebooted machine
4) Windows firewall isn't running as I have Kaspersky - but i've put in exceptions for the processes; and even turned Kaspersky off.

No joy.

As Visual Studio can connect and view the database, i was wondering if there is anything I have to configure on the ASP.net side of things?

I should point out that I am running:
- Vis Studio 2008
- Sql Server 2005 Service pack 2
- Vista business (incidentally I had no problems with the same set-up on diff machine running Vista Ultimate)


Confused | :confused:
AnswerRe: "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: Named Pipes Pin
eyeseetee29-Apr-08 22:54
eyeseetee29-Apr-08 22:54 
GeneralRe: "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: Named Pipes Pin
1.21 Gigawatts29-Apr-08 22:57
1.21 Gigawatts29-Apr-08 22:57 
GeneralRe: "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: Named Pipes Pin
eyeseetee29-Apr-08 23:16
eyeseetee29-Apr-08 23:16 
GeneralRe: "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: Named Pipes Pin
1.21 Gigawatts29-Apr-08 23:39
1.21 Gigawatts29-Apr-08 23:39 
QuestionCalendr in pop up window: javascript error Pin
rahul.net1129-Apr-08 22:20
rahul.net1129-Apr-08 22:20 
AnswerRe: Calendr in pop up window: javascript error Pin
Vasudevan Deepak Kumar29-Apr-08 22:22
Vasudevan Deepak Kumar29-Apr-08 22:22 
GeneralRe: Calendr in pop up window: javascript error Pin
rahul.net1129-Apr-08 22:36
rahul.net1129-Apr-08 22:36 
QuestionCalling Javascript on Body onload Pin
dwadasi29-Apr-08 22:02
dwadasi29-Apr-08 22:02 
AnswerRe: Calling Javascript on Body onload Pin
Vasudevan Deepak Kumar29-Apr-08 22:23
Vasudevan Deepak Kumar29-Apr-08 22:23 
AnswerRe: Calling Javascript on Body onload Pin
Guffa29-Apr-08 23:25
Guffa29-Apr-08 23:25 
QuestionCHALLENGING QUESTING FOR PROGRAMMERS - String to Textbox in C#.NET?? [modified] Pin
Karan_TN29-Apr-08 21:47
Karan_TN29-Apr-08 21:47 
AnswerRe: String to Textbox in C#.NET?? Pin
Blue_Boy29-Apr-08 21:49
Blue_Boy29-Apr-08 21:49 
QuestionRe: String to Textbox in C#.NET?? Pin
Karan_TN29-Apr-08 21:55
Karan_TN29-Apr-08 21:55 
AnswerRe: String to Textbox in C#.NET?? [modified] Pin
Blue_Boy29-Apr-08 22:54
Blue_Boy29-Apr-08 22:54 
AnswerRe: String to Textbox in C#.NET?? Pin
eyeseetee29-Apr-08 22:06
eyeseetee29-Apr-08 22:06 
QuestionRe: String to Textbox in C#.NET?? Pin
Karan_TN29-Apr-08 22:13
Karan_TN29-Apr-08 22:13 
AnswerRe: String to Textbox in C#.NET?? Pin
Vasudevan Deepak Kumar29-Apr-08 22:24
Vasudevan Deepak Kumar29-Apr-08 22:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.