As the title suggests, I'm getting this error when I run the project from Visual Studio locally at runtime. It builds just fine.
Invalid length for a Base-64 char array or string.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.FormatException: Invalid length for a Base-64 char array or string.
Unlike the other scenarios I've read about with marked solutions (there are 4 links here), my error's source file comes from a generated temp file.
Source Error:
[No relevant source lines]
Source File: c:\Users\tessa\AppData\Local\Temp\Temporary ASP.NET Files\vs\1edc00ec\dbb0fa2f\App_Web_default.master.a29f75f4.tl5zweer.0.cs Line: 0
So I've checked out that source file. I'm confused as to how it could be line 0, but on the first line, it refers to an Umbraco master page (x'd out for privacy).
#pragma checksum "C:\Team Projects\xxxxxx-tfs2012\xxxxxxxxx\xxxxxxxxx Responsive Boilerplate\Main\xxxxxxxxx Responsive Boilerplate-xx\xxxxxxxxx Responsive Boilerplate\umbraco\masterpages\default.master" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "079A4F7CAEE49CF6EE4209E18039C993A74D1D19"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
I don't know why Umbraco is causing this error, if it even is? I see a lot of talk about "ViewState", but I don't really know what that is. I'm just front-end on this project, and the back-end devs are too busy to look into this.
Let me know if you need more information to help you help me solve this bug. Thanks!