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. issue while running as asp.net application over wan

issue while running as asp.net application over wan

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netsysadminsecurity
13 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.
  • U Offline
    U Offline
    User 11886269
    wrote on last edited by
    #1

    i have requirement of running my application over wan hence i used a fixed ip addres in browser i.e(fixed ipaddress//hostmachineip address//mk(virtual directory)/xyz.aspx(cs file))...and m getting follwing error while accessing my app over wan Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. i infact googled for this n made changes according to the experties advice but not able to overcome this issue ...what's wrong i am doing here?please anyone suggest me best oible solution to overcome this issue. Thanks

    B F 2 Replies Last reply
    0
    • U User 11886269

      i have requirement of running my application over wan hence i used a fixed ip addres in browser i.e(fixed ipaddress//hostmachineip address//mk(virtual directory)/xyz.aspx(cs file))...and m getting follwing error while accessing my app over wan Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. i infact googled for this n made changes according to the experties advice but not able to overcome this issue ...what's wrong i am doing here?please anyone suggest me best oible solution to overcome this issue. Thanks

      B Offline
      B Offline
      Blikkies
      wrote on last edited by
      #2

      Did you convert your site to application in your IIS?

      1 Reply Last reply
      0
      • U User 11886269

        i have requirement of running my application over wan hence i used a fixed ip addres in browser i.e(fixed ipaddress//hostmachineip address//mk(virtual directory)/xyz.aspx(cs file))...and m getting follwing error while accessing my app over wan Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. i infact googled for this n made changes according to the experties advice but not able to overcome this issue ...what's wrong i am doing here?please anyone suggest me best oible solution to overcome this issue. Thanks

        F Offline
        F Offline
        F ES Sitecore
        wrote on last edited by
        #3

        That message is telling you the real message is being hidden. Do what it says and turn custom messages off to see the real error message.

        U 1 Reply Last reply
        0
        • F F ES Sitecore

          That message is telling you the real message is being hidden. Do what it says and turn custom messages off to see the real error message.

          U Offline
          U Offline
          User 11886269
          wrote on last edited by
          #4

          yes i did custoerrors mode =Off in web.config file but not result

          F 1 Reply Last reply
          0
          • U User 11886269

            yes i did custoerrors mode =Off in web.config file but not result

            F Offline
            F Offline
            F ES Sitecore
            wrote on last edited by
            #5

            Then the web config you think your site is using isn't the one that it *is* using so your site\virtual directory is probably misconfigured.

            U 2 Replies Last reply
            0
            • F F ES Sitecore

              Then the web config you think your site is using isn't the one that it *is* using so your site\virtual directory is probably misconfigured.

              U Offline
              U Offline
              User 11886269
              wrote on last edited by
              #6

              but its working fine in LAN but not WAN....hence how should i resolve this issue now..if not configured then it wouldnt have worked over lan ?

              Richard DeemingR 1 Reply Last reply
              0
              • U User 11886269

                but its working fine in LAN but not WAN....hence how should i resolve this issue now..if not configured then it wouldnt have worked over lan ?

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

                Check the application event log on the server. The error should be logged there. We can't see your code, and we can't access your server. Without the error, we can't even begin to tell you what's wrong.


                "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

                U 1 Reply Last reply
                0
                • Richard DeemingR Richard Deeming

                  Check the application event log on the server. The error should be logged there. We can't see your code, and we can't access your server. Without the error, we can't even begin to tell you what's wrong.


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

                  U Offline
                  U Offline
                  User 11886269
                  wrote on last edited by
                  #8

                  Thanks for the response... but when i checked event log on server then found an event called wpn connection failure which is just new to me...what is all about this?

                  Richard DeemingR 1 Reply Last reply
                  0
                  • F F ES Sitecore

                    Then the web config you think your site is using isn't the one that it *is* using so your site\virtual directory is probably misconfigured.

                    U Offline
                    U Offline
                    User 11886269
                    wrote on last edited by
                    #9

                    one more doubt when m accessing my application using fixed ip adddress then i should type in browser as follwow fixed ip adrees//ip address of host machine?? when i did so then got follwing message in 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. since i have installed iis in my host machine in this way if i access my application with above entry then it should show me iis page not the 404 instead?...please correct me if i am wrong....n do help me with solutions. Thanks

                    F 1 Reply Last reply
                    0
                    • U User 11886269

                      one more doubt when m accessing my application using fixed ip adddress then i should type in browser as follwow fixed ip adrees//ip address of host machine?? when i did so then got follwing message in 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. since i have installed iis in my host machine in this way if i access my application with above entry then it should show me iis page not the 404 instead?...please correct me if i am wrong....n do help me with solutions. Thanks

                      F Offline
                      F Offline
                      F ES Sitecore
                      wrote on last edited by
                      #10

                      For your site to be accessible via just the IP the site has to be mapped accordingly so that all requests for the IP go to your site (or all requests in general by leaving the "hostname" empty in the bindings). At the end of the day your site is wrongly configured, we can't access your IIS settings, we don't know how you've set it up. I'd spend some time learning how you configure sites and how IIS works, as just repeatedly saying that your site doesn't work is like phoning a mechanic and saying "My car doesn't work, what's wrong?"

                      U 1 Reply Last reply
                      0
                      • F F ES Sitecore

                        For your site to be accessible via just the IP the site has to be mapped accordingly so that all requests for the IP go to your site (or all requests in general by leaving the "hostname" empty in the bindings). At the end of the day your site is wrongly configured, we can't access your IIS settings, we don't know how you've set it up. I'd spend some time learning how you configure sites and how IIS works, as just repeatedly saying that your site doesn't work is like phoning a mechanic and saying "My car doesn't work, what's wrong?"

                        U Offline
                        U Offline
                        User 11886269
                        wrote on last edited by
                        #11

                        i have already configured my host machine ip address to my router with which host machine is connected with ...hence i just need to type a publice ip address on the browser of remote machine and ip addres of host machine like below public ip address//host machine ip address configured to the router in this way once i type above in remote machine my iis page should be displayed ....but its giving error that serever not found....which is not the case when i am doing the same in LAN ....infact my app is working fine....only while making it work over WAN m getting the issues....please let me know where i am going wrong Thanks

                        1 Reply Last reply
                        0
                        • U User 11886269

                          Thanks for the response... but when i checked event log on server then found an event called wpn connection failure which is just new to me...what is all about this?

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

                          That error is unlikely to be related to the problem. It sounds like the request isn't reaching your server. It's probably a router or firewall configuration issue.


                          "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

                          U 1 Reply Last reply
                          0
                          • Richard DeemingR Richard Deeming

                            That error is unlikely to be related to the problem. It sounds like the request isn't reaching your server. It's probably a router or firewall configuration issue.


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

                            U Offline
                            U Offline
                            User 11886269
                            wrote on last edited by
                            #13

                            ohk thanks for the reply but i have checked it ...n configuration is done perfectly ...anyway will go through firewall settings

                            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