This project is read-only.

Additional Urls not work properly

Jul 20, 2012 at 4:04 AM

Hi,

This a awesome tool and helpful. Recently, I tried to add multiple additinal urls in WarmUpJobConfiguration.aspx. It's not work properly if we put '\t' as separator in Url.spilt method. OWSTimer will always get exception.

I've changed the code in WarmUpJobDefinition.cs that works. HTH.

if (Urls.Trim().Length > 0)
                {
                    // Modified by Sam Lin(samlin@live.com) - 2012/07/20
                    // Fix the Urls split issue
                    // Browing each URL
                    string[] allUrls = Regex.Split(Urls, "\r\n");

                    foreach (string url in allUrls)
                    {
                        // We check the URL is not empty
                        if (url.Trim().Length > 0)
                            AwakeURL(url);
                    }

Regards,

Sam

Coordinator
Jul 23, 2012 at 4:45 PM

Hi Sam,

Thanks for your feedback. I'll correct this bug in the next release including demands on farm topology support.

Regards,

 

Laurent