none
Help with getting .net Framework 4 running on IIS6 Windows Server 2003

    Question

  • Hi all,

    My server is Windows Server 2003 R2 - Standard 32-bit - Service Pack 2 with IIS 6.0

    We just started using Visual Studio 2012 to convert our existing (and running fine) classic ASP scripts to asp.net. I installed the .net framework 4.0 on the server and I can see it in the IIS Manager, under Web Service Extensions and it is allowed.

    When I publish a project to the server and access the page, I get the following:

    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 18:             during development.
    Line 19:         -->
    Line 20:     <compilation debug="true" targetFramework="4.0"/>
    Line 21:     <!--
    Line 22:           The <authentication> section enables configuration 
    Source File: C:\Inetpub\njcf_private\shopstewards\web.config    Line: 20
    Version Information: Microsoft .NET Framework Version:2.0.50727.3649; ASP.NET Version:2.0.50727.3634

    After looking on line for the past few days and trying various things, I still have this error.  One thing of note, I did try the manually run aspnet_isapi.dll from the 4.0.30319 folder and the log is showing 1 failure:

    2013-08-29 09:31:50            Failure     Creating directory: C:\Inetpub\private\aspnet_client: CreateDirectoryInternal failed with HRESULT 80070003: 'The system cannot find the path specified.  '
    2013-08-29 09:31:50        Failure     Creating list of client site scripts dirs: CreateSiteClientScriptDir failed with HRESULT 80070003: 'The system cannot find the path specified.  '

    Other than that, everything else in the log was completed.

    If anyone can help with this I would greatly appreciate it.

    Thank you,
    George

    Thursday, August 29, 2013 2:26 PM

Answers

All replies