2012-10-20 8 views
5

में संग्रहीत नहीं हैं हाल ही में हमने ट्रिडियन 5.3 एसपी 1 को ट्रिडियन 5.3 से अपग्रेड कर दिया है।एएससीएक्स वेब नियंत्रण डाटाबेस

हमारे मौजूदा कार्यान्वयन में हमारे पास विभिन्न गतिशील घटक टेम्पलेट हैं। कुछ सीटी आउटपुट प्रारूप के लिए कुछ सीटी आउटपुट प्रारूप के लिए एएससीएक्स वेब कंट्रोल एचटीएमएल फ्रैगमेंट है।

प्रकाशन के बाद हम पर आए 1) एएससीएक्स वेबकंट्रोल स्टोरेज डेटाबेस (एसक्यूएल सर्वर) में संग्रहीत नहीं हैं। ट्रिडियन 5.3 में वे थे। 2) एचटीएमएल टुकड़े डेटाबेस में संग्रहीत हो रहे हैं।

हमारे कार्यान्वयन में बाइनरी फ़ाइलें, पृष्ठ, एम्बेडेड घटक टेम्पलेट फ़ाइल सिस्टम पर संग्रहीत हैं और गतिशील घटक टेम्पलेट्स SQL ​​सेवर डेटाबेस में संग्रहीत हैं।

हमें लगता है कि हमने हमारे cd_storage_config में कुछ याद किया है। कृपया संलग्न कॉन्फ़िगरेशन फ़ाइल खोजें।

<?xml version="1.0" encoding="UTF-8"?> 
<Configuration Version="6.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schemas/cd_storage_conf.xsd"> 
<Global> 
    <ObjectCache Enabled="false"> 
     <Policy Type="LRU" Class="com.tridion.cache.LRUPolicy"> 
      <Param Name="MemSize" Value="16mb"/> 
     </Policy> 
     <Features> 
      <Feature Type="DependencyTracker" Class="com.tridion.cache.DependencyTracker"/> 
     </Features> 
    </ObjectCache> 
    <Storages> 
     <Storage Type="persistence" Id="sqlserver" dialect="MSSQL" Class="com.tridion.storage.persistence.JPADAOFactory"> 
      <Pool Type="jdbc" Size="5" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120" /> 
      <DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource"> 
       <Property Name="serverName" Value="local" /> 
       <Property Name="portNumber" Value="1433" /> 
       <Property Name="databaseName" Value="TridionBroker" /> 
       <Property Name="user" Value="TridionBrokerUser" /> 
       <Property Name="password" Value="mypass" /> 
      </DataSource> 
     </Storage> 
     <Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultFile" defaultFilesystem="false"> 
      <Root Path="d:\Inetpub\MyPortal" /> 
     </Storage> 
     <Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultDataFile" defaultFilesystem="true" defaultStorage="true"> 
      <Root Path="d:\Inetpub\MyPortal\data" /> 
     </Storage> 
     <SearchFilter Name="SearchFilter" Class="com.tridion.broker.components.meta.MsSqlSearchFilterHome" defaultStorageId="sqlserver"/> 
    </Storages> 
</Global> 
<ItemTypes defaultStorageId="defaultDataFile" cached="false"> 
    <Item typeMapping="Query" storageId="sqlserver"/> 
    <Item typeMapping="Page" cached="false" storageId="defaultFile"/> 
    <Item typeMapping="Binary" cached="false" storageId="defaultFile"/> 
    <Item typeMapping="ComponentPresentation" itemExtension=".Jsp" storageId="sqlserver"/> 
    <Item typeMapping="ComponentPresentation" itemExtension=".Asp" storageId="sqlserver"/> 
    <Item typeMapping="ComponentPresentation" itemExtension=".Xml" storageId="sqlserver"/> 
    <Item typeMapping="ComponentPresentation" itemExtension=".Txt" storageId="sqlserver"/> 
    <Item typeMapping="Metadata" cached="true" storageId="sqlserver"/> 
    <Item typeMapping="XSLT" cached="true" storageId="sqlserver"/> 
</ItemTypes> 
<License Location="d:\Tridion\config\cd_licenses.xml"/> 

उत्तर

10

आप किसी भी ascx अपने भंडारण config में बाध्यकारी नहीं है। 5.3 में, यह एएसपी बाध्यकारी होता था।

बदलें निम्नलिखित:

<Item typeMapping="ComponentPresentation" itemExtension=".Asp" storageId="sqlserver"/> 

करने के लिए:

<Item typeMapping="ComponentPresentation" itemExtension=".ascx" storageId="sqlserver"/> 

इसके अलावा, tridion 2011 में आप प्रत्येक प्रकार के लिए मानचित्रण निर्दिष्ट करने की आवश्यकता नहीं है (txt तरह, jsp आदि ..) अगर आप सभी को डीबी में संग्रहीत करना चाहते हैं।

आप बस कर सकते हैं:

<Item typeMapping="ComponentPresentation" storageId="sqlserver"/> 
+0

हालांकि उपरोक्त विधि बिल्कुल सही है, तो मुझे लगता है कि हम .asp टैग की जगह की बजाय किसी दूसरे मद typemapping नोड जोड़ सकते हैं। यह संभावना है कि आपकी वेबसाइट में कुछ एएसपी सामग्री हो सकती है जो इस नोड को बदलकर प्रभावित हो सकती है। –

संबंधित मुद्दे