[Mono-aspnet-list] Getting any ASP.NET application to work without "assembly not found"
jonathanr at elijournals.com
Wed Nov 11 08:26:35 EST 2009
This is a newbie question. Basically, any ASP.NET application that I try to
put up on Mono fails with one of two errors. First, if there is any
reference to Microsoft.VisualBasic, I always get "Assembly
Microsoft.VisualBasic, Version=220.127.116.11, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A not found". I've scoured the posts, but
every one that mentions this error says that one must install various "cil"
libraries, and the IT people who set up the server assure me that they've
installed every Mono library that there is.
I notice that typically this error comes from a line in web.config that adds
the Microsoft.VisualBasic assembly. If I remove that line or web.config,
then I usually get more problems. :)
Also, if I find a .NET application that doesn't need that and put it up on
Mono, I get another error: If I use code-behind pages, it will always
display an error "Cannot find type" followed by the class name for that
page. I've found a number of posts about that error, but no clear answer.
It doesn't matter what the name of the page is...if it has a code-behind
page, then this error always happens.
This must be something basic, because I'm not trying to do anything very
specific...just trying to get any ASP.NET application to work.
Thanks in advance for any suggestions.
View this message in context: http://old.nabble.com/Getting-any-ASP.NET-application-to-work-without-%22assembly-not-found%22-tp26291532p26291532.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
More information about the Mono-aspnet-list