.net Winforms

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
rajeeva_nagarajAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

IanThCommented:
xp and windows 7 have different security settings on the c: drive that could be why I suppose
0
sachinpatil10dCommented:
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
mlmccCommented:
What version of Crystal?

Is the Win7 machine 32 or 4-bit?

mlmcc
0
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

rajeeva_nagarajAuthor Commented:
Crystal report which comes along with .net 2008 and the win-7 32 bit
0
IanThCommented:
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
IanThCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rajeeva_nagarajAuthor Commented:
Thanks a lot
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.