Hi All,
In One of the Example we have seen how to create Site Template Programatically refer http://sharepointchampion.blogspot.in/2014/05/save-site-as-template-programatically.html
But I have faced Issue like System.InvalidOperationException: Dynamic operations can only be performed in homogenous AppDomain. when i move the solution to another Environment.
I got this error when my code trying to save the web site as Template.
Finally i found the resolution for that issue from the below link.
http://social.technet.microsoft.com/Forums/en-US/be45f894-94b6-40a6-987b-22036e0234c9/sharepoint-2013-high-trust-providerhosted-app-allow-single-sign-on-between-the-app-and-sharepoint?forum=sharepointdevelopment
Change the legacyCasModel to false in web.config .
In One of the Example we have seen how to create Site Template Programatically refer http://sharepointchampion.blogspot.in/2014/05/save-site-as-template-programatically.html
But I have faced Issue like System.InvalidOperationException: Dynamic operations can only be performed in homogenous AppDomain. when i move the solution to another Environment.
I got this error when my code trying to save the web site as Template.
Finally i found the resolution for that issue from the below link.
http://social.technet.microsoft.com/Forums/en-US/be45f894-94b6-40a6-987b-22036e0234c9/sharepoint-2013-high-trust-providerhosted-app-allow-single-sign-on-between-the-app-and-sharepoint?forum=sharepointdevelopment
Change the legacyCasModel to false in web.config .
<system.web> ... <trust legacyCasModel="false" level="Full" /> </system.web>
0 comments:
Post a Comment