<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Manhar Sharma</title><link>http://blogs.technet.com/b/manharsharma/</link><description /><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Sharepoint 2010 Web Analytics Troubleshooting (Reporting DB)</title><link>http://blogs.technet.com/b/manharsharma/archive/2012/10/13/sharepoint-2010-web-analytics-troubleshooting-reporting-db.aspx</link><pubDate>Sat, 13 Oct 2012 01:47:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3525836</guid><dc:creator>Manhar Sharma</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/manharsharma/rsscomments.aspx?WeblogPostID=3525836</wfw:commentRss><comments>http://blogs.technet.com/b/manharsharma/archive/2012/10/13/sharepoint-2010-web-analytics-troubleshooting-reporting-db.aspx#comments</comments><description>&lt;p&gt;We can divide the Troubleshooting of Web Analytics into 3 different&amp;nbsp;multiple parts.&lt;/p&gt;
&lt;p&gt;The data is&amp;nbsp;moves from&lt;/p&gt;
&lt;div&gt;
&lt;table border="1" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&amp;nbsp; 1.)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; .usage files are created on all the WFEs.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&amp;nbsp; 2.)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data moves from .usage files to Staging Database and Logging Database with Import timer jobs.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&amp;nbsp; 3.)&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data moved from&amp;nbsp;Staging Database to Reporting Database by&amp;nbsp;Report Consolidation components.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Below I have included some basic steps which can be&amp;nbsp;tried to confirm if Data is getting moved from Staging DB to Reporting DB&amp;nbsp; &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;&lt;strong&gt;&lt;span style="font-weight: bold; text-decoration: underline;"&gt;Troubleshooting Steps&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;:&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&lt;span style="font-family: Calibri; font-size: 11pt;"&gt;The Data which need to be&amp;nbsp;written to the Reporting Database that is gathered in the fact tables in&amp;nbsp;the Staging database.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&lt;span style="font-family: Calibri; font-size: 11pt;"&gt;Data is moved into the&amp;nbsp;Reporting Database from staging database by the following Timer job "Microsoft SharePoint Foundation Usage Data Processing " which runs Daily once around 2.00 AM.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&lt;span style="font-family: Calibri; font-size: 11pt;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/5482.wa1.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/5482.wa1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&lt;span style="font-family: Calibri; font-size: 11pt;"&gt;If you will check the ULS&amp;nbsp;logs around 2.00 AM you can see the Web Analytics Service Component Controller, ReportConsolidatorComponent, WebAnalytics.DatabaseMaintenance and other jobs execute.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&lt;span style="font-family: Calibri; font-size: 11pt;"&gt;For fact table you can get in uls logs :-&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&lt;span style="font-family: Calibri; font-size: 11pt;"&gt;------------------------------------------------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&lt;span style="font-size: xx-small;"&gt;10-09-2012 02:00:19.17&amp;nbsp;WebAnalyticsService.exe (0x1570)&amp;nbsp;0x1104&amp;nbsp;Web Analytics Services&amp;nbsp;Data Consolidator&amp;nbsp;c2af&amp;nbsp;Verbose&amp;nbsp;Copying the &lt;span style="background-color: #ffff00;"&gt;fact data from the source database&lt;/span&gt; using the connection string Data Source=spsqlext10;Initial Catalog=WebAnalyticsServiceApplication&lt;span style="font-size: xx-small;"&gt;&lt;span style="background-color: #ffff00;"&gt;StagingDB&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&lt;span style="font-size: xx-small;"&gt;10-09-2012 02:00:19.17&amp;nbsp;WebAnalyticsService.exe (0x1570)&amp;nbsp;0x1104&amp;nbsp;Web Analytics Services&amp;nbsp;Data Consolidator&amp;nbsp;c2ak&amp;nbsp;Verbose&amp;nbsp;Copying site inventory table&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;10-09-2012 02:00:19.17&amp;nbsp;WebAnalyticsService.exe (0x1570)&amp;nbsp;0x1104&amp;nbsp;Web Analytics Services&amp;nbsp;Data Consolidator&amp;nbsp;g14w&amp;nbsp;Medium&amp;nbsp;The last inventory copy time is 10/08/2012 00:00:00.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;10-09-2012 02:00:19.18&amp;nbsp;WebAnalyticsService.exe (0x1570)&amp;nbsp;0x1104&amp;nbsp;Web Analytics Services&amp;nbsp;Data Consolidator&amp;nbsp;c2al&amp;nbsp;Verbose&amp;nbsp;Finished copying site inventory table&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;10-09-2012 02:00:19.18&amp;nbsp;WebAnalyticsService.exe (0x1570)&amp;nbsp;0x1104&amp;nbsp;Web Analytics Services&amp;nbsp;Data Consolidator&amp;nbsp;c2ag&amp;nbsp;Verbose&amp;nbsp;Copying the fact table dbo.WAQueryText&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;10-09-2012 02:00:19.20&amp;nbsp;WebAnalyticsService.exe (0x1570)&amp;nbsp;0x1104&amp;nbsp;Web Analytics Services&amp;nbsp;Data Consolidator&amp;nbsp;c2ag&amp;nbsp;Verbose&amp;nbsp;Copying the fact table dbo.WAScope&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;10-09-2012 02:00:19.22&amp;nbsp;WebAnalyticsService.exe (0x1570)&amp;nbsp;0x1104&amp;nbsp;Web Analytics Services&amp;nbsp;Data Consolidator&amp;nbsp;c2ag&amp;nbsp;Verbose&amp;nbsp;Copying the fact table dbo.WAUserTitle&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;10-09-2012 02:00:19.24&amp;nbsp;WebAnalyticsService.exe (0x1570)&amp;nbsp;0x1104&amp;nbsp;Web Analytics Services&amp;nbsp;Data Consolidator&amp;nbsp;c2ag&amp;nbsp;Verbose&amp;nbsp;Copying the fact table dbo.WAUserDepartment&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;10-09-2012 02:00:19.26&amp;nbsp;WebAnalyticsService.exe (0x1570)&amp;nbsp;0x1104&amp;nbsp;Web Analytics Services&amp;nbsp;Data Consolidator&amp;nbsp;d0t3&amp;nbsp;Verbose&amp;nbsp;Copying the fact table dbo.WAAssetMetadata&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;10-09-2012 02:00:19.39&amp;nbsp;WebAnalyticsService.exe (0x1570)&amp;nbsp;0x1104&amp;nbsp;Web Analytics Services&amp;nbsp;Data Consolidator&amp;nbsp;c2ah&amp;nbsp;Verbose&amp;nbsp;Copying the fact table [dbo].[WAClickFact]&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;10-09-2012 02:00:19.44&amp;nbsp;WebAnalyticsService.exe (0x1570)&amp;nbsp;0x1104&amp;nbsp;Web Analytics Services&amp;nbsp;Data Consolidator&amp;nbsp;c2ah&amp;nbsp;Verbose&amp;nbsp;Copying the fact table [dbo].[WAResultFact]&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;10-09-2012 02:00:19.48&amp;nbsp;WebAnalyticsService.exe (0x1570)&amp;nbsp;0x1104&amp;nbsp;Web Analytics Services&amp;nbsp;Data Consolidator&amp;nbsp;c2ah&amp;nbsp;Verbose&amp;nbsp;Copying the fact table [dbo].[WAUserSearchFact]&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;10-09-2012 02:00:19.50&amp;nbsp;WebAnalyticsService.exe (0x1570)&amp;nbsp;0x1104&amp;nbsp;Web Analytics Services&amp;nbsp;Data Consolidator&amp;nbsp;dg6z&amp;nbsp;Medium&amp;nbsp;There is no new fact data to copy.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;10-09-2012 02:00:19.50&amp;nbsp;WebAnalyticsService.exe (0x1570)&amp;nbsp;0x1104&amp;nbsp;Web Analytics Services&amp;nbsp;Data Consolidator&amp;nbsp;c2ai&amp;nbsp;Verbose&amp;nbsp;Finished copying the fact data&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;10-09-2012 02:00:19.52&amp;nbsp;WebAnalyticsService.exe (0x1570)&amp;nbsp;0x1104&amp;nbsp;Web Analytics Services&amp;nbsp;Data Consolidator&amp;nbsp;c2bg&amp;nbsp;Medium&amp;nbsp;&lt;span style="background-color: #ffff00;"&gt;Finished copying fact data to the database&lt;/span&gt; with server name&amp;nbsp;MOSS2010.phm.com and database name &lt;span style="background-color: #ffff00;"&gt;WebAnalyticsServiceApplication_ReportingDB&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&lt;span style="font-size: x-small;"&gt;-------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&lt;span style="font-family: Calibri; font-size: 11pt;"&gt;You can verify when was the last time Data was copied from Staging database to Reporting Database from the following Table=&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;span style="font-family: Calibri; font-size: 11pt;"&gt;Dbo.WASetting&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&lt;span style="font-family: Calibri; font-size: 11pt;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/7002.wa2.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/7002.wa2.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;You can also compare the data in both the database (staging and reporting) from the table&amp;nbsp; dbo.WAAssetMetadata.&amp;nbsp; This table is in both the databases and can be compared using simple queries..&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;Select * from dbo.WAAssetMetadata with (nolock)&lt;/p&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/5635.wa3.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/5635.wa3.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;If&amp;nbsp; you want to check the result for any specific site collection or after specific date to cross check if data is moved or not in the reporting database you can use similar queries&amp;hellip;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin: 0in; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Select&lt;/span&gt; &lt;span style="color: fuchsia;"&gt;COUNT&lt;/span&gt;&lt;span style="color: gray;"&gt;(*)&lt;/span&gt; &lt;span style="color: blue;"&gt;from&lt;/span&gt; dbo&lt;span style="color: gray;"&gt;.&lt;/span&gt;WAAssetMetadata WITH (NOLOCK)&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;select&lt;/span&gt; &lt;span style="color: fuchsia;"&gt;COUNT&lt;/span&gt;&lt;span style="color: gray;"&gt;(*)&lt;/span&gt; &lt;span style="color: blue;"&gt;from&lt;/span&gt; dbo&lt;span style="color: gray;"&gt;.&lt;/span&gt;WAAssetMetadata &lt;span style="color: blue;"&gt;where &lt;/span&gt;AssetId &lt;span style="color: gray;"&gt;LIKE&lt;/span&gt; &lt;span style="color: red;"&gt;'&lt;/span&gt;&lt;a href="http://sitecollection%25"&gt;&lt;span style="color: red;"&gt;http://sitecollection%&lt;/span&gt;&lt;/a&gt;&lt;span style="color: red;"&gt;' &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select&lt;/span&gt; &lt;span style="color: fuchsia;"&gt;COUNT&lt;/span&gt;&lt;span style="color: gray;"&gt;(*)&lt;/span&gt; &lt;span style="color: blue;"&gt;from&lt;/span&gt; dbo&lt;span style="color: gray;"&gt;.&lt;/span&gt;WAAssetMetadata &lt;span style="color: blue;"&gt;where &lt;/span&gt;AssetId &lt;span style="color: gray;"&gt;LIKE&lt;/span&gt; &lt;span style="color: red;"&gt;'&lt;/span&gt;&lt;a href="http://sitecollection%25"&gt;&lt;span style="color: red;"&gt;http://sitecollection%&lt;/span&gt;&lt;/a&gt;&lt;span style="color: red;"&gt;'&lt;/span&gt; &lt;span style="color: gray;"&gt;AND&lt;/span&gt; InsertDateTime &lt;span style="color: gray;"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: red;"&gt;'2012-06-2202:00:59.330'&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&amp;nbsp;&amp;nbsp;For the above dates you should generally see the web analytics report in site collection web analytics reports.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;-----&lt;/div&gt;
&lt;div style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&amp;nbsp;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;Also the Reporting database in addition to MDF and LDF files you can see NDF files for this database. Each week reporting Database creates these NDF files.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;These are the table partitions and not the database and we should never delete manually these NDF files.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;They are deleted by a web analytics process which is ReportConsolidate Component once it cross the retention period. This Process runs daily.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&lt;span style="font-family: Calibri; font-size: 11pt;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/5367.wa4.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/5367.wa4.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&lt;span style="font-family: Calibri; font-size: 11pt;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/7183.wa5.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/7183.wa5.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;You an create some queries with the help of functions(Reporting Database-&amp;gt; Programmability-&amp;gt;Functinos) like To check Number of unique visits and run in reporting database and get the results.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT * FROM [dbo].[WATrafficAggregationByDate] WITH (NOLOCK)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE [AggregationId] = @aggregationid AND [IncludeSubSites] = 1 AND [MetricType] = 2&amp;nbsp; AND [DateId] BETWEEN @Dateid AND @Dateid&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;-----------------------------------------------------------------------&lt;/p&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3525836" width="1" height="1"&gt;</description></item><item><title>How to recreate a new 'Review problem and solutions' List in Central Admin which is corrupted.</title><link>http://blogs.technet.com/b/manharsharma/archive/2012/07/03/how-to-recreate-a-new-review-problem-and-solutions-list-in-central-admin-which-is-corrupted.aspx</link><pubDate>Tue, 03 Jul 2012 01:36:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3507103</guid><dc:creator>Manhar Sharma</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/manharsharma/rsscomments.aspx?WeblogPostID=3507103</wfw:commentRss><comments>http://blogs.technet.com/b/manharsharma/archive/2012/07/03/how-to-recreate-a-new-review-problem-and-solutions-list-in-central-admin-which-is-corrupted.aspx#comments</comments><description>&lt;p&gt;'Review problem and solution' list, of central administration is corrupted and throwing error.&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;Confirming the problem-&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If there is corruption in sharepoint central administration lists and when you try to open the items in the list and you are getting errors.&amp;nbsp; In such cases one of the action plan that can be tried is -to delete the corrupted list and create a new list using the same template ID in powershell.&lt;/p&gt;
&lt;p&gt;*Always take the backup of admin content database before starting these steps.&lt;/p&gt;
&lt;p&gt;Go on sharepoint Central administration -&amp;gt; Monitoring -&amp;gt; 'Review Problem and solution' -&amp;gt; and tried to open any items from different Category like&amp;nbsp; security/configuration/availability&amp;nbsp; others and we getting below error message:-&lt;br /&gt;Of even if we try to edit, delete or try any task with these items we are getting the error message.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/6470.list1.png"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/6470.list1.png" width="367" height="133" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;For recreation of the Review problem and solution list:-&lt;/p&gt;
&lt;p&gt;Check the Template ID used for this list using the below query.&lt;br /&gt;Run the following command on the Admin content database. (database of central admin)&lt;/p&gt;
&lt;p&gt;select * from AllLists where tp_Title = 'review problems and solutions'&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/5315.list2.png"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/5315.list2.png" width="428" height="171" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Note the server template id of this particular list it is =1221 &lt;br /&gt;Now need to delete this list forcefully.&lt;/p&gt;
&lt;p&gt;Try below PowerShell commands:-&lt;br /&gt;PS C:\Users\Administrator.DC268635&amp;gt; $web = Get-SPWeb &lt;a href="http://Centraladminurl"&gt;http://Centraladminurl&lt;/a&gt; &lt;br /&gt;PS C:\Users\Administrator.DC268635&amp;gt; $web.Lists | select Title&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And you will get the below result:-&lt;/p&gt;
&lt;p style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/0458.list3.png"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/0458.list3.png" width="438" height="235" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the above list you can see the&amp;nbsp; Review problems and solution list:-&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/4555.list4.png"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/4555.list4.png" width="374" height="22" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now we will delete the list using the PowerShell command&lt;/p&gt;
&lt;p&gt;$list=$web.Lists["Review problems and solutions"]&lt;br /&gt;$list.AllowDeletion&lt;br /&gt;$list.AllowDeletion=$True&lt;br /&gt;$list.Update()&lt;br /&gt;$web.Update()&lt;br /&gt;$list.Delete()&lt;br /&gt;$web.Update&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/4477.list5.png"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/4477.list5.png" width="474" height="95" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And again recreate it using the same template id 1221. A new list will be created with new Guid.&lt;br /&gt;&lt;br /&gt;To add the list you need to provide below values&lt;br /&gt;$web.Lists.Add("List Name", "List Discription", $template);&lt;/p&gt;
&lt;p&gt;In my case I provided the name of the list as :- Health Reports and Description as "Review problems and solutions"&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/8206.list6.png"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/8206.list6.png" width="487" height="80" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Once the above commands are completed go to the central administration -&amp;gt; Monitoring -&amp;gt; Review problem and solutions and check if page is loading fine.&lt;br /&gt;Now we need to run the timer Jobs using 'Run Now' for all the health Analysis Jobs(like below).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/7266.list7.png"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-93-96/7266.list7.png" width="528" height="144" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This will instantly create the items in the Review problems and solutions list.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3507103" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/manharsharma/archive/tags/Sharepoint/">Sharepoint</category><category domain="http://blogs.technet.com/b/manharsharma/archive/tags/powershell/">powershell</category><category domain="http://blogs.technet.com/b/manharsharma/archive/tags/Review+problems+and+solutions/">Review problems and solutions</category><category domain="http://blogs.technet.com/b/manharsharma/archive/tags/2010/">2010</category><category domain="http://blogs.technet.com/b/manharsharma/archive/tags/delete+corrupted+list/">delete corrupted list</category><category domain="http://blogs.technet.com/b/manharsharma/archive/tags/central+administrator/">central administrator</category></item><item><title>Getting 'Sample' when trying to 'email a link' - sharepoint 2010</title><link>http://blogs.technet.com/b/manharsharma/archive/2012/06/09/getting-sample-when-trying-to-email-a-link-sharepoint-2010.aspx</link><pubDate>Sat, 09 Jun 2012 03:03:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3502909</guid><dc:creator>Manhar Sharma</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/manharsharma/rsscomments.aspx?WeblogPostID=3502909</wfw:commentRss><comments>http://blogs.technet.com/b/manharsharma/archive/2012/06/09/getting-sample-when-trying-to-email-a-link-sharepoint-2010.aspx#comments</comments><description>&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;If you are facing&amp;nbsp;this issue with 'Email a link' functionality in sharepoint server 2010&amp;nbsp;on claims based web authentication you can check below settings.&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&lt;span style="text-decoration: underline;"&gt;&lt;strong&gt;Problem:-&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;When we try 'Email a link' from 'Send To' for any document in the site collection&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-69/0675.new.jpg"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-69/0675.new.jpg" width="300" height="79" /&gt;&lt;/a&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-69/4428.new1.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;And In the new outlook email if we get the result with just 'sample' (no link) like below:-&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-69/5852.new1.jpg"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-69/5852.new1.jpg" width="288" height="60" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&lt;span style="text-decoration: underline;"&gt;&lt;strong&gt;Need to Check:-&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;1.) In IIS for that web applicatin check the anonymous authentication is set as enabled/disabled. if it is set as disabled then you can face this problem.&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;Save it to Enabled.&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;When a web application is configured to use claims authentication (windows claims, form-based authentication claims, or SAML claims) the IIS website is always configured to have anonymous access turned on.&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-69/3750.new3.jpg"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-69/3750.new3.jpg" width="301" height="56" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;2.) In IIS for that web application check the Windows Authentication -&amp;gt; advance setting -&amp;gt; Extended protection = check the value, if it is set to 'Accept' change it to 'Off' and this will fix the issue.&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-69/1680.new4.jpg"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-69/1680.new4.jpg" width="311" height="150" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;3.) In web.config of the web application check the settings for "serviceHostingEnvironment aspNetCompatibilityEnabled" it should be set as True.&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-69/7433.new5.jpg"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-69/7433.new5.jpg" width="323" height="63" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&lt;span style="font-style: italic;"&gt;---------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&lt;/p&gt;
&lt;p style="margin: 0in; color: #1f497d; font-family: Verdana; font-size: 10pt;"&gt;&lt;span style="font-style: italic;"&gt;Kindly try these steps in testing farm before making below changes in production.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3502909" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/manharsharma/archive/tags/Sharepoint/">Sharepoint</category><category domain="http://blogs.technet.com/b/manharsharma/archive/tags/IIS+7-0/">IIS 7.0</category><category domain="http://blogs.technet.com/b/manharsharma/archive/tags/SharePoint+server/">SharePoint server</category><category domain="http://blogs.technet.com/b/manharsharma/archive/tags/Email+a+link/">Email a link</category><category domain="http://blogs.technet.com/b/manharsharma/archive/tags/2010/">2010</category></item><item><title>Stop/Start the Application pool in IIS 6.0 using PowerShell.</title><link>http://blogs.technet.com/b/manharsharma/archive/2012/05/22/stop-start-the-application-pool-in-iis-6-0.aspx</link><pubDate>Tue, 22 May 2012 01:24:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3499189</guid><dc:creator>Manhar Sharma</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/manharsharma/rsscomments.aspx?WeblogPostID=3499189</wfw:commentRss><comments>http://blogs.technet.com/b/manharsharma/archive/2012/05/22/stop-start-the-application-pool-in-iis-6-0.aspx#comments</comments><description>&lt;p&gt;&lt;span style="font-size: medium;"&gt;&lt;strong&gt;Power Shell script to stop the application pool in IIS 6.0:-&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;--------------------------------------------------------------------------------&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;$appPool = get-wmiobject -namespace "root\MicrosoftIISv2" -class "IIsApplicationPool" | where-object {$_.Name -eq "W3SVC/AppPools/&lt;span style="background-color: #ffff00;"&gt;SharePoint - 80&lt;/span&gt;"}&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;$appPool.Stop()&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;---------------------------------------------------------------------------------&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;&lt;strong&gt;Power Shell script to start the application pool in IIS 6.0 :-&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;--------------------------------------------------------------------------------&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;$appPool = get-wmiobject -namespace "root\MicrosoftIISv2" -class "IIsApplicationPool" | where-object {$_.Name -eq "W3SVC/AppPools/&lt;span style="background-color: #ffff00;"&gt;SharePoint - 80&lt;/span&gt;"}&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;$appPool.Start()&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;---------------------------------------------------------------------------------&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;**&amp;nbsp;need to change the name of the application pool (sharepoint - 80)&amp;nbsp;as per in your farm.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3499189" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/manharsharma/archive/tags/IIS+6-0/">IIS 6.0</category><category domain="http://blogs.technet.com/b/manharsharma/archive/tags/powershell/">powershell</category><category domain="http://blogs.technet.com/b/manharsharma/archive/tags/application+pool/">application pool</category></item></channel></rss>