This is a migrated thread and some comments may be shown as answers.

Alias (Cname)

2 Answers 89 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Devan Schellenberg
Top achievements
Rank 1
Devan Schellenberg asked on 27 Jan 2010, 04:32 PM
Hi,

I have installed RadEditor Lite with WSS 3.0 so that we can take advantage of the Image Upload feature with our Wiki.  When I browse to the site by using it's servername (eg: http:\\server) then the Image Manager works great, but when I browse to the Cname/Alias we have set up in DNS (eg: http:\\intranet) the Image Manager button does not work and comes up with the following error:

 

Server Error in '/' Application.

The Web application at http://intranet 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://intranet 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:

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:

[FileNotFoundException: The Web application at http://intranet 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.]
   Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken) +653
   Microsoft.SharePoint.SPSite..ctor(String requestUrl) +96
   Telerik.SharePoint.SharePointContext.InitContext(HttpContext context, String siteUrl, String webUrl, String webId) +52
   Telerik.SharePoint.RadControls.Editor.Dialogs.DialogLoaderJavascript.Page_Load(Object sender, EventArgs e) +186
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   Telerik.WebControls.Dialogs.DialogLoaderBase.OnLoad(EventArgs e) +104
   Telerik.WebControls.Dialogs.DialogLoaderJavascript.OnLoad(EventArgs e) +111
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016



I have a feeling this may be something I missed when setting up our Sharepoint server.  Any help would be appreciated.

Thanks.

2 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 28 Jan 2010, 07:39 AM
Hi Devan,
You need to configure your AAM (Alternate Access Mapping).
Please go to:
Central Administration > Operations > Alternate Access Mappings

You can also check this article on AAM.
http://blogs.msdn.com/sharepoint/archive/2007/03/06/what-every-sharepoint-administrator-needs-to-know-about-alternate-access-mappings-part-1.aspx



Regards,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Devan Schellenberg
Top achievements
Rank 1
answered on 28 Jan 2010, 03:23 PM
You were absolutely right.  I had restored this Farm to a new server but I must have missed configuring the AAM on the new server.

Thank you.
Devan.
Tags
WebParts for SharePoint
Asked by
Devan Schellenberg
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Devan Schellenberg
Top achievements
Rank 1
Share this question
or