Running report viewer in medium trust environment, or alternatives

I have just fallen foul of an unforseen problem. I have developed a .net 3.5 application using the reportviewer control to generate a PDF automatically (using VB code) and store it in a directory on the server. I later attach this pdf to an email and send it to the customer.

However I have just uploaded it to my clients host. This is a shared host (uses HELM control panel) and runs all applications with a security level of medium trust.

Google tells me (cos google knows almost everything) that the report viewer will not run under medium trust but requires full trust permissions, something I am not likely to get.

Does anyone know a way to run a reportviewer in local mode under medium trust. I saw some articles talking about copying DLL's into the bin folder (which this hoster allows) but I cant get copies of them from my machine.

The reccomended dll's to place into the bin folder were

Microsoft.ReportViewer.Common.dll
Microsoft.ReportViewer.WebForms.dll
Microsoft.ReportViewer.ProcessingObjectModel.dll

Has anyone got any experience with this. I am very worried that I will have to rewrite all the reports. Stupidly developed the app with full security so didn't notice until deployment.

Cheers

FutureOakAsked:
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.

BanthorCommented:
Great Lesson, Just wait until sponsors want to leverage Azure. My Current host (Crystaltech) has tools for loading .NET controls.
It may be that the folder you are writing the report to just needs for Everyone to have Full Control forcing you to try and hide the folder name as the only access control.  If the control is not loading, call the host first before rewriting.

 
0
FutureOakAuthor Commented:
thanks for the comments, not sure this one is going to get an answer. Thanks for the input but it didn't really help me get to a soultion. I am now trying itextsharp which is free and works in medium trust. Lesson learnt and will use this in the future.
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
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
Web Servers

From novice to tech pro — start learning today.