View Full Version : One-Click Publish
trying to deploy an SL4 RC app using VS10 RC, gives an error:
Error 1 Web deployment task failed.((3/19/2010 10:11:00 PM) An error occurred when the request was processed on the remote computer.)
(3/19/2010 10:11:00 PM) An error occurred when the request was processed on the remote computer.
The application pool that you are trying to use has the 'managedRuntimeVersion' property set to 'v4.0.30128'. This application requires 'v4.0'.
bruce
03-22-2010, 10:07 AM
I think you need the latest version of VS.NET RC installed
llaumann
03-24-2010, 01:24 PM
It's a simple fix. See this forum post at
http://community.discountasp.net/showthread.php?t=9560
WORKAROUND for anyone else that might experience this problem:
I used this entry in my csproj file in the first property group:
<IgnoreDeployManagedRuntimeVersion>True</IgnoreDeployManagedRuntimeVersion>
For full details, this is where I came across this option:
managedRunTimeVersion in MSDeploy package
can publish now, but get the following error (line 17 is red) trying to run app from server:
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 15: </assemblies>
Line 16: </compilation>
Line 17: <roleManager enabled="false" />
bruce
04-08-2010, 07:06 PM
put the app in the site root. you do not allow you to make directory as approot in the sandbox env.
yup -- that worked; how would we have known?
Well, lab or sandbox accounts do not traditionally come with documentation. They cater more to people who like to tinker and discover (and break things) on their own. So generally speaking you won't ever get the same level of help, support or assistance on the lab servers as you do on a production server.
But you got the answer here. ;)
this issue really has nothing to do with support; I was just curious if this "gotcha" was either posted somewhere, well-known, or obvious to all
vBulletin® ©Jelsoft Enterprises Ltd.