473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

CryptAcquireContext

Hi,

I wrote a VB-Dll which uses the CryptAcquireContext function in the
advapi32.dll. This works fine with VB, but when I use the same Dll in ASP
the error number 0x800A0002 was returned when calling the function
CryptAcquireContext(hCryptProv, KEY_CONTAINER, MS_DEF_PROV, PROV_RSA_FULL,
0)

Has anybody an idea to solve this problem?

Thanxs
Dieter Schmitz
Germany
Jul 19 '05 #1
0 1292

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

Similar topics

3
by: Rich | last post by:
I have a block of code that encrypts passwords before storing them it an access database. It works fine on my pc, however on my client they get the following error on the last line of code when...
12
by: Kim | last post by:
I have a .NET service sending mails using CDOEX. These mails I need to sign. I got a tip that I should use CAPICOM. That worked fine sending a mail with signature. BUT the problem is that I...
2
by: WilOJoe | last post by:
Does anyone have any ideas about why the Crypto API call to CryptGetUserKey(…)would work just fine in WindowsXP but fails when executed in Windows2000? The call is made in code that is practically...
1
by: Shahzad | last post by:
Dear Respected Gurus/Sirs, I would like to share your ideas and get reviews will be highly appreciated in anticipation Question No.1 I had developed a seprate audit/security database that...
3
by: p_hose | last post by:
hi I'm trying to write CPEncrypt function. but i don't change the content's of the pbData. First it contained the plaintext. But after encryption i did not write the ciphertext value on it....
113
by: Bonj | last post by:
I was in need of an encryption algorithm to the following requirements: 1) Must be capable of encrypting strings to a byte array, and decyrpting back again to the same string 2) Must have the same...
1
by: schnitzell | last post by:
Hi, My problem is following: I my ActiveX I call the Crypt API method CryptAcquireContext and it is ok under all Windows platforms, but one - Windows 2003. It returns error: Missing crypto...
5
by: othman taj via .NET 247 | last post by:
Hi everyone, I want to encrypt and decrypt a message. I'm using RSA encryption/decryption with PRIVATEKEYBLOB, no hash, and everything works fine, ie I can see my plaintext. I notices that...
5
by: ShadowLocke | last post by:
Hi! I'm having a problem calling CryptDecrypt from .Net. Even thoug I call from inside a try catch block execution stops on the call with error "Exception of type...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.