.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Kaviya Balasubramanian
Imran Ghani
Post New Web Links

Programming advanced usage analysis processing (in the SSP part of Central Administration)

Posted By:      Posted Date: October 26, 2010    Points: 0   Category :SharePoint
 

Hi there

I've been able to program Usage Analysis Logging And Processing in WSS: loaded assemblies and then - eg

#configure usage logging settings
$usageSettings.LoggingEnabled = $true
$usageSettings.numberlogfiles = 1
$usageSettings.LogFilesDirectory = $logDirectory
$usageSettings.UsageProcessingEnabled = $true
$usageSettings.SetProcessingInterval(0, 0, 23, 59)

#commit changes
$usageSettings.Update()

This works but I'm stuck now on how to do the next bit - which is to enable Usage Reporting in the SSP part of Central Administration.

Can anyone help?

Cheers

Jonj




View Complete Post


More Related Resource Links

Chapter 8: Advanced SharePoint Programming, Part 1 (Expert WSS 3.0 and MOSS 2007 Programming)

  
Learn about web configuration modification via SharePoint object model and extending the STSADM command-line utility in this book excerpt.

Chapter 8: Advanced SharePoint Programming, Part 2 (Expert WSS 3.0 and MOSS 2007 Programming)

  
Learn about SharePoint feature receivers, developing custom timer jobs, feature dependencies, and feature stapling in this book excerpt.

Advanced Basics: The LINQ Enumerable Class, Part 2

  

This month Ken digs deeper into the System.Linq.Enumerable class and shows readers how to perform some magic data operations using System.Linq.Enumerable.

Ken Getz

MSDN Magazine September 2008


Advanced Basics: The LINQ Enumerable Class, Part 1.

  

Presented here is the LINQ Enumerable class, which allows you to manipulate data in any class that implements IEnumerable(Of T).

Ken Getz

MSDN Magazine July 2008


C++ at Work: Event Programming, Part 2

  

Last month I answered a question about implementing native events in C++ (see C++ At Work: Event Programming). I discussed events in general and showed how to use an interface to define event handlers for your class that clients must implement to handle events.

Paul DiLascia

MSDN Magazine March 2006


Turning off Crawling the Central Administration site?

  

 

There are 2 places that "Search Visibility" can be set on WSS3 servers:

 

               Default > Site Settings > Search Visibility

 

Central Administration > Site Settings > Search Visibility

 

 

What are the ramifications of "hiding" the Central Administration site from search?


Chapter 9: Event Receivers, Part 1 (Expert WSS 3.0 and MOSS 2007 Programming)

  
Learn to implement your own custom list event handlers and bind them to a list type, list instance, site content type, or list content type.

Chapter 9: Event Receivers, Part 2 (Expert WSS 3.0 and MOSS 2007 Programming)

  
Learn to implement your own custom item event handlers and bind them to a site content type or a list.

Re-run WSS 3.0 Usage Analysis Logs

  

WSS3.0SP2, 64-bit.

The service which runs and collects the log files for the Usage Analysis report was disabled for some reason. We have it re-activated but the logs for when it was down were not processed. How do we re-process those older logs?

Previously asked at  http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?&lang=&cr=&guid=&sloc=en-us&dg=microsoft.public.sharepoint.windowsservices&p=1&tid=f676c989-a369-4761-94e7-ef9b1c28fde7 and referred to here.


Can Web Services be blocked by Central administration ?

  
I am a Site Collection administrator. I am thinking of using Web Services (_vti_bin/Lists.asmx etc.,) and display some data regarding Lists, Permissions, SubSites on some pages. My question is whether accessing these web services at site level can be blocked by central administration or not. If they cannot be blocked, then I would like to go forward on what I have mentioned above. Can anyone please clarify. Thanks.

Central Administration no longer accessible by any account after changing Farm Account in SharePoint

  
I have a problem, that I no longer can access Central Administration Website, only the Sharepoint itself. I was running installation of Sharepoint 2010 Server with administrative account ImTheAdmin, who is a Domain Admin in the MYDOMAIN domain. Using ImTheAdmin I installed Sharepoint 2010 on one of the Windows 2008 R2 member servers. Besides that, I made ImTheAdmin the primary administrator of the Sharepoint. ImTheAdmin became the only user of this Sharepoint 2010 server after installation.  I installed everything on one box with default installation settings. I used builtin SQL server, not Standard or Enterprise. What then happened is: Using ImTheAdmin account, I opened Central Administration Website, and it said, that I need to change the Farm Account, as the account for Farm was the default one (I think it was network service). So I created a regular domain user in AD Users and Computers called MYDOMAIN\SPFarmAccount. Then using IE, I went to the Central Administration Website page, which is meant for changing farm account usernames. I put in MYDOMAIN\SPFarmAccount down in to the form of Central Administration Website, added the check mark, that it would react to password changes, and pressed Change. Browser worked for a while, and after that nothing seemed to work. Neither my Sharepoint, nor Central Administration website. When going to Central Administra

Failed to change Farm Account in Sharepoint 2010 server, now Central Administration is not accessibl

  
Hello, I have a problem, that I no longer can access Central Administration Website, only the Sharepoint itself. I was running installation of Sharepoint 2010 Server with administrative account ImTheAdmin, who is a Domain Admin in the domain on one of the Windows 2008 R2 member servers. Besides that, I made ImTheAdmin the primary administrator of the Sharepoint. ImTheAdmin became the only user of this Sharepoint 2010 server after installation.  I installed everything on one box with default installation settings. I used builtin SQL server, not Standard or Enterprise. What then happened is: Using ImTheAdmin account, I opened Central Administration Website, and it said, that I need to change the Farm Account, for the account for Farm was the default one (I think it was network service). So I created a regular domain user MYDOMAIN\SharepointFarmAccount. The account name was too long to be as a Windows 2000 name, so it showed there without last 't', e.g. MYDOMAIN\SharepointFarmAccoun. I thought, Windows 2000 is long gone, so I didn't pay much attention, I think everywhere the account SID is important. I don't know if that is the real problem with my failure later, but it might be one of the reasons. I put MYDOMAIN\SharepointFarmAccount down in to the form of Central Administration Website, added the check mark, that it would react to password changes, and pre

Claims to windows token service wont start in Central administration

  
Not sure if this is a bug or some setting I just dont understand but I cannot get the claims to windows token service from manage services to show as started. When I click start I get this error in the event viewer: An attempt to start/stop instance of service Claims to Windows Token Service on server <SERVERNAME> did not succeed. Re-run the action via UI or command line on the specified server. Additional information is below. c2wts (DOMAIN\sp_farm) I have searched and searched for an answer. This thread http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/thread/6b865ead-970b-4460-9dcf-1cc6d6d8530b talks about needing a connection to the internet, but my server is connected to the internet so i think i can rule that out. Also I have read that c2wts depends on the crypto service. I have run this command with no success: sc config c2wts depend= cryptsvc I can start the c2wts service through services.msc and it is succesful. But central administration still shows it is stopped. I have also re-run the installer in repair mode, and re-run the initial configuration wizard, maintaining all of the same settings as the previous installation. That didn't help. Basically, I'm out of ideas and I cant find much about this on the web. Any ideas?

Can the default member for the sql server analysis filter web part be a mdx expression or not

  
I have designed a dashboard , some parametrized reports ( on date and time) in my case with a cube as datasource, added an analysis services 2005 filter, connected it to the reports. The issue concerns the default value for the filter . I f I choose [Date Local].[Calendar Hierarchy].[All] it works well. But the business requirement is to use the last day where there have been registered a measurement which in my case looks like the following mdx expression: Tail( Filter ([Date Local].[Date Key].[Date Key].Members , ( ( [Advisor Organisation].[Advisor organisation].[Contact Center].&[Denmark]&[Kundelinjen], [Measures].[Calls Offered] , [Date Local].[DK Holiday].&[False] , [Date Local].[Week Day].&[True] ) > 0 ) ), 1).Item(0).Item(0) The expression is all right as I use it in my report as an mdx filter expression. But when I use apply it I get an invalid dafault member value. So the question is : Does the filter support an mdx expression ? If yes, is there another syntax or change in order to make it work ? Thank you a lot for your answer.
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend