Ask a Question related to ASP.NET Web Services, Design and Development.
-
John #1
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
-
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... -
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... -
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... -
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... -
referencing problem, or so i think
// Hi I can't seem to pass the right instance to the function move Make_bg() //initiate... -
Dan Rogers #2
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.
--------------------microsoft.public.dotnet.framework.aspnet.webservic es,microsoft.public.dotnet>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:
..framework.webservicescpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0>NNTP-Posting-Host: 81-86-132-31.dsl.pipex.com 81.86.132.31
>Path:
8.phx.gbl!TK2MSFTNGP10.phx.gblmicrosoft.public.dotnet.framework.webservices:5879>Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservic es:24700custom>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>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



Reply With Quote

