Hi,
I have a web form (c#) in asp.net v2. It uses user controls in the controls folder, and namespaces of classes in the App_Code folder in subfolders.
The application compiles fine in Visual Studio 2005, but when I upload it to the webserver, I get the error:
Error:500 >>> System.Web.HttpParseExcept
ion: d:\websites\bree20\www\MOD
ULES\COMBI
NED\leedsm
ental_COMB
INEDmodule
ASPX\admin
3\controls
\adminlist
.ascx.cs(3
2): error CS0246: The type or namespace name 'stringlibclass' could not be found (are you missing a using directive or an assembly reference?)
I have tried adding codeSubDirectories and Assemblies to the the web.config file but this doesn't work.
I have also tried adding @Assembly directives to the asp.net files but this doesn't solve it either.
The problem seems to be that the code in the controls folder doesn't access the code in the App_Code subfolders when on the webserver.
Does anyone have any suggestions?
Thanks
Martin
Start Free Trial