Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Remoting / July 2003

Tip: Looking for answers? Try searching our database.

Windows Service remoting problem, NullReference exception for only some method calls.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Leo Plocicki - 30 Jun 2003 14:43 GMT
The problem started when I moved the server from a console application
(for testing) to a Windows service. As a console application, the
server worked flawlessly, as a service I get NullReference exceptions
on the client when trying to call only SOME server methods. About 80%
of the methods work. I am fairly convinced it is a server problem
since the change in server brought it to my attention, but I realize
that this may not be so. Also, the server is unaffected by this, no
exceptions are thrown (that I know of) and the methods that worked
before still work. The same methods always work. I am not sure how to
approach this. It's difficult to debug the service and running the
server as any other type of executable allows it to work properly. Any
help is appreciated.

Thanks,
ljp
Leo Plocicki - 01 Jul 2003 15:41 GMT
Nevermind! The server was throwing an exception and preventing some
code from executing.

> The problem started when I moved the server from a console application
> (for testing) to a Windows service. As a console application, the
[quoted text clipped - 11 lines]
> Thanks,
> ljp

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.