Setup Error msg when program loads

  • Thread starter Thread starter ray well
  • Start date Start date
R

ray well

i get a msterious error msg which i haven't been able to duplicate on my
development machine, and doesn't happen on every client machine, and not
even consistantly on any
particular client machine, just sort of randomly.

when the app loads a message box comes up saying 'Setup Error' in he title.

in the body it says "failed to load resources from resource file please
check your setup". and it has an ok button..

when u click on the button the program does run.

any idea how to prevent this from happening and what to do about it and why
this is happening. it looks very bad and the clients try reinstall the
prog!.

the clients run net 1.1

thanks

ray
 
Hi Ray,

Doing a quick search on google proves that you're certainly not the only
person having this problem. Unfortunately, there doesn't seem to be any
obvious solution either.

The commonality amongst different applications having this error, applying
to both ASP.NET and WinForms, seems to be an issue with recursion. Is your
app by any chance using a recursive method?

Here is one thread that went into some detail, mostly about ASP.NET though
(but not all of it). One person stated they fixed the issue by discovering
a recursive function, if I interpreted it correctly:
http://www.pcreview.co.uk/forums/thread-1226447-2.php

Here's another:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=122026&SiteID=1

One solution I read was to try reinstalling the framework, but I'm not sure
if it applies to your exact issue or if it will actually help at all.
 
dave, thanks for the info.

before i was going to analyze mp app to see as to any recursion, a coleague
pointed out to me that the error actually came up when the app exited. we
found this by looking at the task manager, and seeing that the previous run
of the app was still there when in testing we relaunced it again and again.
and if we removed the previous run from the task manager, this setup mssg
didn't come up. and if we exited the app when it was the sole instance
running and waited for a while, the setup error msg came up. go figure!

anyways, i fixed the exit procdure to exit more efficiently by setting my
class to nothing before exiting the app, and it cleared up the setup error
msg.

ray
 
Back
Top