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.]

Get broken images in MCMS authoring mode

This situation happened in my development machine. I think the problem exited since I have set up the CMS on it.

First, I switched to edit mode and everything looks fine including the web author console area. Then, I clicked the add new posting to enter the edit page and it looks fine too. However, when I finished the editing process and clicked the "Save" command, a pop up window which contains broken images showed up.

According to my experience, it is a similar issue to my previous post, [Get a repeating path in CMS resources gallery on XP platform]. To solve the problem, simply follow the procedure below:

  1. Open the IIS manager.
  2. Find out the web instance to which your CMS app installed.
  3. Switch to your CMS application if you installed it as a sub app under your web instance.
  4. Find out a folder called "cms" and enter it.
  5. Find out a virtual folder called "Web Author". (BINGO! If "Web Author" is not a virtual folder then it is the problem. Simply right click on it then adjust the setting to virtual folder by removing the application pool.)
  6. Done.
[re-post this article due to database crash.]

Using MCMS Performance Counters

It seems MCMS has it’s own performance counters which could be installed on MCMS server itself and browsed by performance tool under control panel.

These MCMS performance counters should be installed when we installed the MCMS spa1. So, They already existed and you just don’t know.

However, there are some issues that you may not see these performance counters after the installation process. You can fallow the steps below to solve this issue:

  1. Open the command window and switch to the directory path below:
    [MCMS install path] \ Server \ bin
  2. Type the command below and press enter button:
    regsvr32 /i cmsperfcounters.dll
  3. reboot server.
  4. If you have installed Microsoft Visual Studio .NET 2003 before then you can execute the “Exctrlst.Exe” tool to verify if the MCMS performance counters have installed successfully.
    The Exctrlst.Exe tool locate at the [Visual Studio Install path] \ Common7 \ Tools \ Bin \ winnt .
    Just execute the program and verify if there has a “CMS Performance Counters” in the middle text box. if you can see that then it means the installation process is successful.
  5. Open [Control Panel] > [ Administrative Tools] > [Performance] and click the “Add” button on the window, then select “CMS Performace Counters“ at the “Performace Object” drop down menu. Now, you should see all the CMS related counters display in the list box. Enjoy!

About the meaning of every CMS Performance Counter, the MCMS help CHM file has detailed information. you can download it from Microsoft MSDN website.
Here is the link.

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

Switching Reports and ReportServer folders under the CMS Website

The description of how to install reporting services in the computer which has MCMS setup.

The Reporting Services virtual folders (Reports and ReportServer) are installed in Default Web Site in IIS.

If we have installed a CMS web site on the same machine, then we should stop it and start the oringinal default web site before we install the Reporting Services.

After that, right click on virtual folders and execute the "Save Configuration to a file" options from "All task" inside the POP Windows, then we can use these files to import virtual folders under the CMS web site.

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

Wozniak Time

[Original published date: 9/12/2007 1:55:27 AM]

It was a great occasion that Trendmicro could invite Steve Wozniak, the founder of Apple Inc, to come to our office and give us a speech.

Although his speech was almost about the content of his new book, iWoz, he still gave us a impressive image of legendary engineer. Woznaik is not like another founder of Apple Inc, Steve Jobs. He is a typical engineer who loves to invent new stuff and hesitate to show up in public. Many great products produced by Apple in the 80s actually came from Wozniak's hand and they are inlcuding Apple I and II. He always treat himself as an engineer even he gained a lot of money from his founder position and the growing well of Apple, more than that, he actually shared his divident with basic employees. His value is so noble that some people call him the only good man in silicon valley.

At the Q & A period, our CCO, Jenny asked Woz that how do you think about the computer viruses and the hackers who made them? Wozniak's response is very mischievous, he said: All of my servers use Macintosh system and I have two hourses to store these machine. But as I know, not any hacker even me has the firewall and I think it is because no one want to write a vurus on Macintosh system. Two times in those days, my friends bring in some linux machines and setup their own router and firewall but they ware intruded because somebody took control the computers. As a hacker, I never try to write virus or do something bad. However, too many hackers cross that line and I do not appreciate it totally. Basically, the Macintosh platform has lower marketship so very few people try to write virus on Macintosh. Anyway, the virus issue became more and more important especially we all step into the Internet right now, and one of companies which I am in board is focus on software security.

Then, One of our engineer ask him how do you negotiate and sell your innovation idea to your boss? He said: Engineers usually are focus on the functionality and do not know the real requirement from the customers. The valuable improvement to the software maybe not always the same to the engineer and customer. In order to getting closer to the customer, engineer must work closely with marketing to reach customer's thinking. Besides it, some bosses will listen to you but some don't, there is nothing I can do about that!

I also raised my question: Do you know Kai Fu Lee? He was the employee of Apple before and how do you feel that he join the Microsoft at last? Wozniak showed his humor again, he said: does his scandal really over? (all people laughed out loud at the time) The Q&A period took about 15 mins and I can not type each question and Woz's answer here because it is so many. Just want to share the experience with you and hope everyone who listend his speech does have inspired no mater by his value or profession. To those people who are interesting in his new book, iWoz, in Traditional Chinese edition, the website produced by Yuan-Liou publisher is a good start: http://www.ylib.com/hotsale/iWoz/index.htm.

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