[Mono-aspnet-list] The imported type 'ASP.default_asp' is defined multiple times

Robert Jordan robertj at gmx.net
Sun Aug 2 19:01:17 EDT 2009

nzsaint wrote:
> Gonzalo Paniagua Javier-5 wrote:
>> Have you tried running it using xsp2 instead of apache/mod_mono?
> I followed the instructions at http://www.mono-project.com/ASP.NET for
> hosting with XSP based on your suggestion. I could see the 'Welcome to Mono
> XSP' sample page but when I stopped XSP and ran it from the root directory
> of my application I got exactly the same error message as with Apache above
> i.e CS0433: The imported type `ASP.default_aspx' is defined multiple times.
> Can you offer any further suggestions?

Check that "default.aspx" is actually a stub, i.e. it contains
"This is a marker file generated by the precompilation tool,
and should not be deleted!". If it doesn't, the application
was not deployed correctly and the compilation of default.aspx
will collide with the already pre-compiled assembly.


More information about the Mono-aspnet-list mailing list