473,769 Members | 7,097 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CryptographicEx ception error - newbie question

3 New Member
Hi all,

I admittedly don't know the first thing about .NET. I have a new client who has been having problems on her website and asked me to look into it (she has lost contact with the programmer who originally did this work for her). I know some programming languages, but this is not one of them and I am hoping someone can help me.

My client has a real estate website and I get the following error (per her complaint) when I try and sign up for an account:
CryptoAPI cryptographic service provider (CSP) for this implementation could not be acquired.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Security .Cryptography.C ryptographicExc eption: CryptoAPI cryptographic service provider (CSP) for this implementation could not be acquired.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[CryptographicEx ception: CryptoAPI cryptographic service provider (CSP) for this implementation could not be acquired.]
System.Security .Cryptography.R SACryptoService Provider..ctor( Int32 dwKeySize, CspParameters parameters, Boolean useDefaultKeySi ze) +985
System.Security .Cryptography.R SACryptoService Provider..ctor( ) +72
thehudqueen.lib .dbMgr.encrypt( String myStr)
thehudqueen.lib .dbMgr.addUser( userProfile myProfile)
thehudqueen.Acc ounts.addIntere sts.butCreate_C lick(Object sender, EventArgs e)
System.Web.UI.W ebControls.Butt on.OnClick(Even tArgs e) +108
System.Web.UI.W ebControls.Butt on.System.Web.U I.IPostBackEven tHandler.RaiseP ostBackEvent(St ring eventArgument) +57
System.Web.UI.P age.RaisePostBa ckEvent(IPostBa ckEventHandler sourceControl, String eventArgument) +18
System.Web.UI.P age.RaisePostBa ckEvent(NameVal ueCollection postData) +33
System.Web.UI.P age.ProcessRequ estMain() +1292


Version Information: Microsoft .NET Framework Version:1.1.432 2.2407; ASP.NET Version:1.1.432 2.2407
Looking through some of the code on her website, I see that it says C# and Javascript as some of the languages, but don't even know if I am looking in the right place.

Any help would be greatly appreciated! Please let me know if I am posting this to the wrong forum - I assumed that it was .NET because of the last line in the error message.

Thanks much.
Oct 9 '07 #1
4 2634
Plater
7,872 Recognized Expert Expert
Is this website hosted on a "https" server?
It sounds like the encryption certificate is missing/expired?
.Net was probably trying to use it to do the crypto and cannot find it anymore?
Oct 9 '07 #2
Porty
3 New Member
When I submit the form, it says http - no "s". I will ask the owner about the encryption certificate. Thank you for the reply.


Is this website hosted on a "https" server?
It sounds like the encryption certificate is missing/expired?
.Net was probably trying to use it to do the crypto and cannot find it anymore?
Oct 9 '07 #3
Porty
3 New Member
I wrote to my client but haven't heard anything yet. Do you know where I would find the encryption certificate? Would it be with the hosting company?

Thanks again.
Oct 11 '07 #4
Plater
7,872 Recognized Expert Expert
Yes, I believe the hosting company would have it.
I'm not sure if it's relevant or not, but it's my only guess.
Oct 11 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
2424
by: Tod Johnson | last post by:
Not so long I've found really strange bug in the .NET. It seems that Evidence that I've got from the current executing Assembly is somehow expired (it happens suddenly after about month) and Xslt Transformation stop working at all for the whole AppDomain until I restart it. Am I using "this.GetType().Assembly.Evidence" incorrectly? And another question is what if I pass Evidence that I've created using CreateEvidenceForUrl(@"my working...
1
3107
by: jasonjbwalton | last post by:
Hi I am implementing a solution based upon Sitecore CMS version 4.3.2.6 ..Net 1.1 on a Windows 2003 server We are experiencing an error once in a while when transforming XML with XSLT. We receive an exception System.Security.Cryptography.CryptographicException (incorrect parameter)
0
1117
by: Nick Jones | last post by:
I'm getting the following nested exception in our code on one machine (it works on many others) Exception: System.Security.Cryptography.CryptographicException Message: An internal error occurred. Source: mscorlib at System.Security.Cryptography.RSACryptoServiceProvider._GenerateKey(IntPtr unknown1, Int32 unknown2, Int32 unknown3)
6
1924
by: Tim Barg | last post by:
I am using a CryptoStream to encrypt and then save an xml file. However, when reading it back in, I am getting a CryptographicException. I am hitting this because I have some large xml files ( > 10MB) and I only need a certain node...I use an XmlTextReader to find the node I need, and then attempt to abort reading in the rest of the xml, but when I close the XmlTextReader I get the exception. I've included some sample code and xml that...
1
2769
by: muthu | last post by:
Hi, I have two web applications running on my machine.The application is developed using asp.net 1.1 and vb.net.When i try to run both the applications in the same browsers, i get the following error. (System.Security.Cryptography.CryptographicException: Bad Data. at System.Security.Cryptography.CryptoAPITransform._DecryptData(IntPtr hKey, Byte rgb, Int32 ib, Int32 cb, Boolean fDone) at...
1
1605
by: Brad | last post by:
Our .Net 2 web apps recently started getting CryptographicExceptions from WebResource.axd, and these almost always seem to be when the client is a web crawler...most notably googlebot (but a few times it is a client browser such as IE). I'm curious if anyone has some insight as to why this would be happening, if there is a way to resolve this. If it was just a web crawler I'd ask if we should even care. The error is - ...
2
6164
by: Brent K | last post by:
Ok, I have an internal intranet website created in visual studio 2005, c#. It was running fine for months, and then all of the sudden a few days I started getting these errors emailed to me (I have it set up to email me exceptions). Here is the error. I have gotten this error probably 100 times in the last 2 days. I have googled this error to no avail. My program is not doing any decrypting, I am not on a web farm, I have reset the web...
6
6308
by: andrew | last post by:
Hi, I have a web service application written in C# .NET 1.1 using MD5CryptoServiceProvider.ComputeHash(Byte) The problem is that after a while(web service processes requests) the call throws CryptographicException "the parameter is incorrect" Here's the stack trace: System.Security.Cryptography.CryptographicException: The parameter is
0
3382
by: Amelyan | last post by:
Why does this happen? How to fix it? Once in a while I get error in ~/ScriptResource.axd?d=... System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed. at
0
9589
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, 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...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10048
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9865
tracyyun
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...
1
7410
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6674
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();...
1
3963
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
2
3563
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.