473,473 Members | 1,818 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

m_safeCertContext is an invalid handle

Hi,
I am trying to add a webreference to one of our webservices running on
SSL. I got the following error :

There was an error downloading
'https://server/mywebservices/myservice.asmx'.

The underlying connection was closed: An unexpected error occurred on a
receive.

m_safeCertContext is an invalid handle.

-------------------------------------------------------------
I am able to browse the webservice through my browser.
Can anybody point me as to why i am getting this error and what is the
resolution for the error. I am using VS 2005 IDE.

Thanks in advance.

angsram.

Mar 9 '06 #1
1 12428
This is because of difference in the name of the certificate and name
of machine. Try creating a certificate with same name as the machine
name and install it and try adding the web reference. Make sure that
the Enable SSL checkbox is checked on the default website of IIS.

Mar 14 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Shivonne | last post by:
Hi all I am trying to execute a WebDAV query against a webmail Exchange inbox using XMLHttp but I keep getting an error stating "The handle is invalid" when I call the send() method. My code...
0
by: nek | last post by:
Would anyone have any ideas or come across the 'invalid handle' problem? Even after setting diaglevel=4, I could not get much out of the db2diag.log to diagnose the problem. The only thing I...
3
by: Frank Perry | last post by:
Howdy, I'm trying to write data out the com port. I have taken the code from the sample on the MSDN Library CD and used the parts that seem relevant. I can open the com port with CreateFile...
2
by: Schorschi | last post by:
Can't seemd to get ReadFile API to work! Returns invalid handle error? =========================================================================== Ok, the visual basic gurus, help! The...
0
by: Jay | last post by:
Hey There, When I run the code below, I get the error "The handle is invalid." .. This is output in the 2nd fprintf. The first one gives me a success message. What could be causing this? -Jay...
0
by: Tim_k | last post by:
I'm getting this error from Visual Studio 2005 when I do an Add Web Reference. I'm trying to connect to a web service from mQube. I can access the service through an http post in a browser so I...
1
by: sranger | last post by:
When I try to use a System.IO.Ports.SerialPort object to read from a serial port, half of the time I have no problems. However, after I successfully read from the serial port, then close the...
6
by: MIUSS | last post by:
Hello I got an unusual problem and I don't know how to solve it out. I need to get success with the handle variable hFile. It's not problem 'til I use wcscpy(...). I mean, when I take out...
1
by: SmileWithMe | last post by:
IDE: Visual C++6.0 Project: MFC application I came across a fuzzy problem.When I shut down my program in Debug mode,it g ive me the following words: First-chance exception invalid …………:Invalid...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.