Sharepoint 2007 类型'的例外情况;System.PlatformNotSupportedException';已在非sharepoint网站中抛出

Sharepoint 2007 类型'的例外情况;System.PlatformNotSupportedException';已在非sharepoint网站中抛出,sharepoint-2007,Sharepoint 2007,我正在Win2008服务器上运行一个web应用程序,该应用程序以前安装了Sharepoint,但现在已禁用。我的网站与Sharepoint无关,不使用它,不调用任何函数等。但是,我遇到了这个错误。发生了什么事,我该怎么解决?使Sharepoint不成为我的web应用程序的一部分?我的web应用程序在IIS7上的.Net 4.0集成模式应用程序池下运行。下面的错误来自事件日志。我确实想从该服务器上完全删除SharePoint,但也遇到了多个其他问题,因此我已经停止了与SharePoint相关的所有

我正在Win2008服务器上运行一个web应用程序,该应用程序以前安装了Sharepoint,但现在已禁用。我的网站与Sharepoint无关,不使用它,不调用任何函数等。但是,我遇到了这个错误。发生了什么事,我该怎么解决?使Sharepoint不成为我的web应用程序的一部分?我的web应用程序在IIS7上的.Net 4.0集成模式应用程序池下运行。下面的错误来自事件日志。我确实想从该服务器上完全删除SharePoint,但也遇到了多个其他问题,因此我已经停止了与SharePoint相关的所有服务和网站,但仍然出现此错误

申请资料: 信任级别:完全信任

过程信息: 进程ID:7720 进程名称:w3wp.exe 帐户名称:NT授权\网络服务

例外信息: 异常类型:PlatformNotSupportedException 异常消息:引发了类型为“System.PlatformNotSupportedException”的异常。 在Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_Farm()上 位于Microsoft.SharePoint.Administration.SPFarm.FindLocal(SPFarm&farm,Boolean&isjoin) 在Microsoft.SharePoint.Administration.SPFarm.get_Local()上 位于Microsoft.SharePoint.Utilities.SPUtility.AlternateServerUrlFromHttpRequestUrl(Uri url) 在Microsoft.SharePoint.Administration.SPAlternateUrl.get_ContextUri()上 位于Microsoft.SharePoint.WebControl.SPControl.GetContextWebApplication(HttpContext上下文) 位于Microsoft.Office.Server.ServerContext.GetContext(HttpContext HttpContext) 在Microsoft.Office.Server.ServerContext.get_Current()中 位于Microsoft.Office.Server.Administration.SqlSessionStateResolver.System.Web.IPartitionResolver.ResolvePartition(对象键) 位于System.Web.PartitionManager.GetPartition(IPartitionResolver partitionResolver,字符串id) 位于System.Web.SessionState.SqlSessionStateStore.GetConnection(字符串id、布尔值和usePooling) 位于System.Web.SessionState.SqlSessionStateStore.DoGet(HttpContext上下文、字符串id、Boolean getExclusive、Boolean&locked、TimeSpan&lockAge、Object&lockId、SessionStateActions&actionFlags) 位于System.Web.SessionState.SqlSessionStateStore.GetItemExclusive(HttpContext上下文、字符串id、布尔值和锁定、时间跨度和锁定、对象和锁定id、SessionStateActions和actionFlags) 位于System.Web.SessionState.SessionStateModule.GetSessionStateItem()处 位于System.Web.SessionState.SessionStateModule.BeginAcquireState(对象源、事件参数e、异步回调cb、对象外部数据) 在System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()中 在System.Web.HttpApplication.ExecuteStep(IExecutionStep步骤,布尔值&同步完成)

请求信息: 已验证:True 身份验证类型:表单 线程帐户名称:NT授权\网络服务

线程信息: 线程ID:5 线程帐户名称:NT授权\网络服务 是模仿:真的吗 堆栈跟踪:在Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_Farm()上 位于Microsoft.SharePoint.Administration.SPFarm.FindLocal(SPFarm&farm,Boolean&isjoin) 在Microsoft.SharePoint.Administration.SPFarm.get_Local()上 位于Microsoft.SharePoint.Utilities.SPUtility.AlternateServerUrlFromHttpRequestUrl(Uri url) 在Microsoft.SharePoint.Administration.SPAlternateUrl.get_ContextUri()上 位于Microsoft.SharePoint.WebControl.SPControl.GetContextWebApplication(HttpContext上下文) 位于Microsoft.Office.Server.ServerContext.GetContext(HttpContext HttpContext) 在Microsoft.Office.Server.ServerContext.get_Current()中 位于Microsoft.Office.Server.Administration.SqlSessionStateResolver.System.Web.IPartitionResolver.ResolvePartition(对象键) 位于System.Web.PartitionManager.GetPartition(IPartitionResolver partitionResolver,字符串id) 位于System.Web.SessionState.SqlSessionStateStore.GetConnection(字符串id、布尔值和usePooling) 位于System.Web.SessionState.SqlSessionStateStore.DoGet(HttpContext上下文、字符串id、Boolean getExclusive、Boolean&locked、TimeSpan&lockAge、Object&lockId、SessionStateActions&actionFlags) 位于System.Web.SessionState.SqlSessionStateStore.GetItemExclusive(HttpContext上下文、字符串id、布尔值和锁定、时间跨度和锁定、对象和锁定id、SessionStateActions和actionFlags) 位于System.Web.SessionState.SessionStateModule.GetSessionStateItem()处 位于System.Web.SessionState.SessionStateModule.BeginAcquireState(对象源、事件参数e、异步回调cb、对象外部数据) 在System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()中 在System.Web.HttpApplication.ExecuteStep(IExecutionStep步骤,布尔值&同步完成)