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

Robert Jordan robertj at gmx.net
Mon Aug 3 04:17:51 EDT 2009


nzsaint wrote:
> 
> nzsaint wrote:
>> Under my /srv/www/MonoTest directory I have default.aspx, web.config,
>> precompileApp.config and a Bin folder containing three ambiguously named
>> App_Web_xxxxx.dll's and default.aspxcab7d2.compiled file.
>>
> 
> Since my previous post it has dawned on me that there should not be three
> App_Web_xxxxx.dll files. I confirmed which one should be there and deleted
> the other two. The 'The imported type 'ASP.default_aspx' is defined multiple
> times' error appears to have been resolved but now my default.aspx page just
> shows the text "This is a marker file generated by the precompilation tool, 
> and should not be deleted!" in the actual browser. I have seen this reported
> previously on the forum but I couldn't see an actual solution. Can anyone
> help?

The application must be pre-compiled for the virtual path "/".
Then you can run it from any virtual path.

This limitation will be fixed in the next 2-4-x iteration.

Robert



More information about the Mono-aspnet-list mailing list