2008年8月24日 星期日

Get a repeating path in CMS resources gallery

After installing CMS on XP platform, I got a image broken situation when enter any CMS default pages.

There is a repeating image path on HTML source, which like "/IntranetCmsApp/cms/WebAuthor/CMS/WebAuthor/…". To solve this problem, you need to change some application folder to pure virtual folder under your website through the IIS manager. Please read the original article below:

Topic: Template Gallery resources reference "/CMS/CMS/…"

When I select "create new page" in the Web Author console, I see the Template Gallery Window pop up but no images are being pulled down. The stylesheet is not being loaded and the Javascript files are not being pulled down. I viewed the source of this page and saw that there was an extra folder in the path to the resource files. The links looked like this: /CMS/CMS/WebAuthor/Client/WBC.css. I had the same type of problem when I went into the resource gallery. What could be wrong?

Answer

The solution to this problem is that the virtual directory "CMS" in the template application is an application and not a virtual directory. You can tell the difference between the two by their appearance in the MMC. A virtual directory has a little world on top of a folder while an application has a grey box with a page in it and a green arrow. To fix this:

  • Open the IIS_Admin MMC
  • Right click on the "CMS" Virtual Directory/Application item under the web root
  • Click properties on the virtual Directory tab and select "remove"
  • Click "OK"

Reference link, Similar situation

[re-post this article due to database crash.]

沒有留言: