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. And... On another note

And... On another note

Scheduled Pinned Locked Moved ASP.NET
csharphelpasp-netcomsysadmin
7 Posts 4 Posters 1 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.
  • K Offline
    K Offline
    khastings7
    wrote on last edited by
    #1

    I have a client with an ASP.NET web page that was created using c#. It has run for over a year and a half just fine, and now generates an error on the server. The site is www.delcarpenter.com. The error is not always the same error. Now... If you look, it is erroring out trying to get the xml file. If you type the xml file directly as www.delcarpenter.com/homepage.xml... it comes up fine. The server can even open it up fine that way from a web browser. BUT... the page has this issue. TIA...

    S V 2 Replies Last reply
    0
    • K khastings7

      I have a client with an ASP.NET web page that was created using c#. It has run for over a year and a half just fine, and now generates an error on the server. The site is www.delcarpenter.com. The error is not always the same error. Now... If you look, it is erroring out trying to get the xml file. If you type the xml file directly as www.delcarpenter.com/homepage.xml... it comes up fine. The server can even open it up fine that way from a web browser. BUT... the page has this issue. TIA...

      S Offline
      S Offline
      Steven Campbell
      wrote on last edited by
      #2

      I get the error The underlying connection was closed: The remote name could not be resolved. From the stack trace, it looks like the code is accessing some sort of saved xml dataset, not the XML file you mention. It then receives an error when trying to resolve some reference within the file (perhaps the namespace).


      my blog

      K 1 Reply Last reply
      0
      • S Steven Campbell

        I get the error The underlying connection was closed: The remote name could not be resolved. From the stack trace, it looks like the code is accessing some sort of saved xml dataset, not the XML file you mention. It then receives an error when trying to resolve some reference within the file (perhaps the namespace).


        my blog

        K Offline
        K Offline
        khastings7
        wrote on last edited by
        #3

        BTW... I am a systems guy too LOL Steven Campbell wrote: I get the error The underlying connection was closed: The remote name could not be resolved. From the stack trace, it looks like the code is accessing some sort of saved xml dataset, not the XML file you mention. It then receives an error when trying to resolve some reference within the file (perhaps the namespace). Well.. I thot of that. If I copy the site to my local server, it works as is... so It is, as myself and the system admin at the host belive, a system problem. The code hasn't changed since it was installed. And all calls are to the local xml file. If you check around, you may find some of the other pages (they use the same codeing) work. It is one of those.... ephemiral errors. The only reason the content is xml is to save money on the SQL side and to allow the user to change the text. (Not webpage programmers are they) Sooooo.... I am stumped still... Sorry I wasn't more specific about my prior troubleshooting. but if it works on one server and not another... and the code hasn't changed... and it worked for over a year... My bet is system issues... And if you try it a few times... you will eventually get a timeout error.

        S 1 Reply Last reply
        0
        • K khastings7

          BTW... I am a systems guy too LOL Steven Campbell wrote: I get the error The underlying connection was closed: The remote name could not be resolved. From the stack trace, it looks like the code is accessing some sort of saved xml dataset, not the XML file you mention. It then receives an error when trying to resolve some reference within the file (perhaps the namespace). Well.. I thot of that. If I copy the site to my local server, it works as is... so It is, as myself and the system admin at the host belive, a system problem. The code hasn't changed since it was installed. And all calls are to the local xml file. If you check around, you may find some of the other pages (they use the same codeing) work. It is one of those.... ephemiral errors. The only reason the content is xml is to save money on the SQL side and to allow the user to change the text. (Not webpage programmers are they) Sooooo.... I am stumped still... Sorry I wasn't more specific about my prior troubleshooting. but if it works on one server and not another... and the code hasn't changed... and it worked for over a year... My bet is system issues... And if you try it a few times... you will eventually get a timeout error.

          S Offline
          S Offline
          Steven Campbell
          wrote on last edited by
          #4

          Of course it is a system issue -- that was obvious from your first post. (Probably some port has been closed on a firewall, or a new firewall was installed, or a proxy added). Still, it should still be of interest to you to know the actual details of the problem. The error also occurs on the Testimonials link -- so it should be easy to find what is common with the code in these two places (Home and Testimonials).


          my blog

          K 1 Reply Last reply
          0
          • K khastings7

            I have a client with an ASP.NET web page that was created using c#. It has run for over a year and a half just fine, and now generates an error on the server. The site is www.delcarpenter.com. The error is not always the same error. Now... If you look, it is erroring out trying to get the xml file. If you type the xml file directly as www.delcarpenter.com/homepage.xml... it comes up fine. The server can even open it up fine that way from a web browser. BUT... the page has this issue. TIA...

            V Offline
            V Offline
            V 0
            wrote on last edited by
            #5

            Hi, I'm not sure this will help, but you'll never now. Check if the rights on the folder are set correctly. The server has special rights for ASP.NET users (and different ones for normal users). This could explain the difference between using just the webbrowser and using your (ASP.NET) application. It's just an idea, but I hope it helps. "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix

            B 1 Reply Last reply
            0
            • S Steven Campbell

              Of course it is a system issue -- that was obvious from your first post. (Probably some port has been closed on a firewall, or a new firewall was installed, or a proxy added). Still, it should still be of interest to you to know the actual details of the problem. The error also occurs on the Testimonials link -- so it should be easy to find what is common with the code in these two places (Home and Testimonials).


              my blog

              K Offline
              K Offline
              khastings7
              wrote on last edited by
              #6

              Thanx for your help. I guess I just have to rely on the ISP.

              1 Reply Last reply
              0
              • V V 0

                Hi, I'm not sure this will help, but you'll never now. Check if the rights on the folder are set correctly. The server has special rights for ASP.NET users (and different ones for normal users). This could explain the difference between using just the webbrowser and using your (ASP.NET) application. It's just an idea, but I hope it helps. "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix

                B Offline
                B Offline
                Bill Dean
                wrote on last edited by
                #7

                Check to be sure that the localhost\aspnet user has access to the file. By default, asp.net runs as this user.

                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