.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

Memeber of Group's name displaying as e-mail address

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


We are having an issue with one site where when i add a specific user to a group under "People and Groups" his name displays as his e-mail address. This is not correct it should display his name the same as everyone else. We do not have this problem with any other employee and if i add this person to any other group in SharePoint his name displays correctly.

Another note that may be related is the fact that Included in the view of this sites groups, the fields that are displayed for memebers in the group are Name, title, and department. These fields are not updating like other groups in sharepoint.

I am wondering if there is something wrong with how this site is set up?


Any insight is greatly appreciated.

View Complete Post

More Related Resource Links

How do I prevent displaying membership of an AD group in Colleague Tracker web part?


I'm a big fan of the Colleague Tracker web part in MOSS 2007 My Sites, especially the option to show 'Membership Changes'. This is often useful in highlighting that a colleague has been added to a certain AD group.

We now want to hide the membership of certain AD groups from the colleague tracker. For example, if an AD group called 'Project X' is created, we don't want membership of the group broadcast throughout the My Sites where colleagues are tracking colleagues.

My first thought was that we could use AD to 'deny read' on the 'Project X' AD group to all SharePoint related service accounts. This does not appear to have worked, although perhaps the configuration is more complex? The best approach would seem to be to prevent the group membership data ever being imported from AD to the SSP, hence my 'deny read' approach.

Has anyone successfully implemented this, or does anyone have any better ideas?


Best Way to Store Users Mail Address

I have some webforms and the main page grabs the users email address when they login and a UserID.  It's not uncommon for the user to keep the web page open all day.  Is it good practice to store the email address and ID as a session variable and up the timeout to say 10 hours?  Or is there a better way?  My concern is A) Session variables timing out before the user login timesout B) Doing this incorrectly. Thanks!

group headers are not displaying

I am new to Sql Server Reporting Services. I am using SQL Server Reporting Services 2005. I have a report with multiple groups and in detail section I have a subreport. The subreport has only one field. Some times the length of the field can be more than 30000 or 40000 chars. I have kept the group header to repeat in all pages. When the sub report extends to more than 1 page the group header is not displaying in all the other pages for that particular group. Can any one help me to resolve this issue? Thanks, Paul

System.Net.Mail ignores Sender address when delivery method is SpecifiedPickupDirectory


Has anybody else had an issue with the sender address not being used as the return-path/bounce address when using system.net.mail to send email with a different address for the return-path/sender and the from address and using the SpecifiedPickupDirectory delivery method? This issue is particularly important when you need to send mail from a "user" address, but want bounce backs to come to a different address so they can be processed.

Using the code below, I think you can reproduce the issue.

Imports System.Net.Mail
Partial Class emailtest
    Inherits System.Web.UI.Page

  Protected Sub test_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles test.Click

    ' Build Message
    Dim mail As New MailMessage
    mail.From = New MailAddress("from@domain.com")
    mail.Sender = New MailAddress("sender@domain.com")
    mail.Subject = "Test Subject"
    mail.Body = "Test Body"

    ' Drop in Pickup Directory
    Dim smtpPK As New SmtpClient
    smtpPK.DeliveryMethod = SmtpDeliveryMethod.Sp

How to modify Send E-Mail subject ("Welcome to the SharePoint group") in People and Groups?


Hi All,


I am using WSS 3.0 in our application. Whenever user is added to the SharePoint Group using People and Groups page, user will be alerted using Send E-Mail option. We want to modify the subject “Welcome to the SharePoint group: Portal Visitors for site: Home”. I found that I can modify AclInv.aspx to modify the subject.


Could you please tell me is there any other way to change this text since modifying Layout pages are not recommended in our environment?


Thanks in advance.


The specified string is not in the form required for an e-mail address

I have searched and searched and searched for an answer to this problem...

I have been using the System.Net.Mail namespace for quite a while to send emails from my websites. A problem occurs though on certain (VALID) email addresses. For example, when the name field of the email address has a dot (.) in it (example: my.name@email.com), an exception is raised when this address is added to the TO property of the MailAdddress object. It seems the dot between my and name causes the exception.

Please note that these are valid email addresses, but the MailAddress object considers them to be invalid.

Any suggestions/workarounds?

Error Message: The specified string is not in the form required for an e-mail address.
Stack Trace: at System.Net.Mime.MailBnfHelper.ReadMailAddress(String data, Int32& offset, String& displayName)
at System.Net.Mail.MailAddress.ParseValue(String address)
at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)
at System.Net.Mail.MailAddress..ctor(String address, String displayName)

Failure sending mail: Exception 0xc0000005 was generated at address 0x000007FEE3D4122B Mail will not


I'm running SSRS 2008R2.  I'm getting the above error a a couple of email subscriptions.  Some email subscriptions work, a few I'm getting this error message.  I've seen the posts about resetting IIS, SSRS and Agent Service.  I've done this, and it does seem to temporary fix the issue, but then it comes back. 

The one post where it says the "From" field containing more than 255 characters.  This is not my situation.

I need to find a more permanent fix for this issue.  Does anybody have any further insight.  Some postings seem to be related to older versions of SSRS.  I'm on the latest.



Any help or suggestions would be appreciated.

Mail user thats in a distribution group



I've searched for this on google but no luck. I what to fetch all distribution groups in our AD.
When I look in AD I find all distribution groups in "Groups" but in that conainer/folder there are 2 different Types

Security Group - Global and Distribution Group - Global

I what to get all Distribution Group - Global so is there anyone that can help we, first I need to get all groups to a dropdown list and then be able to mail the selected group.



Unable to assign this e-mail address to the list, because the address is in use.


I have a simple one, I am getting the 'Unable to assign this e-mail address to the list, because the address is in use.' error in WSS 3.0. The question is why?

I have an email address that is ei@mycompany.com, and I am trying to mail enable a sharepoint list with an email of ei@intranet.mycompany.com.

Any reasons why that wouldn't work? I search my entire domain for the email address to make sure some random contact didn't have it-


> get-qadobject -type contact -includedproperties mail -sizelimit 0 | where {$_.mail -like "*intranet.mycompany.com"} | select name, mail | export-csv c:\data\intranet.mycompany.com_emailaddresses.csv



You do not have an e-mail address



I have set up users in the Active Directory for a SharePoint 2010 Server w/ Enterprise Features site.  I entered the users' email addresses in the field labeled as such.  However, when I try to set an alert, I receive this error:

You do not have an e-mail address.
Alert has been created successfully but you will not receive notifications until valid e-mail or mobile address has been provided in your profile

Is this a configuration problem, perhaps something in Central Admin?  I can't seem to find it.  Thanks!

can person group pickup take email address

I plan to use the for user to find a domain user and show name on the form, but when submit form will send email to this person in the person/group pickup field. anyone can give advice how to implement this?

Displaying SharePoint lists in Web Parts

When you create a built-in or custom list in Microsoft Windows SharePoint Services, Windows SharePoint Services creates a Web Part, a basic building block of a SharePoint site, to display that list. These Web Parts are called List View Web Parts. Windows SharePoint Services stores List View Web Parts in the site collection Web Part gallery. (The site collection Web Part gallery is the most central gallery of Web Parts for a work group. By default, the gallery name is the name of the site, such as "Our Team Site Web Part Gallery." )

Displaying Row Details Tooltip on GridView using JQuery

Continuing exploring JQuery! I decided to implement a feature to display some kind of details related to a row displayed on GridView. For example when displaying employees details on GridView some information might not fit in the GridView because it will make it huge and wide. These infomration can be diplayed as Tooltip. Or when you want to display a picture and some kind of formated text to be diplayed as tooltip when mouse hover on the image.

Using ASP.NET 3.5's ListView and DataPager Controls: Displaying Data with the ListView

Prior to ASP.NET 3.5, developers who needed to display a set of records could choose between the GridView, DataList, and Repeater controls. The GridView provides rich data features, but has a very boxy layout; the DataList and Repeater allow for a more flexible layout, but lack the "point and click" data features found in the GridView, DetailsView, and FormView controls. The ListView bridges the gap between layout flexibility and built-in data features.

This article, the first in a series of articles on the ListView and DataPager controls, looks at the ListView's many available templates and illustrates how to display data. Read on to learn more!

Displaying Data using ASP.NET 2.0 Repeater and C#

This tutorial will show you how to display data using the .NET Repeater Control, ASP.NET 2.0 and C#.NET

The Repeater control is a powerful tool and is easy to use.

First, you will need to import the System.Data.SqlClient namespace.

IP Address Blocking or Restriction in SQL Server

"is it possible to block connections to SQL Server based on IP address". As far as now there is no official way in SQL Server to block the connections in SQL Server based on IP address. However this can be done from the OS end, we have the following three options available, refer HERE for more.

.RRAS IP Filter

Problem to group radio button across gridview rows

In general no one can easily group or make a single selection from radio button list inside gridview rows. There are a lot of way to make a single or unique selection from list. Here i want to share how i can address this problem in the most easiest way. Googling the problem most of the cases i saw the grouping in horizontal way. Thats why i tried to group the radio buttons in vertical manner. Let i have a requirement like below:
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