Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Unable to crank up Visual Basic COM+ IDE Debugging

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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

721 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