locked
web site using soap service client error RRS feed

  • Question

  • we are design a web service http://www.spidererp.org/srvgeneral.asmx then reference it in our website using VS.NET 2010 and publish it on localhost and on http://www.spidererp.org/gui/wfmobilecodes.aspx 

    on the local host it works fine, but when published to the internet shows the following error:

    =======================================================================================

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

    Parser Error Message: Could not load type 'wsBilling.wfMobileCodes'.

    Source Error: 
    Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfMobileCodes.aspx.cs" Inherits="wsBilling.wfMobileCodes" %>
    Line 2:  
    Line 3:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Source File: /gui/wfMobileCodes.aspx    Line: 

    =========================================================================================================================

    I was check that the dll file in the bin folder and the web.config file is as the following:

    <?xml version="1.0"?>

    <configuration>
        <system.web>
            <compilation debug="true" />
        </system.web>

        <system.serviceModel>
            <bindings>
                <basicHttpBinding>
                    <binding name="srvGeneralSoap" closeTimeout="00:01:00" openTimeout="00:01:00"
                        receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
                        bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
                        maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
                        messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
                        useDefaultWebProxy="true">
                        <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
                        <security mode="None">
                            <transport clientCredentialType="None" proxyCredentialType="None"
                                realm="" />
                            <message clientCredentialType="UserName" algorithmSuite="Default" />
                        </security>
                    </binding>
                </basicHttpBinding>
            </bindings>
            <client>
                <endpoint address="http://www.spidererp.org/srvGeneral.asmx"
                    binding="basicHttpBinding" bindingConfiguration="srvGeneralSoap"
                    contract="srvBilling.srvGeneralSoap" name="srvGeneralSoap" />
            </client>
        </system.serviceModel>
    </configuration>

    • Moved by Ricky_Brundritt Wednesday, October 2, 2013 1:10 PM Moving to a more appropriate forum
    Wednesday, October 2, 2013 11:35 AM