mercredi 3 décembre 2014

Creating site from template causes error



Hi I'm trying to create a site from a site template and get the error below. I've created a new master page and created a few lists/libraries.


Think it may be linked to code I've entered in master page.



<SharePoint:Scriptlink runat="server" Name="~sitecollection/Style%20Library/Custom_Scripts/jquery-1.11.1.min.js" Language="javascript" />


The above code always gets changed into something else by SPD and/or



<asp:Image ImageUrl="<% $SPUrl:~sitecollection/Style Library/Images/logo.png %>" runat="server"/>



0x8107058aInvalid URI: The URI scheme is not valid. 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.Runtime.InteropServices.COMException: 0x8107058aInvalid URI: The URI scheme is not valid.


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:


[COMException (0x8107058a): 0x8107058aInvalid URI: The URI scheme is not valid.] Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) +0 Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) +172


[SPException: Invalid URI: The URI scheme is not valid.] Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) +27992434 Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) +28206803 Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate) +1218 Microsoft.SharePoint.ApplicationPages.TemplatePickerUtil.ApplyWebTemplateAndRedirect(SPWeb Web, String strWebTemplate, Nullable`1 bSharedNav, Boolean bOnTopNav, Boolean bOnQuickLaunch, Page page, Boolean bDeleteOnError) +1870 Microsoft.SharePoint.ApplicationPages.TemplatePickPage.BtnSubmit_Click(Object sender, EventArgs e) +129 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981









0 commentaires:

Enregistrer un commentaire