all groups > dotnet web services > march 2006 >
You're in the

dotnet web services

group:

An error that I havnt encounterd


An error that I havnt encounterd pmj.net NO[at]SPAM gmail.com
3/27/2006 3:30:59 AM
dotnet web services:
The Below shown is the Error that i get when accessing a web service from an asp.net application.When i call a method of the web service it shows this error.


System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at FileOpService..ctor() in d:\BSE\CUS_Service\App_Code\FileOpService.cs:line 16
--- End of inner exception stack trace ---

Re: An error that I havnt encounterd Josh Twist
3/27/2006 12:51:38 PM
Pretty simple... looks like somethings going wrong in the web service.

Specifically, on line 16 of FileOpService.cs (which happens to be
inside the constructor of a class) the code is trying to call a method
or access a property of a class that is null (i.e. has not been
instantiated).

Josh
http://www.thejoyofcode.com
AddThis Social Bookmark Button