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

Report 1.5 Deployment

8 Answers 185 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Richard Brown
Top achievements
Rank 2
Richard Brown asked on 25 Sep 2007, 05:14 PM
My ASP.Net webviewer report works fine on my dev pc; however, when I deploy to a commercial shared web hosting site, I am am getting a security error.  The application works without error except for the report.
Does the webviewer require any special access?


Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
   System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
   System.Security.CodeAccessPermission.Demand() +59
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +678
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +114
   System.Configuration.Internal.InternalConfigHost.StaticOpenStreamForRead(String streamName) +80
   System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForRead(String streamName, Boolean assertPermissions) +115
   System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForRead(String streamName) +7
   System.Configuration.Internal.DelegatingConfigHost.OpenStreamForRead(String streamName) +10
   System.Configuration.UpdateConfigHost.OpenStreamForRead(String streamName) +42
   System.Configuration.BaseConfigurationRecord.InitConfigFromFile() +443

8 Answers, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 26 Sep 2007, 09:45 AM
Hi Richard,

The Reporting assemblies require full trust permissions and cannot run in medium trust environment. Unfortunately, medium trust support is not yet available, although we are working on it. It will appear in one of the future versions of Telerik Reporting.
 

Greetings,
Chavdar
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Richard Brown
Top achievements
Rank 2
answered on 26 Sep 2007, 10:31 PM
Thanks for the quick response.
0
Jason McIntyre
Top achievements
Rank 2
answered on 29 Sep 2007, 11:11 AM
I read somewhere that Telerik Reporting would work in Shared hosting environments with Medium Trust.

Is this still the case if we only generate PDFs rather than use the WEB viewer ?
This is a major issue for us.
0
Svetoslav
Telerik team
answered on 01 Oct 2007, 08:29 AM
Hi Jason McIntyre,

Currently Telerik Reporting does not work in restricted environment either when viewing a report in the report viewer (win/web) nor when generating reports programmatically, as the applied limitations narrow the core functionality.

We hope that you understand our concerns as our main goal is to develop a powerful all-purpose reporting engine.

 
Regards,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Michael H.
Top achievements
Rank 1
answered on 15 Nov 2007, 04:02 AM
Is there a time frame when Medium/Partial trust issue is expected to be implemented?
0
Svetoslav
Telerik team
answered on 15 Nov 2007, 10:03 AM
Hi Michael,

After some research and discussion we decided to postpone improving Telerik Reporting to work in a restricted environment. Our main focus currently is on the core reporting engine functionality, which, as it turns out, is more important to the majority of our customers.

If all goes well, we will consider Medium Trust support for the third or forth quarter of 2008, i.e. after extending the core functionality to cover the most common cases.

At any rate, thank you for the vote, Michael. We are keeping an eye on this forum and if more clients request this, we may reconsider our plans.

 
Regards,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
dargor
Top achievements
Rank 1
answered on 08 Jul 2008, 01:19 AM
Hello,

I am having the same issue. Do you guys have any idea of when this feature will be implemented?

Thanks

Mario

0
Steve
Telerik team
answered on 08 Jul 2008, 07:22 AM
Hi Mario,

We are still considering whether we should support Medium trust level in a future version of the control. If we are able to find a feasible way to do this without a complete re-write of the reporting core, we would definitely implement it, but cannot engage ourselves with a specific time frame. As my colleague Svetoslav has explained, we are currently focused on other core functionality and once we are ready with it, we would make a recap and see what's next.

Thank you for the understanding.


Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Richard Brown
Top achievements
Rank 2
Answers by
Chavdar
Telerik team
Richard Brown
Top achievements
Rank 2
Jason McIntyre
Top achievements
Rank 2
Svetoslav
Telerik team
Michael H.
Top achievements
Rank 1
dargor
Top achievements
Rank 1
Steve
Telerik team
Share this question
or