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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Target Audience

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :C#

i m having  the same problem in web part implemented in the master page but it always seems that the target audience control is not working in the master page as i want to hide some part of my master page according to users role.....

can anybody help me out on this ....


View Complete Post

More Related Resource Links

Target Audience in Share Point 2010

Hi there, We've managed to migrate  MOSS 2007 to MOSS 2010 for one of our customer. Everything went well except Target Audience. Sharepoint2010 does not seem to recognise the AD groups and no matter how many times I reset them, I see the error of "No exact match found". Appreciate if someone can advice.   Thanks.    

MOSS 2010 Issue with Target Audience

Hi there, We've managed to migrate  MOSS 2007 to MOSS 2010 for one of our customer. Everything went well except Target Audience. Sharepoint2010 does not seem to recognise the AD groups and no matter how many times I reset them, I see the error of "No exact match found". Here is the scenario : Application pool user has necessary rights as MOSS able to find AD groups. However, once MOSS locates AD groups and after we assign relevant AD group to a particular web part, save the web part and if I happen to edit the web part then we found ""No exact match found" in the Target Audience. One more thing, this behaviour is happening only for HOME page. For this reason, we tried to recreate the entire webpage, but the issue ""No exact match found" still remains.   Kindly advice. Thanks

Programmatically add target audience field



I have a list I'm creating on the fly and also creating the fields for that list... I have created a HTML filed like so:

 HtmlField htmlField = new HtmlField(pollsList.Fields, "HTML", "HTML_Field");
      field = (SPField)pollsList.Fields.GetField("HTML_Field");
      field.DefaultValue = " ";
      field.Description = "Short text field can add link to discussions";

What I cannot seem to find any help with is how can I create the Target Audience field for the list???




How do I set the target audience using Sharepoint Designer workflow



I need to set the target audience in a list based on a column called "DocType" Im hoping I can do this using a workflow as Ive been getting to grips using the workflow designer lately.

I have tried setting an Initiation with the default string being the target audience group, then set the target audience field to be the initiation value

This does send the string to my list but only if I edit the list and validate the target audience address

Does anyone know how I can validate the audience address using the workflow designer~?


Many thanks in advance

Target Audience Option Not Available

I was working on webparts in a single page,i assigned target audience to each webparts.after a day i rebooted my server then my webparts are not showing the target audience option ,and all webparts are shown instead of user specific one.Please Help....
From Tony

Target Audience is missing while editing webpart



i have configured some webparts with target Audience,

now, the Target audience filed is missing in edit web part.

Please guide me to find where the mistake is.

Thanks in advance, Akilaskk 

SharePoint group name duplicacy causing issues in target audience


We are editing the target audience property of a document in a library. We have multiple SharePoint groups like the following



In PeoplePicker, both the above groups are found. If I select the first one, and come back we get Found No Matches and it tells that more than one group are present. If I select one of them and save, when I come back to check via view properties, the Target Audience property is blank.

This kind of problem is present in many internet posts, but I did not see any clear resolution. Is it a result of any recent windows patch?


AD groups not appearing in Target Audience



I cannot get Sharepoint to pickup any of my Active Directory security groups when i use target audience - Distrubution/Security groups. I use many different AD groups fine in the rest of Sharepoint but it is totally blank in the Select Audience dialogue box. Any ideas would be appreciated


Wireless Web: Microsoft Mobile Internet Toolkit Lets Your Web Application Target Any Device Anywhere


If you've built Web sites using ASP.NET, you'll welcome the Microsoft Mobile Internet Toolkit (MMIT). MMIT extends the Visual Studio .NET IDE you already know by providing new controls for handheld devices letting you easily develop applications for wireless devices. This means you can write less code while adapting it to more devices. Not only does MMIT integrate with Visual Studio .NET, it extends ASP.NET as well. This article gives you the background you need to write, test, and deploy a site with MMIT and make all your code able to target specific devices for a custom fit.

Paul Yao and David Durant

MSDN Magazine November 2002

Windows Forms: Developing Compelling User Controls that Target Forms in the .NET Framework


In the beginning, writing controls meant dealing with Windows messages. Then came Visual Basic controls, which introduced methods, properties, and events. Later, ActiveX controls, which ran atop COM, became popular. While each innovation in control writing brought more flexibility, nothing has matched the versatility of the new .NET Windows Forms controls and Web Forms controls. This article, the first of a two-part series, introduces the reader to Windows Forms, beginning with their inheritance from one of the .NET CLR base classes, which makes control creation much faster than before. Control programming is illustrated through the development of a login control. The equally flexible Web Forms controls will be covered in Part 2.

David S. Platt

MSDN Magazine April 2002

Can't find AD security group while creating Audience rule


Hi guys,

I'm trying to create audience rule : all members of AD group. But when I try to choose a security group I need I can't find in search window. Though I see another groups. So in a whole the problem is I can't see all the AD groups but only some of them. It doesn't depends on on its type (global or local domain).

What could be a reason?

Target Audiences not working


Microsoft Office SharePoint Server Enterprise 2007 Version:

I created a Target Audiences for a Security Group that I created for a Pilot program that is being kicked off.  I only want the Security Group to see it.  I logged onto the site as a member OUTSIDE of the Security Group and I still saw it.  I have the example below, with the security group from Active Directory.  Any reason why it would not work?

Below is an Announcement on our Corporate Intranet site for educating users on Information Technology and computer related items.  It is a portal that we would like them to go to, to get all of their information.  I have yet to break up items based on Target Audiences, but now I think it might be a great time, as I have a way to use it that will be around for a few weeks.

Title Test  
Body Test
Expires 8/25/2010  
Target Audiences Security Pilot Group


Thank you.


change form target from javascript


Salam to all,

in my page, i have an iframe which have a src for another page,

the inner page have a Forms, buttons.. ..etc. the target for the form in the inner page is "self"

i need to run a javascript code from the parent page to change the  inner page form target to posted the values in a Blank window.

how can i do that ?


C# target 32bit and 64bit desktops with SMO included

I have an application that uses three SQL 2008 R2 SMO assemblies.  I need to target 32 and 64 bit machines that are running either 32 or 64 bit versions of SQL 2008.  I have no idea how to handle an Any CPU build for the application.  Since the SMO assemblies are either 32 bit or 64 bit, do I have to create a 64 bit build of my app and also a 32 bit build of my app.  I have no idea how to proceed with the build at this point.  This is my first app to support 64 bit machines and servers; I have only had to work in 32 bit in the past. Also, I do not know where the best forum for this question would be.  It is not a SQL question unless the answer is in the SQL assemblies.  I am developing on 64 bit Win 7 with VS 2010 and .Net 4. The C# app is wpf. The application needs to run on 32  and 64 bit Vista machines with 32 and 64 bit SQLExpress 2008 instances, and it also needs to run on 2003 and 2008 32 and 64 bit servers running 32 and 64 bit SQL 2008 servers. Any help would be appreciated.  I expect that I don't know what I don't know on compiling apps and including assemblies in an Any CPU world. Thanks, LD

master (MSX) target (TSX)

Hi! Is it possible to have SQL Server 2005 as a master (MSX) and SQL Server 2008 as a target (TSX) . Im getting this error SQL Server WMI provider is not available and This method cannot be called on the server version 10.0.. thanks!

SQL Server Configuration Manager: Connection to target machine could not be made in a timely fashion

I have a SQL Server 2005 box that was moved from a domain environment to a non-domain environment and was never dropped from its original domain before moving over.  Subsequently a new domain was created at the data center this SQL Server box now resides in.  The machine was dropped from its old domain and joined to the new one.   All the while the service accounts were set to the local admin account.  When I tried to start the Configuration Manager I got the message "Connection to target machine could not be made in a timely fashion.".  I read some blog entries and tried changing all the service accounts to Local System and the error message still came up.   All of the SQL Server services run fine.  It is just this management console that I cannot open.  I wasn't with this employer when this box was moved to the data center so I do not know if it worked prior and there isn't anyone here that could give me its history.   Any help would be appreciated.
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