- Get-SPEnterpriseSearchServiceApplication -Identity "Search Service Application"
- Stsadm -o deleteconfigurationobject -id [Guid returned from previous command]
This time I got an access denied when trying to crawl sps3://mydomain. Checked account, password, assigned rights (Site Collection, Web Application Policies, etc), but everyhing looked ok. Hmmm... using Google I found and read a post in the Enterprise Search forum on msdn and this blog article.
These steps fixed my issue:
- Go to the Service Applications page
- Select the User Profile Service Application (NOT the link)
- Click on the administrators button
- Add your crawl / indexing count
- Give it the permission: Retrieve People Data for Search Crawlers
- Click Ok
The perform a new Full Crawl of your content source(s), and hopefully no access denied messages any more,
Opening the Syncroniztion Service Manager (C:\Program Files\Microsoft Office Servers\14.0\Synchronization Service\UIShell\miisclient.exe) we found the error: "The management agent failed on run profile "DS_FULLIMPORT" because of connectivity issues." Why??
We went through the checklists, guidelines and what we had done, and everyhing looked correct; correct user account, we've set the Grant Replicate Directory Changes permission on the cn=configuration manager, the FIM services where running correctly, etc.
But of course I had missed one step (there is always something :-( ): Granting Replicate Directory Changes permission on the domain.
So you must add Replicate Directory Changes permissions both on the domain AND the confiugration container!
It's all documentet on TechNet: Configure profile syncronization.
It turns out that JQuery date serialization and WCF date serialization differs. Luckily (for me) I found the description of the issue and a solution written by Steve Commisso. Read it here.
- $j = jQuery.noConflict();
- Mr. Commisso's FixJQueryDate() function
- jQuery.getJSON method
- Correct SharePoint 2010 REST Url : http://sp2010/aweb/_vti_bin/ListData.svc/MyCalendar?$filter=StartTime+gt+datetime'" + now.format("yyyy-MM-dd'T'HH:mm:ss")+"'
- It's important to note the format of the REST filtering parameter and how it handles date and time values
- 70-573 TS: Microsoft SharePoint 2010, Application Development. Sept. 2010. Passed!
- 70-667 TS: Microsoft SharePoint 2010, Configuring. Okt 2010. Passed!
- 70-668 PRO: SharePoint 2010, Administrator. Nov 2010. Passed!
- 70-576 PRO: Designing and Developing Microsoft SharePoint 2010 Applications. Des 2010. Passed!
But here is also anohter option, and that is to deploy the resources as WebResource. I'm not 100 % sure that I can answer you when to use what method, but i gues WebResources should be used in non-webparts scenarios, and/or SharePoint solutions where the same resource is to be used by different sharepoint items (Web parts, Application Pages, etc).
On CodeProject you'll find a working example where both methods have been used: Site Map Web Part.
More information here (in Norwegian): http://www.edb.com/no/Konsern/Aktuelt/Eventkalender/SharePoint-Roadmap-for-Collaboration-Masterclass/
"You must have installation media for the Enterprise, Evaluation, Developer, or Data Center editions of SQL Server 2008 R2. "
That means that PowerPivot on top of SQL Server 2008 R2 Standard Edition is NOT possible.
Install PowerPivot in a new farm
Install PowerPivot on an existing farm
- PowerPivot for SharePoint adds SQL Server 2008 R2 Enterprise files to your SharePoint application Server
Setting the correct search scope for the people picker:
- stsadm -o setapppassword -password xxxxxx
- stsadm -o setproperty -pn peoplepickser-searchadforests -pv "domain:first.com;domain:second.com,domain\user,password" -url http://sharepoint2010/
First.com domain trusts users from second.com. For the people picker to find users in the second.com domain a valid user in second.com domain has to be provided. Because we provide a user name and password we first have to set the password encryption key.
09/09/2010 14:08:36.82 w3wp.exe (0x269C) 0x1998 SharePoint Foundation Web Parts tkqj High WebPartAdder_InvalidDwpUrl
Checking the solution again the web parts where added as modules and not web parts to the solution.
I ended up deleting the web parts (except the source code of course), adding new web part items, and adding the deleted code. Now it is working as it should
Create a regular web part page, add your web part and you should be up and running (again).
"The install in progress conflicts with a previously installed Microsoft Office 2010 Server product"
You may start with this article: "Installing Sharepoint 2010 over a previous version", or (as I did) just open regedit, search for "Web Apps" and just delete every entry you can find. Easy as hell, but proobably not something you would do on a production server :-)
What web parts comes with which SharePoint (Foundation, Standard and Enterprise) version / SKU / License?
Sumarized these are the important ones that comes for free (SharePoint Foundation):
- Image Viewer
- Page Viewer
- Picture Library Slideshow
- Simple Form
- User Docs
- User Tasks
- Xml Viewer
"The Workbook cannot be opened."
A quick Google search sent me to this article by Jeremy Jameson.
The conclusions here are that again there are powershell commands that will do the trick:
$w = Get-SPWebApplication
(per web application)
How to: Create a Tool to Get the Full Name of an Assembly
It's so simple - why didn't I think of it myself? Read the article, create the application, install it and of you go.
The area of spelling mistakes, wrong PublicKeyToken, etc., is finally over!
Enterprise 2.0, Web 2.0 and Social Networks - what does it take to succeed when trying to make changes?
93% of completely successful change initiatives were led by leaders with very strong or strong personal networks. Not one change initiatives described as less successful was led by leader(s) with strong or very strong personal networks.
Maybe not a big surprise (good and great leaders have always been good with people), but in a world where social networks - both internal and external - have become a driving force in many aspects and especially in how we are doing our work and collaborate, social "weak" leaders and managment are "doomed" to fail.
But the same survey also found that formal networks still are very important :
However, survey respondents overwhelmingly reported that those formally involved in change initiatives were more helpful than those outside the formal change teams.
One of the conlusions made by those analysing the findings is:
Change initiatives are dependent on leaders for moving the project forward, making decisions, and giving personal advice. The catch is to make sure that those leaders are accessible to others on the change team and available to help. Implied in survey results is that leaders are needed to play an active role on change initiatives, not simply sponsor projects from afar. HR can help by encouraging leaders to limit the number of change
Is this related to SharePoint 2010? I absolutely think so! Implementing SharePoint 2010, and maybe expecially its new social computing capabilities, will demand a (big?) change in how people in small and large enterprise collaborate. And as most of us don't really like changes, it will be challenging from top management to the people on the floor.
Load SharePoint 2010 commandoer everytime I start PowerShell ISE:
Enable the Developer Dashboard:
- $contentservice = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
- $devdash =$contentservice.DeveloperDashboardSettings
- $devdash.DisplayLevel =[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand
"Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb objects when you are done with all objects obtained from them, but not before"
Not much help. But I found another artical by Todd Carter, who had debugged the issue, that activating the SharePoint Publishing Infrastruture would fix the issue. I had this feature already activated, but deactivating it and activating it fixed the issue in my case as well.
"This User Profile Application’s connection is currently not available. The Application Pool or User Profile Service may not have been started. Please contact your administrator"
- An iisreset is the first thing to do!
You are having problem getting the User Profile Syncronization started and can't get the Forefront Indentity Manager services to run.
"ERR: MMS(4828): libutils.cpp(10475): RegQueryValueEx of Server failed with 2
BAIL: MMS(4828): libutils.cpp(10477): 0x80070002 (The system cannot find the file specified"
- Make sure the farm account you entered when installing SharePoint has all the needed access/rights in AD: http://technet.microsoft.com/en-us/library/ee721049(office.14).aspx . The issues is also discussed here: http://social.technet.microsoft.com/Forums/en-US/ilm2/thread/db5bb837-1e95-4b50-9441-8bb37f4f0ee3/
- A manual fix to the problem can be found here: http://itgoran.com/index.php/2010/05/09/the-system-cannot-find-the-file-specified-the-server-encountered-an-unexpected-error-and-stopped-fim-2010-solved
You'll find it here: http://code.msdn.microsoft.com/ULSViewer
This has now changed, and you will be able to to the same by adding the changes to the feature manifest:
- Make sure you don't have domain/server name conflicts. I usually set up a mailserver on the address sharepointmail.local, and set this name to point to IP 127.0.0.1 in the hosts file
- Remember to set sharepointmail.local as the outgoing mailserver in Central Administration
- Reporting Services use the Reporting Server config file and the SMTP server name has to be set to sharepointmail.local here as well. The correct config file is rsreportserver.config and is located in the folder C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer
- Define all the useres you need in SmarterMail setup and add the e-mail addresses to the your users in the User Profile store in SharePoint.
- You have to start the "User Profile Service Application - Activity Feed Job", and schedule it to run periodically; Central Administration -> Check Job status -> Job Definitions. In my demo environment I set it to run often to make sure I can demonstrate it well.
- Add some colleagues on your My Site
- Make sure some activities have been performed by any of your colleagues
I don't think that the "Activity Feed Job" is turned on by default.
- SharePoint base with all features
- Excel Services
- Reporting Services
- Personalization services with my site and profile syncronization
- Visio Service
- Secure Store Service
- Managed Metadata Services
- Database Engine
- Reporting Services in SharePoint Integrated Mode
- Analysis Services with the Adcenture Works databases (from Codeplex)
I'm currently struggling with the PowerPivot and the Reporting Services display:
- Cannot add the PowerPivot package to the SQL Server .... several errors ... Gave it up for the time being! :-(
- Cannot display reports created in the Report Builder and added to a document library... question asked in forum ... a strange url encoding error .... rsUrlRemapError :-(
Everything was simple and easy until I was going to connect the Current User Filter web part to the Excel Services Web part and filter the pivot on the curent user's country. What I discovered after quite a lot of googling and reading different blog posts, was that a Analysis Services Pivot table parameter expect a value that is not a "simple" value as e.g. "Canada", but rather "[Geography].[Country].&[Canada]".
In my case then the Current User Filter Web part that comes OOB with SharePoint was not suitable, and I had to write my own. This filter wraps the user profile value into the correct Analysis Service Pivot parameter syntax.
SharePoint 2010 Ignite Online for Developers
Now I don't have to book a whole week in Oslo (or somewhere else) to get the information, but download it and read it whenever I've time (e.g on the bus).
Material looks and presented by well known instructors.
- You talk about Analysis Services, PowerPivot and PowerPivot for SharePoint, but what is right for us, and when to use which tool?
I'm not at BI / Analysis Services specialist, but I really would like to bring to the table some guidlines that both explains the different tools and when to use what. Luckily I didn't have to create this comparison myself - Microsoft have already done it.
It really depends on your focus:
- Organisational BI => Analysis Services
- Personal BI => PowerPivot
- Team BI => PowerPivot for SharePoint 2010
Read the whole article:
What if you participate in many projects and need to se all your tasks?
- Sync every tasks list in every team site/project that you participate in with Outlook
- Use one or more og Bamboo Solutions web parts to aggregate tasks and other information into a Dashboard
- Or get the complete Project Management Sentral - also from Bamboo. It's very powerfull and no Client Access Licenses (as you have with Project Server)
Add links for every user
- Manage Profile Service / My Site Settings / Configure Personalization Site
Add links for every user (must have access to the the my site hosting site collection):
- Site Actions / Site Settings / Top Link Bar (under Look and Feel)
Add links to my own main menu (on my site):
- Site Actions / Site Settings / Top Link Bar (under Look and Feel)
Adding menu pages to the My Profile Tabs (Documents, Overview, Organization, etc..)
- Site Actions / Site Settings / Quick Launch (under Look and Feel)
"Today, we officially announced that May 12th, 2010, is the launch date for SharePoint 2010 & Office 2010. In addition, we announced our intent to RTM (Release to Manufacturing) this April 2010.", Arpan Shah
Less than 2 months to go!
I'm ready for the 2010 run!
- Add a App_Code catalog to your web application, e.g. c:\inetpub\wwrwroot\wss\virtualdirectoris\80\App_Code
- Copy MySimpleService.asmx to c:\inetpub\wwrwroot\wss\virtualdirectoris\80 or to /Template/Layouts/..
- Copy MySimpleService.asmx.cs to c:\inetpub\wwrwroot\wss\virtualdirectoris\80\App_Code
- Try your service: http://sharepoint2010/MySimpleService.asmx
There are for certain issues, but it all depends on your scneario and what you need to do; KISS - Keep It Simple Stupid - but don't be stupid! :-) Of course you need to wrap-up and make a solution package of everything before you make it into a production environment...
Then the first thing to check is that the Build Platform target is set to x64.
If that doesn't do it for you, thenn hopefully Google will find the anser for you.
I've used both the solution and the step-by-step procedure with great success.
An old (or wrong) User Display Name is displayed in the Welcome message, Contact Box, etc in SharePoint 2007
Many, including me, has encountered the issue where a persons display name is not correct on a site (even if it iss correct in the User Profile) page. The unerlying cause of the issues is that for some reason the job that updates the user object cached in the site collection is not running at all or does'n do what it is supposed to do.
Below is how to fix "the effect" of the problem (we've not identified - yet - why the display name doesn't get updated at all) - how to force an update.
Important: This solution (as it involves deleting a person from the site collection) will cause the user to loose all priviliges and accesses. These have to be added back after the following steps are produced
- Make sure Display name in AD and SharePoint Central admin>Shared Services>user profile & properties> view user profile is same
- If Display name is not same that Click on Start full import.This imports the display name from AD to sharepoint.
- Got to top level site collection with admin priveledge
- Open the page http://servername/_layouts/people.aspx?MembershipGroupId=0 (all users in the site collection)
- Find your user, right click the name, and copy shortcut (url to the user's profile page)
- Paste the shortcut into the browser address field and append to it (don't hit enter yet): &Force=True (http://servername/_layouts/userdisp.aspx?Force=True&ID=25)
- Hit Enter
- Click on "Delete User from site collection" button on the toolbar
- Add the same user to (any group) in the Site Collection
- This time it will sync New display name from SSP
- Remove the user from the group (it's not needed anymore)
- Now the correct Display Name should appear where it should (Welcome message, Contact web part, User Picker, etc.)
Then I/we have to find out WHY the users in the site collection don't get updated as the should! :-(
Sources of information:
- The "complete" list of Windows Server 2008 services and their port requirements: Service overview and network port requirements for the Windows Server system
- SharePoint 2007 Extranet Planning document: Plan security hardening for extranet environments
- Example from Michael Nemtsev: SharePoint 2007 Farm ports – configuring firewall