Hi,
I have a similar problem to this thread (http://www.thescripts. com/forum/thread507360.ht ml).
I have a class App_Code/SiteContent.cs that works just fine in Visual Studio, but does not work on the production site.
Compiler Error Message: CS0103: The name 'SiteContent' does not exist in the current context
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.832; ASP.NET Version:2.0.507 27.832
The class seems to be found just fine from .aspx files in my web root directory, but I've created a subdirectory called /admin to hold aspx files for administration functions. The .aspx files in the /admin directory cannot find the App_Code/SiteContent.cs file from the production server, but can find it just fine from VisualStudio.
Thanks,
Dave
I have a similar problem to this thread (http://www.thescripts. com/forum/thread507360.ht ml).
I have a class App_Code/SiteContent.cs that works just fine in Visual Studio, but does not work on the production site.
Compiler Error Message: CS0103: The name 'SiteContent' does not exist in the current context
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.832; ASP.NET Version:2.0.507 27.832
The class seems to be found just fine from .aspx files in my web root directory, but I've created a subdirectory called /admin to hold aspx files for administration functions. The .aspx files in the /admin directory cannot find the App_Code/SiteContent.cs file from the production server, but can find it just fine from VisualStudio.
Thanks,
Dave
Comment