By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,212 Members | 1,505 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,212 IT Pros & Developers. It's quick & easy.

Intermittent Crash on Startup of app with custom ActiveX control

P: n/a
We are developing a complex ActiveX control and for the most part all is
well. We test this in many environments and one thing we have noticed is that
ALL of our C# apps (using .NET 2003) have an intermittent problem. We've seen
this in debug and release but have never been able to narrow down the issue.

In summary, on startup the app will crash with a System.IO.FileLoadException
when attempting to initialize. In debugging it, it seems to happen on the
generated call to EndInit() for our particular ActiveX control.

In researching on the web there have been various similar issues reported
with few resolutions that related specifically to this scenario. Know that we
get this almost daily, but not consistently.

In further investigation today, I compiled this with .NET 2005 and cannot
seem to get the error. That's a fine resolution for those using this compiler
but not for anyone who has yet to upgrade.

I can generate this exact issue anytime I unregister the control. However,
we see it often in our C# apps even with valid registration and with other
apps successfully using it on the same machine.

Thank you for any assistance you can provide.

--
Brad Eck
<a href="http://www.sitesdynamic.com">SitesDynamic</a>
<a href="http://www.basketsetcetera.com">Baskets Etcetera</a>
Jan 31 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.