【问题标题】:MOSS 2007 Custom application page working on IP but not on Intranet and Internet URLMOSS 2007 自定义应用程序页面在 IP 上工作,但不在 Intranet 和 Internet URL 上
【发布时间】:2013-04-04 13:29:21
【问题描述】:

我在 MOSS 2007 站点上实现了一个自定义应用程序页面。我已将 VS 文件夹放入布局中,并在 web.config 和 gac 中进行了所有必要的更改。自定义应用程序页面使用 IP 地址运行顺畅

例如:(http://)IP:portnumber/_layouts/Applicationfolder/page.aspx

但只要我尝试使用 Intranet 或 Internet url,例如:/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 身份验证问题。我可能错了。只是猜测。

任何帮助将不胜感激。

【问题讨论】:

  • 您是否启用了匿名访问?

标签: sharepoint sharepoint-2007 iis-6 moss2007-security


【解决方案1】:

你能检查一下是否启用了匿名访问吗?

您是否为此站点配置了备用访问映射?

如果没有,请按照此链接进行配置。

http://technet.microsoft.com/en-us/library/cc261814(office.12).aspx '它适用于 Moss 2007,但概念相同。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-03-22
    • 2019-07-03
    • 1970-01-01
    • 2010-12-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多