Solved

.net Winforms

Posted on 2012-03-19
7
432 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

730 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