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
Creator and Lead Developer of Gallery Server Pro