在非sharepoint网站中抛出了'System.PlatformNotSupportedException'类型的异常

时间:2011-05-10 18:39:55

标签: sharepoint-2007

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

申请信息:     信任等级:完整

流程信息:     进程ID:7720     进程名称:w3wp.exe     帐户名称:NT AUTHORITY \ NETWORK SERVICE

异常信息:     异常类型:PlatformNotSupportedException     异常消息:抛出了类型'System.PlatformNotSupportedException'的异常。    在Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_Farm()    在Microsoft.SharePoint.Administration.SPFarm.FindLocal(SPFarm& farm,Boolean& isJoined)    在Microsoft.SharePoint.Administration.SPFarm.get_Local()    在Microsoft.SharePoint.Utilities.SPUtility.AlternateServerUrlFromHttpRequestUrl(Uri url)    在Microsoft.SharePoint.Administration.SPAlternateUrl.get_ContextUri()    在Microsoft.SharePoint.WebControls.SPControl.GetContextWebApplication(HttpContext context)    在Microsoft.Office.Server.ServerContext.GetContext(HttpContext httpContext)    在Microsoft.Office.Server.ServerContext.get_Current()    在Microsoft.Office.Server.Administration.SqlSessionStateResolver.System.Web.IPartitionResolver.ResolvePartition(Object key)    在System.Web.PartitionManager.GetPartition(IPartitionResolver partitionResolver,String id)    在System.Web.SessionState.SqlSessionStateStore.GetConnection(String id,Boolean& usePooling)    在System.Web.SessionState.SqlSessionStateStore.DoGet(HttpContext context,String id,Boolean getExclusive,Boolean& locked,TimeSpan& lockAge,Object& lockId,SessionStateActions& actionFlags)    在System.Web.SessionState.SqlSessionStateStore.GetItemExclusive(HttpContext context,String id,Boolean& locked,TimeSpan& lockAge,Object& lockId,SessionStateActions& actionFlags)    在System.Web.SessionState.SessionStateModule.GetSessionStateItem()    在System.Web.SessionState.SessionStateModule.BeginAcquireState(对象源,EventArgs e,AsyncCallback cb,Object extraData)    在System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    在System.Web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean& completedSynchronously)

请求信息:     经过身份验证:是的     身份验证类型:表单     线程帐户名称:NT AUTHORITY \ NETWORK SERVICE

主题信息:     线程ID:5     线程帐户名称:NT AUTHORITY \ NETWORK SERVICE     冒充:真的     堆栈跟踪:在Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_Farm()    在Microsoft.SharePoint.Administration.SPFarm.FindLocal(SPFarm& farm,Boolean& isJoined)    在Microsoft.SharePoint.Administration.SPFarm.get_Local()    在Microsoft.SharePoint.Utilities.SPUtility.AlternateServerUrlFromHttpRequestUrl(Uri url)    在Microsoft.SharePoint.Administration.SPAlternateUrl.get_ContextUri()    在Microsoft.SharePoint.WebControls.SPControl.GetContextWebApplication(HttpContext context)    在Microsoft.Office.Server.ServerContext.GetContext(HttpContext httpContext)    在Microsoft.Office.Server.ServerContext.get_Current()    在Microsoft.Office.Server.Administration.SqlSessionStateResolver.System.Web.IPartitionResolver.ResolvePartition(Object key)    在System.Web.PartitionManager.GetPartition(IPartitionResolver partitionResolver,String id)    在System.Web.SessionState.SqlSessionStateStore.GetConnection(String id,Boolean& usePooling)    在System.Web.SessionState.SqlSessionStateStore.DoGet(HttpContext context,String id,Boolean getExclusive,Boolean& locked,TimeSpan& lockAge,Object& lockId,SessionStateActions& actionFlags)    在System.Web.SessionState.SqlSessionStateStore.GetItemExclusive(HttpContext context,String id,Boolean& locked,TimeSpan& lockAge,Object& lockId,SessionStateActions& actionFlags)    在System.Web.SessionState.SessionStateModule.GetSessionStateItem()    在System.Web.SessionState.SessionStateModule.BeginAcquireState(对象源,EventArgs e,AsyncCallback cb,Object extraData)    在System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    在System.Web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean& completedSynchronously)

0 个答案:

没有答案