System.IO.FileNotFoundException when using variations in sharepoint 2007 web application
The Web application at [URL] 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. 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: System.IO.FileNotFoundException: The Web application at http://testzad.dyndns.info:5200 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 50: private string GetRedirectTargetUrl() Line 51: { Line 52: ReadOnlyCollection<VariationLabel> spawnedLabels = Variations.Current.UserAccessibleLabels; Line 53: Line 54: string sourceLabelUrl = string.Empty; Source File: c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES\VariationsRootLanding.ascx Line: 52 I created english and arabic variations in my sharepoint web application "sharepoint 2007", it gives the Exception when i access the website from the domain but it works well local on the server or by the machine name. Note this exception appear when access any page except pages under _layouts ex: _layouts/settings.aspx. thanks a lot.
August 3rd, 2011 2:01pm

This can happen if the domain name used in the Url is not registered as domain name in the AAM settings of the web app. Cheers, StefanMicrosoft CSS
Free Windows Admin Tool Kit Click here and download it now
August 3rd, 2011 3:58pm

Stefan, this website launched before creating the variations, and it's stable online without the variations. this problem appears when i created the 2 variations and i see that problem form VariationsRootLanding.ascx control. thx in advance.Asmaa Abdel-Rahman
August 4th, 2011 3:17am

Hi Asmaa, the problem I described will only occur with variations - so that is not a valid test. Cheers, StefanMicrosoft CSS
Free Windows Admin Tool Kit Click here and download it now
August 4th, 2011 6:03am

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

Other recent topics Other recent topics