We have an application that is running under Citrix. The application
files are located on a shared network drive and the app is launched via
UNC. The app contains WinForms that are called from Excel and provide
database connectivity.
Every so often, we're getting an error "External component has thrown
an error" when they try to instantiate a form. I do not have the
InnerException in the MessageBox prompts, but in another unhandled
case, I got the following stacktrace
System.Runtime. InteropServices .SEHException: External component has
thrown an exception.
at System.Reflecti on.Assembly.Get Resource(String resourceName,
UInt64& length, StackCrawlMark& stackMark, Boolean skipSecurityChe ck)
at System.Reflecti on.Assembly.Get ManifestResourc eStream(String name,
StackCrawlMark& stackMark, Boolean skipSecurityChe ck)
at System.Reflecti on.Assembly.Get ManifestResourc eStream(Type type,
String name, Boolean skipSecurityChe ck, StackCrawlMark& stackMark)
at
System.Resource s.ResourceManag er.InternalGetR esourceSet(Cult ureInfo
culture, Boolean createIfNotExis ts, Boolean tryParents)
at
System.Resource s.ResourceManag er.InternalGetR esourceSet(Cult ureInfo
culture, Boolean createIfNotExis ts, Boolean tryParents)
at
System.Resource s.ResourceManag er.InternalGetR esourceSet(Cult ureInfo
culture, Boolean createIfNotExis ts, Boolean tryParents)
at System.Resource s.ResourceManag er.GetObject(St ring name,
CultureInfo culture)
at System.Resource s.ResourceManag er.GetObject(St ring name)
at UserMaintenance Form.Initialize Component()
The only resources in use are the embedded ImageLists used in various
forms.
The thread below mentions a faulty network connection. However, in my
case, if the user tries the operation again, they get the same
exception.
http://groups.google.com/group/micro...33256cadbaffb9
Any clues on how to resolve this?
Thanks