This is a migrated thread and some comments may be shown as answers.

Cannot run Winforms App away from development PC

3 Answers 101 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Barry
Top achievements
Rank 1
Barry asked on 05 Feb 2010, 04:41 PM
I have a major problem with a Winforms project.  It uses MySQL, RadGrid and ORM.

It runs perfectly on any of my PCs which have the Development environment installed.

I put the "Release" folder on Windows 7 - and it just says "Windows has developed a problem" and shuts down. 

The only error message is in the application event log (see below).  All of the references in the project which referred to Telerik were set to "copy to local". I have absolutely no idea how to proceed with resolving it, and apparently nor does Telerik...  As you might imagine, I have a lot of very annoyed users...

It says:

Log Name:      Application
Source:        Windows Error Reporting
Date:          05/02/2010 10:44:07
Event ID:      1001
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      42LMW.IFIC-GLASGOW
Description:
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: workinprogressreport.exe
P2: 1.0.0.0
P3: 4b63120f
P4: Telerik.OpenAccess
P5: 2009.3.1119.2
P6: 4b054afb
P7: 114
P8: 32
P9: 4TQCSA4EAOUWV2DOZ0WOV5PI3NNWGLB4
P10:

Can anyone help?
Thanks

Barry

3 Answers, 1 is accepted

Sort by
0
John Kok
Top achievements
Rank 1
answered on 06 Feb 2010, 09:40 AM
Do you install your app in Windows 7, or you just copy the Release folder ?

I am not sure that just copying the folder will make the program work.
0
Barry
Top achievements
Rank 1
answered on 07 Feb 2010, 11:30 PM
thanks.  i tried both.  I think a lot of orm dlls were missing from the "install" folder - support has now said at least 6 must be added to the "references".  Their documentation seems to assume ORM was installed in the GAC on the destination PC... I'' retry on Monday.

It makes me think twice about using ORM in future projects.

What is REALLY annoying is that the EXE fails with no messages except an obscure entry in the application event log - why can't it say "can't find xxx.DLL"????

Telerik - can you build in some sort of checker for this?  Or, could you consider having a Wizard to automatically add all the required ORM references to the project?

Barry
0
Vassil Petev
Telerik team
answered on 08 Feb 2010, 01:45 PM
Hello Barry,

I see that your question is being handled in the support ticket you have opened on the topic.

Generally speaking, the deployment process is handled exclusively by Visual Studio. The Telerik controls support fully this Visual Studio feature, and they operate in exactly the same way as the standard Microsoft controls included in the Visual Studio Toolbox. You can find detailed information on this process on MSDN: ClickOnce Deployment for Windows Forms Applications.

If other users experience this problems, we will consider adding some kind of assembly validation or another mechanism to simplify the process in a future version of our tools.


Best wishes,
George
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
General Discussions
Asked by
Barry
Top achievements
Rank 1
Answers by
John Kok
Top achievements
Rank 1
Barry
Top achievements
Rank 1
Vassil Petev
Telerik team
Share this question
or