.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

The pipe endpoint net.pipe://localhost.......... could not be found on your local machine

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :SharePoint

I am facing a problem getting metadata using named pipes. I saw a thread titled "

How to create named pipe WCF EXE using net.pipe" at http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/168d7de1-d0f8-4f67-b989-d0746e76bec0?prof=required.

I have a service with a config file which I think it has all necessary config to respond to net.pipe requests (at the end of this thread) byt still getting the same error

"There was no endpoint listening at net.pipe://localhost/WCFService1 that cou
ld accept the message. This is often caused by an incorrect address or SOAP acti
on. See InnerException, if present, for more details.

(system.IO.PipeException) The pipe endpoint 'net.pipe://localhost.......... could not be found on your local machine'"


In spite of the fact that the service is running in the console, using HTTP works fine.


Here is the config file :
<?xml version="1.0" encoding="utf-8" ?>
<compilation debug="true" />
<!-- When deploying the service library project, the content of the config file must be added to the host's app

View Complete Post

More Related Resource Links

Getting Local Machine Info from Web Service

Hi there, im pretty new to using web services and i have an application which connects to a webservice, the problem is however is that i need to be able to get the local machine info e.g machine name, drives etc...from the webservice and i have no idea how to do this! Any help would be much appreciated!Phil

net.pipe binding and Pipe is being closed error.

Hi, I am using net named pipe binding for the communication. I have came across many blogs regarding the 'pipe is being closed' error. When pipe is inactive then it is getting closed. I have set is and every time out to max. But still I get this error. Even I set the IdleTimeout as below. Then also my connection get closed. namedPipeBinding.CreateBindingElements().Find<NamedPipeTransportBindingElement>().ConnectionPoolSettings.IdleTimeout = new TimeSpan(23,0,0,0); And at server side I have (as I see in many blogs suggestion to avoid the closing of pipe) namedPipeBinding.ReceiveTimeout = timeOut; Is there any specific reason for this? ThanksRegards, Nakul

Getting net.pipe protocol scheme working n IIS 7

Hello!We have several web services that all work together.  These have been tested in our DEV envrionment and are working quite well.  One of these is a caching manager that runs on each server and the client services talk to it via named Pipes which is quite fast!  Today, we started moving our services from DEV to our PROD environment running on Server2008 R2.  Our dev envrionment is Windows 7.  Where as our DEV envrionment is a single machine sandbox, our PROD environment is multiple servers and multiple web sites.  We have a single site set up on each server to run this namedPipe enabled service.  We set everything up (at least from IIS) to be identical to the Win7 IIS environment, but we just cannot get the SVC page to show us the service definition.When I get into the console of IIS , right click on the SVC file and select BROWSE, I get an error as folows:Could not find a base address that matches scheme net.pipe for the endpoint with binding NetNamedPipeBinding. Registered base address schemes are [http]. We did install the activiation component of .net on our IIS server.We are running .Net 3.5.1 on our IIS server (running IIS 7.0 on Server 2008 R2)However, when I go to the advanced settings for my site, and look at Enabled Protocols I see:http,net.pipe,net.tcp And when I go to my application under the site and look at advanced settings I see:http,net.pipe,net.tcp This is

Endpoint not found Exception

Hi,    I Have created Services in WCF application and hosted in windowservice application. Application has build succesfully. And I have installed the .exe file through command prompt. But the problem is when proxy object call's from client side it throws following exception.   Could not connect to net.tcp://localhost:8073/Service1/. The connection attempt lasted for a time span of 00:00:00.9218750. TCP error code 10061: No connection could be made because the target machine actively refused it endpoint, base address should be configured in app.config file. Help me anybody.

Login error - No process is on the other end of the pipe on initial logon attempt

I am having a logon problem with asp.net apps that were created using Visual Web Developer 2008.  Data is on SQL Server Express 2008 running on Windows 2003 server with IIS6.  Connection is on a LAN.  The first time I try to log in to the site, I get the following error:Server Error in '/' Application.A connection was successfully established with the server, but then an error occurred during the login process. (provider: Named Pipes Provider, error: 0 - No process is on the other end of the pipe.)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: A connection was successfully established with the server, but then an error occurred during the login process. (provider: Named Pipes Provider, error: 0 - No process is on the other end of the pipe.)Source Error:An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.Stack Trace:[SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: Named Pipes Provider, error: 0 - No proce

Pipe SQL Query function into Variable with no column headings

Hello, I don't know if I'm in the right forum but could not find one for Powershell. I need to return 1 piece of data from a sql database to a variable. I don't want the column headings. Here's what I have so far:         Function GetMenuGroup ([int]$StoreID) { $SqlConnection = New-Object System.Data.SqlClient.SqlConnection $SqlConnection.ConnectionString = "Server=Servername;Database=DatabaseName;Integrated Security=True" $SqlCmd = New-Object System.Data.SqlClient.SqlCommand $SqlCmd.CommandText = "exec storedProcedure $StoreID" $SqlCmd.Connection = $SqlConnection $SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter $SqlAdapter.SelectCommand = $SqlCmd $DataSet = New-Object System.Data.DataSet $SqlAdapter.Fill($DataSet)|out-null $SqlConnection.Close() $DataSet.Tables[0] } $MG=Getdata 2 |out-string Here's the results I get now - How do I return just "DatathatIreallyWant" in a string variable? I don't want the column or underline. ColumnName ------------- DataThatIreallyWant   Thank you, MG2

SQLCLI service not registered on the local machine error

Hi, With reference to the above title, I am trying to connect an SQL Server 2008 Express instance which came along with Visual Studio 2010 Ultimate from my C# app. My connection string is: Provider= SQLNCLI;Server=host\SQLEXPRESS;Database=database; When I try connecting with the above connection string, it says: SQLNCLI provider not registered on the local machine followed by my connection string. What am I supposed to do to solve this issue? Thank You in advance for your reply. Regards, Clifford

SQL Error with Login: Login failed for user 'NT AUTHORITY\SYSTEM'. [CLIENT: ]

<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {mso-style-noshow:yes; mso-style-priority:99; color:purple; mso-themecolor:followedhyperlink; text-decoration:underline; text-underline:single;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page Section1 {size:612.0pt 792.0pt; margin:70.85pt 3.0cm 70.85pt 3.0cm; mso-header-m

Problem with IPC Channel "Port is busy: All pipe instances are busy"

Hi all. Sometimes, some of our remote objects when invoked throw an exception "Port is busy: All pipe instances are busy". Putting the code in a while(true) loop and catching the exception, after some loops everything goes fine. Does anyone know the meaning of that exception? I've been googling a lot but found no clue.   Thanks, regards Cristian Mori

Determine IPv6 Subnet(s) for Local Machine

I'm trying to add support for IPv6 in one of my .Net applications and I can't figure out how to determine the IPv6 subnet mask of the local machine. Can anyone tell me how this is done?

Accessing image file in local machine from server

 Hi i have a  .JPG file in my local machine which has  to be sent as body of SMTP mail. Path of image D://foldername//imagename.jpg The code I run is in the server m\c. I want it to access my local machine's d:\ folder to get the image file. But it is accessing the server m\c's d:\ folder. How can this be done? Thanks Amuda.RG  

Accounts used by application pools or service identities are in the local machine Administrators gro

ERROR: Using highly-privileged accounts as application pool or as service identities poses a security risk to the farm, and could allow malicious code to execute.  The following services are currently running as accounts in the machine Administrators group: SharePoint Central Administration v4 (Application Pool) SPTimerV4(Windows Service) there are 2 accounts associated with this install. 1. SQL ACCOUNT 2. SP Admin account(farm) the admin account has the following listed components    Farm components using this account      Microsoft SharePoint Foundation Application Pool: SharePoint - 80 SharePoint Server Search Web Analytics Data Processing Service Farm Account User Profile Synchronization Service Microsoft SharePoint Foundation Sandboxed Code Service Access Services Secure Store Service PowerPoint Service Application Word Viewing Service PerformancePoint Service Application Visio Graphics Service Managed Metadata Service Web Analytics Service Application Word Automation Services Excel Services Application Business Data Connectivity Service Search Administration Web Service for Search Service Application User Profile Service Application Search Service Application Application Discovery and Load Balancer Service Application Security Token Service Application   The farm account is not listed in the local machines admi

WCF endpoint couldnt found for HTTPS

Hi All, I am writing a client to access webservice over SSL protocol. I installed a self-signed certificate on the IIS. The client is also running on the same machine. But it was throwing the following exception .. Below is also my service and clinet config file. System.ServiceModel.EndpointNotFoundException: There was no endpoint listening a t https://localhost/SecureService/SecureService.svc that could accept the messag e. This is often caused by an incorrect address or SOAP action. See InnerExcepti on, if present, for more details. ---> System.Net.WebException: The remote serve r returned an error: (404) Not Found.    at System.Net.HttpWebRequest.GetResponse()    at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpCha nnelRequest.WaitForReply(TimeSpan timeout)    --- End of inner exception stack trace --- Server Service Configuration <system.serviceModel> <serviceHostingEnvironment multipleSiteBindingsEnabled="true" /> <bindings> <wsHttpBinding> <binding name="wsHttpEndpointBinding"> <security mode="Transport"> <transport clientCredentialType="None" /> </security> </binding> </wsHttpBinding> </bindings> <services> <service behaviorConfiguration="App_WcfWebService.AppWebServiceBehavior" name="A

"Assembly '...' Was Not Found" When including a reference to a local namespace

I've got a WPF application with a window and a usercontrol:   Window:   <Window x:Class="UI.Windows.Main" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:UI.Windows.Documents" Title="Window1" Height="600" Width="800"> <DockPanel> <!-- Snip --> </DockPanel> </Window>     UserControl:   <UserControl x:Class="UI.Windows.Documents.MyDisplay" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml> <Grid> <!-- Snip --> </Grid> </UserControl>       Now, when I try to look at this in the designer i get an error saying Assembly 'UI' was not found.  I've searched high and low, but the internet is full of references to this being a 2005 issue and the solution is to upgrade to 2008.  I'm already using 2008 (don't even have 2005 installed on the machine), and I still get the problem.

Send/open timeouts on WAS-hosted WCF service with named pipe orTCP binding, per-call instancing

We have a client that sends requests to a per-call WCF service (WAS hosted, NP binding, same machine) in a loop. The WCF service calls an external EXE to process requests. The operations on the service can take a few seconds, or a few hours. To combat this, we have sendTimeout=00:05:00, receiveTimeout=00:05:00 and a built-in circuit-breaker on the service that kills the external process after 00:05:00. Any service-side errors are returned to the client as FaultExceptions.  On the client, FaultExceptions are logged and the client proxy is aborted (proxy.Abort()). The client has configurable multithreading. In this example, it is running 3 threads, each of which creates a proxy, makes a call, and closes the proxy (or aborts it if an exception was received). Since the service is instanced as per-call, and it never receives more than 3 simultaneous calls (each of which being followed by a .Close() or .Abort() on the proxy), I would not expect the client to be getting timeouts during the send, but I am. In fact, the send timeouts I am receiving would seem to imply that the WCF service is hitting the default session limit, even though the class is explicitly marked with [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)]. I put some trace logging on the client and I can see that the timeout is occurring when the proxy is being created. sendTimeout seems to

WCF discovery finds the endpoint but the address is localhost

Hi,   I have a wcf discoverable service called "GetNameService" which is hosted on a PC @ It is hosted with wsHttpBinding and is discoverable thru' UdpEndpoint. I also have a client @ which discovers for such services in the same network. When I ran the client, I am able to discover the service but the end point of the service discovered is having localhost in it. How can this happen, please help me out in this.   Some more information,   App.config used <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.web> <compilation debug="true" /> </system.web> <!-- When deploying the service library project, the content of the config file must be added to the host's app.config file. System.Configuration does not support config files for libraries. --> <system.serviceModel> <services> <service name="NameService.GetNameService"> <host> <baseAddresses> <add baseAddress = "" /> </baseAddresses> </host> <!-- Service Endpoints --> <!-- Unless fully qualified, address is relative to base address supplied above --> <endpoint address ="" binding="ws

Copy folder from FTP site using SSH to local machine using a script task (.NET)

  Hello, I need to copy a folder over to my local machine from a FTP site that is listening on SSH/SFTP connection. Could this be accomplished using .NET? I have an SSIS package, and I am wondering if I can accomplish this in a script task...   Thanks DaveDave SQL Developer
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend