MSDN > 論壇首頁 > SharePoint - Accessibility > Problems ACTIVATING AKS Feature
發問發問
 

已答覆Problems ACTIVATING AKS Feature

  • 2008年1月14日 上午 03:52Belgarion2 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    I get the message below when attempting to active the Accessibility Kit for SharePoint feature on my Site.

     

    Failed to instantiate file "aks_bl_Navbar.JPG" from module "Images": The specified list does not exist.

     

    This occurs on a default "MySite" but not in a default "Publishing Site" ... Anyone know what the problem is?

解答

  • 2008年1月14日 上午 06:18Waldek MastykarzMVP使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    Does your My Site have the Publishing Feature activated? AKS v1.0 is meant for use on Publishing Sites so activating the Publishing Feature should do the trick.

     

所有回覆

  • 2008年1月14日 上午 06:18Waldek MastykarzMVP使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    Does your My Site have the Publishing Feature activated? AKS v1.0 is meant for use on Publishing Sites so activating the Publishing Feature should do the trick.

     

  • 2008年1月15日 上午 02:26Belgarion2 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    Thanks for thr prompt response Waldek! That makes some sense.

     

    When I tried to activate the Publishing feature however I get this error message.

     

    The specified name is already in use.

    A list, survey, discussion board, or document library cannot have the same name as another list, survey, discussion board, or document library in this Web site.  Use your browser's Back button, and type a new name.

     

    (Why T.F. don't MS programmers put data into their error messages!!!!!!)

     

    I checked the MOSS logs and this seems the most relevant entry.... Is there some way I can track down the "specified name" from this entry and correct the problem?

     

    01/15/2008 15:09:52.41  w3wp.exe (0x12F8)                        0x141C Windows SharePoint Services    Feature Infrastructure         8e0j High     Feature Activation: Failed to ensure feature dependencies for feature 'PublishingSite' (id: 'f6924d36-2fa8-4f0b-b16d-06b7250180fa'), exception thrown: Microsoft.SharePoint.SPException: The specified name is already in use.  A list, survey, discussion board, or document library cannot have the same name as another list, survey, discussion board, or document library in this Web site.  Use your browser's Back button, and type a new name. ---> System.Runtime.InteropServices.COMException (0x81020012): The specified name is already in use.  A list, survey, discussion board, or document library cannot have the same name as another list, survey, discussion board, or document library in this Web site.  Use your browser's Back button, and type a new name.     at Microsoft.SharePoint.Library.SPReques... 
    01/15/2008 15:09:52.41* w3wp.exe (0x12F8)                        0x141C Windows SharePoint Services    Feature Infrastructure         8e0j High     ...tInternalClass.CreateList(String bstrWebUrl, String bstrTitle, String bstrDescription, String bstrListUrl, String bstrFeatureId, Int32 lTemplateID, String bstrDocTemplateType, ListQuickLaunchOptions qlOpt)     at Microsoft.SharePoint.Library.SPRequest.CreateList(String bstrWebUrl, String bstrTitle, String bstrDescription, String bstrListUrl, String bstrFeatureId, Int32 lTemplateID, String bstrDocTemplateType, ListQuickLaunchOptions qlOpt)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.Library.SPRequest.CreateList(String bstrWebUrl, String bstrTitle, String bstrDescription, String bstrListUrl, String bstrFeatureId, Int32 lTemplateID, String bstrDocTemplateType, ListQuickLaunchOptions qlOpt)     at Microsoft.SharePoint.SPListCollection.CreateList(String strTitle, ... 
    01/15/2008 15:09:52.41* w3wp.exe (0x12F8)                        0x141C Windows SharePoint Services    Feature Infrastructure         8e0j High     ...String strDescription, String strListUrl, String strFeatureId, Int32 templateID, String strDocTemplateType, QuickLaunchOptions qlOpt)     at Microsoft.SharePoint.SPListCollection.Add(String strTitle, String strDescription, String strUrl, String strFeatureId, Int32 templateType, String docTemplateType, QuickLaunchOptions quickLaunchOptions)     at Microsoft.SharePoint.SPListInstanceElement.EnsureListExists(SPWeb web)     at Microsoft.SharePoint.SPListInstanceElement.ElementActivated(SPFeaturePropertyCollection props, SPSqlCommand sqlcmdAppendOnly, SPWebApplication webApp, SPSite site, SPWeb web, Boolean fForce)     at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionListInstances(SPFeaturePropertyCollection props, SPSite site, SPWeb web, Boolean fForce)     at Micr... 
    01/15/2008 15:09:52.41* w3wp.exe (0x12F8)                        0x141C Windows SharePoint Services    Feature Infrastructure         8e0j High     ...osoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, Boolean fForce)     at Microsoft.SharePoint.SPFeature.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, Boolean fForce)     at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, Boolean fForce)     at Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly)     at Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId, Boolean force)     at Microsoft.SharePoint.SPFeatureCollection.CheckSameScopeDependency(SPFeatureDefinition feat... 
    01/15/2008 15:09:52.41* w3wp.exe (0x12F8)                        0x141C Windows SharePoint Services    Feature Infrastructure         8e0j High     ...defDependant, SPFeatureDefinition featdefDependency, Boolean fActivateHidden, Boolean fForce)     at Microsoft.SharePoint.SPFeatureCollection.CheckFeatureDependency(SPFeatureDefinition featdefDependant, SPFeatureDependency featdep, Boolean fActivateHidden, Boolean fForce)     at Microsoft.SharePoint.SPFeatureCollection.CheckFeatureDependencies(Guid featidDependee, Boolean fActivateHidden, Boolean fForce)     at Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly) 

     

     

  • 2008年1月15日 上午 05:20Waldek MastykarzMVP使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I think turning debugging on in the web.config and setting callstack to true might provide you more answers. As for now: have yout tried creating a new Publishing Portal and activating AKS there? The AKS feature contains the new versions of CSS and Master Pages only. If you want to make use of the Control Adapters you will have to configure them manually as explained in the manual.

     

  • 2008年1月15日 下午 10:42Belgarion2 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Failed to instantiate file "aks_bl_Navbar.JPG" from module "Images": The specified list does not exist.   at Microsoft.SharePoint.Library.SPRequestInternalClass.EnableModuleFromXml(String bstrFeatureDirectory, String bstrUrl, String bstrXML)
       at Microsoft.SharePoint.Library.SPRequest.EnableModuleFromXml(String bstrFeatureDirectory, String bstrUrl, String bstrXML)

     

    Still none the wiser. What am I missing?

     

    And yes - AKS works fine of a new publishing site created from the Publishing template.

  • 2008年1月16日 上午 06:35Waldek MastykarzMVP使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    What you could do is to try to reactivate the Publishing Feature:

     

    stsadm -o activatefeature -name <PublishingFeatureName> -url <YourSiteUrl> -force (you need force in order to activate it although it causes errors)

     

    then deactivate it and activate it using the GUI. These steps might cause loss of some data so make a backup prior to running them.

  • 2008年10月1日 下午 03:35Chikku 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    Can you send the code how you activated the feature