Solved

Unable to crank up Visual Basic COM+ IDE Debugging

Posted on 2003-10-28
6
287 Views
Last Modified: 2013-11-25
I am developing a Desktop application that uses several layers of COM components which are written in VB6 (SP5) (W2K SP4 platform). The client application is making a call to 2 levels of COM, both of which are in seperate VB projects. I am attempting to debug an issue that I'm certain resides in the 2nd layer, and am trying to traverse through the VB projects while running them in memory by starting up the underlying VB apps and having the debugger jump from my client app to the COM. (I have been able to do this in the past without any problems). When I attempt to start the VB projects that house my COM apps, I receive the following VB error:

"Out of Memory"

When I click "OK" to clear the message box, it goes away and the project doesn't start up. It would be nice to be able to debug in this manner without having to use tedious conventions...

Thanks a million to whomever figures this out...




0
Comment
Question by:wgyger12
  • 3
  • 2
6 Comments
 
LVL 28

Expert Comment

by:AzraSound
ID: 9634390
See if Microsoft KB article 241896 applies to your problem at all...
0
 

Author Comment

by:wgyger12
ID: 9635311
This KB article seems to be geared more towards what happens once the .DLL is compiled, and threading issues associated with toggling various project settings. My issue pertains more to using the VB IDE to debug between ActiveX dll projects while running them in memory. (But thanks for the very informative article.)

In my initial inquiry, I should have added the fact that the VB project that I am not able to crank up and access in memory has a local COM+ Application package which points to a remote MTS server (Using DCOM).

This probably wouldn't be such a tough issue to track if the error message had a few more details.
0
 
LVL 28

Accepted Solution

by:
AzraSound earned 125 total points
ID: 9635413
Are you truly utilizing COM+ capabilities or can you take your DLL out of the COM+ package and test it?  How is the COM+ package set up security wise?  Logged on user credentials or are you specifying the account to run under?
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 10167126
Delete
0
 

Author Comment

by:wgyger12
ID: 10174141
This was indeed a security issue. The user settings were being retrieved from the registry deep in the code. Thanks for pointing me in the right direction...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now