Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Error: Required permissions cannot be acquired
Roger Martin
#1 Posted : Tuesday, 22 September 2009 1:59:42 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,168
Location: Fort Atkinson, WI

You may receive the following error when installing GSP on IIS 7.5 (Windows 7, Windows Server 2008 R2):

Quote:
Required permissions cannot be acquired


You may also see one of the following messages in addition to the one above:

Quote:
Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.


Quote:
FileLoadException: Could not load file or assembly 'System.Data.SQLite, Version=1.0.65.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies. Failed to grant minimum permission requests.


Historically, permission errors like this are caused by the application running in a reduced trust environment that is common to hosting companies. This is still a possible cause. GSP will run at medium trust but there are some limitations. See the Admin Guide for more information.

However, this error may also be caused by a new default setting in IIS 7.5. The application pool identity has a property called Load User Profile. When this value is false, you may receive the error shown above. To resolve this, open IIS Manager and navigate to your application pool identity. You will find the setting in the Advanced Settings window. Change it to true.
Roger Martin attached the following image(s):
Roger Martin attached the following image(s): image.axd.jpg
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.