AllExperts > Experts 
Search      

VB.NET

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More VB.NET Answers
Question Library

Ask a question about VB.NET
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Syed 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.

 
   

You are here:  Experts > Computing/Technology > Basic > VB.NET > Program gets zapped from memory

Topic: VB.NET



Expert: Syed Rizwan Muhammad Rizvi
Date: 12/28/2006
Subject: Program gets zapped from memory

Question
Hi Syed,

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.

Keep me posted.

Regards,
Rizwan

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.