views:

449

answers:

0

Here is our situation as it stands now...

-We have a windows server 2003 with IIS 6.0 setup purely as a MOSS 2007 server. This server has a site developed by us that uses Sharepoint to store Infopath (xsn) forms. The website (ASP .NET) will figure out which form the user is requestin, access it from the Sharepoint site and then prompt user with the form to download. We have an external web page (on another separate server 2003 server) which actually connects to this MOSS server. The external web site server has a web.config value pointing to the URL of the MOSS server (an https:// URL).

We have a DNS entry for our MOSS server so that it can be named h.ttp://live-docfill.servername.com/templatehost.aspx instead of h.ttp://live-docfill/templatehost.aspx.

In order to get the requests to work coming in as requests with the full URL, we added an "alternate access mapping" in sharepoint so that the "Default" zone has h.ttp://live-docfill (server name) and the "Internet" zone has h.ttps://live-docfill.servername.com.

On our development and QA environments (which did NOT use SSL, and thus a standard h.ttp:// URL in the web.config and Alternate Access Mapping), this all worked fine without issues. On the production environment, where the SSL variable was added, we are getting the following error: (note that the site it is looking for does NOT have the https but rather the http:


Server Error in '/' Application. The operation failed because the following URL does not correspond to a SharePoint site collection: h.ttp://live-docfill.servername.ca/TemplateHost.aspx. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.Office.InfoPath.Server.Util.InfoPathFatalException: The operation failed because the following URL does not correspond to a SharePoint site collection: h.ttp://live-docfill.servername.ca/TemplateHost.aspx.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InfoPathFatalException: The operation failed because the following URL does not correspond to a SharePoint site collection: h.ttp://live-docfill.servername.ca/TemplateHost.aspx.] Microsoft.Office.InfoPath.Server.DocumentLifetime.SiteAndWebCache.EnsureRequestSite(Ids errorMessageId) +209 Microsoft.Office.InfoPath.Server.DocumentLifetime.SiteAndWebCache.EnsureRequestSite() +29 Microsoft.Office.InfoPath.Server.DocumentLifetime.ErrorPageRenderer.RenderResult(TextWriter writer, Document document, EventLogStart eventLogStart) +1073 Microsoft.Office.InfoPath.Server.Controls.XmlFormView.RenderError(HtmlTextWriter writer, ErrorPageRenderer errorPageRenderer) +315 Microsoft.Office.InfoPath.Server.Controls.XmlFormView.RenderContents(HtmlTextWriter writer) +374 System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +29 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22 Microsoft.Office.InfoPath.Server.Controls.XmlFormView.RenderControl(HtmlTextWriter writer) +38 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20 System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +59 System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +68 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121 System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +37 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20 System.Web.UI.Page.Render(HtmlTextWriter writer) +26 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2558

Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433