|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
WebService fails on Win03 when moved from Win2000 or XPWe 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, we need to run it on new Windows 2003 box and the web service just fails to run. The service just dies at login. ----------------------------------------------------------------------------- ERROR(8/2/2006 5: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 ---------------------------------------------------------------------------- Any help is greatly appreciated, Tom Hi Tom,
My guess would be that it has something to do with security - asp.net stuff runs on different account on W2K03. -- Show quoteMiha Markic [MVP C#, INETA Country Leader for Slovenia] RightHand .NET consulting & development www.rthand.com Blog: http://cs.rthand.com/blogs/blog_with_righthand/ "Tom" <T**@discussions.microsoft.com> wrote in message news:A036F491-9A56-4F55-956F-3BB1B1FA588F@microsoft.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 it runs > successfully > on Windows 2000 and XP. > However, we need to run it on new Windows 2003 box and the web service > just > fails to run. The service just dies at login. > > ----------------------------------------------------------------------------- > ERROR(8/2/2006 5: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 > ---------------------------------------------------------------------------- > > Any help is greatly appreciated, > Tom > > |
|||||||||||||||||||||||