Service created in VB .NET not starting
We have service developed in Visul Basic .NET. This service utilizes some COM objects provided by SAP to access SAP database. This has been wo开发者_运维百科rking fine till yesterday. On this Sunday, we upgraded the SAP system, and subsequently all other programs were also re-builded using the new DLL files (for the COM object). We tried doing the same for the service also. But it is not starting now.
When started, it shows a message saying service terminated unexpectedly. This is probably due to the fact that it is not able to load the requisite DLL file.
Please help on how to correct this situation.
Regards, Rahul Jain
Did you re-add the SAP dll as a reference? I'd try blowing away the current reference and re-adding. Perhaps the .net wrapper for the com object needs to be re-created?
What version of .net are you using?
精彩评论