Today I decided to create a family photo album web site. I settled on using nGallery (from www.nGallery.org).
The hoster I am using has a fairly locked down environment so nGallery didn’t work out of the box. Here are the things I had to do to make it work:
Access to the following is blocked by Medium trust, you can test this by running your own test machine in Medium Trust mode, edit C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG:
• UI
• OleDb
• EventLog
• ODBC
• Oracle
• MessageQueue
• ServiceController
• DirectoryService
• Performance Counter
• Win32 calls required for User Impersonation
Access to the following is blocked by our policy and should NOT be configured in your web.config:
• Customerrors
• Tracing
• Trust level
<authentication mode="Windows" />
<!-- <authentication mode="Forms" >
<forms name="nGalleryAuth" loginUrl="adminLogin.aspx" protection="All" timeout="30" path="/" />
</authentication> -->
<authorization>
<!-- <allow users="*" /> -->
<!-- <deny users="?" /> -->
</authorization>
CREATE TABLE [MyUser].[ALBUM]
CREATE PROCEDURE MyUser.ngCreateComment
<%@ Register TagPrefix="mp" Namespace="MetaBuilders.WebControls.MasterPages" Assembly="MetaBuilders.WebControls.MasterPages" %>