faulting module mscorwks.dll

A

Anjan Patel

Event Log Message:

-----------------------------------
Faulting application infopath.exe, version 11.0.6357.0, stamp 40b65d54,
faulting module mscorwks.dll, version 1.1.4322.2032, stamp 40f6320e,
debug? 0, fault address 0x0007214e.
--------------------------------------------------------

Development Environment

- Win 2k Server, Win 2k Professional & Win XP Pro.
- InfoPath 2003 SP1
- VS.NET 2003

Problem Sequence:
- IP Project Build on Win XP (SP1 & SP2) & VS 2003 c#.
- Projects works good, application distribution also works great on
almost every supported IP platform!
- moved development environment from XP Pro to win 2k server &
professional
- Able to compile the program
- if run IP application using "menifest.xsn" or directly published file
works great.
- If try to preview/debug, it crash with above message (mscorwks.dll is
culprit)
- With trial and error, created new project in win 2K Server + pro and
then added the complete code it started working!

Any idea to solve the problem ? Anyone' help is greatly appriciated.

Thanks

Anjan Patel
 
A

Anjan Patel

Few more comments regarding following statement : "- With trial and
error, created new project in win 2K Server + pro and then added the
complete code it started working! "

On win 2k it started working with lot of hassel when i added functions
one by one and keep compiling. I also configure "Control Panel -> Admin
-> .NET 1.1 Wizard -> Security Wizard -> App.dll -. full trust" then
only it started working.

Even above behaviour is not consistant which is really painful.

Thanks in advance to helping me out!
 
G

Greg Belenky

I think there is something like timebomb ;) because my IP installation thows
the same error no more than 3 hours ago... Reinstall .NET FW 1.1 SP1 and
reboot. At least this is what helped me.
 
A

Anjan Patel

No Luck. I already have all the latest patches. I tried reinstallaing
everything but same behaviour.
 
B

Brian Teutsch [MSFT]

This issue is known. The problem actually is twofold - there is an issue in
your form's code, possibly a security exception or missing library, but when
that exception is thrown we crash before we can pass back the exception.

It is an intermittent problem, as well. Sometimes your form may crash, other
times it will fail otherwise.

Sorry that there's not more help I can give, since the only way to fix it is
an unknown code/security/installation problem on each specific machine.

Brian
 
J

jgmeyer

I'm having the same problem as well. Are there any suggestions you can offer
to aid in tracking down the error? I have commented out the entire form load
event handler and still the same problem. I'm not really sure where to
start. any help would be greatly appreciated, as I have a demo this week of
a form that is currently broken.

josh
 
B

Brian Teutsch [MSFT]

I really wish I could give you some better help, but the error messages that
would help you debug are being eaten by InfoPath. You might try reinstalling
the toolkit, or seeing if the code runs on another machine and determining
any security differences. These are very broad areas, and hopefully we'll be
able to avoid the crash in the future.

Brian
 
J

jgmeyer

Actually, I figured it out. I was declaring a global string variable to hold
the URI of the document, and I was setting it where it was declared at the
top of the class. I moved the assignment to the OnLoad event, and that fixed
the problem. thanks!

josh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top