Re: Web service fails to run on Windows 2003

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Tom,

What is your web service basically doing ?. Could you provide the fragment
of code that is throwing the exception ?.
Did you chech the eventviewer for more details about this error.

Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax


"Tom" <Tom@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3623FA4D-2096-40B1-9308-B8944AFAC403@xxxxxxxxxxxxxxxx
Hi,

We have a web service (developed in C# framework 1) that run for some time
on Windows 2000. Recently we upgraded it to framework 2 and run
successfully
on Windows 2000 and XP. However, we cannot run it on our new Windows 2003
box. The service runs and we can even instantiate it but then it dies
point
to NULL login object.

-------------------------------------------------------------------------------------
ERROR(7/27/2006 2:55 PM):
FUNCTION: ProcessFile: Loop for processing lines
System.Web.Services.Protocols.SoapException: Server was unable to process
request. ---> System.NullReferenceException: Object reference not set to
an
instance of an object. at CustomerUpdateService..ctor() --- End of inner
exception stack trace ---
STACK TRACE: at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) at
WService.CustomerUpdateService.SetAllCustomerStatus(Char status, String
accessPassword) at COMP.BLAH.BLAHCustomerExtract.ProcessFile(String
fileName)
SOURCE: System.Web.Services
-------------------------------------------------------------------------------------

On box that runs windows 2003 we have framework 2.0 installed and properly
configured. The site that uses this service runs fine and we have no
problems. Except that the web services cannot run.

Any help is greatly appreciated,
Tom



.



Relevant Pages

  • Re: WebService fails on Win03 when moved from Win2000 or XP
    ... on Windows 2000 and XP. ... we need to run it on new Windows 2003 box and the web service ... FUNCTION: ProcessFile: Loop for processing lines ... message, WebResponse response, Stream responseStream, Boolean asyncCall) ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: ADFS Development Issues
    ... One thing to keep in mind is that if a website is protected by ADFS V1, ... site to be automatically authenticated by our windows application so ... like a web service proxy. ... generated on the server. ...
    (microsoft.public.windows.server.active_directory)
  • Exception from HRESULT: 0x800700B6
    ... I developed an C# ASP.NET Web Service and 3rd party COM component is used in ... But I am getting the following error after migrating to Windows 2003 SP1 ... Exception from HRESULT: 0x800700B6. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: ADFS Development Issues
    ... site to be automatically authenticated by our windows application so ... based on redirects and possibly uses forms-based authentication to collect ... web service proxies don't handle this type of thing ... the server based on how it needs to work. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Dynamically Change URL of web service
    ... Microsoft MVP - Windows Client ... > client apps will use the exact same web service, ... What this does is put an entry in the config file, ... >>> How can I dynamically change this when the client app loads. ...
    (microsoft.public.dotnet.framework.windowsforms)