Compiler Error Message: CS0016

Last Thursday I was working with a client trying to get some code I had written running under his copy of IIS on Windows Vista. The full text of the message indicates that the .NET runtime was unable to create the DLL in the shadow directory, but when you go to that directory it is obvious that it was able to create all of the other files. Why not the DLL?!

If you do a search for that error message, you will find all kinds of solutions. One of them is this link over at the Microsoft Support site.

Now, what typically happens is that people find that link, see that it has something to do with ASP.NET 1.0 or 1.1 and move on, looking for the solution for ASP.NET 2.0 or 3.x. In fact, many of the other forum posts say, “I saw that link, but it isn’t for ASP.NET 2.0 (or 3.x) so I didn’t bother.”

If you did that, you’d miss the solution.

Following the instructions at that link did, in fact, fix the problem for us.

Related Post

Leave a Reply

Comment Policy:

  • You must verify your comment by responding to the automated email that is sent to your email address. Unverified comments will never show.Leave a good comment that adds to the conversation and I'll leave your link in.
  • Leave me pure spam and I'll delete it.
  • Leave a general comment and I'll remove the link but keep the comment.

Notify me of followup comments via e-mail

Bear