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.CryptographicExcepti on: Bad Data. at
System.Security.Cryptography.CryptoAPITransform._D ecryptData(IntPtr
hKey, Byte[] rgb, Int32 ib, Int32 cb, Boolean fDone) at
System.Security.Cryptography.CryptoAPITransform.Tr ansformFinalBlock(Byte[]
inputBuffer, Int32 inputOffset, Int32 inputCount) at
System.Security.Cryptography.CryptoStream.FlushFin alBlock() at
System.Web.Configuration.MachineKey.EncryptOrDecry ptData(Boolean
fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length) at
System.Web.Security.FormsAuthentication.Decrypt(St ring
encryptedTicket))
That is, when i run the first application and run the second
application in the same browser, i get this error.If i run it in two
different browsers, then it works fine.
Can any one help me out. 1 2722
r u using Forms authentication?
"muthu" <s.*************@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
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.CryptographicExcepti on: Bad Data. at
System.Security.Cryptography.CryptoAPITransform._D ecryptData(IntPtr
hKey, Byte[] rgb, Int32 ib, Int32 cb, Boolean fDone) at
System.Security.Cryptography.CryptoAPITransform.Tr ansformFinalBlock(Byte[]
inputBuffer, Int32 inputOffset, Int32 inputCount) at
System.Security.Cryptography.CryptoStream.FlushFin alBlock() at
System.Web.Configuration.MachineKey.EncryptOrDecry ptData(Boolean
fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length) at
System.Web.Security.FormsAuthentication.Decrypt(St ring
encryptedTicket))
That is, when i run the first application and run the second
application in the same browser, i get this error.If i run it in two
different browsers, then it works fine.
Can any one help me out. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
by: Andrzej |
last post by:
Hi,
I have to figure out why we have a problem with special characters in
encrypted usernames and passwords.
Case:
Username: r&bgeorge
Password: tigger
|
by: Ebert |
last post by:
hi I am just trying out some example in the help, however, it is stranged
that I can't imports system.security.cryptography.Xml namespace, I only have
cryptography.X509 and the rest but not .XML,...
|
by: segue |
last post by:
I have VS 2005, .NET 2.0, no girlfriend and this article:
http://msdn2.microsoft.com/en-us/library/ms278836.aspx.
Yet, I can't successfully import this namespace.
...
|
by: =?Utf-8?B?ZGF2aWQ=?= |
last post by:
Hi, everybody here.
I am implementing data encryption/decryption, and try to use
System.Security.Cryptography.TripleDESCryptoServiceProvider.
But I can not find it in MS Visual Studio when I...
|
by: Eric Simmons |
last post by:
Hello,
I am trying to run a .NET 2.0 application that I developed and I am
getting the following error:
Key not valid for use in specified state
I am attempting to retrieve the...
|
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...
|
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...
|
by: a.bavdhankar |
last post by:
Hi,
I am using System.Security.Cryptography.RijndaelManaged in web
application that is executed under annonymous user.
I am getting access denied error message. It seems annonymous user
does...
|
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...
|
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...
|
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,...
|
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,...
|
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: 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...
|
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,...
|
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...
|
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...
| |