Silverlight – REST API – Security Error

Access Sharepoint with REST API Today I tried to access a SharePoint REST API from my Silverlight Web Part and I got a Security Error. I quite quickly got a great article describing all about the clientaccesspolicy.xml, but it was still not working. Your Solution Then I tried in my browser to go to http://myurl.mydomain.local/clientaccesspolicy.xml and … Continue reading Silverlight – REST API – Security Error

Advertisements

Padding is invalid and cannot be removed

Padding is invalid and cannot be removed Today I tried to send data encrypted between an application built in c# and an application built in Silverlight. When I encrypted the data in one application the decryption would fail with the following exception: An exception of type 'System.Security.Cryptography.CryptographicException' occurred in mscorlib.dll but was not handled in … Continue reading Padding is invalid and cannot be removed