on 09-22-2005 8:10 AM
Hi,
I've created a windows service using VB.Net. This services is uses SAP .Net connector. When I start the service the system throws up the System.NullReferenceException. The following is the entire text in the event log. Can anyone please help me in correcting this error?
Regards,
Aravinda Sarma M.
System.NullReferenceException: Object reference not set to an instance of an object.
at Service.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state).
I would recommend to debug the application and find out in which line/statement of OnStart method the exception happens and check which object has value Nothing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.