Hi,
I am also having the same issue.
I have a class in App_Code folder.Everything is fine during development.Whe
I copy it to production server I get an error:
The type or namespace name 'clsClientDetails' could not be found (are you
missing a using directive or an assembly reference?)
I tried creating App_Code folder is root and as virtual directory in the
production web server, even that didn't help.
Then created a seperate dll file with all these classes and gave a refernce
to it in the existing project and now it was in Bin directory.But again the
same issue.Why it could't locate the assembly or class.Even i wrapped it
inside a namespace but that couldn't help either.
Can somebody help me.
Thanks in advance,
Zainu
"Peter Bucher [MVP]" wrote:
> Hi Scott
>
> > In the main web page durning the page startup, I can refer to public
> > shared
>
> ^
>
> Be sure that all static / shared variables are on the application scope.
> So every value is the same for all users.
>
> --
> Gruss, Peter Bucher
> Microsoft MVP - Visual Developer ASP / ASP.NET, Switzerland
> http://www.aspnetzone.de/ - ASP.NET Zone, die ASP.NET Community
> http://www.aspnetzone.de/blogs/peterbucher/ - Auf den Spuren von .NET
>