[Mono-dev] asp.net 1.2.5 and 1.2.6
grendello at gmail.com
Fri Jan 11 07:25:50 EST 2008
On Fri, 11 Jan 2008 17:45:02 +0530, "Sharique uddin Ahmed Farooqui"
<safknw at gmail.com> scribbled:
> On Jan 11, 2008 5:18 PM, Marek Habersack <grendello at gmail.com> wrote:
> > On Fri, 11 Jan 2008 17:03:33 +0530, "Sharique uddin Ahmed Farooqui"
> > <safknw at gmail.com> scribbled:
> > > There are one more problem, when I upload this site to hosting server
> > (which
> > > runs on MS .net 2.0 ) I get some error in web.config, which I fixed,
> > then
> > > there is some other problem occurs.
> > > Look at http://manageserver1.info/mfnav/
> > That means you haven't uploaded/compiled the bin/ directory in your
> > project.
> > The excerpt shown above says that the ASP.NET compiler cannot load the
> > specified base type.
> > > Note: I have uploaded original code which work fine with mono 1.2.5 on
> > loca
> > > machine.
> > It would work only if you had the correct assembly in bin/. If you want
> > ASP.NEt
> > to compile the code on demand, add the Src="codebehind.cs" or
> > CodeFile="codebehind.cs" (if your project is a 2.0 one) attribute to the
> > page
> > directive. In the latter case, your code-behind base type must be a
> > partial
> > class.
> If this CodeFile="codebehind.cs" is missing why it is working on xsp2?
I can only guess, since I can't see the directory you run xsp2 in. You probably
have the assembly compiled in there in the bin/ directory, or you have the code
in the App_Code directory, or the assemby with the base type is in your gac.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080111/4f7349cb/attachment.bin
More information about the Mono-devel-list