Click here to Skip to main content
15,895,788 members
Home / Discussions / C#
   

C#

 
GeneralRe: Obtaining a generated hwnd handle without making a window Pin
Heath Stewart4-Jan-05 21:19
protectorHeath Stewart4-Jan-05 21:19 
GeneralRe: Obtaining a generated hwnd handle without making a window Pin
cimnik0295-Jan-05 10:23
cimnik0295-Jan-05 10:23 
GeneralRe: Obtaining a generated hwnd handle without making a window Pin
Heath Stewart5-Jan-05 14:52
protectorHeath Stewart5-Jan-05 14:52 
GeneralEmail Problem Pin
Julianne_juju4-Jan-05 15:16
Julianne_juju4-Jan-05 15:16 
GeneralRe: Email Problem Pin
Heath Stewart4-Jan-05 20:37
protectorHeath Stewart4-Jan-05 20:37 
GeneralRe: Email Problem Pin
Julianne_juju6-Jan-05 6:17
Julianne_juju6-Jan-05 6:17 
GeneralWSE 2.0 and Encryption Pin
Bill Dean4-Jan-05 14:48
Bill Dean4-Jan-05 14:48 
GeneralRe: WSE 2.0 and Encryption Pin
Heath Stewart4-Jan-05 20:31
protectorHeath Stewart4-Jan-05 20:31 
Bill Dean wrote:
I keep getting an error message saying that the key is bad when WSE 2.0 attempts the encryption.

Please be specific: what is the exception type and message? What are you doing in code when the exception is thrown?

Without this information, I can only guess that you're having one of three problems:
  1. The X.509 certificate is not signed with the necessary OIDs that identify the certificate for client and/or server authentication.
  2. Since you made this certificate yourself, you most likely used a self-signing certificate authority (CA). You must add the CA to the trusted certificate store for the machine.
  3. The ceritifcate is not accessible because you've stored the private key into another user's ceritifcate store (like your local user's or the administrative store), or because the ASPNET user accountcannot access private keys by default and you're not impersonating another user (or running ASP.NET under a different user context).
I'm going to assume that since you have WSE 2.0 installed you have the Help 2 topics installed as well, so please read ms-help://MS.WSE20.1033/wse/html/34caf185-5484-42b3-98ea-3f17f3fc1f16.htm[^] and follow the links for more information.

If you post the specific exception type and message - as well as any other relevent data or code - we may be able to provide a better answer.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: WSE 2.0 and Encryption Pin
Bill Dean5-Jan-05 3:26
Bill Dean5-Jan-05 3:26 
GeneralRe: WSE 2.0 and Encryption Pin
Heath Stewart5-Jan-05 7:09
protectorHeath Stewart5-Jan-05 7:09 
GeneralRe: WSE 2.0 and Encryption Pin
Bill Dean5-Jan-05 9:35
Bill Dean5-Jan-05 9:35 
GeneralRe: WSE 2.0 and Encryption Pin
Heath Stewart5-Jan-05 14:51
protectorHeath Stewart5-Jan-05 14:51 
GeneralRe: WSE 2.0 and Encryption Pin
Bill Dean6-Jan-05 4:36
Bill Dean6-Jan-05 4:36 
GeneralSocket receiving too slowly Pin
tantiboh4-Jan-05 13:51
tantiboh4-Jan-05 13:51 
GeneralRe: Socket receiving too slowly Pin
Heath Stewart4-Jan-05 20:17
protectorHeath Stewart4-Jan-05 20:17 
GeneralRe: Socket receiving too slowly Pin
tantiboh5-Jan-05 18:52
tantiboh5-Jan-05 18:52 
GeneralXmodem implimentation Pin
therealmccoy4-Jan-05 12:35
therealmccoy4-Jan-05 12:35 
GeneralRe: Xmodem implimentation Pin
Heath Stewart4-Jan-05 13:37
protectorHeath Stewart4-Jan-05 13:37 
GeneralRe: Xmodem implimentation Pin
therealmccoy4-Jan-05 14:29
therealmccoy4-Jan-05 14:29 
GeneralRe: Xmodem implimentation Pin
Heath Stewart4-Jan-05 20:12
protectorHeath Stewart4-Jan-05 20:12 
GeneralString output in C# from a C++ dll Pin
vinayakdl4-Jan-05 12:29
vinayakdl4-Jan-05 12:29 
GeneralRe: String output in C# from a C++ dll Pin
Heath Stewart4-Jan-05 13:34
protectorHeath Stewart4-Jan-05 13:34 
GeneralRe: String output in C# from a C++ dll Pin
vinayakdl5-Jan-05 4:53
vinayakdl5-Jan-05 4:53 
GeneralRe: String output in C# from a C++ dll Pin
Heath Stewart5-Jan-05 7:04
protectorHeath Stewart5-Jan-05 7:04 
GeneralRe: String output in C# from a C++ dll Pin
vinayakdl6-Jan-05 9:55
vinayakdl6-Jan-05 9:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.