Yesterday I upgraded to OSX Mavericks and needed to reinstall mod_mono.

All my .net websites targeting asp.net 4.0 now bark:

System.Configuration.ConfigurationErrorsException Error deserializing configuration section compilation: Unrecognized attribute 'targetFramework'

So I removed the 'targetFramework="4.0" attribute from the compilation line.

This results in another problem:

System.Configuration.ConfigurationErrorsException Error deserializing configuration section pages: Unrecognized attribute 'controlRenderingCompatibilityVersion'.

So I then remove 'controlRenderingCompatibilityVersion="3.5"' from the pages line and got:

System.Configuration.ConfigurationErrorsException Error deserializing configuration section pages: Unrecognized attribute 'clientIDMode'.

As the 'clientIdMode="AutoID"' is the only attribute left on the files node, I just completely removed the node.

Then it gets a System.TypeLoadException.

I haven't bothered to look into that problem. These sites were running perfectly well before the update, so there must be some configuration thing that I missed out.

AFAIKT I run the latest stable versions of all involved software.

Just intrigued by the fact that the youngest mod_mono I found here, dates from '14-Feb-2011 20:39'.

Please advise,

guivho.

有帮助吗?

解决方案

I got this resolved using instructions at http://www.mono-project.com/AutoHosting

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top