Redirection Error after adding new servers to the Farm
Dear All, I have add two new servers to my already existing Farm..When I try to access the web apps on the new web servers I get the following error: "The Web application at http://localhost could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application." Source Error: Line 47: private string GetRedirectTargetUrl() Line 48: { Line 49: ReadOnlyCollection<VariationLabel> spawnedLabels = Variations.Current.UserAccessibleLabels; Line 50: if (spawnedLabels.Count > 0) Line 51: { I am sure that I have all the resouces in place on the new servers..but still I am getting this error. Does anyone know the solution? Thanks in Advance. Sami
March 28th, 2010 4:57pm

How about Load balanced URL in the Web applications? On individual server, the site may be accessed using http://servername:port but when it spans multiple servers you need to configure the Hostheader on each server for the webapp and configure the same into Loadbancer URL. For same, you need to create an entry in the DNS which should point to the NLB VIP. AAM must be having the URL configured anyways. http://vspug.com/aaronrh/2007/04/13/sharepoint-farm-virtual-server-and-network-load-balancing/ is again a nice article for sharepoint with NLB Hope this clarifies the situation.I LOVE MS..... Thanks and Regards, Kshitiz (Posting is provided "AS IS" with no warranties, and confers no rights.)
Free Windows Admin Tool Kit Click here and download it now
March 28th, 2010 6:25pm

Kshitzs! Thanks for the Reply. I work in a large setup and infrastructure people are responsible for doing load balancing. I just want to test the web apps on all the three servers individually and then ask them to do load balancing for me. Is it not possible to test them individually on servers without load balancing? All the web apps are working fine on the machine holding CA but not on newly added web servers. Any new Idea about this? Ps: Note that the web app in which Iam mostly interested is in another language (Arabic) but I have the language pack installed on all three of them. Do you think that this can be an issue? Because If I create a new web app in English it works fine on all of them but not the one in which I am mostly interested. Sami
March 28th, 2010 6:59pm

Well, even after load balancing you can do it. On your local machine edit the HOSTS file and add the entry of the site pointing to the individual WFE and browse. entry should be like beloe if you have 3 WFE servers with IPs 192.168.1.1 /1.2/1.3 and servername server1/server2/server3 and myportal.sharepoint.com is your portal. #192.168.1.1 myportal.sharepoint.com #server1 #192.168.1.2 myportal.sharepoint.com #server2 #192.168.1.3 myportal.sharepoint.com #server3 Just remove the # before the IP of the server and save the HOSTS file and browse, the session will open from the WFE you want.I LOVE MS..... Thanks and Regards, Kshitiz (Posting is provided "AS IS" with no warranties, and confers no rights.)
Free Windows Admin Tool Kit Click here and download it now
March 29th, 2010 8:29pm

Well. I have tried with this approach but it is actually not working. Just to show you the whole error message: here it is : [FileNotFoundException: http://localhost. (URL) . URL URL .] Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken) +652 Microsoft.SharePoint.SPSite..ctor(String requestUrl) +96 Microsoft.SharePoint.Publishing.<>c__DisplayClass1.<InitializeUserAccessibleLabels>b__0() +83 Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state) +70 Microsoft.SharePoint.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() +392 Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) +152 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) +345 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) +86 Microsoft.SharePoint.Publishing.Variations.InitializeUserAccessibleLabels() +194 Microsoft.SharePoint.Publishing.Variations.get_UserAccessibleLabels() +41 ASP._controltemplates_variationsrootlanding_ascx.GetRedirectTargetUrl() in c:\Program Files\Common Files\Microsoft Shared\web server extensions\12 \TEMPLATE\CONTROLTEMPLATES\VariationsRootLanding.ascx:49 ASP._controltemplates_variationsrootlanding_ascx.OnLoad(EventArgs e) in c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES\VariationsRootLanding.ascx:41 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 What do you think about this? Thanks. Sami
March 30th, 2010 3:43pm

Well, As per http://sgryphon.spaces.live.com/Blog/cns!C622C26D0CB6F4E9!126.entry?wa=wsignin1.0&sa=985909389 this seems to be a known issue and MS is working to resolve the issue. Consider this an Old Post, I believe this should have been fixed. You might have to get more info about the hotfix from Microsoft CSS or try deploying latest service pack.I LOVE MS..... Thanks and Regards, Kshitiz (Posting is provided "AS IS" with no warranties, and confers no rights.)
Free Windows Admin Tool Kit Click here and download it now
April 1st, 2010 8:50pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics