473,396 Members | 2,070 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Web service fails to run on Windows 2003

Tom
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.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall) at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters) at
WService.CustomerUpdateService.SetAllCustomerStatu s(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

Jul 31 '06 #1
2 2122
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" <To*@discussions.microsoft.comwrote in message
news:36**********************************@microsof t.com...
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.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters) at
WService.CustomerUpdateService.SetAllCustomerStatu s(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

Jul 31 '06 #2
Tom
Hi Pablo,

In a nutshell I run the web service from the windows service and web service
fails on the login. Anyway, there are no problems recorded in the event log.

thanks,
Tom

"Pablo Cibraro [MVP]" wrote:
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" <To*@discussions.microsoft.comwrote in message
news:36**********************************@microsof t.com...
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.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters) at
WService.CustomerUpdateService.SetAllCustomerStatu s(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


Aug 1 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: René Beumer | last post by:
I am trying to install a windows service written in .net 2003 on my Windows 2000 computer. I have followed the walkthru given in msdn but the service fails to install with 'requested registry...
2
by: cd | last post by:
Is there a specific process or permissions that must be granted to get a .NET (framework 1.4) Window Service to run properly on a Windows 2003 Server? I built a Windows Service to start two local...
0
by: Ollie | last post by:
First off I am using windows server 2003, IIS 6.0 .Net framework 1.1.4322..... I am attempting to use COM+ Loosely Coupled Events (LCE) from an asp.net web service but I am receiving a...
6
by: Rob | last post by:
Hi, I am working on a project that requires a Windows Service which performs the following file transfer functions. 1. It monitors a specific local directory on a Windows 2003 Server. 2. When...
1
by: Eugen Frunza | last post by:
http://support.microsoft.com/?kbid=823684 A service that makes a call to the SetProcessWorkingSetSize function fails in Windows Server 2003 and Windows 2000 Server. SYMPTOMS When a service...
8
by: Manfred Braun | last post by:
Hello All! I am writing a management application, which has to access remote machines registry via System.Diagnostics.EventLog.CreateEventSource . For each machine, I connect to, I create a...
5
by: Nate | last post by:
We are attempting to make a request to a web service (we will refer to it as XXXServices) hosted on a Web Logic server from a C# SOAP client. The server responds with a 401 Unauthorized error...
0
by: Tom | last post by:
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 it runs successfully on Windows 2000 and XP. However,...
1
by: Sandy | last post by:
HI All, I'm a newbe to ATL. I got stucked with a problem, I have a ATL service exe created sometime back in 1998 using VC++ 6.0 ( or older) which works as expected in Windows NT, I dont have all...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.