Issues in deploying wcf service library with windows forms

My problem is that when I run my solution, I had no problems

Here is what service output looks like

And when I make the my link to like this

And it is correct

But when I deploy the solution, install it using setup from the installer i created

I can still access, but output goes like this

And I try to navigate it, it looks like this and it is not right because it has no output

How can I fix it? I thought it is already ok because when I run it in visual studio it gives me expected output but when i deploy it is not.

Service App.Config

    <?xml version="1.0"?>

    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
      <section name="WcfServiceLibrary.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    <compilation debug="true"/>

<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
        <behavior name="NewBehavior0">
          <webHttp defaultOutgoingResponseFormat="Json" />
      <service name="WcfServiceLibrary.Service">
        <endpoint address="" behaviorConfiguration="NewBehavior0" binding="webHttpBinding"
          bindingConfiguration="" name="Basic" contract="WcfServiceLibrary.IService" />
            <add baseAddress="http://PHWS13:8080/service" />


In the <behaviors> section you need to add

            <behavior name="NewSVCBehavior0"> >
                <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
                <serviceDebug includeExceptionDetailInFaults="true" />

And instead of

            <service name="WcfServiceLibrary.Service">


            <service name="WcfServiceLibrary.Service" behaviorConfiguration="NewSVCBehavior0">

and try after this change in config.

Need Your Help

awk and or sed command to sum the value in repeating tags in a XML

xml shell unix aix

I have a XML in which &lt;Amt Ccy="EUR"&gt;3.1&lt;/Amt Ccy="EUR"&gt; tag repeats.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.