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

Post New Web Links

Sending emails to user from people picker - non-exchange user

Posted By:      Posted Date: October 24, 2010    Points: 0   Category :SharePoint

Hi all another issue @ hand, our production environment is in co-existence between exchange and domino, mail flow is working fine between them as we do directory sync. now for the juicy part, when sending email notification from sharepoint, it users people picker to pick up users synced from AD. To Exchange users it goes through without issue, but to Domino users it does not, even though the AD account has the email field in account been tabulated. For Domino users we have AD account and Mail contact for mail fow. Can someone help me understand why is it so when even with the email field been tabulated in the AD accoutn for the Domino users, email notification does not go through, but when the email address of the users is hard-coded into the notification the email goes through.

View Complete Post

More Related Resource Links

User display Name & People Picker

Hi, We wanted to use a web application without user profile service. We have added users their display name is always domain\username. Is it that without user profile service display names will not be updated. But my understanding is that people picker also returns display name. Is it something else we need to configure to get the displayname from the people picker itself.Satheesh

People Picker gets error when selecting user from a trusted domain(one way forest trust)

  Hello all,   Our current setup is SharePoint 2010 Foundation server in one external forest(Trusting forest), and trying to have users in a separate internal forest(Trusted forest) access the site. The external forest's DC and SharePoint server are in a DMZ separated by a firewall with the internal forest's DC and users. A one way transitive forest trust was successfully created and has been validated. On SharePoint, we're ran the sts commands to set the setapppassword as well as the peoplepicker-searchadforests adding the domain that the SharePoint server is in, as well as the trusted forest. An iisreset was issued after running these commands. In SharePoint, we can then search for users from the trusted domain, and select the users in the Select People page, but when hitting the final Ok, an error is received: An unexpected error has occurred in which a correlation ID is provided. Reviewing the SharePoint logs we find the following: <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520092929 1073786111 9 0 415 0;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520081665 -1073717157 41 0 66047 0;} /* Style Defin

filling current user name in people picker field when loading form using javascript


Hello guys,

I am looking is there any way to fill the current user's name in people picker field in newform.aspx using javascript?

If you anything, please let me know 


SharePoint 2007 -People Picker stopped resolving user accounts after patch "February Cumulative Upda



I have a SharePoint serve 2007 farm, i was able to find users in one way trusted domains using the stsadm cmds for peoplepicker, after i installed the the patches from the February Cumulative Update (CU) i can no longer search domains for users, i have checked the stsadm peoplepicker commands and they are all still there.

i get the following when i look at the logs "Error in searching user 'domain users' : System.Runtime.InteropServices.COMException (0x8007052E): Logon failure: unknown user name or bad password" i know all passwords are good as they were working, and the search for accounts breaks as soon as the the patch is installed.





GDI+: A Primer on Building a Color Picker User Control with GDI+ in Visual Basic .NET or C#


Although most developers and APIs use the RGB scheme when working with colors, it's not the only available way to represent or select colors. For instance, the standard Windows color-selection dialog box allows you to work with the HSL color scheme in an indirect way. In this article, the author describes several color selection schemes, and uses GDI+ (via the System.Drawing namespace) to create a component that makes it possible for your own applications to provide a simpler, friendlier color chooser. Along the way, you'll get tips to help you use GDI+ in your own apps.

Ken Getz

MSDN Magazine July 2003

SPD workflow, emails sent for one user, not for the other


Good day,

I have a SPD workflow (WSS/2007) that take a date field from a document list and when that date occurs it sends an email.  If the date is in the past, it will send the email out right away.  It is working fine for one user, not for another.  Both users have the same permissions.  The workflow goes as follows:

ACTION: Set Variable: vTermdate to DocumentsNotificationDate
       then log Documents:Email Date to the workflow history list

CONDITION: if Variable: vTermdate is not Empty
ACTION: Log term not empty to the workflow history list

CONDITION: if Variable: vTermdate is Empty
ACTION: Set Variable: vTermdate to N/A

ACTION: Add 0 minutes to Documents:Email Date (out to

Jquery date picker in ASP.NET Web user control does not work


Hello, I have the most frustrating problem and being new to JQuery does make it more difficult. I have an ASP.NET web user control with an ASP.NET box which I want to apply a JQuery date picker to, then of course I have server side code which takes the date and processes it etc. The date picker will not work. I can achieve a working JQuery date picker with an ASP.NET textbox if there is no user control involved, or within the user control I use a html text box instead, but once I add runat="server" to the text box, it does not work. Is there a way I can achieve this? (the web user control will be wrapped in an update panel too which at the moment will work with the html control/web user control without the server side functionality)

<%@ Register TagPrefix="TE" TagName="JobHistory" Src="test.ascx"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">


    <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>

    <link h

What is the best way to create user account for big group of people?


I need to create individual account for a big group of people (around 200) from an Excel spreadsheet. What is the best practice? It will take too much time to create account using web form. I think there must be a way to do it. Please advice. I tried to use Stored procedures created by ASP.NET. NOT SURE whether it is a good idea.


sending .ePub files to user

I need send to user e-book in file format .ePub. ePub file is zip archive with epub extension.  I try to send the file by Response object in C# code, bud all attempts cause a dialog box to open or save of file with zip extension. Example of code // dir and name are stirng variables with path and file name without extension zip.Save(dir + "epub.epub");      //save file to disk Response.Clear(); Response.ContentType = "application/octet-stream"; Response.AppendHeader("Content-disposition", "filename=" + name+".epub"); Response.WriteFile(dir + "epub.epub"); //Response.TransmitFile(dir+"epub.epub");  //the same behaviour   OR Response.Clear(); Response.ContentType = "application/octet-stream"; Response.AppendHeader("Content-disposition", "filename=" + name+".epub"); zip.Save(Response.OutputStream);   I need to offer files with extension epub.  Can somebody help? Thanx  

Forms Authentication sending user to LoginURL on first hit of page even though page has [allow users

On the first hit, and only the first hit, to my page having [ALLOW users="*"] in the web.config, the user is redirected to the LoginUrl, but on all subsequent visits to the page, the user IS allowed access.  The user shoud ALWAYS be allowed access to this page.  I suspect it is a configuration problem, so here are snippets of my web.config... <compilation debug="false" strict="true" explicit="true" /> <trace enabled="false"/> <authentication mode="Forms"> <forms protection="All" cookieless="UseCookies" requireSSL="false" slidingExpiration="false" timeout="20" name="12345678-1234-1234-1234-123456789012" loginUrl="~/Web/Login.aspx" defaultUrl="~/Web/MyPage.aspx" enableCrossAppRedirects="false" /> <authentication> <httpCookies httpOnlyCookies="true" /> <sessionState cookieless="UseCookies" />         <location path="Web/Contact.aspx"> <system.web> <authorization> <allow users="*"/> <authorization> <system.web> <location>   Can you help me figure out why users are not ALWAYS allowed access to the /Web/Contact.aspx page? Thx!      

SharePoint 2010 not recognizing user e-mail from Exchange 2010


I'm not sure this question is a Sharepoint or Exchange problem.

I've been encountering a problem that I do not know how to troubleshoot. :( I'm sure my user has e-mail account on the Exchange 2010. However in SharePoint, it says my user does not have an e-mail address. I deleted a user and recreated the user and still the same problem. SharePoint just does not see that my user on Exchange already has an e-mail address. :(

I hope I have done what I could to explain. 

Bryan Chung's Blog http://www.bryanchung.sg

Getting data and sending it in a CSV file to user



I'm creating an ASP.NET application that needs to get data from database (time consuming) and show some indication (e.g. gif animation) that the application is doing something. After that the data should be send to user that the user can save or open the CSV file.

I'm able to do this with two button click's. One for getting the data from the database in codebehind and using javascript to show the gif animation for user in the meanwhile. Second to use the response.write(myData) and response.end() to send the data for user to save in CSV file.

The problem is that I need to do this with one button click. If I combine the code to one button click handler the data is sent correctly but the gif animation is not hidden because the page is not updated. How to do this correctly with one button click?

Thanks, Nitos

People search for AD user is very slow


People search for AD user is very slow, takes about 40 seconds to find a user. We are runing MOSS 2007 SP2 (64 bit win 2008 STD) and have 2003 AD. DC is local to the MOSS serers. Network and DNS are ok too. What esle can I do to fix this issue. 

sum ..... where user = user.identity.name , how ? clearly , easy, for people like .


i want to use dataset , or any thing ... to display Sum *  where user= user.identity.name(not use gridvew, or formview) because i have more then 100 columns  . i m newbie. realy , 1 month, it not solve,  sometime , i want to give up

People search (by GUID) giving 'User not found'


When I go to the people search off of our landing page, put in an account name, it returns the proper person and when you hit that link for the person, the resulting page gives 'User not found'. Specifically:


However, if you go to an item that has that exact same person in it (for instance to a list item and click on their 'Created By Joe Shmoe' link) it comes up just fine. Specifically:


So, when using the GUID, it doesn't show up and when using the account name for the Person.aspx page it works fine. When I go to the SSP hosting the mysites.etc.com and view the profiles, I can extract a proper GUID directly from the profile, replace it, and it works like a charm.

I've tried to do a detach and reattach of both the landing site and the MySite databases with no avail. Also note that I've done full imports of both the people search and the profiles across all SSP's and there is only one search crawl with the sps3://etc protocol.

Farm and setup info

Farm consists of 5 SSP's for dif

Resolve AD names to Display names in SharepointDesigner Workflow emails for multiple user field



Is there a way I can resolve multiple users in a "People and Group" field to thier display name rather than Ad name in sharepoint when doing a designer workflow . The workflows job is send the mail to the business owners and request request that a certain permission be granted to User A, UserB, User C,...and so on.

SPD activities Linktitle action to my understanding only resolves a single user.





People search for AD user is very slow


People search for AD user is very slow, takes about 40 seconds to find a user. We have Sharepoibnt 2010.

I'v found this article


But We have trust with other computer, which is in the other country. We don't delete it.

What way can you offer?

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