[Mono-dev] Running sample app--Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'System.Web'.
Sharique uddin Ahmed Farooqui
safknw at gmail.com
Thu Jan 3 11:06:21 UTC 2013
Hi,
First of all Happy new year to all of you.
I created new web application using VS 2012 Web express edition, using new
web form application template. I opened it in MD 3.1.1 removed everything
that gives error during complication. When run site using XSP4 I get
following exception.
I'm using Mono 3.0.0 from pmono repo.
---
Missing method .ctor in assembly
/opt/mono/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll,
type System.Runtime.CompilerServices.ExtensionAttribute
Can't find custom attr constructor image:
/opt/mono/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
mtoken: 0x0a000802
Handling exception type TypeLoadException
Message is Could not load type
'System.Runtime.CompilerServices.ExtensionAttribute' from assembly
'System.Web'.
IsTerminating is set to True
System.TypeLoadException: Could not load type
'System.Runtime.CompilerServices.ExtensionAttribute' from assembly
'System.Web'.
Server stack trace:
at System.AppDomain.DoCallBack (System.CrossAppDomainDelegate
callBackDelegate) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack
(System.CrossAppDomainDelegate)
at (wrapper xdomain-dispatch) System.AppDomain:DoCallBack
(object,byte[]&,byte[]&)
Exception rethrown at [0]:
at (wrapper xdomain-invoke) System.AppDomain:DoCallBack
(System.CrossAppDomainDelegate)
at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack
(System.CrossAppDomainDelegate)
at System.Web.Hosting.ApplicationHost.CreateApplicationHost (System.Type
hostType, System.String virtualDir, System.String physicalDir) [0x00000] in
<filename unknown>:0
at Mono.WebServer.VPathToHost.CreateHost
(Mono.WebServer.ApplicationServer server, Mono.WebServer.WebSource
webSource) [0x00000] in <filename unknown>:0
at Mono.WebServer.XSP.Server.RealMain (System.String[] args, Boolean
root, IApplicationHost ext_apphost, Boolean quiet) [0x00000] in <filename
unknown>:0
at Mono.WebServer.XSP.Server.Main (System.String[] args) [0x00000] in
<filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load
type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly
'System.Web'.
Server stack trace:
at System.AppDomain.DoCallBack (System.CrossAppDomainDelegate
callBackDelegate) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack
(System.CrossAppDomainDelegate)
at (wrapper xdomain-dispatch) System.AppDomain:DoCallBack
(object,byte[]&,byte[]&)
Exception rethrown at [0]:
at (wrapper xdomain-invoke) System.AppDomain:DoCallBack
(System.CrossAppDomainDelegate)
at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack
(System.CrossAppDomainDelegate)
at System.Web.Hosting.ApplicationHost.CreateApplicationHost (System.Type
hostType, System.String virtualDir, System.String physicalDir) [0x00000] in
<filename unknown>:0
at Mono.WebServer.VPathToHost.CreateHost
(Mono.WebServer.ApplicationServer server, Mono.WebServer.WebSource
webSource) [0x00000] in <filename unknown>:0
at Mono.WebServer.XSP.Server.RealMain (System.String[] args, Boolean
root, IApplicationHost ext_apphost, Boolean quiet) [0x00000] in <filename
unknown>:0
at Mono.WebServer.XSP.Server.Main (System.String[] args) [0x00000] in
<filename unknown>:0
--
Sharique uddin Ahmed Farooqui
http://safknw.blogspot.com/
"Peace" is the Ultimate desire of mankind.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130103/e9dcca58/attachment-0001.html>
More information about the Mono-devel-list
mailing list