SharePoint.WarmUp issueshttps://gitlab.lsonline.fr/CodePlex/sharepointwarmup/-/issues2018-05-30T18:59:36Zhttps://gitlab.lsonline.fr/CodePlex/sharepointwarmup/-/issues/1Non disoposal of SPSite and SPWeb2018-05-30T18:59:36ZLaurent SittlerNon disoposal of SPSite and SPWebThis method in WarmUpJobDefinition.cs does not dispose sites and webs
```csharp
void AwakeWebApplication(SPWebService webService, Guid webApplicationId)
{
// Creating thread for async work
Thread webApplicationThread = new Thread(delegate(object param)
{
SPSiteCollection siteCollection = webService.WebApplications[(Guid)param].Sites;
// Browsing all site collection of the WebApplication
foreach (SPSite site in siteCollection)
{
SPWebCollection webs = site.AllWebs;
// Browsing each web of the site
foreach (SPWeb web in webs)
AwakeURL(web.Url);
}
});
// Start the thread
webApplicationThread.Start(webApplicationId);
}
```This method in WarmUpJobDefinition.cs does not dispose sites and webs
```csharp
void AwakeWebApplication(SPWebService webService, Guid webApplicationId)
{
// Creating thread for async work
Thread webApplicationThread = new Thread(delegate(object param)
{
SPSiteCollection siteCollection = webService.WebApplications[(Guid)param].Sites;
// Browsing all site collection of the WebApplication
foreach (SPSite site in siteCollection)
{
SPWebCollection webs = site.AllWebs;
// Browsing each web of the site
foreach (SPWeb web in webs)
AwakeURL(web.Url);
}
});
// Start the thread
webApplicationThread.Start(webApplicationId);
}
```https://gitlab.lsonline.fr/CodePlex/sharepointwarmup/-/issues/2Object Reference Not Set to An Instance of An Object2018-05-30T19:00:40ZLaurent SittlerObject Reference Not Set to An Instance of An ObjectHello,
I am trying to install your solution package to a SP 2010 Foundation environment but I keep getting the "Object reference not set to an instance of the object..." error. Can you help?
Thanks!
TomHello,
I am trying to install your solution package to a SP 2010 Foundation environment but I keep getting the "Object reference not set to an instance of the object..." error. Can you help?
Thanks!
Tomhttps://gitlab.lsonline.fr/CodePlex/sharepointwarmup/-/issues/3The SharePoint 2010 Timer service terminated unexpectedly2018-05-30T19:01:23ZLaurent SittlerThe SharePoint 2010 Timer service terminated unexpectedlyIn one of our production environment on the application server (there are two wfe and one application server) the Timer Service terminates as soon as the WarmUp Job executes.
There is no error message provided and no message in the SharePoint log.In one of our production environment on the application server (there are two wfe and one application server) the Timer Service terminates as soon as the WarmUp Job executes.
There is no error message provided and no message in the SharePoint log.https://gitlab.lsonline.fr/CodePlex/sharepointwarmup/-/issues/4What is exactly warmed up?2018-05-30T19:08:36ZLaurent SittlerWhat is exactly warmed up?Hello,
What is exactly warmed up when no additional URLs are entered? All the web applications in the farm or do we need to add each root URL?
Thank you,
CarolinaHello,
What is exactly warmed up when no additional URLs are entered? All the web applications in the farm or do we need to add each root URL?
Thank you,
Carolinahttps://gitlab.lsonline.fr/CodePlex/sharepointwarmup/-/issues/5Warmup additional URLs2018-05-30T19:10:43ZLaurent SittlerWarmup additional URLsWhen I try to add additional URLs and press OK, then they are not saved and also no Timer Jobs are created.When I try to add additional URLs and press OK, then they are not saved and also no Timer Jobs are created.https://gitlab.lsonline.fr/CodePlex/sharepointwarmup/-/issues/6Log of URLs that it worked on?2018-05-30T19:11:27ZLaurent SittlerLog of URLs that it worked on?Hello,
Is there any logging of which URLs it actually woke up?Hello,
Is there any logging of which URLs it actually woke up?https://gitlab.lsonline.fr/CodePlex/sharepointwarmup/-/issues/7The timerjob takes 0.00 seconds...2018-05-30T19:12:52ZLaurent SittlerThe timerjob takes 0.00 seconds...Hi,
Great idea and great job. I tried your solution on my test environment. Unfortunately, after following your installation steps, the timerjob took 0.00 seconds everytimes to be successfully executed. Nothing wrong in the logs but my differents webs stays quite slow on the first access.
Can you explain how it works exactly and a different way to check the successfull execution ?
I'm on SharePoint 2010, CU April 2012.
Many thanks,Hi,
Great idea and great job. I tried your solution on my test environment. Unfortunately, after following your installation steps, the timerjob took 0.00 seconds everytimes to be successfully executed. Nothing wrong in the logs but my differents webs stays quite slow on the first access.
Can you explain how it works exactly and a different way to check the successfull execution ?
I'm on SharePoint 2010, CU April 2012.
Many thanks,https://gitlab.lsonline.fr/CodePlex/sharepointwarmup/-/issues/8Consistent 401 errors2018-05-30T19:15:53ZLaurent SittlerConsistent 401 errorsHi,
I have trouble running this in our environment, getting 401 errors on all sites.
I have tried running several warmupscripts ranging from powershell to executables and getting this on all tried variants. I have tried several different accounts to run the scripts under. In the IIS logfiles i get no credentials information.
What credentials does this run under and what permissions are needed to the farm, site collections and sites/subsites?
Example of the iis logfile entry containing a 401 error:
```
2012-06-14 12:46:46 xxx.xxx.xxx.xxx GET /sitecollection/site - 80 - xxx.xxx.xxx.xxx - 401 2 5 0
```
This seems consistent to all sites.
Example of successful entry using authenticated user hitting root (showing account info being logged normally):
```
2012-06-14 12:57:01 xxx.xxx.xxx.xxx GET /default.aspx - 80 DOMAIN\user xxx.xxx.xxx.xx UIserAgentString 200 0 0 561
```Hi,
I have trouble running this in our environment, getting 401 errors on all sites.
I have tried running several warmupscripts ranging from powershell to executables and getting this on all tried variants. I have tried several different accounts to run the scripts under. In the IIS logfiles i get no credentials information.
What credentials does this run under and what permissions are needed to the farm, site collections and sites/subsites?
Example of the iis logfile entry containing a 401 error:
```
2012-06-14 12:46:46 xxx.xxx.xxx.xxx GET /sitecollection/site - 80 - xxx.xxx.xxx.xxx - 401 2 5 0
```
This seems consistent to all sites.
Example of successful entry using authenticated user hitting root (showing account info being logged normally):
```
2012-06-14 12:57:01 xxx.xxx.xxx.xxx GET /default.aspx - 80 DOMAIN\user xxx.xxx.xxx.xx UIserAgentString 200 0 0 561
```https://gitlab.lsonline.fr/CodePlex/sharepointwarmup/-/issues/9TimerJob only run in one machine2018-05-30T19:19:10ZLaurent SittlerTimerJob only run in one machineHi,
It is possible to set the timer job to run on all machines on the farm?
Im testing but the warmup timer job only run in one machine on the farm.
Thanks
TPHi,
It is possible to set the timer job to run on all machines on the farm?
Im testing but the warmup timer job only run in one machine on the farm.
Thanks
TPhttps://gitlab.lsonline.fr/CodePlex/sharepointwarmup/-/issues/10Additional Urls not work properly2018-05-30T19:25:20ZLaurent SittlerAdditional Urls not work properlyHi,
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 as separator in Url.spilt method. OWSTimer will always get exception.
I've changed the code in WarmUpJobDefinition.cs that works. HTH.
<div style="color:black; background-color:white">
```csharp
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, "");
foreach (string url in allUrls)
{
// We check the URL is not empty
if (url.Trim().Length > 0)
AwakeURL(url);
}
```
Regards,
SamHi,
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 as separator in Url.spilt method. OWSTimer will always get exception.
I've changed the code in WarmUpJobDefinition.cs that works. HTH.
<div style="color:black; background-color:white">
```csharp
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, "");
foreach (string url in allUrls)
{
// We check the URL is not empty
if (url.Trim().Length > 0)
AwakeURL(url);
}
```
Regards,
Samhttps://gitlab.lsonline.fr/CodePlex/sharepointwarmup/-/issues/11Time service crashes, Event ID 8311, Event ID 1001, and large Central Admin C...2018-05-31T07:03:11ZLaurent SittlerTime service crashes, Event ID 8311, Event ID 1001, and large Central Admin Content DBHello,
I ran into an issue over the past couple of months with SharePoint WarmUp. It started when I noticed my Central Admin Content DB growing up to 50GB. When the WarmUp job runs every 15 minutes I receive the following error in my servers event viewer 5 times, one for each web application:
Event ID 8311
An operation failed because the following certificate has validation errors:
Subject Name:
The root of the certificate chain is not a trusted root authority.
That is then followed by Event ID 1001:
```
Problem signature:
P1: owstimer.exe
P2: 14.0.6123.5000
P3: 4fd15afa
P4: Microsoft.SharePointP5: 14.0.0.0
P6: 4fd15297P7: 13d
P8: 2e
P9: System.IO.DirectoryNotFound
nP10:
Attached files:
These files may be available here: C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_owstimer.exe_75faa0b55ee7439b93a483edffdf550d2d03f7c_d69a7826
```
When the timer job runs it also causes my Timer Service to crash, so any other jobs running at that time also fail.
Has anyone else experienced this and do you have any suggestions for a fix?
Thank you,
BHello,
I ran into an issue over the past couple of months with SharePoint WarmUp. It started when I noticed my Central Admin Content DB growing up to 50GB. When the WarmUp job runs every 15 minutes I receive the following error in my servers event viewer 5 times, one for each web application:
Event ID 8311
An operation failed because the following certificate has validation errors:
Subject Name:
The root of the certificate chain is not a trusted root authority.
That is then followed by Event ID 1001:
```
Problem signature:
P1: owstimer.exe
P2: 14.0.6123.5000
P3: 4fd15afa
P4: Microsoft.SharePointP5: 14.0.0.0
P6: 4fd15297P7: 13d
P8: 2e
P9: System.IO.DirectoryNotFound
nP10:
Attached files:
These files may be available here: C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_owstimer.exe_75faa0b55ee7439b93a483edffdf550d2d03f7c_d69a7826
```
When the timer job runs it also causes my Timer Service to crash, so any other jobs running at that time also fail.
Has anyone else experienced this and do you have any suggestions for a fix?
Thank you,
Bhttps://gitlab.lsonline.fr/CodePlex/sharepointwarmup/-/issues/12How to deploy SPWarmUp for Project Server 2010?2018-05-31T07:04:17ZLaurent SittlerHow to deploy SPWarmUp for Project Server 2010?SPWarmUp configure in SharePoint 2010 looking to improve the response of Project Server 2010 but they remain the same. I can do to improve the responsiveness of Project?
Regards,SPWarmUp configure in SharePoint 2010 looking to improve the response of Project Server 2010 but they remain the same. I can do to improve the responsiveness of Project?
Regards,https://gitlab.lsonline.fr/CodePlex/sharepointwarmup/-/issues/13SharePoint 2013 Compatable?2018-05-31T07:05:04ZLaurent SittlerSharePoint 2013 Compatable?Has anyone tried deploying to 2013?
Any issues or nuances to be aware of?
Thanks!Has anyone tried deploying to 2013?
Any issues or nuances to be aware of?
Thanks!https://gitlab.lsonline.fr/CodePlex/sharepointwarmup/-/issues/14Memory Leaks2018-05-31T07:05:50ZLaurent SittlerMemory LeaksJust saw the review about the memory leaks.
Has anyone checked for undisposed objects? Has the solution been updated?Just saw the review about the memory leaks.
Has anyone checked for undisposed objects? Has the solution been updated?