Enum conversion failed as the property/field is not nullable and no value has been read from the database.
I am attempting to publish the Corporate Starter Kit to Azure. My plan is to modify it once it is deployed. The only changes I have made so far are those required for the manual deployment and some web.config changes related to the handlers and modules as the default web.config in the Corporate Starter Kit doesnt work with IIS 7.5. It works fine on my local system with my database deployed on my local system. However once I move my database to Azure and point my local project at it I get the failure mentioned in the my last post. The same is true when I deploy my project to azure. Thanks in advance anything you can do to help me out here is greatly appreciated. The error I am getting is below.
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.InvalidOperationException: Enum conversion failed as the property/field is not nullable and no value has been read from the database.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.2026
I am expecting this is something very simple that could be azure related. However I am not very familiar with azure so starting here for assistance.
Hello,
To resolve the issue execute the below query against the database uploaded in Azure
update
sf_page_templates
set
framework = 0
where
framework
is
null