Tag

ASP.Net

6 posts

2 comments ASP.Net C#

C# SAML 2.0 SSO – Tips and Pitfalls

Recently, one of my clients decided to support the SAML 2.0 for SSO to their website. Since, the plan was to just support it as Service Provider, it was decided to use a custom implementation in C# as the overall concept and idea is of SAML sounds very simple. In the end, even though we were able to make the service work and running in less than 2 days for internal demo, we ran into many integration problem when working with Identity Providers of client using the different SAML 2.0 implementation on various platforms. We run into problems like:

– Some clients were using Deflated XML while others were not
– Encryption Algorithms Choice per client
– Difference in the NameID format being used
– Difference in how SAML attributes were being communicated/passed

Continue reading C# SAML 2.0 SSO – Tips and Pitfalls
ASP.Net Windows

ASP.Net Error CVT1108: Cannot open C:WindowsTEMP for writing

When I restarted my Windows 7 machine today after a few days (I usual put this to hibernate mode), I got a weird error when starting the ASP.Net web application. The error was: Compiler Error Message: CVT1108: cannot open C:WindowsTEMPRESA33F.tmp for writing This was a bit weird, because it was working fine before the restart.…

Continue reading ASP.Net Error CVT1108: Cannot open C:WindowsTEMP for writing
14 comments ASP.Net

One possible reason for “The state information is invalid for this page…” exception

One of our client was randomly having the ASP.net “The state information is invalid for this page and might be corrupt” error on the pages. The weird thing was that it seems to be random. After some testing, we finally found a pattern and ultimately were able find the root cause of the bug. Though…

Continue reading One possible reason for “The state information is invalid for this page…” exception