Sharepoint 2007 Sharepoint-登录时无法访问文档库文件
我在一个网站上工作,Sharepoint 2007被用作面向公众的网站的CMS 内部用户通过active directory进行身份验证,可以通过内部url编辑内容。外部用户通过公共url查看内容。我刚刚在面向外部的站点版本中添加了基于表单的身份验证,以便为经过身份验证的用户提供一些特殊服务 该功能在其dev服务器上按预期工作,但当部署到测试服务器时,通过基于表单的身份验证进行身份验证的任何用户都不再能够访问css文件(可以通过匿名用户访问)。所以所有的样式都丢失了。CSS文件保存在文档库中。如果用户注销,这些文件将再次可用。(全部通过外部url和基于表单的身份验证) 知道会发生什么吗 查看事件日志可提供以下信息:Sharepoint 2007 Sharepoint-登录时无法访问文档库文件,sharepoint-2007,Sharepoint 2007,我在一个网站上工作,Sharepoint 2007被用作面向公众的网站的CMS 内部用户通过active directory进行身份验证,可以通过内部url编辑内容。外部用户通过公共url查看内容。我刚刚在面向外部的站点版本中添加了基于表单的身份验证,以便为经过身份验证的用户提供一些特殊服务 该功能在其dev服务器上按预期工作,但当部署到测试服务器时,通过基于表单的身份验证进行身份验证的任何用户都不再能够访问css文件(可以通过匿名用户访问)。所以所有的样式都丢失了。CSS文件保存在文档库中。如
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 26/10/2010 3:08:20 p.m.
Event time (UTC): 26/10/2010 2:08:20 a.m.
Event ID: f6fbeb6ffe334e48aa150bc7d34aeda8
Event sequence: 159
Event occurrence: 29
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1334941635/ROOT-1-129325324099898564
Trust level: WSS_Minimal
Application Virtual Path: /
Application Path: E:\WebSites\test.company.co.nz\
Machine name: INTERNETTEST
Process information:
Process ID: 7616
Process name: w3wp.exe
Account name: CH\InternetTestAPESite
Exception information:
Exception type: FileNotFoundException
Exception message: The site with the id 5b06fc07-8611-4774-a283-7b9f94318030 could not be found.
Request information:
Request URL: http://internettest.company.co.nz/Style Library/Company/CSS/base.css
Request path: /Style Library/Company/CSS/base.css
User host address: 172.23.4.119
User: gavin.harriss@somecompany.co.nz
Is authenticated: True
Authentication Type: Forms
Thread account name: CH\InternetTestAPESite
Thread information:
Thread ID: 19
Thread account name: CH\InternetTestAPESite
Is impersonating: True
Stack trace: at Microsoft.SharePoint.SPSite..ctor(Guid id, SPFarm farm, SPUrlZone zone, SPUserToken userToken)
at Microsoft.SharePoint.SPSite..ctor(Guid id)
at Microsoft.SharePoint.Publishing.BlobCache.<>c__DisplayClass3.<EnsureAuthenticatedRights>b__0()
at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)
at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
at Microsoft.SharePoint.Publishing.BlobCache.EnsureAuthenticatedRights(Guid siteID, Guid scopeID)
at Microsoft.SharePoint.Publishing.BlobCache.RewriteUrl(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
事件代码:3005
事件消息:发生未处理的异常。
活动时间:2010年10月26日下午3:08:20。
事件时间(UTC):2010年10月26日凌晨2:08:20。
事件ID:f6fbeb6ffe334e48aa150bc7d34aeda8
活动顺序:159
事件发生率:29
事件详细信息代码:0
申请资料:
应用程序域:/LM/W3SVC/1334941635/ROOT-1-129325324099898564
信任级别:WSS_最小
应用程序虚拟路径:/
应用程序路径:E:\WebSites\test.company.co.nz\
机器名称:INTERNETTEST
过程信息:
进程ID:7616
进程名称:w3wp.exe
帐户名称:CH\Internetestapesite
例外信息:
异常类型:FileNotFoundException
异常消息:找不到id为5b06fc07-8611-4774-a283-7b9f94318030的站点。
请求信息:
请求URL:http://internettest.company.co.nz/Style Library/Company/CSS/base.CSS
请求路径:/Style Library/Company/CSS/base.CSS
用户主机地址:172.23.4.119
用户:加文。harriss@somecompany.co.nz
已验证:True
身份验证类型:表单
线程帐户名称:CH\internetestapesite
线程信息:
线程ID:19
线程帐户名称:CH\internetestapesite
是模仿:真的吗
堆栈跟踪:位于Microsoft.SharePoint.SPSite..ctor(Guid id、SPFarm场、SpurZone区域、SPUserToken userToken)
位于Microsoft.SharePoint.SPSite..ctor(Guid id)
在Microsoft.SharePoint.Publishing.BlobCache.c__DisplayClass3.b__0()上
位于Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(对象状态)
在Microsoft.SharePoint.SPSecurity.c__DisplayClass4.b__2()上
位于Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToUnelevated secureCode)
在Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode,对象参数)
在Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(Code或Unelevated secureCode)上运行
在Microsoft.SharePoint.Publishing.BlobCache.EnsureAuthenticatedRights(Guid站点ID,Guid范围ID)
位于Microsoft.SharePoint.Publishing.BlobCache.RewriteUrl(对象发送者,事件参数e)
在System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()中
在System.Web.HttpApplication.ExecuteStep(IExecutionStep步骤,布尔值&同步完成)
这是一个blob缓存问题。清除缓存后执行iisreset解决了该问题