


Service1.svc) -> than select View in browser now in your browser you have url like so now note down your port address as a 61122

In your WCF Project right click to your Service file (e.g. There are two steps to check the port addresses. Let me describe you this solution in detail. Service1.svc) and port address of your wcf project must be the same which you gives into EndpointAddress. In Visual studio port address of your file (e.g. It was the issue of port address of EndpointAddress. From there, I only needed to find the exception.įor me the solutions of this Error very strange. Once set, I ran my client, got exception and checked the 'Traces.svclog' file. I achieved this by adding the following section to my web.config: Added internal set methods and it all worked fine.īest way to find out why this is happening (in my opinion) is to enable trace logging. The serializer threw an exception because of that fact. In my instance, the error was generated because one of my complex types had a property with no set method. If you will not able to find updated "App_tracelog.svclog" file then please find "App_tracelog.svclog" like "a39e3026-5dd8-4d39-842a-04d486615eedApp_tracelog.svclog" I hope this will help to find your error. svclog file and find red color line on left side panel which is error and see its description for more info. I think there is serialization problem, you can find exact error just need to add below code in service config in section.Īfter config update "App_tracelog.svclog" file will create, where your service exist just need to open. Would it be a setting on the server since it works on my local machine? I have traced the log and it gives me the same information. All I am doing for the function is returning a string to an image name, so the data being passed isn't a lot. I have gone to the service in the url and it is working correctly. I put it on the servers, and I am receiving the following error: I have a WCF Service running fine on my local machine.
