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>
Related Post
SaveSiteAsTemplate
SharePoint
- Build Automation (CICD) of WebJob in SharePoint Online
- List view render using JSLink with Fabric UI
- Delete Quick Links using Powershell
- SharePoint Interview Questions and Answers..
- Issues:SharePoint Foundation 2013 Prerequisites installation(off line) on Windows Server2012 R2
- SharePoint Column Field Types
- Alternate to InfoPath Forms in SharePoint
- Get the Items inside the Folder in document Library in SharePoint 2013 using REST API
- SharePoint 2016 [Beta] Release Date
- SharePoint Modal Dailoge to Open Page
- What is Look up Column and how to use in SharePoint 2010,2013
- People Picker Check User Entry and Resolve
- How to Get User Data from AD (Active Directory) in SharePoint Using C#
- History of SHAREpoINt
- How to Create Application Page in SharePoint using Visual Studio 2010,2013
- Retrieve Site Features in SharePoint
- Weather Webpart by using Yahoo Service in Share Point
- Activate Telnet Client in Windows Server
- Navigate to another Page After Clicking on JavaScript Alert
- How to read List Item Version Collection Programmatically
- How to get Worker Process from Command Prompt
- How to Use DataTable.js in SharePoint webpart
- Adding New Link to PromotedActions Delegate Control in SharePoint 2013
- How to Deploy Master Page in Share Point
- Get Role Definition in SharePoint
0 comments:
Post a Comment