Problems adding ASP.NET custom controls to the toolbox (VS.NET2003)

Well after swearing at the screen and jumping up and down for the last hour I have figured out my problem: which was getting an error message when trying to add an ASP.NET custom control to the toolbox in Visual Studio .NET 2003. The message was something linke "Unable to load assembly <assmebly path>. Check that any required dependencies are installed". The .dll in question was a very simple ASP.NET control library containing 2 custom controls I wrote ages ago. After mucking around with and opening and closing files, re-compiling and citing various ancient religious chants I had an epiphany. The .dll I was trying to add was on our build server, which I hadn’t set up a .NET security policy for! So I just added a new Code Group for the build server path with FullTrust rights and hey presto, the thing added! Hope this helps someone.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s