Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Unable to crank up Visual Basic COM+ IDE Debugging

Posted on 2003-10-28
6
Medium Priority
?
296 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
5 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 375 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

824 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