|
by: Peter Steele |
last post by:
We have an application that when it runs in the IDE in debug mode an
unhandled exception is occurring in a system header file associated with STL
stirngs. The actual statement that crashes is
return ::memcmp(_First1, _First2, _Count);
On inspecting these variables, the strings are in fact equal when the
exception occurs and _Count is the right size. As a test I replaced this
code in the system include file with a for loop to do the...
|
by: Nick Flandry |
last post by:
I'm running into an Invalid Cast Exception on an ASP.NET application that runs fine in my
development environment (Win2K server running IIS 5) and a test environment (also Win2K server
running IIS 5), but fails on IIS 6 running on a Win2003 server.
The web uses Pages derived from a custom class I wrote (which itself derives from Page) to provide
some common functionality. The Page_Load handler the failing webpage starts out like this:
...
|
by: Val |
last post by:
From: "Val Mazur" <group51a@hotmail.com>
Subject: Exception has been thrown by the target of an invocation
Date: Monday, June 06, 2005 2:01 PM
Hi guys,
For some reason when application tries to load signed XML into the SignedXml
using LoadXml method, then it generates next exception despite the fact that
signed XML is valid. But it happens only in ASP.NET environement.
Same code runs fine on a same PC if it is a Windows application....
|
by: Søren Dreijer |
last post by:
Hi,
I have a mixed C#, managed C++ and unmanaged C++ project.
The managed class calls a method which exists in an unmanaged singleton
class. During the entire lifetime of the application, this gives no problems
whatsoever. However, upon shutdown an exception pops up:
"The string binding is invalid"
If I call the singleton method from inside a purely unmanaged class, I
|
by: Ismail Fatih Yýldýrým |
last post by:
I modified the RSACSPSample from MSDN to try out a simple commutative
encryption model using RSA encryption but when i run the progrem the first
encryption command works but during the second encryption command (line :
encryptedData2 = RSAE...) i get a "Key not valid for use in specified
state." exception error even though i provide a valid second key to encrypt
it. How can i overcome this error and get double encryption to work ?
The...
|
|
by: =?Utf-8?B?R2FicmllbCBNw6luZGV6?= |
last post by:
Hello everyone.
I have a small class that encapsulates some functionallity to work with the
RSACryptoServiceProvider. Here is the code of the class i'm using:
public class dsRSA
{
private RSACryptoServiceProvider objRSA = null;
public dsRSA(string keyContainerName)
|
by: dfa_geko |
last post by:
Hi All,
Just had a question about the RSACryptoServiceProvider class. I'm kind of a
newbie at this.
In the following code at the end of the message, does the key get stored in
the User Profile key store in the OS? I'm assuming that if this is the case
then if I were to encrypt the file in one machine, it will not decrypt on
another as the key is stored in the OS. Am I right about that?
|
by: Olli Goessler |
last post by:
Hi Guys, (sorry for my bad english)
i have a question for the following problem:
With the RSACryptoServiceProvider object...
Application A:
// Generate a public/private key pair.
RSACryptoServiceProvider rsa = new RSACryptoServiceProvider(512);
|
by: John Wright |
last post by:
I have a x509Certificate that I exported and I am using for testing called
wsTest.cer.pfx. I want to use this cert to send a public key to anyone who
requests it, and then use the private key to decrypt any incoming messages.
In the code below you can see I can grab the publickey string from this cert
and pass it back to the client. I can also create a
RSACryptoServiceProvider from the cert.private key. This is all good and
fine. What...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|