I am having issues running umbrco 4.6 on IIS 6 as a ASP.NET 4.0 app. I'm getting intermittent 404 errors on the default page. I have found some info online about this issue having to do with the 4.0 framework on IIS 6. However, I cannot resolve it.
I had to comment out this entire section in the web.config file to get the site to run in 4.0 -
I would like to run my site as a ASP.NET 2.0 app but can't get that to work either.
In the web.config I removed the following:
<compilation targetFramework = "4.0"
<
httpRuntimerequestValidationMode="2.0"
They cause config errors. Then I get this error:
Could not load file or assembly 'App_Browsers' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
I also cannot build my site in Visual Studion without gewtting the same error.
Running Umbraco 4.6 in ASP.NET 2.0
I am having issues running umbrco 4.6 on IIS 6 as a ASP.NET 4.0 app. I'm getting intermittent 404 errors on the default page. I have found some info online about this issue having to do with the 4.0 framework on IIS 6. However, I cannot resolve it.
I had to comment out this entire section in the web.config file to get the site to run in 4.0 -
<
sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<
sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<
section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
<
section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<
section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<
section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
</
sectionGroup>
I would like to run my site as a ASP.NET 2.0 app but can't get that to work either.
In the web.config I removed the following:
<
httpRuntime requestValidationMode="2.0"
They cause config errors. Then I get this error:
Could not load file or assembly 'App_Browsers' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
I also cannot build my site in Visual Studion without gewtting the same error.
How can I run my site not as a 4.0 app?
I am running Umbraco 4.7 not 4.6.
is working on a reply...