I have a site that i have been developing.. I decided to start over from scratch, so...I have created a new directory and modified the security for that directory - allow all on Users(LAPTOP\Users), allow all on IIS_IURS (LAPTOP\IIS_IUSRS) and allow all on NETWORKSERVICE - I went to Webmatrix and created site from folder (SM1) , the site when i run it in a browser installs dnn. ver 6.1.5 - no errors, install went fine.
I use Visual studios 2010, but when i try to launch VS from webMatrix it launches Visual studios 2008. The site comes up fine in the VS2008.
Few questions here. How do I get it to open in VS2010?
When I try to open the site in VS2010, I get the following window
The Web site 'C:...\SM1\' is configured to run on an older version of the .NET Framework. Do you want to upgrade the Web site to use .NET Framework version 4.0(...change later using Poject Properties...)
check/ do the same for all webs targeting an older .Net Framework in this solution
I agreed to this upgrade.
Now when i go to my browser and reload the site, i get the following error:
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Source Error:
Line 124: --> Line 125: <!-- set debugmode to false for running application --> Line 126: <compilation debug="false" strict="false" targetFramework="4.0"> Line 127: <buildProviders> Line 128: <remove extension=".resx"/>
|
Source File: C:\inetpub\wwwroot\SM1\web.config Line: 126
Version Information: Microsoft .NET Framework Version:2.0.50727.5448; ASP.NET Version:2.0.50727.5456
I see the problem:
Version Information: Microsoft .NET Framework Version:2.0.50727.5448; ASP.NET Version:2.0.50727.5456
But I have no idea how to resolve this.
Please advise,
A timely response is needed, my time frame is very critical at this point. Appreciate any assistance anyone can give.