Common mistakes with ASP.NET deployment:

1.- Place a "Bin" directory instead of "bin"
2.- Don't place all the required DLLs in the bin dierctory (or GAC)
3.- Running xsp[2], not configuring the --aplications parameter (or
application in the root dierctory)
4.- Running mod-mono, not configuring the MonoApplications directive (more
info with man mod_mono)

Juan C. Olivares
www.juancri.com

On 3/16/07, Jyoti Seth <[EMAIL PROTECTED]> wrote:

 Yes I have tried using binaries and it worked with binaries. But I don't
want to use binaries for deployment.



While publishing it generates the dll in the bin directory. I have checked
that dll also and it has the same Namespace and class which I am using in
inherits attribute.

I am using visual studio 2005 for development. I have also checked the dll
with Moma tool and it is showing no issue. But still on deploying the same
on mono linux server it gives "Cannot find type" error.



Please suggest how to deploy the application using inherits attributes
without using binaries.



Thanks,

Jyoti








 ------------------------------

*From:* Madars Vitolins [mailto:[EMAIL PROTECTED]
*Sent:* Thursday, March 15, 2007 6:19 PM
*To:* Jyoti Seth
*Cc:* [email protected]
*Subject:* Re: [Mono-list] inherits attribute not working on linux mono
machine



Hello,

   For me on xsp2 it works well, I see on my Default.aspx
 there is something like this: Inherits="PasswordManager._Default" and it
works. Seems that there should be in ./bin directory assembly that contains
that namespace and class to which Inherits points. I am using binary from MS
build, but I had compiled that stuff with mono, without removing Inherits.
    You could check is Namespace and Class exists to which Inherits
points.

Madars.

On 3/15/07, *Jyoti Seth* < [EMAIL PROTECTED]> wrote:

Hello,



I am developing an asp.net application using visual studio 2005 on windows
xp. When I deployed an asp.net application in which the page directive
uses "inherits" attribute on mono linux server it was throwing an error
"Cannot find type". When I removed the "inherits" attribute and then
deployed it worked fine. Please let me know if mono supports "inherits"
attribute. And what can be the best solution in this case.



Thanks,

Jyoti








_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list



_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list




--
Juan Cristóbal Olivares
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to