Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. C# .Net Core error : server error in '/' application

C# .Net Core error : server error in '/' application

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpannouncementasp-netdotnetsysadmin
12 Posts 4 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member_15148322
    wrote on last edited by
    #1

    Here is the message that pops up when i try to run my code in C# server error: in :application specified web pages version "3.0.0.0" could not be found. update your web.config to specify a different version. current version: "2.0.0.0:"

    L M C 3 Replies Last reply
    0
    • M Member_15148322

      Here is the message that pops up when i try to run my code in C# server error: in :application specified web pages version "3.0.0.0" could not be found. update your web.config to specify a different version. current version: "2.0.0.0:"

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Probably a good idea to do what the message tells you.

      1 Reply Last reply
      0
      • M Member_15148322

        Here is the message that pops up when i try to run my code in C# server error: in :application specified web pages version "3.0.0.0" could not be found. update your web.config to specify a different version. current version: "2.0.0.0:"

        M Offline
        M Offline
        Member_15148322
        wrote on last edited by
        #3

        I have tried that and it seems its leading me to more errors

        Richard DeemingR 1 Reply Last reply
        0
        • M Member_15148322

          I have tried that and it seems its leading me to more errors

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #4

          There's a secret error somewhere in your secret code. You should fix that. Seriously, how do you expect anyone to be able to help you based on the complete lack of information you've provided? :wtf:


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          M 1 Reply Last reply
          0
          • Richard DeemingR Richard Deeming

            There's a secret error somewhere in your secret code. You should fix that. Seriously, how do you expect anyone to be able to help you based on the complete lack of information you've provided? :wtf:


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            M Offline
            M Offline
            Member_15148322
            wrote on last edited by
            #5

            So sorry for that here is the thang: I cant take a pic of it 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: The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral. publicKey=31bf3856ad364e35" could not be located. ... to add to that.. the web.config and packages.config are ticked red

            Richard DeemingR M 2 Replies Last reply
            0
            • M Member_15148322

              So sorry for that here is the thang: I cant take a pic of it 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: The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral. publicKey=31bf3856ad364e35" could not be located. ... to add to that.. the web.config and packages.config are ticked red

              Richard DeemingR Offline
              Richard DeemingR Offline
              Richard Deeming
              wrote on last edited by
              #6

              You either haven't installed the Microsoft.CodeDom.Providers.DotNetCompilerPlatform package, or the version you have installed doesn't match the version specified in your web.config file.


              "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

              "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

              M 1 Reply Last reply
              0
              • M Member_15148322

                So sorry for that here is the thang: I cant take a pic of it 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: The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral. publicKey=31bf3856ad364e35" could not be located. ... to add to that.. the web.config and packages.config are ticked red

                M Offline
                M Offline
                Member_15148322
                wrote on last edited by
                #7

                Thank you so much man... now there is another error displaying after installing Server Error in'/' Application Parse Error Message: vould not load type 'NPA.MvcApplication'

                1 Reply Last reply
                0
                • Richard DeemingR Richard Deeming

                  You either haven't installed the Microsoft.CodeDom.Providers.DotNetCompilerPlatform package, or the version you have installed doesn't match the version specified in your web.config file.


                  "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                  M Offline
                  M Offline
                  Member_15148322
                  wrote on last edited by
                  #8

                  Thanks Richard i have tried to install and now i am getting a different error gain. Thanks for your help..this is the new error Server Error in'/' 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 and modify your source file appropriately. Parse Error Message: Could not load type 'NPA.MvcApplication'

                  Richard DeemingR 1 Reply Last reply
                  0
                  • M Member_15148322

                    Thanks Richard i have tried to install and now i am getting a different error gain. Thanks for your help..this is the new error Server Error in'/' 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 and modify your source file appropriately. Parse Error Message: Could not load type 'NPA.MvcApplication'

                    Richard DeemingR Offline
                    Richard DeemingR Offline
                    Richard Deeming
                    wrote on last edited by
                    #9

                    You have an error in your Global.asax file - it doesn't match the Global.asax.cs class definition.


                    "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                    "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                    M 1 Reply Last reply
                    0
                    • Richard DeemingR Richard Deeming

                      You have an error in your Global.asax file - it doesn't match the Global.asax.cs class definition.


                      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                      M Offline
                      M Offline
                      Member_15148322
                      wrote on last edited by
                      #10

                      thank you for your responses. HOW DO I GO ABOUT CORRECTING THE ERROR

                      Richard DeemingR 1 Reply Last reply
                      0
                      • M Member_15148322

                        thank you for your responses. HOW DO I GO ABOUT CORRECTING THE ERROR

                        Richard DeemingR Offline
                        Richard DeemingR Offline
                        Richard Deeming
                        wrote on last edited by
                        #11

                        Fix your code so that the class name matches.


                        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                        "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                        1 Reply Last reply
                        0
                        • M Member_15148322

                          Here is the message that pops up when i try to run my code in C# server error: in :application specified web pages version "3.0.0.0" could not be found. update your web.config to specify a different version. current version: "2.0.0.0:"

                          C Offline
                          C Offline
                          C0ding_j3ff
                          wrote on last edited by
                          #12

                          In my opinion there's a strange error in the message you're receiving. It shouldn't say that because what is describing has nothing to do with running your code.

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups