How to fix the Microsoft.Web.Administration.dll problem « Digital Tool Factory blog

How to fix the Microsoft.Web.Administration.dll problem

The Problem: While coding away on the Stronico signup process I came across a problem with creating a reference to the Microsoft.Web.Administration dll, namely it was not present as a reference.  No problem, I added the dll manually via Visual Studio (it is in the %WinDir%System32InetSrv directory), yet once that was done I could not reference the dll.

The Cause: The dll must be marked as “Copy Local – True” and “Specific Version – True”.

The Solution: Mark the two options as true in the properties and the problem will go away.  It’s always the stupid errors that cause the most problems.  One of the purposes of blogging these errors is to  reduce their frequency.

 

This post originally appeared on the Stronico blog – with the absorption of Stronico into Digital Tool Factory this post has been moved to the Digital Tool Factory blog

Tags: , ,

 

Written By Steve French

 

Leave a Reply





Copyright 2011 Digital Tool Factory. All Rights Reserved. Powered by raw technical talent. And in this case, WordPress.