My requirement is to call a WCF service hosted in individual machines as a Windows Service from a Windows Service which is also be placed in all the machines. The WCF service is having NetNamedPipe Binding and while trying to access the WCF service from
the Windows Service it is working great by passing the username of the machine, but the same is not working when we install the Windows Service, it is asking for Username as well as Password.
To explain in a line Calling wcf is working fine before installing windows service, but the same is asking for password post installation of the windows service.
Requesting anyone to provide an optimal solution for the problem
I imagine you're logged in as the admin or an account that has appropriate access but the installed service is not running under such an account. Other than that, WCF is fairly complex. We can only guess as we cannot see your code or configuration.
Why is the WCF service that is using named-piped even concerned about using a user-id and password for a solution that is running on the protected LAN?
If you find the post has answered your issue, then please mark post as 'answered'.
>> To explain in a line Calling wcf is working fine before installing windows service, but the same is asking for password post installation of the windows service.
Which account did you use to run the Windows Service? There are two Windows Service in your scenario, did you receive credential prompt in WCF Service Windows Service or WCF Client Windows Service? Did you enable authentication like basic or windows for
your WCF Service?
I suggest you run your windows services which are placed in all the machines under the domain account.
Best Regards,
Edward
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
The WCF service Hosted as Windows Service and My windows service both are running in Local System Account only. The crtical part here is the WCF i am trying to access is provided by UI Path Studio and it is Running as a windows service and we dont have any
control on the same.
The WCF service Hosted as Windows Service and My windows service both are running in Local System Account only. The crtical part here is the WCF i am trying to access is provided by UI Path Studio and it is Running as a windows service and we dont have any
control on the same.
While accessing the UI Path WCF Service(hosted as Windows service) i got an exception to send password as parameter, the UI Path WCF is having Named Pipe Binding which we dont have any control to change.
If anything required from UI Path service definitely i will go for UI Path forum, but my question is how to call a WCF with Named Pipe binding without sending Password, since i am calling the WCF from the same machine i dont want to pass password as a paramater.
IS there any way?
If anything required from UI Path service definitely i will go for UI Path forum, but my question is how to call a WCF with Named Pipe binding without sending Password, since i am calling the WCF from the same machine i dont want to pass password as a paramater.
IS there any way?
Keep in mind that we cannot see your code, configuration or setup. This sounds like a permissions issue.
>> my question is how to call a WCF with Named Pipe binding without sending Password, since i am calling the WCF from the same machine i dont want to pass password as a parameter
How did you configure WCF Service? Did you enable WCF basic or windows for your WCF Service?
For a simple WCF Service, we would not need to provide user name and password.
How did you call WCF Service from windows Service? I am not sure what the UI Path supports. if you access the WCF Service from a console app, will the service work correctly?
Best Regards,
Edward
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
None
0 Points
11 Posts
Calling a WCF service self hosted as windows service from a Windows service
Jan 31, 2018 05:17 PM|pradeepv|LINK
Hi,
My requirement is to call a WCF service hosted in individual machines as a Windows Service from a Windows Service which is also be placed in all the machines. The WCF service is having NetNamedPipe Binding and while trying to access the WCF service from the Windows Service it is working great by passing the username of the machine, but the same is not working when we install the Windows Service, it is asking for Username as well as Password.
To explain in a line Calling wcf is working fine before installing windows service, but the same is asking for password post installation of the windows service.
Requesting anyone to provide an optimal solution for the problem
Pradeep.V
All-Star
53021 Points
23607 Posts
Re: Calling a WCF service self hosted as windows service from a Windows service
Jan 31, 2018 07:25 PM|mgebhard|LINK
I imagine you're logged in as the admin or an account that has appropriate access but the installed service is not running under such an account. Other than that, WCF is fairly complex. We can only guess as we cannot see your code or configuration.
Contributor
4923 Points
4203 Posts
Re: Calling a WCF service self hosted as windows service from a Windows service
Jan 31, 2018 08:54 PM|DA924|LINK
Why is the WCF service that is using named-piped even concerned about using a user-id and password for a solution that is running on the protected LAN?
Contributor
3310 Points
1607 Posts
Re: Calling a WCF service self hosted as windows service from a Windows service
Feb 01, 2018 02:09 AM|Edward Z|LINK
Hi pradeepv,
>> To explain in a line Calling wcf is working fine before installing windows service, but the same is asking for password post installation of the windows service.
Which account did you use to run the Windows Service? There are two Windows Service in your scenario, did you receive credential prompt in WCF Service Windows Service or WCF Client Windows Service? Did you enable authentication like basic or windows for your WCF Service?
I suggest you run your windows services which are placed in all the machines under the domain account.
Best Regards,
Edward
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
None
0 Points
11 Posts
Re: Calling a WCF service self hosted as windows service from a Windows service
Feb 01, 2018 12:04 PM|pradeepv|LINK
Hi,
The WCF service Hosted as Windows Service and My windows service both are running in Local System Account only. The crtical part here is the WCF i am trying to access is provided by UI Path Studio and it is Running as a windows service and we dont have any control on the same.
Pradeep.V
None
0 Points
11 Posts
Re: Calling a WCF service self hosted as windows service from a Windows service
Feb 01, 2018 12:06 PM|pradeepv|LINK
Hi,
The WCF service Hosted as Windows Service and My windows service both are running in Local System Account only. The crtical part here is the WCF i am trying to access is provided by UI Path Studio and it is Running as a windows service and we dont have any control on the same.
While accessing the UI Path WCF Service(hosted as Windows service) i got an exception to send password as parameter, the UI Path WCF is having Named Pipe Binding which we dont have any control to change.
Hope i have explained well now ;-)
Pradeep.V
All-Star
53021 Points
23607 Posts
Re: Calling a WCF service self hosted as windows service from a Windows service
Feb 01, 2018 12:23 PM|mgebhard|LINK
There's bits missing from your post. It sounds like you are in the wrong support forum and need to contact UiPath support.
None
0 Points
11 Posts
Re: Calling a WCF service self hosted as windows service from a Windows service
Feb 01, 2018 01:43 PM|pradeepv|LINK
Hi,
If anything required from UI Path service definitely i will go for UI Path forum, but my question is how to call a WCF with Named Pipe binding without sending Password, since i am calling the WCF from the same machine i dont want to pass password as a paramater. IS there any way?
Pradeep.V
All-Star
53021 Points
23607 Posts
Re: Calling a WCF service self hosted as windows service from a Windows service
Feb 01, 2018 02:11 PM|mgebhard|LINK
Keep in mind that we cannot see your code, configuration or setup. This sounds like a permissions issue.
Perhaps you need to reserve a namespace.
Contributor
3310 Points
1607 Posts
Re: Calling a WCF service self hosted as windows service from a Windows service
Feb 02, 2018 02:26 AM|Edward Z|LINK
Hi pradeepv,
>> my question is how to call a WCF with Named Pipe binding without sending Password, since i am calling the WCF from the same machine i dont want to pass password as a parameter
How did you configure WCF Service? Did you enable WCF basic or windows for your WCF Service?
For a simple WCF Service, we would not need to provide user name and password.
How did you call WCF Service from windows Service? I am not sure what the UI Path supports. if you access the WCF Service from a console app, will the service work correctly?
Best Regards,
Edward
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.