I'm moving some code help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rafael Tejera

    I'm moving some code help

    I'm moving some code from my old pc. I'm using VS NET 2003 C# and MSSQL 2003. Everything is in place, but I'm receiving this error messages.

    thansk for you help...



    Here is the error message:


    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: It is an error to use a section registered as allowDefinition ='MachineToAppl ication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

    Source Error:

    Line 39: by Microsoft that offers a single logon and core profile services for member sites.
    Line 40: -->
    Line 41: <authenticati on mode="Windows" /
    Line 42:
    Line 43: <!-- AUTHORIZATION

    Source File: c:\inetpub\wwwr oot\application 1\web.config Line: 41


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.432 2.2300; ASP.NET Version:1.1.432 2.2300
  • Mel

    #2
    Re: I'm moving some code help

    You need to create your virtual directory is IIS.


    "Rafael Tejera" <rafaeltejera@h otmail.comwrote in message news:uuuTE9c1GH A.4448@TK2MSFTN GP04.phx.gbl...
    I'm moving some code from my old pc. I'm using VS NET 2003 C# and MSSQL 2003. Everything is in place, but I'm receiving this error messages.

    thansk for you help...



    Here is the error message:


    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: It is an error to use a section registered as allowDefinition ='MachineToAppl ication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

    Source Error:

    Line 39: by Microsoft that offers a single logon and core profile services for member sites.
    Line 40: -->
    Line 41: <authenticati on mode="Windows" /
    Line 42:
    Line 43: <!-- AUTHORIZATION

    Source File: c:\inetpub\wwwr oot\application 1\web.config Line: 41


    ------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.432 2.2300; ASP.NET Version:1.1.432 2.2300

    Comment

    • Rafael Tejera

      #3
      Re: I'm moving some code help

      I did create the Virtual directory.

      What else I can try?


      Rafael

      "Mel" <Mel.RemoveSpam @insdirect.comw rote in message news:uK3yrtd1GH A.3476@TK2MSFTN GP04.phx.gbl...
      You need to create your virtual directory is IIS.


      "Rafael Tejera" <rafaeltejera@h otmail.comwrote in message news:uuuTE9c1GH A.4448@TK2MSFTN GP04.phx.gbl...
      I'm moving some code from my old pc. I'm using VS NET 2003 C# and MSSQL 2003. Everything is in place, but I'm receiving this error messages.

      thansk for you help...



      Here is the error message:


      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: It is an error to use a section registered as allowDefinition ='MachineToAppl ication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

      Source Error:

      Line 39: by Microsoft that offers a single logon and core profile services for member sites.
      Line 40: -->
      Line 41: <authenticati on mode="Windows" /
      Line 42:
      Line 43: <!-- AUTHORIZATION

      Source File: c:\inetpub\wwwr oot\application 1\web.config Line: 41


      ----------------------------------------------------------------------------
      Version Information: Microsoft .NET Framework Version:1.1.432 2.2300; ASP.NET Version:1.1.432 2.2300

      Comment

      • Kevin Spencer

        #4
        Re: I'm moving some code help

        Is the virtual directory configured as an application?

        --
        HTH,

        Kevin Spencer
        Microsoft MVP
        Chicken Salad Surgery

        What You Seek Is What You Get.

        "Rafael Tejera" <rafaeltejera@h otmail.comwrote in message
        news:O9wQa%23d1 GHA.4796@TK2MSF TNGP06.phx.gbl. ..
        I did create the Virtual directory.

        What else I can try?


        Rafael

        "Mel" <Mel.RemoveSpam @insdirect.comw rote in message
        news:uK3yrtd1GH A.3476@TK2MSFTN GP04.phx.gbl...
        You need to create your virtual directory is IIS.


        "Rafael Tejera" <rafaeltejera@h otmail.comwrote in message
        news:uuuTE9c1GH A.4448@TK2MSFTN GP04.phx.gbl...
        I'm moving some code from my old pc. I'm using VS NET 2003 C# and MSSQL
        2003. Everything is in place, but I'm receiving this error messages.

        thansk for you help...



        Here is the error message:


        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: It is an error to use a section registered as
        allowDefinition ='MachineToAppl ication' beyond application level. This error
        can be caused by a virtual directory not being configured as an application
        in IIS.

        Source Error:

        Line 39: by Microsoft that offers a single logon and core profile
        services for member sites.
        Line 40: -->
        Line 41: <authenticati on mode="Windows" />
        Line 42:
        Line 43: <!-- AUTHORIZATION

        Source File: c:\inetpub\wwwr oot\application 1\web.config Line: 41


        ----------------------------------------------------------------------------
        Version Information: Microsoft .NET Framework Version:1.1.432 2.2300;
        ASP.NET Version:1.1.432 2.2300


        Comment

        • Rafael Tejera

          #5
          Re: I'm moving some code help

          Now I'm receiving this error:


          Server Error in '/myapp' Application.
          --------------------------------------------------------------------------------

          Security Exception
          Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

          Exception Details: System.Security .SecurityExcept ion: Requested registry access is not allowed.

          Source Error:


          An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


          Stack Trace:


          [SecurityExcepti on: Requested registry access is not allowed.]
          Microsoft.Win32 .RegistryKey.Op enSubKey(String name, Boolean writable) +473
          System.Diagnost ics.EventLog.Cr eateEventSource (String source, String logName, String machineName, Boolean useMutex) +443
          System.Diagnost ics.EventLog.Wr iteEntry(String message, EventLogEntryTy pe type, Int32 eventID, Int16 category, Byte[] rawData) +347
          System.Diagnost ics.EventLog.Wr iteEntry(String message, EventLogEntryTy pe type, Int32 eventID, Int16 category) +21
          System.Diagnost ics.EventLog.Wr iteEntry(String message, EventLogEntryTy pe type, Int32 eventID) +15
          System.Diagnost ics.EventLog.Wr iteEntry(String message, EventLogEntryTy pe type) +11
          MedWeb_CCHD.def aultform.bnLogo n_Click(Object sender, EventArgs e) +3651
          System.Web.UI.W ebControls.Butt on.OnClick(Even tArgs e) +108
          System.Web.UI.W ebControls.Butt on.System.Web.U I.IPostBackEven tHandler.RaiseP ostBackEvent(St ring eventArgument) +58
          System.Web.UI.P age.RaisePostBa ckEvent(IPostBa ckEventHandler sourceControl, String eventArgument) +18
          System.Web.UI.P age.RaisePostBa ckEvent(NameVal ueCollection postData) +33
          System.Web.UI.P age.ProcessRequ estMain() +2112
          System.Web.UI.P age.ProcessRequ est() +218
          System.Web.UI.P age.ProcessRequ est(HttpContext context) +18
          System.Web.Call HandlerExecutio nStep.System.We b.HttpApplicati on+IExecutionSt ep.Execute() +179
          System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean& completedSynchr onously) +87





          --------------------------------------------------------------------------------

          Version Information: Microsoft .NET Framework Version:1.1.432 2.2300; ASP.NET Version:1.1.432 2.2300




          Sincerely,



          Rafael

          "Kevin Spencer" <uce@ftc.govwro te in message news:uM9S6Re1GH A.3908@TK2MSFTN GP05.phx.gbl...
          Is the virtual directory configured as an application?

          --
          HTH,

          Kevin Spencer
          Microsoft MVP
          Chicken Salad Surgery

          What You Seek Is What You Get.

          "Rafael Tejera" <rafaeltejera@h otmail.comwrote in message
          news:O9wQa%23d1 GHA.4796@TK2MSF TNGP06.phx.gbl. ..
          I did create the Virtual directory.

          What else I can try?


          Rafael

          "Mel" <Mel.RemoveSpam @insdirect.comw rote in message
          news:uK3yrtd1GH A.3476@TK2MSFTN GP04.phx.gbl...
          You need to create your virtual directory is IIS.


          "Rafael Tejera" <rafaeltejera@h otmail.comwrote in message
          news:uuuTE9c1GH A.4448@TK2MSFTN GP04.phx.gbl...
          I'm moving some code from my old pc. I'm using VS NET 2003 C# and MSSQL
          2003. Everything is in place, but I'm receiving this error messages.

          thansk for you help...



          Here is the error message:


          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: It is an error to use a section registered as
          allowDefinition ='MachineToAppl ication' beyond application level. This error
          can be caused by a virtual directory not being configured as an application
          in IIS.

          Source Error:

          Line 39: by Microsoft that offers a single logon and core profile
          services for member sites.
          Line 40: -->
          Line 41: <authenticati on mode="Windows" />
          Line 42:
          Line 43: <!-- AUTHORIZATION

          Source File: c:\inetpub\wwwr oot\application 1\web.config Line: 41


          ----------------------------------------------------------------------------
          Version Information: Microsoft .NET Framework Version:1.1.432 2.2300;
          ASP.NET Version:1.1.432 2.2300


          Comment

          Working...