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. The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))

The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))

Scheduled Pinned Locked Moved ASP.NET
csharpsysadminhelpquestion
6 Posts 3 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.
  • B Offline
    B Offline
    Bajrang Singh
    wrote on last edited by
    #1

    Hi , I am facing an error from a long time. My web application some times gives error 'The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))' on server. I never comes on production server. Then I just upload the bin folder again on server and it starts running fine. I don't know what is the actual reason behind this. Some experts suggested Min pool size =1, I applied that but no luck. I have attached error image. Please let me know if you have any clue thanks

    Bajrang Singh Using .net 2.0 (VS2005)

    A T 2 Replies Last reply
    0
    • B Bajrang Singh

      Hi , I am facing an error from a long time. My web application some times gives error 'The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))' on server. I never comes on production server. Then I just upload the bin folder again on server and it starts running fine. I don't know what is the actual reason behind this. Some experts suggested Min pool size =1, I applied that but no luck. I have attached error image. Please let me know if you have any clue thanks

      Bajrang Singh Using .net 2.0 (VS2005)

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

      Bajrang Singh wrote:

      I have attached error image.

      Where is the link ? Could you please share so that we can check ?

      Cheers ! Abhijit Jana | My Blog | @Twitter | Disclaimer

      1 Reply Last reply
      0
      • B Bajrang Singh

        Hi , I am facing an error from a long time. My web application some times gives error 'The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))' on server. I never comes on production server. Then I just upload the bin folder again on server and it starts running fine. I don't know what is the actual reason behind this. Some experts suggested Min pool size =1, I applied that but no luck. I have attached error image. Please let me know if you have any clue thanks

        Bajrang Singh Using .net 2.0 (VS2005)

        T Offline
        T Offline
        T M Gray
        wrote on last edited by
        #3

        Usually getting errors with an HRESULT is from when you are doing InterOp with non .Net code. Is there anything else you can tell us about the code?

        B 1 Reply Last reply
        0
        • T T M Gray

          Usually getting errors with an HRESULT is from when you are doing InterOp with non .Net code. Is there anything else you can tell us about the code?

          B Offline
          B Offline
          Bajrang Singh
          wrote on last edited by
          #4

          May be you are right. Actually I am using rackspace cloud storage and It needs .net 3.5 framework, Though I am using VS 2008 at my local PC but hosting server .net 2.0 is used. and it runs fine there on hosting server also. after 1-2 days it gives this error. One more thing my Local IIS server is also using asp 2.0 version but it never gives error like this. Any clue? Thanks in advance

          Bajrang Singh Using .net 2.0 (VS2005)

          T 1 Reply Last reply
          0
          • B Bajrang Singh

            May be you are right. Actually I am using rackspace cloud storage and It needs .net 3.5 framework, Though I am using VS 2008 at my local PC but hosting server .net 2.0 is used. and it runs fine there on hosting server also. after 1-2 days it gives this error. One more thing my Local IIS server is also using asp 2.0 version but it never gives error like this. Any clue? Thanks in advance

            Bajrang Singh Using .net 2.0 (VS2005)

            T Offline
            T Offline
            T M Gray
            wrote on last edited by
            #5

            Your test and development environments should always match the production environment in terms of framework version and IIS version. But aside from that you didn't say anything about the code. What does the code do? Does it always crash on the same page? Can you figure out what line or at least what method is cauing the error?

            B 1 Reply Last reply
            0
            • T T M Gray

              Your test and development environments should always match the production environment in terms of framework version and IIS version. But aside from that you didn't say anything about the code. What does the code do? Does it always crash on the same page? Can you figure out what line or at least what method is cauing the error?

              B Offline
              B Offline
              Bajrang Singh
              wrote on last edited by
              #6

              Thanks Gray for reply. Since error comes on server, I am not able to get the exact line or page but once this error comes, it starts showing on all pages. but funny thing is that when server stops and starts again, it start working fine again. (I just renamed the web.config so site stop working and then undo renaming to start the server, and site starts working fine) Do not know the exact problem,

              Bajrang Singh Using .net 2.0 (VS2005)

              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