84
Views
2
Comments
Outsystem application in IFrame in a html page, on submit gives a decrypt error
Question

I have created an outsystem application which I am hosting using an IFrame in a separate application. 

Noticed a couple of issues when posting a data to the server.

If I enable anonymous authentication I am able to load a page that lists some data from REST API. Listing of the data works fine.

However, when I POST the data to the server I get the following error:

Error Deserializing ViewState of page "ASP.contactdetail_aspx", visitorid "5d09591a-a18b-4e50-bbf7-11a7b9e5967b", size 172 bytes ("ubZXS4+1JU...").
Cannot decrypt the content


I tried setting the button method to "Submit" or "Ajax Submit". Still get the same error.


I see the same error even when trying to login if I turn off anonymous. 

Error Deserializing ViewState of page "ASP.login_aspx", visitorid "b70503d1-0735-4122-839b-cb2cdbd5839d", size 236 bytes ("KofaDJHBE7...").
Cannot decrypt the content


Looks like its an issue when Posting the data to the server.

Can you please suggest how to resolve this issue.


Thanks

Uma

2019-10-24 08-26-27
Babu Basha
UserImage.jpg
Uma N

After enabling the CSP the page started loading on the IFrame. the Current issue I am facing is when I post anything to the server from within the IFrame. Please find attached the CSP for the application. 


The hosting application is a HTML page and is outside the outsystems.

CSPconfiguration.png
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.