Solved

.net Winforms

Posted on 2012-03-19
7
431 Views
Last Modified: 2012-04-08
Hi,


we have developed a win forms application and if the same is hosted on windows 7 and When we are trying to click the print button in the crystal report we are
getting an error "external component has thrown an exception".But the same app is working fine when hosted in xp. can anyone tell me what could be the reason for the error.

Thanks in Advance
Rajeeva
0
Comment
Question by:rajeeva_nagaraj
7 Comments
 
LVL 30

Expert Comment

by:IanTh
ID: 37737116
xp and windows 7 have different security settings on the c: drive that could be why I suppose
0
 
LVL 9

Expert Comment

by:sachinpatil10d
ID: 37737285
Try this out.

1. The issue is resolved in Service Pack 2 for Crystal Reports for Visual Studio 2010
2. Service Pack 2 and associated MSM, MSI and ClickOnce files can be found on the Crystal Reports for Visual Studio 2010 Reference page
 

3. Alternatively, rename the C:\Temp to something else - such as C:\Temp1 so the embedded designer can't find the dire
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 37737540
What version of Crystal?

Is the Win7 machine 32 or 4-bit?

mlmcc
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:rajeeva_nagaraj
ID: 37740913
Crystal report which comes along with .net 2008 and the win-7 32 bit
0
 
LVL 30

Expert Comment

by:IanTh
ID: 37741355
try going into safe mode from there you can make windows 7 act like xp on the security tab of the c: drive you need to do it in safe mode

but also you could try xp mode which is a virtual xp running ontop of windows as thats m$ way of getting all applications working in windows 7

see
http://www.microsoft.com/windows/virtual-pc/download.aspx
0
 
LVL 30

Accepted Solution

by:
IanTh earned 500 total points
ID: 37741371
err

Alternatively, rename the C:\Temp to something else - such as C:\Temp1 so the embedded designer can't find the dir

just try that without doing my security fix above you cannot as even in admin you have no admin rights to c: thats been changed in windows 7 from previous so doing my security fix means local admin in windows 7 is like previuos versions
0
 

Author Closing Comment

by:rajeeva_nagaraj
ID: 37821229
Thanks a lot
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question