[Mono-aspnet-list] The imported type 'ASP.default_asp' is defined multiple times
nzsaint
chrisbrown76 at hotmail.com
Mon Aug 3 17:39:11 EDT 2009
Robert Jordan wrote:
>
> As I wrote: *pre-compile* the app for the virtual path "/".
> aspnet_compiler -v / inputdir outputdir
>
I'm sorry I had misunderstood you in your previous post. Following your
instructions I successfully precompiled my test application and ran it in my
Mono environment. The default.aspx page displayed as it should. Thank you.
However with my actual application when I follow the same steps I receive
the error below (Im not sure if I should start this as a separate thread on
the forum or whether it is related):
Argument cannot be null. Parameter name: virtualPath
Description: HTTP 500. Error processing request.
Stack Trace:
System.ArgumentNullException: Argument cannot be null.
Parameter name: virtualPath
at System.Web.VirtualPathUtility.IsAbsolute (System.String virtualPath)
[0x00000]
at System.Web.VirtualPathUtility.IsRooted (System.String virtualPath)
[0x00000]
at System.Web.Compilation.BuildManager.GetAbsoluteVirtualPath
(System.String virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.FixVirtualPaths () [0x00000]
at System.Web.Compilation.BuildManager.LoadPrecompilationInfo () [0x00000]
at System.Web.Compilation.BuildManager..cctor () [0x00000]
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version:
2.0.50727.1433
--
View this message in context: http://www.nabble.com/The-imported-type-%27ASP.default_aspx%27-is-defined-multiple-times-tp24750998p24798627.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
More information about the Mono-aspnet-list
mailing list