CSLA .NET

From Rockford Lhotka's Expert C# 2005 and VB 2005 Business Objects books

Welcome to CSLA .NET Sign in | Join | Help
in Search

OT: ClickOnce mysteries

Last post 08-01-2008, 10:15 AM by ajj3085. 0 replies.
Sort Posts: Previous Next
  •  08-01-2008, 10:15 AM 25184

    OT: ClickOnce mysteries

    Hi,

    I'm having a very weird problem.  Some users are getting errors and I can't figure out why.  One is a serialization error that only occurred for one user in a particular spot, and for another user in a different spot.  Yesterday, another user encountered a problem running a report as well.. and no one else had the same problem.  Everyone is on the same version of my app and .Net framework.  Even XP / Vista service pack levels.  I just experienced the same error as the user did yesterday as well.

    The new error is this:
    Message: InvalidCastException: Unable to cast object of type 'System.Object[]' to type 'MyCompany.Quoting.DocumentList'.\r\nStack trace:    at MyCompany.Sales.MainForm.LoadDocumentsForPrinting(Object sender, DoWorkEventArgs e)
       at System.ComponentModel.DoWorkEventHandler.Invoke(Object sender, DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)\r\nSource: Sales

    Again, the fix was to uninstall and reinstall the appliction from the website.. no other changes needed.

    Has anyone encountered anything like this before?  The other error is a SerializationException... so it's not the particular exception that is the worry... just that a simple un-install re-install seems to fix the issue, and that now its happened to four of us.  The only thing in common is that the errors always happen on a background thread.

    Thanks
    Andy
View as RSS news feed in XML

Please contact Magenic for your .NET consulting and CSLA .NET mentoring needs.
Please consider making a donation to help support the ongoing development of CSLA .NET.

Make donation through PayPal - it's fast, free and secure!
Why donate?
Powered by Community Server, by Telligent Systems