locked
Parser Error Message: Unrecognized attribute 'type'. RRS feed

  • Question

  • User-2079787324 posted

    Dear All,

    I got a shared folder from our administrator and asked me to copy my published website to it. 

    I did so and got the below 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 'type'.

     

    Source Error: 

     

    Line 10: <configuration>

    Line 11:   <configSections>

    Line 12:     <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

    Line 13:       <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

    Line 14:         <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

     

    Source File: E:\WebRoot\Ext-Website\vegas\web.config    Line: 12 

    Tuesday, May 6, 2014 5:41 AM

Answers

  • User-2079787324 posted

    I found the answer by going through th below steps

    Create Virtual Directories in IIS 5.0  
    1. Click Start, point to Programs, click to select Administrative Tools, and then click Internet Services Manager.
    2. Expand the server name.
    3. In the left pane, right-click Default Web Site, point to New, and then click Virtual Directory.
    4. In the first screen of the Virtual Directory Creation Wizard, type an alias, or name, for the virtual directory (such as MyWebData), and then click Next.
    5. In the second screen, click Browse. Locate the content folder that you created to hold the content. Click Next.
    6. In the third screen, click to select Read and Run scripts (such as ASP). Make sure that the other check boxes are cleared. Click Finish to complete the wizard.
    7. For ASP content, you may want to confirm that an application was created. To do this, right-click the new virtual directory, and then click Properties.
    8. On the Virtual Directory tab, make sure that the virtual directory name is listed in the Application Name box under Application Settings. If it is not, click Create. Note that the application name does not have to match the virtual directory alias. 
    9. Close the Properties dialog box.
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, May 11, 2014 8:00 AM

All replies

  • User-166373564 posted

    Hi roma_victa,

    Parser Error Message: Unrecognized attribute 'type'... 

    According to the error message, please check whether you set the correct version of the ASP.NET framework for the app in IIS.

    If you have any concern, please let me know.

    Regards

    Angie

    Tuesday, May 6, 2014 11:24 PM
  • User-2079787324 posted

    I have downgraded it to framework 2.0 but receved the following error

    Server Error in '/vegas' 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 configuration section 'connectionStrings'
    
    Source Error: 
    
    Line 10: <configuration>
    Line 11:   <appSettings/>
    Line 12:   <connectionStrings/>
    Line 13:   <system.web>
    Line 14:     <httpRuntime executionTimeout="600" maxRequestLength="102400"/>
    
    Source File: E:\WebRoot\Ext-Website\vegas\web.config    Line: 12 
    ________________________________________
    Version Information: Microsoft .NET Framework Version:1.1.4322.2504; ASP.NET Version:1.1.4322.2505
    

    Wednesday, May 7, 2014 5:53 AM
  • User-2079787324 posted

    After removing the connection tag i got the following error

    After removing the tag:

     

    Server Error in '/vegas' Application.


    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Could not load the assembly 'App_Web_mblgkt35'. Make sure that it is compiled before accessing the page.

    Source Error:

     

    Line 1:  <%@ page language="C#" autoeventwireup="true" inherits="Default2, App_Web_mblgkt35" %>

    Line 2: 

    Line 3:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


    Source File: E:\WebRoot\Ext-Website\vegas\Default2.aspx    Line: 1


    Version Information: Microsoft .NET Framework Version:1.1.4322.2504; ASP.NET Version:1.1.4322.2505

     

    Wednesday, May 7, 2014 5:56 AM
  • User-2079787324 posted

    I found the answer by going through th below steps

    Create Virtual Directories in IIS 5.0  
    1. Click Start, point to Programs, click to select Administrative Tools, and then click Internet Services Manager.
    2. Expand the server name.
    3. In the left pane, right-click Default Web Site, point to New, and then click Virtual Directory.
    4. In the first screen of the Virtual Directory Creation Wizard, type an alias, or name, for the virtual directory (such as MyWebData), and then click Next.
    5. In the second screen, click Browse. Locate the content folder that you created to hold the content. Click Next.
    6. In the third screen, click to select Read and Run scripts (such as ASP). Make sure that the other check boxes are cleared. Click Finish to complete the wizard.
    7. For ASP content, you may want to confirm that an application was created. To do this, right-click the new virtual directory, and then click Properties.
    8. On the Virtual Directory tab, make sure that the virtual directory name is listed in the Application Name box under Application Settings. If it is not, click Create. Note that the application name does not have to match the virtual directory alias. 
    9. Close the Properties dialog box.
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, May 11, 2014 8:00 AM