PDA

View Full Version : Building a project with Microsoft Visual Web Developer 2010 Express Beta 2


mwe100
03-20-2010, 05:10 PM
I made a project and have not had any success into building that project with Web Developer 2010 Express Beta 2. I have been trying to build a project onto a server URL with a customized domain. I made up the server URL, onto which I have been trying to build, on DiscountASP.NET. While attempting to build a project, I have been getting the following result on a web browser:

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 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

The result shows configuration error and unrecognized attribute. Are there remedies to the problem? Ways I can get the problem fixed?

Mike

bruce
03-22-2010, 10:10 AM
You are trying to deploy an ASP.NET 4.0 application to an ASP.NET 2.0 server. This will not work.

ASP.NET 4.0 is still in beta and we do not support beta product in a production environment.

You can, however, signup for an asp.net 4.0 test account at http://labs.discountasp.net/netfx4/index.aspx

mwe100
03-23-2010, 11:51 AM
I do have an account under the ASP.NET 4.0 Hosting Sandbox Program. I was able to build a project onto a URL under that sandbox program successfully with Visual Studio 2010 Beta 2 and hope that there will be one time at which DiscountASP.NET servers (not under labs) will be upgraded to work with Visual Studio 2010 final edition.

Thank you very much Bruce for the assistance.

Mike

Eric
03-23-2010, 04:18 PM
We do plan to have .NET 4 on our production servers as quickly as possible after its official release.

ronduncan
06-29-2010, 06:27 PM
I do have an account under the ASP.NET 4.0 Hosting Sandbox Program. I was able to build a project onto a URL under that sandbox program successfully with Visual Studio 2010 Beta 2 and hope that there will be one time at which DiscountASP.NET servers (not under labs) will be upgraded to work with Visual Studio 2010 final edition.

Thank you very much Bruce for the assistance.

Mike

Were you able to make it work for you,

I'm in a similar boat and I think im trying to run it with compatibility issues..

I don't even know where to start asking for advice..

mjp
06-30-2010, 11:42 AM
Start with an error message.