Posts tagged Sharepoint 2010
After you setup your Sharepoint, you later find that you have to add another service. (or you delete a service and recreate it)
In my case, I had to re-add the “User Profile Service Application”.
Turns out after I added it, the USPA was not part of the Default Application Proxy Group
(_admin/WebApplicationList.aspx -> Service Connections)
I found an article online by Amit Khanna Tittle “Associating services to Custom Application Proxy Groups in Sharepoint 2010”, which explained how to create a new group and associate a service, so I figured that would help me.
The one problem I found was that when I put in “default” as the proxy group name I got an error “Object not found”
It’s obviously an error with the Name or “Identity” of the ProxyGroup, and the command Get-SPServiceApplicationProxyGroup gives you the “friendly” name of the service, but not the real name. In order to get the real name you need to run this command “Get-SPServiceApplicationProxyGroup | Select Name,Id”Interestingly enough, you can see that the real name is “<blank>”.
It seems that in Sharepoint 2010 it is common for the Site Web Analytics reports and Site Collection Web Analytics reports to not show data. Many Folks over at the MS TechNet Forum seemed to think that it was an issue with Sharepoint, but it is really not. The real issue is that the Jobs that are supposed to collect the data for the Health Analyzer are disabled by default. So you must go in and enable them.
In the Admin Panel: http://mysharepointserver/_admin/ServiceJobDefinitions.aspx enable the following jobs (their default times are fine, so you can leave those as is)
Diagnostic Data Provider: Event Log
Diagnostic Data Provider: Performance Counters – Database Servers
Diagnostic Data Provider: Performance Counters – Web Front Ends
Microsoft SharePoint Foundation Usage Data Import
Microsoft SharePoint Foundation Usage Data Processing
There are other services that are disabled (Some SQL jobs and some trace job) which you can enable if you want, but for me, these were enough for what I needed
I was trying to add some externals sources to a Sharepoint list and ran into the error “Business Data Connectivity Metadata Store is currently unavailable”.
I was getting this error in both SPD and the Web Interface. After looking through the Admin Panel, I noticed that the “Business Data Connectivity Service” was running under “Central Administration -> Services”, but, there was no “Business Data Connectivity Service Application” under “Central Administration -> Service Applications” (this is because I’m pretty sure I did not add the BDCS when i created the site, but it’s normally there by default)
Lastly, make sure that the newly created BDCS is associated (checked) with your Web Application by going to “Central Administration -> Manage Web Applications” and clicking on Service Connections
So after creating a new “BDCS”, the error went away.
Another way to fix this, just run the configuration wizard and it should create one for you.
“There were problems searching audience, please contact the system administrator.” in Sharepoint 2010
Had an issue with Audiences in Sharepoint 2010, Kept getting the error
“There were problems searching audience, please contact the system administrator.”
whenever I tried to add/target an audience in my Sharepoint 2010 webpart.
What this error normally/really means is that Sharepoint cannot connect to the User Profile Service Application Proxy (You would get a similar error if your Enterprise search was trying to crawl your user profiles).
To fix this you need to
- Open “Central Administration”
- Click “Application Management”
- Click “Manage Web Applications”
- Find and click on the “Web Application” or “Website” you are getting the error in (in my case ‘sharepoint -80’)
- Click “Service Connections” under the “Manage” ribbon
- Make sure that “User Profile Service Application” is checked (you may have to change from default to custom to be able to do this)
This worked great. The only other thing you need to do that wasn’t mentioned above is go to services in CA and make sure the user profile service is started.
Thank You James for your Contribution
If like me you find youself with a bunch of orphaned application pools in your sharepoint server (trying to set up User Profile Sync) and you want to delete them, you will need these steps:
Open up the Sharepoint 2010 Management Shell
PS C:\Users\sharepoint> Get-SPServiceApplicationPool | select Name
You should get results similar to this:
UPS App Pool
SharePoint Web Services Default
SharePoint Web Services System
Now issue the Remove Command
PS C:\Users\Sharepoint> Remove-SPServiceApplicationPool -Identity "UPS App Pool"
You will get prompted to confirm
Are you sure you want to perform this action?
Performing operation "Remove-SPServiceApplicationPool" on Target
"SPIisWebServiceApplicationPool Name=UPS App Pool".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):Y
Good bye App Pool
If you get the error “A SharePoint server is not installed on this computer. A SharePoint server must be installed to work with SharePoint projects” when trying to create Sharepoint Projects in Visual Studio 2010, and you dont want to install Sharepoint, then the guys over at technet have the solution
to quote “tlhost”:
….exported the following hive from the SP2010 server: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0]
and installed it on my host. I can now create SP2010 projects in VS2010
Problem Solved. On to the Next one!