Author: vmhatup | Posted on: 11/16/2010 11:19:58 AM | Views : 972

I have a virtual directory called "MySite.web", and a folder inside this directory called "Sell" where I have my webform Create.aspx and several user controls like  CreateAd_CarsAndTrucks.ascx and CreateAd_Motorcycles.ascx.
When I try to compile, I get several errors in Create.aspx stating that public partial class Sell_CreateAd_CarsAndTruck, Sell_CreateAd_Motorcycles are not recognized. I am looking at both classes right now (they're in the same folder), so I have no idea why the compiler's not finding them.
One odd thing is that, for a moment, it did find one of them (Sell_CreateAd_CarsAndTruck), but from an assembly in either folder "Temporary ASP.Net" under c:\Windows or the one in c:\users\username. So I closed my IDE, and deleted both folders. When I open the solution once again, it recreates "Temporary ASP.Net" under c:\users\username and then creates a "App_Web_createad_carsandtrucks.ascx.5a5f4927.ebg ...

Go to the complete details ...