?
Solved

Running Sample FrameworkSDK program

Posted on 2003-03-22
3
Medium Priority
?
387 Views
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
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...


0
Comment
Question by:fkmfkm
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
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.
0
 

Author Comment

by:fkmfkm
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
0
 

Author Comment

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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month12 days, 19 hours left to enroll

580 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