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

Setup Error msg when program loads

P: n/a
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

Dec 5 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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/Sho...22026&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 Sexton

"ray well" <no****@nospam.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>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

Dec 5 '06 #2

P: n/a
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

Dec 6 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.