Link to home
Start Free TrialLog in
Avatar of fkmfkm
fkmfkm

asked on

Running Sample FrameworkSDK program

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
Description:
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...


ASKER CERTIFIED SOLUTION
Avatar of naveenkohli
naveenkohli

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fkmfkm
fkmfkm

ASKER

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
Avatar of fkmfkm

ASKER

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