我已在MOSS 2007网站上实现了自定义应用程序页面。我已将VS文件夹放在布局中,并在web.config和gac中进行了所有必要的更改。自定义应用程序页面使用IP地址
顺利运行 e.g:(http://)IP:portnumber/_layouts/Applicationfolder/page.aspx
。
但是,只要我尝试使用内联网或互联网网址,例如:/abc/_layouts/Applicationfolder/page.aspx或http://abc.orgname.com/_layouts/Applicationfolder/page.aspx。我得到以下错误。请帮帮我..
Cannot complete this action.
Please try again. at Microsoft.SharePoint.Library.SPRequestInternalClass.OpenWebInternal(String bstrUrl, Guid& pguidID, String& pbstrRequestAccessEmail, UInt32& pwebVersion, String& pbstrServerRelativeUrl, UInt32& pnLanguage, UInt32& pnLocale, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, Int32& plSiteFlags)
at Microsoft.SharePoint.Library.SPRequest.OpenWebInternal(String bstrUrl, Guid& pguidID, String& pbstrRequestAccessEmail, UInt32& pwebVersion, String& pbstrServerRelativeUrl, UInt32& pnLanguage, UInt32& pnLocale, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, Int32& plSiteFlags)
我在部署后遇到了上述错误,我按照链接中给出的解决方案进行了以下解决:
http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/602705ce-08a3-41af-a6fe-b1472b048532
但现在,“应用程序”页面仅适用于IP并在Intranet和Internet URL上引发错误。 我还检查了备用访问映射。因为它是生产,其余的网站都可以正常使用IP和URL。 我认为这可能是一些配置或ASP.net身份验证问题。我可能错了。只是一个猜测。
任何帮助将不胜感激。
答案 0 :(得分:0)
您可以检查是否启用了匿名访问?
您是否为此站点配置了备用访问映射?
如果不是,请点击此链接进行配置。
http://technet.microsoft.com/en-us/library/cc261814(office.12).aspx “它适用于Moss 2007,但概念是相同的。