Problem referencing web service

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default Problem referencing web service

    Hi

    I am trying to get web reference to my first (!) web service which is on a
    remote host. I am getting the following error;

    Server Error in '/' Application.

    Runtime Error
    Description: An application error occurred on the server. The current custom
    error settings for this application prevent the details of the application
    error from being viewed remotely (for security reasons). It could, however,
    be viewed by browsers running on the local server machine.

    How can I tackle this problem? I have the below web.config file.

    Thanks

    Regards


    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <system.web>
    <compilation defaultLanguage="vb" debug="true" />
    <customErrors mode="Off" />
    <authentication mode="None" />
    <authorization>
    <allow users="*" /> <!-- Allow all users -->
    </authorization>
    <trace enabled="true" requestLimit="10" pageOutput="true"
    traceMode="SortByTime" localOnly="true" />
    <sessionState
    mode="InProc"
    stateConnectionString="tcpip=127.0.0.1:42424"
    sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
    cookieless="false"
    timeout="20"
    />
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
    </system.web>
    </configuration>


    John Guest

  2. Similar Questions and Discussions

    1. Best Practice for referencing datasets with web service
      Hello All, I have an application that uses several layers as such: a Client that references a ClientHelper a ClientHelper references a...
    2. Referencing web service
      Hi I have just uploaded my first web service to a remote host. So I am very new to this. I am now trying to reference the ws by putting the ws...
    3. WEb Service Referencing Session
      Is it possible to reference session within a web service or is session completely out of scope? I have imported system.web.httpContext into the...
    4. Referencing web service complex data type within a second web service (like a delegate)
      Hi, I am trying to figure out if ASP.NET XML Web Services and the WSDL standard can handle this type of scenario: I have two web services, and...
    5. referencing problem, or so i think
      // Hi I can't seem to pass the right instance to the function move Make_bg() //initiate...
  3. #2

    Default RE: Problem referencing web service

    It sounds like the request for a web service description is failing. Can
    you run the service's test page (VS debug, or access the asmx page from a
    browser). If so, can you get that page to generate a WSDL (click on "view
    web service description")? If the server/app is crashing when trying to
    generate a description, there is probably a serialization issue with types
    you may be expecting or returning. This is a common problem with custom
    classes that are attributed improperly.

    It is hard to say what else to try first.
    --------------------
    >From: "John" <john@nospam.infovis.co.uk>
    >Subject: Problem referencing web service
    >Date: Tue, 20 Jul 2004 13:25:00 +0100
    >Lines: 43
    >X-Priority: 3
    >X-MSMail-Priority: Normal
    >X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
    >Message-ID: <OV331TlbEHA.2340@TK2MSFTNGP10.phx.gbl>
    >Newsgroups:
    microsoft.public.dotnet.framework.aspnet.webservic es,microsoft.public.dotnet
    ..framework.webservices
    >NNTP-Posting-Host: 81-86-132-31.dsl.pipex.com 81.86.132.31
    >Path:
    cpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0
    8.phx.gbl!TK2MSFTNGP10.phx.gbl
    >Xref: cpmsftngxa06.phx.gbl
    microsoft.public.dotnet.framework.webservices:5879
    microsoft.public.dotnet.framework.aspnet.webservic es:24700
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
    >
    >Hi
    >
    >I am trying to get web reference to my first (!) web service which is on a
    >remote host. I am getting the following error;
    >
    >Server Error in '/' Application.
    >
    >Runtime Error
    >Description: An application error occurred on the server. The current
    custom
    >error settings for this application prevent the details of the application
    >error from being viewed remotely (for security reasons). It could, however,
    >be viewed by browsers running on the local server machine.
    >
    >How can I tackle this problem? I have the below web.config file.
    >
    >Thanks
    >
    >Regards
    >
    >
    ><?xml version="1.0" encoding="utf-8" ?>
    ><configuration>
    > <system.web>
    > <compilation defaultLanguage="vb" debug="true" />
    > <customErrors mode="Off" />
    > <authentication mode="None" />
    > <authorization>
    > <allow users="*" /> <!-- Allow all users -->
    > </authorization>
    > <trace enabled="true" requestLimit="10" pageOutput="true"
    >traceMode="SortByTime" localOnly="true" />
    > <sessionState
    > mode="InProc"
    > stateConnectionString="tcpip=127.0.0.1:42424"
    > sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
    > cookieless="false"
    > timeout="20"
    > />
    > <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
    > </system.web>
    ></configuration>
    >
    >
    >
    Dan Rogers Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139