Solved

Unable to crank up Visual Basic COM+ IDE Debugging

Posted on 2003-10-28
6
292 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

740 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