Software Development (.NET)

Programming and software development. The focus is oriented toward Windows, dotnet (.NET), and various open source projects for dotnet.

Custom Trust Level For Community Server

Community Server 2.1 (including SP1) will not quite run in Medium Trust. I have found that it needs WebPermissions or the Feed Reader doesn't work correctly. See Community Server Feed Reader Fails in Medium Trust Level. And I have found that it requires ReflectionPermissions because of code in Global Application_End. If  ReflectionPermissions are not granted, you'll see exceptions like this in the Windows Event Viewer (Application section).

This post proposes a solution if you have access to the following folder on your server:
%windir%\Microsoft.NET\Framework\{version}\CONFIG\

By default, this location is C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG

Here are the steps:

Community Server Service Pack 1 With Multiple Communities

Here are my notes for upgrading to Service Pack 1 when using the multiple community setup described in this article:
Community Server - Setting Up Multiple Communities.

Community Server Feed Reader Fails in Medium Trust Level

[UPDATE: see this new post here Custom Trust Level For Community Server]

I just installed Community Server 2.1 SP1 for a client. I had been told that it would run in Medium trust, so I tried that setting. Unfortunately, in Medium trust, adding feeds gives the following error:

Add Feed Error

The problem is the same as discussed a while back in this thread. And apparently it was not fixed in 2.1 or 2.1 SP1.

Here is my solution:

In web.config, I added this element to <system.web>

Visual Studio Window Issues

Who is using the Visual Studio WindowManager PowerToy?
http://www.gotdotnet.com/workspaces/releases/viewuploads.aspx?id=7ca49cdf-3b34-4da7-b783-3679cd4cdec5
This sounds like it might fix the problems I'm having with Visual Studio 2005 windows.

Visual Studio 2005 SP1 Beta Registration

I missed this announcement originally. However, I just learned that the beta registration for Visual Studio 2005 SP1 is still open for another week. It will end on October 30th, 2006.
You can apply for the Beta by filing out the nomination survey or by signing up on the "Available Connections" page of the Microsoft Connect web site.

Ajax ASP.NET 'Atlas' Web Application Project Template

I created a Visual Studio 2005 project template for creating 'Atlas' (ASP.NET Ajax) applications using the Web Application Project (WAP) structure.

To use my template you will need to have both Web Applications Projects and Atlas installed already. I assume you do or you wouldn't be here. I also assume you installed Atlas in the default location.*

Syndicate content