Problem solve Get help with specific problems with your technologies, process and projects.

My app can't find Web control DLLs

I have installed the MS Web controls and ran the Build.bat. I also created a folder named webctrl_client\1_0 under c:\inetpub\wwwroot. When I try to build some Web controls, I am still getting an error:

File or assembly name Microsoft.Web.UI.WebControls, or one of its dependencies, was not found.

Error found in Line 2:

<%@ Register TagPrefix="mytree" Namespace="Microsoft.Web.UI.WebControls">

So it can't find the Web control DLL's I assume. What am I doing wrong?
I don't see your Assembly attribute. It's required in order to locate the assembly where the control lives. If that doesn't solve the problem (or if you're already putting that in place), try manually adding the assembly to the GAC, using the .NET Framework configuration tool (inside Administrative Tools). Select Manage the Assembly Cache, then the Add an Assembly to the Assembly Cache. Locate the webcontrols DLL and that should do the trick.

Dig Deeper on Win Development Resources

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.