I am upgrading from Windows 2000 to Windows 2003, using .NET Framework 1.1 and using the CryptoAPI's RSA encryption for encrypting connection string.
I get the error:
"CryptoAPI cryptographic service provider (CSP) for this implmentation could not be acquired"
I checked msdn article http://support.microsoft.com/default.aspx?scid=KB;EN-US;322371[^]. It didn't help.
Also tried to give the account (under which ASP.NET is running) Full Control access to the files containing the keys the WSE will need to retrieve in the following folder:
C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys
Didn't help either.
I am running out of ideas. Some articles suggested to create certificates. I am not sure how I go about doing that. Anybody run into a similar situation before. Any ideas or suggestions?
I found the solution. It works only if both these are true.
1. the user identity under which the program runs has a profile under Documents and Settings.
2.Full Control access to the files containing the keys the WSE will need to retrieve in the following folder:
C:\Documents and Settings\AllUsers\Application Data\Microsoft\Crypto\RSA\MachineKeys
I'm experimenting with .net 2 and VS2005 support for localization.
Using a sort of Resource Manager wrapper class I give the application the capability of switching in real-time from one language to another, knowing its own default language, ....
The application has a Tool/Settings/Language/... menu that is filled with the available localization languages (the main assembly built-in resources (<something>.resource) and localizations supported by the satellite support assemblies (<something>en-En.resource, <something>it-IT.resource), ...)
So, at startup, I would like the wrapper class to be able to enumerate (at resource, or at resource manager level, not at file system level) the actually available localization satellite assemblies.
Does anyone have an idea about how I can accomplish this little last task?
Of course, should not this possible, I will end in looking directly for the actually available resource files. Anyway I think that this should be an exposed feature of the ResourceManager class.
At the end I would like to post a little article about this work. I searched on CodeProject for Localization Issue and I found something general but nothing similar to what I'm trying to do.
Thanks in advance to everyone,
I am running into a little problem where I can not figure out how to seach for things on the web whether its articles, code, message board answers and find what I am looking for.
I always find aricles, etc. relating to .net ver1.1. when I an developing in ver2.0
this is a problem both on codeproject or if I use google.
this problem is particularly bad when it comes to winforms which where redone in a big way, particularly the data binding. and there seems to be a lack of information about the new systems or at least it is very hard to find.
please post your suggestions.
Rabbi Moshe Plotkin
Director of Chabad of New Paltz
Lecturer in Computer Science
SUNY New Paltz
Just Go through this Link
U can search in microsoft sites for relavent information
Go to MS Elearning site We can get Kits that are available for paying one year subscription and even some are free E-learning Courses that are avialable
All the Best
Senior Software Engineer
Nothing is Impossible Even Impossible says I'MPOSSSIBLE
Hello, I am experiencing some weirdness with my OpenFileDialog filter. When I first open the dialog, the filter works and shows me the files with the filename scheme that I specify. However, if I select a different filter, then all the files disappear from the list. In addition, if I manually type the filter into the filename field and press Enter, then the files show up again. Here is a snippet where I create the dialog:
I'm using a native C++ extension DLL in a MFC 7.0 application.
The native DLL shows a dialog through DoModal using a dialog resource.
DoModal produces an assertion (at GetResourceHandle() and GetModuleHandle()),
How can I solve the problem?
I want to encrypt an XML-file using c#. So far everything works fine. Only the solution of saving the private Key in a safe place makes difficulties.
Heard about saving the private Key in the Registry, but for some reasons i can not find good examples on that. The only page i found is this (http://www.codinghorror.com/blog/archives/000501.html). I just don't get what he wants to tell me... Do i need a pfx-File... Eventhough i only want to save a private key...? How do i generate such a file?
There's a problem that I encounter when trying to implement database transactions
over multiple webservices. The thing I try to accomplish is trying to make three
webservices (startTransaction, commitTransaction and rollbackTransaction).
The idea behind this is that i could start a transaction serverside, calling some
webservices which do some database updates and consecutive to that call the
commitTransaction or rollbackTransaction webservice to commit or rollback the transaction.
The thing I tried is to put the transaction object in the session but this didn't work.
So my question is, is the thing I want possible or isn't it the best practice to do ?
I'm trying to using a component developed using .NET 2.0 with a .NET 1.1 Windoes Forms application, I'd installed the .NET 2.0 Framework on the machine but still when to add reference to the new component have the following Error message: "D:\NewComponent\Debug\myComponent.UI.Win.dll' is not a Microsoft .NET module."
do anybody have any idea how to solve this?
I'm attempting to migrate a Java application to the .NET framework. This Java application uses some C++ code to provide functionality not present in either the Java framework library or the .NET framework. Java makes these calls via Java's JNI technology. For example:
Obviously some of the C++ methods had to be modified to remove any dependencies on the JNIEnv* and jclass parameters passed to them under JNI, since they aren't passed to them using P/Invoke, but most of the work was quite simple and straightforward.
Last Visit: 31-Dec-99 18:00 Last Update: 22-May-17 20:39