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. Web Development
  3. ASP.NET
  4. webconfig error in webhosting server

webconfig error in webhosting server

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netdatabasesysadmin
21 Posts 4 Posters 0 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.
  • P Paddy Boyd

    Have you tried doing what the message suggests and changing the error settings to permit you to see the actual error remotely?

    P Offline
    P Offline
    pavanip
    wrote on last edited by
    #10

    I tried that way also.i tried with custom error mode On, Off,Remoteonly For above all i am getting the same error.when i put html file in that folder it is opening correctly, that is the error for only aspx pages.

    M 1 Reply Last reply
    0
    • A Abhijit Jana

      How did you deploy the side ? Did you published it first then deploy or what ?

      cheers, Abhijit

      P Offline
      P Offline
      pavanip
      wrote on last edited by
      #11

      I directly deployed, didn't publish it

      A 1 Reply Last reply
      0
      • P pavanip

        I directly deployed, didn't publish it

        A Offline
        A Offline
        Abhijit Jana
        wrote on last edited by
        #12

        pavanip wrote:

        I directly deployed, didn't publish it

        Just do one thing, Publish it from VS. then copy the Precompiled Web into IIS , then create virtual Directory . Hope that will resolve your problem. Good luck !!

        cheers, Abhijit

        P 1 Reply Last reply
        0
        • A Abhijit Jana

          pavanip wrote:

          I directly deployed, didn't publish it

          Just do one thing, Publish it from VS. then copy the Precompiled Web into IIS , then create virtual Directory . Hope that will resolve your problem. Good luck !!

          cheers, Abhijit

          P Offline
          P Offline
          pavanip
          wrote on last edited by
          #13

          ok. I will try it.Thanks for your quick response.

          A 1 Reply Last reply
          0
          • P pavanip

            ok. I will try it.Thanks for your quick response.

            A Offline
            A Offline
            Abhijit Jana
            wrote on last edited by
            #14

            Please let me know when done !!!

            cheers, Abhijit

            P 1 Reply Last reply
            0
            • A Abhijit Jana

              Please let me know when done !!!

              cheers, Abhijit

              P Offline
              P Offline
              pavanip
              wrote on last edited by
              #15

              I tried you suggested way.Now web config error is not coming but aspx pages are not opening.only html are displying.

              A 1 Reply Last reply
              0
              • P pavanip

                I tried you suggested way.Now web config error is not coming but aspx pages are not opening.only html are displying.

                A Offline
                A Offline
                Abhijit Jana
                wrote on last edited by
                #16

                :omg: :wtf:

                pavanip wrote:

                but aspx pages are not opening.only html are displying.

                Why ? Is there any error coming ? Please verify the path for aspx page. It will work fine !!!

                cheers, Abhijit

                P P 2 Replies Last reply
                0
                • A Abhijit Jana

                  :omg: :wtf:

                  pavanip wrote:

                  but aspx pages are not opening.only html are displying.

                  Why ? Is there any error coming ? Please verify the path for aspx page. It will work fine !!!

                  cheers, Abhijit

                  P Offline
                  P Offline
                  Paddy Boyd
                  wrote on last edited by
                  #17

                  By which he maybe means he's getting the error first described... Plain HTML page will open fine, as it's not suffering from the same problem as the .net pages...

                  1 Reply Last reply
                  0
                  • A Abhijit Jana

                    :omg: :wtf:

                    pavanip wrote:

                    but aspx pages are not opening.only html are displying.

                    Why ? Is there any error coming ? Please verify the path for aspx page. It will work fine !!!

                    cheers, Abhijit

                    P Offline
                    P Offline
                    pavanip
                    wrote on last edited by
                    #18

                    thanks for your great response. When i open aspx pages "page can not be displayed error is coming". i followed these steps to create virtual directory in web hosting server web options->select domain->web directories settings->Add->we directory name,web directory path(virtual directory path),Authentication level(Anonymous access),Execute permissions(scripts and Executables),and Allow read access. I set these settings for virtual directory.if anything wrong in that can you please tell me the procedure to create virtual directory Or can i change any other setting in hosting server?

                    1 Reply Last reply
                    0
                    • P pavanip

                      I tried that way also.i tried with custom error mode On, Off,Remoteonly For above all i am getting the same error.when i put html file in that folder it is opening correctly, that is the error for only aspx pages.

                      M Offline
                      M Offline
                      Ma tju
                      wrote on last edited by
                      #19

                      Make sure you select the correct asp.net version under Default Web Site Properties, ASP.NET tab, ASP.NET version

                      ma tju Pengaturcara Perisian Subang Jaya,Selangor, Malaysia Ring Master SB MVP 2008 ;p Subang Jaya MOP (Otai)

                      P 2 Replies Last reply
                      0
                      • M Ma tju

                        Make sure you select the correct asp.net version under Default Web Site Properties, ASP.NET tab, ASP.NET version

                        ma tju Pengaturcara Perisian Subang Jaya,Selangor, Malaysia Ring Master SB MVP 2008 ;p Subang Jaya MOP (Otai)

                        P Offline
                        P Offline
                        pavanip
                        wrote on last edited by
                        #20

                        I checked in my hosting server,I used the correct aspnet version in hosting server.

                        1 Reply Last reply
                        0
                        • M Ma tju

                          Make sure you select the correct asp.net version under Default Web Site Properties, ASP.NET tab, ASP.NET version

                          ma tju Pengaturcara Perisian Subang Jaya,Selangor, Malaysia Ring Master SB MVP 2008 ;p Subang Jaya MOP (Otai)

                          P Offline
                          P Offline
                          pavanip
                          wrote on last edited by
                          #21

                          I am telling my special thanks to Abjit jana,Paddy boyd and ma Tju. i solved my problem with your suggestions. Problem with complilation in my visual studio.I tried it from some other system its working. I am very thankful to codeproject.

                          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