Posts tagged Sharepoint 2010

real_name

Adding Services to Default Application Proxy Group in 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>”.

So, if you try to run that command again, but leaving the Identity of the proxy group blank, and passing the GUID of the memberyou will successfully add the service application the default group

 

 

Facebook Twitter Email Linkedin Digg Delicious

Site Web Analytics reports show no data in SharePoint 2010

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

 

 

 

Facebook Twitter Email Linkedin Digg Delicious
bdcs

Business Data Connectivity Metadata Store is currently unavailable

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.

Facebook Twitter Email Linkedin Digg Delicious

“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

  1. Open “Central Administration”
  2. Click “Application Management”
  3. Click “Manage Web Applications”
  4. Find and click on the “Web Application” or “Website” you are getting the error in (in my case ‘sharepoint -80’)
  5. Click “Service Connections” under the “Manage” ribbon
  6. Make sure that “User Profile Service Application” is checked (you may have to change from default to custom to be able to do this)
That’s all there is to it, once you enable that, your audiences will be working fine and the error will go away
Update:
As James noted bellow in the comment section
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

Facebook Twitter Email Linkedin Digg Delicious

Deleting Application Pools from Sharepoint 2010

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

You should get results similar to this:

Now issue the Remove Command

You will get prompted to confirm

Done.

Good bye App Pool

Facebook Twitter Email Linkedin Digg Delicious

Fixing “A SharePoint server is not installed on this computer” error

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”:

http://social.technet.microsoft.com/Forums/en/sharepoint2010programming/thread/cda807f6-4edf-4efc-8e9b-4d446356c8ae

….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!

Facebook Twitter Email Linkedin Digg Delicious
Go to Top