Last post Aug 14, 2012 10:39 AM by Dino He - MSFT
Aug 11, 2012 08:34 PM|kmcnet|LINK
Hello Everyone and thanks for your help in advance. I am using Visual Studio 2010. When I drag a web user control onto a web form, I get an error creating the user control. It gives a path of ~http://localhost/folderofcontrol/controlname.ascx. This just
started happening within this project and happens with all controls. Previously, VS was working correctly, registering the path as /controlfolder/controlname.ascx. I can manually correct the problem, but am not sure why this just cropped up. Any insight
would be greatly appreciated.
Aug 14, 2012 10:39 AM|Dino He - MSFT|LINK
I have same problem before, what I do is ,create a new project and copy that usercontrol and page's for test.
If it can work that means you have issue in your old config or .csproj file
If still can't work that's may cause by your usercontrol.