Re: An error has occurred while establishing a connection to the server



they ara enabled.
Like I said all may aspx pages works perfect except the ones resides
on the "po" folder
there is no problem with sql connection with pages out of this folder.

On Sep 18, 2:33 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Chazam,

The exception message seems to tell it all. If you are connecting to
SQL Server 2005, by default, the named pipes provider is not enabled. You
have to enable the named pipes provider on the SQL Server 2005 machine in
order to allow connections from the machine hosting your web app.

--
- Nicholas Paldino [.NET/C# MVP]
- m...@xxxxxxxxxxxxxxxxxxxxxxxxxxx

"Chazam" <chey...@xxxxxxxxx> wrote in message

news:1190139670.174628.234140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



Enviroment with Problem
SERVER 2003
SQL SERVER 2005
DEV C# .NET 2.0

I have a web application that works perfect on my dev machine. When I
publish it to my 2003 server it display this 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)

This happens to me when I try to access some aspx pages that resides
inside of folder call "po". How ever there are no problems on any root
aspx files of my web application. The "po" folder has no config file
just 2 more folders for images and 4 aspx pages on the root of this
"po" folder. Those pages send info to the database.

Hope some one help me on this
Thanks- Hide quoted text -

- Show quoted text -


.



Relevant Pages

  • Re: error: "Failed to generate a user instance of SQL Server due to a failure in starting the proces
    ... time the user creates a User Instance connection, ... Files\Microsoft SQL Server] directory. ... folder to the Microsoft supposed "default" folder, ... I've checked the permissions and found that the ASPNET user not listed on ...
    (microsoft.public.sqlserver.connect)
  • Re: An error has occurred while establishing a connection to the server
    ... there is no problem with sql connection with pages out of this folder. ... SQL Server 2005, by default, the named pipes provider is not enabled. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: An error has occurred while establishing a connection to the server
    ... Yup all d aspx pages have data acces. ... there is no problem with sql connection with pages out of this folder. ... SQL Server 2005, by default, the named pipes provider is not enabled. ...
    (microsoft.public.dotnet.languages.csharp)
  • Why is my web site generating App_Data folder?
    ... The site is working fine in the development computer. ... doesn't have this folder at all) and it also generates an error saying ... An error has occurred while establishing a connection to the server. ... When connecting to SQL Server 2005, this failure may be caused by the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Issues with ActiveSync 4.5 beta
    ... Did you do the soft reset while you where still docked above or did you remove the rx1950 from the dock to do the soft reset? ... I'd suggest copying your files to a safe backup location (a folder) on your PC using File Explorer the next time you dock, you should also copy them using pocket file explorer to a storage card on your Pocket PC before docking again just to be extra safe. ... When I connected the PDA again, the WM_nestor folder has disappeared and AS asked me to create a new profile... ... If I try to force the connection, through File>Syncronize, the ...
    (microsoft.public.pocketpc.activesync)

Loading