since days I'm desperatley seeking for the solution of a very strange problem :
I wrote a simple dll which uses dll's of a 3rd party vendor to connect remotely to an application of this vendor and retrieve some data.
This works great for the first time I'm using it, either from an ASP-page or from wscript. I even can run it endlessly without any problems in this process as long as I don't free the the component with "set <obj>=nothing" and recreate it with "CreateObject". As soon as I use "set ...=Nothing" and afterwards "CreateObjects" it throws an error retrieving data. But strangely enough I can connect to this application and send data to it. Only the retrieval of data is throwing an exception.
Does anybody have an idea or can give me a hint what I can do to solve this crazy problem. I'm really stuck at the moment ...