您尝试使用 SharePoint 产品和技术向导时错误消息:"Exception: System.ArgumentException: 加密或解密过程中的错误
2008-11-19 22:56
447 查看
您尝试使用 SharePoint 产品和技术向导时错误消息:"Exception: System.ArgumentException: 加密或解密过程中的错误"
察看本文应用于的产品查看机器翻译免责声明
文章编号 | : | 927156 |
最后修改 | : | 2007年5月14日 |
修订 | : | 1.2 |
症状
请考虑以下情形:• | 方案 1 install Microsoft Windows SharePoint Services 3.0,and then install Microsoft Office SharePoint Server 2007。 then,remove SharePoint Server 2007。 |
• | 方案 2 install Windows SharePoint Services 3.0,and then use Add or Remove Programs to remove Windows SharePoint Services 3.0。 then,reinstall Windows SharePoint Services 3.0。 |
• | 方案 3 您在一个独立的场环境中安装 Windows SharePoint Services 3.0。 您使用 SharePoint 产品和技术向导 (PsconfigUI.exe) 或 Psconfig.exe 从命令行将保留在独立的场。 则,使用 SharePoint 产品和技术向导或 Psconfig.exe 从命令行中要重新加入该场。 |
10 / 09 / 2006 14:08:26 8 ERR 任务 configdb 已失败的未知的异常 10 / 09 / 2006 14:08:26 8 ERR 异常: System.ArgumentException: 加密或解密过程中的错误。 系统返回了错误代码 997。 在 Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask() Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run() Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb() Microsoft.SharePoint.Administration.SPFarm.Join() Microsoft.SharePoint.Administration.SPWebServiceInstance.Provision() Microsoft.SharePoint.Administration.SPApplicationPool.Provision() Microsoft.SharePoint.Administration.SPProcessIdentity.get_SecurePassword() Microsoft.SharePoint.Administration.SPEncryptedString.get_SecureStringValue() Microsoft.SharePoint.Administration.SPEncryptedString.GetSecureStringValue() Microsoft.SharePoint.Administration.SPCredentialManager.DecryptWithMasterKey (Byte [ ] rgbEncryptedPassphrase)
回到顶端
原因
如果网络服务帐户被用作该场帐户会发生此问题。 在这种情况下,当您删除 Windows SharePoint Services 3.0 从独立的场,或从一个 Windows SharePoint Services 3.0 场环境,删除 SharePoint Server 2007 时被删除用来对 Windows SharePoint Services 3.0 配置数据库 (configdb) 中包含的密码进行加密在下面的注册表子项:HKLM/SOFTWARE/Microsoft/Shared Tools/Web Server Extensions/12.0/Secure/ FarmAdmin/因此,当您尝试加入不使用网络服务帐户的配置数据库中存在的 Web 应用程序时, 在 Web 应用程序帐户凭据不能被解密。 发生此问题是因为在所需的注册表子项被删除。
回到顶端
替代方法
若要变通解决此问题,在命令行创建一个新的 Windows SharePoint Services 3.0 配置数据库中运行 Psconfig.exe。 为此,请按照下列步骤操作:1. | 单击 开始 ,单击 运行 ,在 打开 框中, 键入 cmd ,然后单击 确定 。 |
2. | 在命令行,更改为以下目录: /Program Files/Common Files/Microsoft Shared/web 服务器 extensions/12/BIN |
3. | 在命令提示符下,键入以下命令以创建新的配置数据库: psconfig-cmd configdb-create-server ServerName-database ConfigDBName-user Domain/User-password Password |
4. | rerun SharePoint Products and Technologies Wizard。 |
相关文章推荐
- 【求助,已经解决】未能注册sharepoint服务。已引发类型为SYSTEM.ARGUMENTEXCEPTION异常,其他异常信息,加密和解密过程中出错,系统错误代码为997
- System.ArgumentException: 回发或回调参数无效。在配置中使用 < pages enableEventValidation="true"/>
- System.ArgumentException: 回发或回调参数无效。在配置中使用 < pages enableEventValidation="true"/> 或在页面中使用 <% @ Page
- 异常详细信息: System.Data.SqlClient.SqlException: 无法打开物理文件 。。。 操作系统错误 32:"32(另一个程序正在使用此文件,进程无法访问。
- sharepoint 当您尝试通过使用 FrontPage 2003 或当您尝试导出 Web 部件编辑门户收到是类型 Microsoft.SharePoint.SoapServer.SoapServerException " Soap:Server 异常 " 消息
- System.ArgumentException: 回发或回调参数无效。在配置中使用 < pages enableEventValidation="true"/>
- [转]System.ArgumentException: 回发或回调参数无效。在配置中使用 < pages enableEventValidation="true"/> 或在页面中使用 <% @ Page EnableEventValidation="true" %> 启用了事件验证
- System.ServiceModel.FaultException "验证消息的安全性时发生错误。"
- System.ArgumentException: 回发或回调参数无效。在配置中使用 < pages enableEventValidation="true"/>
- 当您尝试通过使用 FrontPage 2003 或当您尝试导出 Web 部件编辑门户收到是类型 Microsoft.SharePoint.SoapServer.SoapServerException " Soap:Server 异常 " 消息
- 使用X.509数字证书加密解密实务(三)-- 使用RSA证书结合对称加密技术加密长数据
- 未能使用提供程序“RsaProtectedConfigurationProvider”进行解密。提供程序返回错误消息为: 打不开 RSA 密钥容器
- 在使用Microsoft Visual Studio Test Controller 2010进行测试时,报如下错误: System.DllNotFoundException: 无法加载 DLL“Microsoft.VisualStudio.QualityTools.RecorderBarBHO100.dll”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。
- 使用android OpenGL时出现的java.lang.IllegalArgumentException: Must use a native order direct Buffer错误问题解决
- Win8桌面应用调用WinRT提供的API,编译时提示错误(“ResolveManifestFiles”任务意外失败。 System.ArgumentException: 值不在预期的范围内。)
- Windows XP下使用ASP.Net 访问Access数据库提示“System.Data.OleDb.OleDbException: 未指定的错误”的解决办法
- 三大框架整合过程中报错"java.lang.IllegalArgumentException: node to traverse cannot be null!"出现的原因
- 【spring】IllegalArgumentException Can not set field to $Proxy 在spring中使用事物或AOP遇到的错误
- .net 中使用Excel library 11.0 COM Workbooks.Open 出现错误:System.MissingMethodException: 找不到方法
- Silverlight使用HttpWebRequest和HttpWebResponse时发生System.Security.SecurityException: 安全性错误