Where do I start?

  • Thread starter Thread starter Peter Morris
  • Start date Start date
P

Peter Morris

After leaving a working project to work on a website I have now returned to
experience the following exception


private void LoadProducers(string currentFileName)
{
AppDomain.CurrentDomain.AppendPrivatePath(Path.GetDirectoryName(currentFileName)); Assembly producerAssembly = Assembly.LoadFile(currentFileName); foreach (Type currentType in producerAssembly.GetTypes())Unhandled exception at 0x7c812a5b (kernel32.dll) in AlterEgo.exe:0xE0434F4D: 0xe0434f4d. kernel32.dll!RaiseException() + 0x52 bytes [Frames below may be incorrect and/or missing, no symbols loaded forkernel32.dll] mscorwks.dll!GetCLRFunction() + 0x240f8 bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9bb8 bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9c2c bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9c5d bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9c6b bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x1d967 bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x1da8f bytes mscorlib.ni.dll!79423221() mscorlib.ni.dll!794238cd() mscorwks.dll!DllRegisterServerInternal() + 0xa063 bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x3433 bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x33b4 bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x35c9 bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x346b bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x35f5 bytes mscorwks.dll!GetCLRFunction() + 0xc77c bytes mscorwks.dll!GetCLRFunction() + 0xd126 bytes mscorwks.dll!_CorExeMain() + 0x14c bytes mscorwks.dll!_CorExeMain() + 0x98 bytes mscoree.dll!_CorExeMain() + 0x30 bytes kernel32.dll!RegisterWaitForInputIdle() + 0x49 bytesWhere do I start in order to find out how to fix this when I don't evenunderstand the problem? :-)Pete
 
After leaving a working project to work on a website I have now returned to
experience the following exception

private void LoadProducers(string currentFileName)
{
 AppDomain.CurrentDomain.AppendPrivatePath(Path.GetDirectoryName(currentFile­Name)); Assembly producerAssembly = Assembly.LoadFile(currentFileName); foreach (Type currentType in producerAssembly.GetTypes())Unhandled exception at 0x7c812a5b (kernel32.dll) in AlterEgo.exe:0xE0434F4D: 0xe0434f4d. kernel32.dll!

What is AlterEgo.exe ???

//CY
 
What is AlterEgo.exe ???

That's my app, with the code I pasted and seems to have posted strangely, I
will try again...

================
private void LoadProducers(string currentFileName)
{
AppDomain.CurrentDomain.AppendPrivatePath(Path.GetDirectoryName(currentFileName)); Assembly producerAssembly = Assembly.LoadFile(currentFileName); foreach (Type currentType in producerAssembly.GetTypes())================Unhandled exception at 0x7c812a5b (kernel32.dll) in AlterEgo.exe:0xE0434F4D: 0xe0434f4d. kernel32.dll!RaiseException() + 0x52 bytes [Frames below may be incorrect and/or missing, no symbols loaded forkernel32.dll] mscorwks.dll!GetCLRFunction() + 0x240f8 bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9bb8 bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9c2c bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9c5d bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9c6b bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x1d967 bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x1da8f bytes mscorlib.ni.dll!79423221() mscorlib.ni.dll!794238cd() mscorwks.dll!DllRegisterServerInternal() + 0xa063 bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x3433 bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x33b4 bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x35c9 bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x346b bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x35f5 bytes mscorwks.dll!GetCLRFunction() + 0xc77c bytes mscorwks.dll!GetCLRFunction() + 0xd126 bytes mscorwks.dll!_CorExeMain() + 0x14c bytes mscorwks.dll!_CorExeMain() + 0x98 bytes mscoree.dll!_CorExeMain() + 0x30 bytes kernel32.dll!RegisterWaitForInputIdle() + 0x49 bytesPete
 
That's my app, with the code I pasted and seems to have posted strangely, I
will try again...

private void LoadProducers(string currentFileName)
{
AppDomain.CurrentDomain.AppendPrivatePath(Path.GetDirectoryName(currentFileName)); Assembly producerAssembly = Assembly.LoadFile(currentFileName); foreach (Type currentType in producerAssembly.GetTypes())Unhandled exception at 0x7c812a5b (kernel32.dll) in AlterEgo.exe:0xE0434F4D: 0xe0434f4d.kernel32.dll!RaiseException() + 0x52 bytes [Frames below may be incorrect and/or missing, no symbols loaded forkernel32.dll] mscorwks.dll!GetCLRFunction() + 0x240f8 bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9bb8 bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9c2c bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9c5d bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9c6b bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x1d967 bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x1da8f bytes mscorlib.ni.dll!79423221() mscorlib.ni.dll!794238cd() mscorwks.dll!DllRegisterServerInternal() + 0xa063 bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x3433 bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x33b4 bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x35c9 bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x346b bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x35f5 bytes mscorwks.dll!GetCLRFunction() + 0xc77c bytes mscorwks.dll!GetCLRFunction() + 0xd126 bytes mscorwks.dll!_CorExeMain() + 0x14c bytes mscorwks.dll!_CorExeMain() + 0x98 bytes mscoree.dll!_CorExeMain() + 0x30 bytes kernel32.dll!RegisterWaitForInputIdle() + 0x49 bytes
 
Sorry about the wrapping, I manually added line feeds too and it just wont
post properly :-)

private void LoadProducers(string currentFileName)
{
AppDomain.CurrentDomain.AppendPrivatePath(Path.GetDirectoryName(currentFileName));
Assembly producerAssembly = Assembly.LoadFile(currentFileName);
foreach (Type currentType in producerAssembly.GetTypes())

Unhandled exception at 0x7c812a5b (kernel32.dll) in AlterEgo.exe
:0xE0434F4D: 0xe0434f4d.
kernel32.dll!RaiseException() + 0x52 bytes [Frames below may be
incorrect and/or missing, no symbols loaded forkernel32.dll]
mscorwks.dll!GetCLRFunction() + 0x240f8 bytes
mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9bb8 bytes
mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9c2c bytes
mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9c5d bytes
mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9c6b bytes
mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x1d967 bytes
mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x1da8f bytes
mscorlib.ni.dll!79423221() mscorlib.ni.dll!794238cd()
mscorwks.dll!DllRegisterServerInternal() + 0xa063 bytes
mscorwks.dll!LogHelp_TerminateOnAssert() + 0x3433 bytes
mscorwks.dll!LogHelp_TerminateOnAssert() + 0x33b4 bytes
mscorwks.dll!LogHelp_TerminateOnAssert() + 0x35c9 bytes
mscorwks.dll!LogHelp_TerminateOnAssert() + 0x346b bytes
mscorwks.dll!LogHelp_TerminateOnAssert() + 0x35f5 bytes
mscorwks.dll!GetCLRFunction() + 0xc77c bytes
mscorwks.dll!GetCLRFunction() + 0xd126 bytes
mscorwks.dll!_CorExeMain() + 0x14c bytes
mscorwks.dll!_CorExeMain() + 0x98 bytes
mscoree.dll!_CorExeMain() + 0x30 bytes
kernel32.dll!RegisterWaitForInputIdle() + 0x49 bytes
 
Looks to me like you've got an unhandled exception attempting to load an
assembly. Is the assembly actually there where it is expected? sometimes you
might be running in debug or release mode and forgot to copy it over?
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net


Peter Morris said:
After leaving a working project to work on a website I have now returned to
experience the following exception


private void LoadProducers(string currentFileName)
{
AppDomain.CurrentDomain.AppendPrivatePath(Path.GetDirectoryName(currentFileName)); Assembly producerAssembly = Assembly.LoadFile(currentFileName); foreach (Type currentType in producerAssembly.GetTypes())Unhandled exception at 0x7c812a5b (kernel32.dll) in AlterEgo.exe:0xE0434F4D: 0xe0434f4d. kernel32.dll!RaiseException() + 0x52 bytes [Frames below may be incorrect and/or missing, no symbols loaded forkernel32.dll] mscorwks.dll!GetCLRFunction() + 0x240f8 bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9bb8 bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9c2c bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9c5d bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x9c6b bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x1d967 bytes mscorwks.dll!GetAddrOfContractShutoffFlag() + 0x1da8f bytes mscorlib.ni.dll!79423221() mscorlib.ni.dll!794238cd() mscorwks.dll!DllRegisterServerInternal() + 0xa063 bytes mscorwks.dll!LogHelp_TerminateOnAssert()
+ 0x3433 bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x33b4 bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x35c9 bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x346b bytes mscorwks.dll!LogHelp_TerminateOnAssert() + 0x35f5 bytes mscorwks.dll!GetCLRFunction() + 0xc77c bytes mscorwks.dll!GetCLRFunction() + 0xd126 bytes mscorwks.dll!_CorExeMain() + 0x14c bytes mscorwks.dll!_CorExeMain() + 0x98 bytes mscoree.dll!_CorExeMain() + 0x30 bytes kernel32.dll!RegisterWaitForInputIdle() + 0x49 bytesWhere do I start in order to find out how to fix this when I don't evenunderstand the problem? :-)Pete
 
Looks to me like you've got an unhandled exception attempting to load an
assembly. Is the assembly actually there where it is expected? sometimes
you
might be running in debug or release mode and forgot to copy it over?

The assembly is definitely there, the filename is only used because the app
searches for /Producers/*producer*.dll - I also know that all of the DLLs it
references are there too. The only thing I can think of is that the DLL
seems to reference an ActiveX class, but I have run the installer for that
ActiveX the same as another developer has on his machine where it works.

*confused*


Pete
 
Back
Top