Unanswered Alternate Access Mappings - External Site not loading properly

  • Saturday, May 22, 2010 9:09 PM
     
     

    I am trying to set up my default web app with an alternate access mapping for accessing the site externally. I extended the web app. The new web app appears in IIS. When I try to load the page, the web parts don't render and there are JS errors all over the place

    Yes I extended the web app to another IIS website.

    The default web app is http://sp2010 in the default zone . I extended that to another IIS web site for external access mapping to the url: http://sp2010.domainName.net in the extranet zone. The web parts are the OTB web parts on the home page for the Document Center and don't think they would have any hard-coding in them.

    Everything works fine on the internal site. On the external site, some things function, others don't. There are JS errors everywhere and the web parts don't display. The web parts are displaying docs that have been uploaded to the site. Internally, the docs display. Externally, the web part has the following message:

    "Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.


    Correlation ID:3ad99f73-f70d-4db8-afb3-19d07ff684d5"

     

    Thank you in advance for any assistance you might be able to provide.

     

    Thanks,

    David

     

All Replies

  • Sunday, May 23, 2010 6:14 PM
     
     
    Check what security zone your external app is running in when you use IE.  Since you are using a shortname for the internal web site it is probably coming up in the Local Intranet zone.  But since you are using a Fuly Qualified Domain Name (FQDN) for the extenal web site it would run in the Internet zone by default.  Some web parts that use things like Javascript have issues with the Internet zone because security on things like Java and active X ais tighter in that zone.  If your external site is running in the Internet zone try adding it to the Local Intranet or Trusted Sites zone and see if that doesn't fix your problem.
    Paul Stork SharePoint Server MVP
  • Sunday, May 23, 2010 7:04 PM
     
     
    Thanks Paul. I added it to the Local Intranet zone and changed the security level to Low. I was unable to add it to "Trusted Sites" as it says only "https" can be added to trusted sites.  Adding it to the Local Intranet zone is still giving me the Javascript/page rendering errors.
  • Monday, May 24, 2010 3:39 AM
     
     

    Since this is a SharePoint 2010 issue, this thread should likely be moved to one of those discussions.


    Imagine what we could be...If we could just imagine. Daniel A. Galant
  • Monday, May 24, 2010 3:52 AM
    Moderator
     
     

    You can find more detailed error message in ULS log, you can find the ULS log viewer tool here: http://code.msdn.microsoft.com/ULSViewer

  • Tuesday, June 22, 2010 4:26 PM
     
     

    I was able to extract the  error logs using ULS. Here are all of the 3 error messages associated with that coorelation ID:

    CrossListQueryCache::GetSiteData() - Query: <ViewFields><FieldRef Name="Title" Nullable="True" Type="Text"/><FieldRef Name="FileRef" Nullable="True" Type="Lookup"/><FieldRef Name="ID" Nullable="True" Type="Counter"/><FieldRef Name="Modified" Nullable="True" Type="DateTime"/><FieldRef Name="Author" Nullable="True" Type="User"/><FieldRef Name="Editor" Nullable="True" Type="User"/><FieldRef Name="Created" Nullable="True" Type="DateTime"/><FieldRef Name="FSObjType" Nullable="True" Type="Lookup"/><FieldRef Name="PermMask" Nullable="True" Type="Text"/><FieldRef Name="ProgId" Nullable="True" Type="Lookup"/><FieldRef Name="File_x0020_Size" Nullable="True" Type="Lookup"/><FieldRef Name="File_x0020_Type" Nullable="True" Type="Text"/><FieldRef Name="PublishingRollupImage" Nullable="True" Type="Image"/><FieldRef Name="_Level" Nullable="True" Type="Number"/><FieldRef Name="Comments" Nullable="True" Type="Note"/><FieldRef Name="AverageRating" Nullable="True" Type="AverageRating"/></ViewFields><Lists BaseType="1"><List ID="{0afd9f30-d326-493b-a537-92115f11c7cf}"/></Lists><RowLimit>10</RowLimit><Query><OrderBy><FieldRef Name="AverageRating" Nullable="True" Type="AverageRating" Ascending="FALSE"/></OrderBy></Query> Url: /. Web Part title: Highest Rated Documents

     

    ContentByQueryWebPart::ModifyXsltArgumentList() : webApp is null

    Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.ModifyXsltArgumentList(ArgumentClassWrapper argList)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform)

     Thank you for any insight or assistance.

     

     

  • Thursday, May 24, 2012 9:17 PM
     
     
    Did you ever find the fix for this? I am getting the same error.
  • Friday, July 27, 2012 11:04 AM
     
     
    I am also getting the same error. Any suggestions to fix this?

    C. Jake Jacobsen