PDA

View Full Version : Building a project with Microsoft Visual Web Developer 2010 Express (Final Version)


mwe100
04-12-2010, 09:24 PM
The final version of Microsoft Visual Web Developer 2010 Express is available this week. I tried to build a project onto a server URL with a customized domain using VWD 2010 Express, but get the following result:

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 3:
Line 4: <system.web>
Line 5: <compilation debug="true" targetFramework="4.0" />
Line 6: </system.web>
Line 7: <system.webServer>

Version Information: Microsoft .NET Framework Version:2.0.50727.4016; ASP.NET Version:2.0.50727.4016

I created the domain used for the VWD project build on DiscountASP.NET. The Target Framework equals 4.0 from the result and DiscountASP.NET does support ASP.NET 4.0 now. Some things have got to be fixed or made right.

Mike

mjp
04-13-2010, 11:26 AM
Did you switch your Framework to 4.0?

Here is a Knowledge Base article about the error (http://support.discountasp.net/KB/a796/aspnet-40-application-error-unrecognized-attribute.aspx).

You can switch the framework here (https://my.discountasp.net/web-manager/iis7-framework.aspx).

mwe100
04-13-2010, 06:23 PM
Yes I switched to Framework 4.0 and got the VWD project build to work. Thanks.

Mike

mjp
04-14-2010, 12:05 PM
Cool.

I expect that will hang up a lot of people, since 4.0 is not the default option.