Posted on 8:09 AM by Softminer and filed under ,

Sometimes the visual studio porject compiles and run properly but can not be published and has some error regarding to usercontrol .ascx files and dlls.

just close visual studio
go to folder

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root

delete all the temporary files and then try again.
Responses to ... Error in publishing in visual studio 2005