Microsoft KB Archive/835159

= Links on your MCMS site appear to be broken =

Article ID: 835159

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft Content Management Server 2002
 * Microsoft Content Management Server 2002
 * Microsoft Content Management Server 2002

-





SYMPTOMS
Links in your Microsoft Content Management Server (MCMS) site may appear to be broken or may point to an incorrect posting. This behavior may occur when one or more of the following conditions are true:
 * The postings that contain the broken links were imported from another server by using MCMS site deployment.
 * The links contain bookmarks, query strings, or both.
 * Either the source MCMS server or the destination MCMS server has the host header mapping feature enabled. The feature is only enabled on one of the servers.



CAUSE
The internal links do not point to the server that the internal links are being served from. Instead, the internal links point to the source server. This behavior occurs because of the way that MCMS stores links that contain bookmarks or query strings.



RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next MCMS 2002 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Size   File name ---  27-Feb-2004  02:37  4,136  Adjustsp.sql



WORKAROUND
To work around this problem, make sure that you do not create any incorrect links, and correct the existing links.

To avoid creating incorrect links, do the following:  Avoid using spaces in the bookmark string. If a URL in the source server is created by using bookmarks, and the string that follows the URL contains spaces, the link points to the source server after the link's page is exported to the destination server. For example, your original URL may be the following:

http://MySourceServer/ThisPage#

You may change this to the following:

http://MySourceServer/ThisPage

Remember to change the names of the bookmarks to reflect the name that does not contain spaces. If you use query strings, enable MCMS host headers on both the source server and on the destination server. Note that if you enable MCMS host headers, you may have to re-code some of the site. Make sure that you consider what is required before you enable MCMS host headers on either server.

To correct the existing links, do either of the following:  Run the Adjustsp.sql SQL script that this hotfix includes against the database of the MCMS server that contains the incorrect links. The script creates the stored procedure to correct the links. Use the following format to run the stored procedure:

Exec AdjustURL,  

Note In this example,  is the DNS name of the MCMS server where the SDO package was created (for example, Microsoft.com), and   is the DNS name of the MCMS server where the SDO package was imported.

Do not include &quot;http:&quot; or a dash (-) in either of the parameters. You do not have to run the IISRESET command after you run the script because the MCMS cache is automatically updated. Follow the suggestions in the &quot;To avoid creating incorrect links&quot; section, and then export all the content from the source server to the destination server. When you export the content, you overwrite all the incorrect links from the destination server.</li></ul>

Keywords: kbqfe kbprb kbhotfixserver KB835159

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.