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