Jump to content
Software FX Community

Security issue (Sharepoint)


fkeller

Recommended Posts

Hi,

 I am developing web parts for Sharepoint 3.0. When I shutdown the PSS Service, my chart are rendered, but when I start the PSS Service, then the chart image is no more rendered. When I check at the source <img> and try to access directly via the URL to the chart image I get a Security Exception...
--------------------------------
file:///c:/temp/moz-screenshot.jpg

Server Error in '/' Application.


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.SecurityPermission, 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.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]   ChartFX.Pss.HttpHandler..ctor() +0




Version Information: Microsoft .NET Framework Version:2.0.50727.832;
ASP.NET Version:2.0.50727.832
---------------------------------------------------
 

 Since I am in Sharepoint my pages use the Windows Authentification method (Single sign-on).

How can I configure Chart FX and PSS ?

 
Thanky for your answers.
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...