Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Service Calling a Form with WCF interactively.

$
0
0

Hi,

I have a problem here.

I wrote a windows service which will send a notification to a dll. This dll will notify an exe form which needed to be run first using WCF and trap the messages with a pop up screen.

1. User account to start the exe and when the service trigger the dll, the error message with 

18/03/2014 11:27:13,[GSF.ECAOS.Notification.NotifyClient.Send],There was no endpoint listening at net.pipe://localhost/NotifyServer that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
18/03/2014 11:27:13,[GSF.ECAOS.Notification.NotifyClient.CloseChannel],The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

2. When i run it with administrator account which is starting the exe, there is no problem with that.

p/s: Both service is using local system to run the windows service.

I am thinking of using scheduler but can't because user account is logged on and not the admin account as it is interactively.

:(


regards,

Joh


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>