Running Sample FrameworkSDK program

Posted on 2003-03-22
Medium Priority
Last Modified: 2007-12-19
I have compiled the Framework ObjectPooling Sample.

But sometimes when I start the COM+ application; it wont start. I check the Events and i found this...

Event Type:     Error
Event Source:     COM+
Event Category:     SVC
Event ID:     4194
Date:          3/23/2003
Time:          2:20:13 PM
User:          N/A
Computer:     FKM-PC
The system has called a custom component and that component has failed and generated an exception. This indicates a problem with the custom component. Notify the developer of this component that a failure has occurred and provide them with the information below.
Component Prog ID: OPDemoServerVB.PooledLogFile
Method Name: IClassFactory::CreateInstance
Server Application ID: {BF139597-9F6F-4B94-AF7B-CA5659FA52ED}
Server Application Name: OPDemoSvr
The serious nature of this error has caused the process to terminate.
Exception: C0000005
Address: 0x77FCB9B3
Call Stack:
ntdll!RtlSizeHeap + 0x7A
ntdll!RtlFreeHeap + 0x100
ntdll!NtFlushKey + 0x9B
KERNEL32!GetFileAttributesW + 0x1D
fusion!CreateAssemblyEnum + 0x27C8
fusion!CreateAssemblyEnum + 0x26D5
fusion!CreateAssemblyEnum + 0x2671
fusion!CreateAssemblyEnum + 0x220C
mscorwks!DllCanUnloadNowInternal + 0x8FAA
mscorwks!DllCanUnloadNowInternal + 0x8F27
mscorwks!DllCanUnloadNowInternal + 0x8D22
mscorwks!DllCanUnloadNowInternal + 0x5A2A
mscorwks!DllCanUnloadNowInternal + 0x595C
mscorwks!GetCompileInfo + 0x9DF0
mscorwks!DllGetClassObjectInternal + 0xA9F9
mscorwks!DllGetClassObjectInternal + 0xBD82
mscorwks!DllGetClassObjectInternal + 0xBA40
mscorwks!DllGetClassObjectInternal + 0xB632
mscorwks!DllGetClassObjectInternal + 0xC6
mscoree!DllGetClassObject + 0x3B
ole32!CoCreateInstance + 0x624
ole32!CoGetClassObject + 0x95B
ole32!CoGetClassObject + 0x8EF
ole32!CoGetClassObject + 0x2FD8
COMSVCS!CoLoadServices + 0x2ADC
ole32!CoGetClassObject + 0x2FD8
COMSVCS!CosGetCallContext + 0x10FBE
COMSVCS!CosGetCallContext + 0x10D5B

Why is this happening event on a simple sample ?
This was on my Win2k Pro...

When i test the same thing on my Win2k Adv Server. It is fine..no problem at all...

Pls help.
I just have enuf points for 50 sorry...

Question by:fkmfkm
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
  • 2
LVL 23

Accepted Solution

naveenkohli earned 150 total points
ID: 8190188
<<Exception: C0000005>>
mscoree!DllGetClassObject + 0x3B
KERNEL32!GetFileAttributesW + 0x1D

These ae three messages that give some kind of hint to your problem...

It seems that Interop is trying to load your COM object DLL and failing somewhere around try to open file attributes. It could be that your file is getting locked or something and C0000005 access violation is being thrown.

Your application is crashing near some internal CodePage call. Don;t know why? Is there any multilanguage support in your component or something? Is it strongly types component.

Author Comment

ID: 8192190
As a matter of fact I have remark off all the file opening code, I just want to test out the object pooling...strange is that it works in Win2k Adv without any problem...

Is there any difference there or do i need any SP cause on both OS i just have SP2

Thank you

Author Comment

ID: 8200689
I think my windows got some problem..cause i tried with another pc it works..on win 2k pro...thank anyway..

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

771 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