Odd Exceptions

I received the following exception this morning on one of my projects:

Point Report Viewer encountered a System.Resources.MissingManifestResourceException on Thursday, November 16 2006 at 10:58:12 AM.
Exception Details:
System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly.  Make sure "ReportView.resources" was correctly embedded or linked into assembly "PointReport".
baseName: ReportView  locationInfo: PointReport.ReportView  resource file name: ReportView.resources  assembly: PointReport, Version=5.4.2006.1027, Culture=neutral, PublicKeyToken=0ca8877e5830dba7
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture)
   at System.Resources.ResourceManager.GetObject(String name)
   at PointReport.ReportView.InitializeComponent() in C:\Dev\PointReportView\Main\ReportMainForm.cs:line 462
   at PointReport.ReportView..ctor() in C:\Dev\PointReportView\Main\ReportMainForm.cs:line 112
   at PointReport.ReportView.Main(String[] args) in C:\Dev\PointReportView\Main\ReportMainForm.cs:line 503

It turns out I had added a Class to handle unhandled exceptions in a cs file that windows had generated for a winform project.  so to solve this problem i had to move the unhandled exception class definition to the end of the file. 

 

Comments [0]