Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

I have a class library project in which I had added a service reference of a wcf service provided by client.

I am accessing the class library in MVC application.
I have added the bindings and endpoints to web.config of a MVC application.

When I am running application is debug mode service is getting called and I am getting required output.

But when I published the MVC application to IIS and WCF service method is not getting called.

Do we need to add any setting in IIS to make this working. Or Is there any other way to use class library which is having a service reference.

Thanks in advance for your suggestions.

-Avinash
Posted
Comments
F-ES Sitecore 28-Oct-15 12:11pm    
Check the end points are correct and use a tool like Fiddler to analyse the network calls to check for errors etc.
Avinash6474 29-Oct-15 2:17am    
Thanks , used Fiddler to track network call. It was a firewall issue

1 solution

If I had your issue, I would install the remote debugging tools on the IIS server to be able to attach my debugger to the distant process on the server.
This would allow analyzing and tracking down the problem.

There is an excellent article on CP about remote IIS debugging; there:
Remote IIS Debugging : Debug your ASP.NET Application which is hosted on "Remote IIS Server"[^]

Not exactly a solution, but maybe something on the way to the resolution. Anyway, hope this helps.
 
Share this answer
 
Comments
Avinash6474 29-Oct-15 2:16am    
Thank you for your suggestions.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900