VB.NET

Moderators: seancampbell
Number of threads: 3883
Number of posts: 9849

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
System.InvalidOperationException error Posted by zainhansrod on 12 Nov 2009 at 5:43 AM
Hi,

I have designed a application in VB.net using the MS Office spreadsheet component.

When launching the app on the client PC it gives a 'Windows has encountered a problem and needs to close' error, when clicked on Debug the error says 'An Unhandled exception occured ('System.InvalidOperationException') in 'ApplicationName.exe'.

The client PC runs WinXP SP3 with .NET framework 3.5 with SP1 and Office Web Components, also has Office 2007 installed.

When I remove the spreadsheet componenet from the app and redeploy the app to the client it works fine!

Please help.

Thanks.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.