我有一个运行在Server 2008 R1上的WSS 3.0。 由于硬盘空间不足,日志文件已经增长到将近15GB,需要进行压缩/清除。 我使用SQL Studio Express连接到数据库“\。\ pipe \ mssql $ microsoft ## ssee \ sql \ query”,但是当右键单击SharePoint_Config数据库并select“属性”时,出现以下错误:
===================================
Property Owner不可用于数据库'[SharePoint_Config_29c26fca-17b8-48c1-9704-b869932abcb6]'。 此属性可能不存在此对象,或者由于访问权限不足可能无法检索。 (Microsoft.SqlServer.Express.Smo)
——————————如需帮助,请单击: http : //go.microsoft.com/fwlink?ProdName=Microsoft + SQL +服务器&ProdVer = 9.00.5000.00&EvtSrc = Microsoft.SqlServer.Management.Smo.ExceptionTemplates.PropertyCannotBeRetrievedExceptionText&EvtID =所有者&LINKID = 20476
- 任何理由复制SQL Server数据库报告?
- SQL Server备份策略的后果
- 服务作为本地系统运行在服务器A上连接到服务器B上的SQL服务器。
- Sql Server事务日志在AWS托pipe中的位置
- 备份networking共享上的SQL备份
——————————程序位置:
(Microsoft.SqlServer.Management.Smo.PropertyCollection.HandleNullValue(Int32 index) Microsoft.SqlServer.Management.SqlManagerUI.CreateDatabaseData.DatabasePrototype.DatabaseData..ctor(CDataContainer上下文,stringdatabaseName)在Microsoft.SqlServer.Management.SqlManagerUI.CreateDatabaseData.DatabasePrototype.LoadDefinition(stringnewName)在Microsoft.SqlServer.Management.SqlManagerUI。 CreateDatabaseData.DatabasePrototype..ctor(CDataContainer上下文)在Microsoft.SqlServer.Management.SqlManagerUI.DBPropSheet..ctor(CDataContainer上下文)
我试图按照这里解释的过程: http : //luka.manojlovic.net/2008/06/15/reduce-sharepoint-services-30-logldf-files/
我以前在Windows Small Business Server 2008上看到过这种情况,SharePoint_Config数据库所有者为NULL。 我不知道如何或为什么发生,但你可以看到是否在你的情况下使用sp_helpdb的情况。 如果您发现它是您可以使用sp_changedbowner设置所有者。 在SharePoint_Config数据库设置所有者为sa将正常工作。
基本上,你要连接到SSMS的数据库并运行一个查询,如:
USE [SharePoint_Config_29c26fca-17b8-48c1-9704-b869932abcb6] GO EXEC sp_changedbowner 'sa' GO
这将设置所有者。