Could not load <usercontrolname>.ascx

Nov 22, 2009 at 10:01 PM


I'm trying to use SmartPart 1.3.

I followed the setup instructions, and I activated the requested feature.

I made a Web Project which include a "MyUserControl" user control.

My user control is very simple (just a textbox and a button).

I copied both ascx and ascx.cs files into "C:\Inetpub\wwwroot\wss\VirtualDirectories\80\UserControls\" directory.

Finally, I put a smartpart item on the page. I got that "open the tool pane" link, and then the smartpart editor pane on the right. BUT, when I open the list of the user controls, I find a " could not load MyUserControl.ascx".

please help me, it's really urgent :s