I have been testing and experimenting with "one click publishing" for a week now, and still cannot get a successful deployment. The results i get are listed below and I haven't a clue as to what I have done wrong or how to fix. Searching forums,
there are many instances of this, but none as basic as mine or that apply to my situation.
(4/5/2012 12:14:11 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 'v2.0'. This application requires 'v4.0'.
This was excellent. I followed thru and from all indications I obtained an errorless deployment package. This is in contrast to click-once publishing which has given me a variety of errors that require further research, for example,
Error 4 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.
C:\Users\NEWADMIN\Documents\Visual Studio 2010\WebSites\WebSite34\obj\publish\CSAutoParameterize\original\web.config 19
The deployment package I did get, is of no use to me because my ASP.NET host cannot execute it on my behalf. This is incredible! I've now spent two weeks trying to publish a VS2010 site that executes perfectly on my local server.
Thank you for trying and I'll appreciate any further suggestions.