VB.NET School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 300,475 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 1,741 people online right now. Registration is fast and FREE... Join Now!




Running my application on other computers

 

Running my application on other computers, Send Error Report to Microsoft, System.InvalidOperationException, WMPl

WBBinaryBoy

4 Jul, 2009 - 05:17 PM
Post #1

New D.I.C Head
*

Joined: 21 Feb, 2009
Posts: 11

Hi,

My program is ready for use on other computers however when I run either the release file I get the following error:

(Program Name) has encounted a problem and needs to close. We are sorry for the inconvenience.

the Error Signature is:
EventType : clr20r3 P1 : (program name) P2 : 1.0.0.0
P3 : 4a4ff69e P4 : (program name) P5 : 1.0.0.0
P6 : 4a4ff69e P7 : 65 P8 : c6 P9 : system.invalidoperationexception

Also when the Publish setup file or the application manifest vshost file is run it brings up the following error:

Unable to install or run the application. The application requires that assembly interop.wmplib version 1.0.0.0 be installed in the Global Assembly Cache (GAC) first.
Please contact your system administrator

Also a third problem is that Since i started my program I installed the trial of Microsoft Office Professional 2007 on my computer and uninstalled it aswell. Now it seems to want to include and require Microsoft.Office.Interop.OutlookViewCtl Versionn 12.0.0.0 in the program
Why would it need this and how do you fix the other errors? Is this Common?

User is offlineProfile CardPM
+Quote Post


LoveIsNull

RE: Running My Application On Other Computers

4 Jul, 2009 - 06:18 PM
Post #2

Disbanding my Ignorance
****

Joined: 10 Mar, 2009
Posts: 536



Thanked: 45 times
My Contributions
Sorry, but just that info alone really isn't enough for us to derive any kind of solutions for you.

For your first problem you might want to see if you can acquire more information about this exception. You may need to go back and code in some structured exception handling, use Try-Catch blocks to trap the exception and have your code output all the info about the exception instance. This should include things like the method the exception occurs in, possibly an InnerException instance that lead to the current exception and line numbers where this is occurring.

As for the other problems, they seem to be related to components that your application is dependent on that are not present on the computer or properly packaged with your program.

This post has been edited by LoveIsNull: 4 Jul, 2009 - 06:19 PM
User is offlineProfile CardPM
+Quote Post

WBBinaryBoy

RE: Running My Application On Other Computers

4 Jul, 2009 - 07:06 PM
Post #3

New D.I.C Head
*

Joined: 21 Feb, 2009
Posts: 11

QUOTE(LoveIsNull @ 4 Jul, 2009 - 06:18 PM) *

Sorry, but just that info alone really isn't enough for us to derive any kind of solutions for you.

For your first problem you might want to see if you can acquire more information about this exception. You may need to go back and code in some structured exception handling, use Try-Catch blocks to trap the exception and have your code output all the info about the exception instance. This should include things like the method the exception occurs in, possibly an InnerException instance that lead to the current exception and line numbers where this is occurring.

As for the other problems, they seem to be related to components that your application is dependent on that are not present on the computer or properly packaged with your program.

Thanks for the help, I'll try that and edit this post with the results of everything
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/8/09 03:08AM

Live VB.NET Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month