When I tried to set Physical Path Credentials in the Advanced Settings, I've got an error message as follows: Internet Information Services (IIS) Manager Bad Data. (Exception from HRESULT: 0x80090005) And it prevents me to set specific user to access network shared folder. Strangely, I have another server with same [...] read more
When trying to assign a domain account to an IIS 7.5 app pool I get the following error: Details: Bad Data. (Exception from HRESULT: 0x80090005) My research shows that this can happen when you copy an applicationhost.config file without importing the keys. The suggested resolutions I have seen is to [...] read more
Simple question: Is there a way in PowerShell or appcmd to create the ConfigEncryptedKey.key normally created through exporting Shared Configuration in IIS 7.5? Now, an explanation of why I want to do this... We are trying to use the Shared Configuration feature of IIS 7.5 on Windows Server 2008 R2 [...] read more
I've changed the service account for SQL Server 2005 Reporting Services a number of times now, but yesterday was the first time I'd run into the dreaded 'The report server cannot decrypt the symmetric key used to access...' error. The environment is SQL Server 2005 Enterprise edition installed as a [...] read more
We're testing out Windows 10 Creators Update (Build 15063) here. So far this is the only unsolvable issue we've encountered. This issue is exclusive to Creators: identical Users and GPO's work fine on Windows 10 Anniversary (Build 14393), and Windows 7 SP1, all with the latest windows updates run We [...] read more
I need to encrypt the data in C# using RijndaelManaged and decrypt in C++ code. C# encryption code: static string Encrypt(string plainText) { byte[] plainTextBytes = Encoding.UTF8.GetBytes(plainText); var keyBytes = new byte[] { /* ... 32 bytes of a key */}; byte[] iv = new byte[] { /* ... 16 [...] read more
I wrote this piece of code to decrypt a given cipher using a given key and iv. It works fine until CryptDecrypt which returns false and GetLastError() returns 0x80090005 (which should be NTE_BAD_DATA). #include <Windows.h> #include <wincrypt.h> struct AesKey { BLOBHEADER Header; DWORD dwKeyLength; BYTE cbKey[16]; AesKey() { ZeroMemory(this, sizeof(*this)); [...] read more
I generated a public key using OpenSSL with the following commands to create a 1024bit RSA key, and then export the public key, giving me the public key in a .pem file. > openssl genrsa -out private_key.pem 1024 > openssl rsa -pubout -in private_key.pem -out public_key.pem I'm using the private [...] read more
Here's the code I am not sure if there's any hidden error but on runtime when trying to import the rsa parameters it pops up that error Function ModInverse(ByVal a As BigInteger, ByVal b As BigInteger) As BigInteger Dim b0 As BigInteger = b Dim t As BigInteger Dim q [...] read more
I have this portal that contains applications that range from classic asp to asp.net 4x. The transition from WIA to Forms Authentication has been accomplished manually as this delicate monstrosity will not accept any other way. I have only one hurdle left and this is accessing the virtual directory that [...] read more
I am trying to encrypt/decrypt data using AES 128 bit with zero padding. I can encrypt/decrypt fine if I don't attempt to futz with the padding mode (defaults to PKCS5_PADDING), so the following snippet of code is to show where things are breaking down: // sanity check -- is key [...] read more
The following code by Alejandro Magencio generate key pairs, encrypts and decrypts files with the Microsoft CryptoAPI works well, but only for files smaller than the key: http://blogs.msdn.com/b/alejacma/archive/2008/01/28/how-to-generate-key-pairs-encrypt-and-decrypt-data-with-cryptoapi.aspx I am trying to extend this code in order to encrypt and decrypt larger files. Here is the complete listing as far [...] read more
I got the following error when trying to use SQL Server 2005 Reporting Services manager: The report server cannot decrypt the symmetric key that is used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content. (rsReportServerDisabled) [...] read more
I'm trying to decrypt some data I'm receiving through HttpClient. The data is encrypted using AES/ECB with a single synchronous key and padded using PKCS#5. Currently i'm trying - function decryptBlob(blob) { var Crypto = Windows.Security.Cryptography; var key = "M02cnQ52Ji97wvT7"; var SAP = Crypto.Core.SymmetricKeyAlgorithmProvider.openAlgorithm("AES_ECB_PKCS7"); var bufferedKey = Crypto.CryptographicBuffer.convertStringToBinary(key, Crypto.BinaryStringEncoding.Utf8) var [...] read more
I have a SQL Server 2012 reporting Services in native mode. The report server url is: http//hodentekwin7/ReportServer_Kailua This which works fine. I have SharePoint 2010 installed it is working fine, i.e. I can access Central administration. So far no problem. I have installed SQL Server 2008 R2 for SharePoint Integrated [...] read more
I'm running BizTalk 2013r2 CU5 in Win2012r2 I noticed a file wasn't being collected from a receive location. The relevant host instance was running, so I checked the event log and found this: > SSO AUDIT Function: GetConfigInfo ({E182FB76-16B4-47D7-8178-4C66C9E3BA9D}) > Tracking ID: c4d0d0d1-0763-4ec5-99ea-fb2ac3bcc744 Client Computer: > BizTalkBuild01 (BTSNTSvc64.exe:7940) Client User: [...] read more