मैंने प्रकाशन पोर्टल के आधार पर एक साधारण साइट परिभाषा बनाई है। प्रत्येक बार जब मैं साइट-संग्रह बनाने के लिए टेम्पलेट का उपयोग करना चाहता हूं तो मुझे निम्न त्रुटि-संदेश मिलता है:शेयरपॉइंट साइटडिफिनिशन
आपके द्वारा चुने गए टेम्पलेट को अमान्य है या नहीं मिला।
मैं किसी भी कस्टम फीचर का उपयोग नहीं करता, केवल प्रकाशन पोर्टल साइट-डीफ़ के साथ डिफ़ॉल्ट विशेषताएं। कोई संकेत?
एक त्रुटि लॉग नहीं है, लेकिन यह सिर्फ मेरे ऊपर जानकारी देता है:
Applying template "PalfingerPlatformsOrderRoot#0" to web at URL "http://datsa0004:8080/Platforms/Orders/0000112233".
Failed to get the site template for language 1031, search key 'PalfingerPlatformsOrderRoot'. This warning is expected when provisioning from a custom web template.
Failed to apply template "PalfingerPlatformsOrderRoot#0" to web at URL "http://datsa0004:8080/Platforms/Orders/0000112233".
Failed to apply template "PalfingerPlatformsOrderRoot#0" to web at URL "http://datsa0004:8080/Platforms/Orders/0000112233", error The template you have chosen is invalid or cannot be found. 0x81071e44
The template you have chosen is invalid or cannot be found.
CreatePortal failed creating portal webs. Microsoft.SharePoint.SPException: The template you have chosen is invalid or cannot be found. ---> System.Runtime.InteropServices.COMException (0x81071E44): The template you have chosen is invalid or cannot be found. at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String& bstrWebTemplate, Int32& plWebTemplateId) --- End of inner exception stack trace --- at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate) at Microsoft.ShareP...
...oint.Publishing.PortalProvisioningProvider.CreatePortal(String xmlFile, SPWeb rootWeb)
आह! एक बेवकूफ कॉपी-एंड-पेस्ट त्रुटि। मैंने मौजूदा पर आधारित एक नई साइट-परिभाषा बनाई है। चूंकि एमएस आईडी की सिफारिश करता है> 10000. लेकिन वास्तव में दोनों साइट परिभाषाओं में एक ही 1000x रेंज का उपयोग किया जाता था। साइट-डीफ करने के लिए। एक ही आईडी 10001 के साथ। धन्यवाद! – Henrik
कोई समस्या नहीं, कभी-कभी जवाब आसान है! – curtisk
नोटपैड ++ जैसे संपादक आपको फाइल टूल्स टूल के साथ विवादित साइट टेम्पलेट्स का पता लगाने में मदद कर सकते हैं - बस% सामान्यप्रोग्रामफाइल% \ Microsoft Share \ web सर्वर एक्सटेंशन \% SPVERSION% \ टेम्पलेट \ % एलसीआईडी% \ एक्सएमएल (ध्यान दें कि आपको अन्य मानों को प्रतिस्थापित करने की आवश्यकता हो सकती है: 14 और 15 शेयरपॉइंट 2010 और 2013 के लिए, और लागू होने पर एक और डिजिटल लोकेल कोड)। – Alexey