C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Required permissions cannot be acquired.

rated by 0 users
This post has 1 Reply | 1 Follower

Not Ranked
Posts 3
YLisiy1 Posted: Sun, May 24 2009 4:09 PM

I am attempting to publish a web site that uses the c1WebReport component to Hosting location.  After the app is deployed, i try to run it and i get a "Required permissions cannot be acquired. " exception.  Seems to be centered around the

 Could not load file or assembly 'C1.C1Report.2, ....

 Since this is a hosted site, i cannot go an edit the configs for the web sever, nor do i want to move it to a lower security box.  Is there a way around this problem?  Any ideas would be welcome.

Top 10 Contributor
Posts 1,237
Hi,
 
Are you running your website in partial/medium trust mode? If yes then you need to set some additional permissions comparing with default settings for medium/partial trust.
These are: OleDbPermission, ReflectionPermission, FileIOPermission for AppDir folder, IsolatedStorageFilePermission, PrintingPermission.
Set this persions in web.config file of your website and this should fix the issue. However, if you are not running the website in partial trust then please provide me with the screen shot of the error message and mention that at what point of time you are getting this error.
 
Regards,
Patrick
 
 
<YLisiy1> wrote in message news:218227@10.0.1.98...

I am attempting to publish a web site that uses the c1WebReport component to Hosting location.  After the app is deployed, i try to run it and i get a "Required permissions cannot be acquired. " exception.  Seems to be centered around the

 Could not load file or assembly 'C1.C1Report.2, ....

 Since this is a hosted site, i cannot go an edit the configs for the web sever, nor do i want to move it to a lower security box.  Is there a way around this problem?  Any ideas would be welcome.



http://helpcentral.componentone.com/cs/forums/p/79327/218227.aspx#218227

Page 1 of 1 (2 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.