AboutSyed Rizwan Muhammad Rizvi Expertise I can answers questions regarding web based and desktop based programming in VB.Net. Which can include SOAP, XML, Custom Controls, COM Interoperability etc.
Experience Have been working in this specific area for last 2 years previously I was a VB 6 Developer with experties in other languages as well. Total 10 years of programming experience.
I wrote a vb .net desktop application that calls Mappoint webservice. It doesn't have an interface, it's meant to run automated and write to a log. The application runs consistently on my computer and on several other servers on the network w/o any problem.
But it doesn't run on the test server. This server runs the applications thru an scheduling application named Opalis. My application has plenty of log writing and it dies just when the code calls the first New() to create an instance of one of the Mappoint's webservice classes. I have a Log.Write() before and another after the call to New(), but it doesn't make to the 2nd one. If I keep the Windows Task Manager open and start my application, the application completes the first task and then it terminates abruptly. It doesn't exits normally and it doesn't throw any exception (it has try/catch everywhere). To me, it looks like some process zaps it from memory.
The windows log has nothing, and the admin of the server is very uncooperative. He just says there are many other applications running on that server w/o a problem. But this application calls a webservice, the other applications don't. My application has a proxy to access the webservice and it works from 3 different servers. How would you approach this problem?
Thanks in advance,
Rick
Answer It can be a very simple problem like admin rights or some library not being available or COM+ not security problem.
Take my advise, try to debug the application from the IDE, or try writing a similar but much simpler application and try to run the same way, then add to it the references that your app uses, I am sure you will find the problem.