Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi guys i have my application which runs very well im my computer without any error i copy the apploication dedug folder to another location and also runs very well but once i copy to another machine i get this error
Problem signature:
Problem Event Name:	CLR20r3
Problem Signature 01:	SBRestaurant.exe
Problem Signature 02:	1.0.0.0
Problem Signature 03:	59d61ca7
Problem Signature 04:	SBRestaurant
Problem Signature 05:	1.0.0.0
Problem Signature 06:	59d61ca7
Problem Signature 07:	167d
Problem Signature 08:	69
Problem Signature 09:	System.InvalidOperationException
OS Version:	6.3.9600.2.0.0.768.101
Locale ID:	1033
Additional Information 1:	5861
Additional Information 2:	5861822e1919d7c014bbb064c64908b2
Additional Information 3:	01d7
Additional Information 4:	01d7340064827245f2249cd1f1a7c264
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=280262
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
SBRestaurant is application name i have installed all .net framework in other computer, have copied the  all dll  but still behave the same i have googled for three days and none has worked on my side kindly i will highly appreciate your Answers


What I have tried:


have tried to install .net in other machine have copied all dll but have not seen the solution
Posted
Updated 5-Oct-17 19:58pm
Comments
Richard Deeming 6-Oct-17 15:03pm    
Your application is throwing an InvalidOperationException, which is not being caught.

Catch the exception and log the details. Then fix the problem.

We can't do that for you - we can't even see your code, much less run it!

1 solution

Probably, an assembly you reference in your app is not present in the target machine: copying your debug folder is not the way to distribute your app.
Instead, build a deployment package: Deploying Applications, Services, and Components[^] - do yourself a favour: deploy the release version, not debug...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900