.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

User Alerts don't work

Posted By:      Posted Date: August 26, 2010    Points: 0   Category :SharePoint

Hi there

our webmaster added a group and a few users on a page via Actions -> Alert Me -> Send Alerts To
the users are also viewable via Site Actions -> Site Settings -> User alerts
all neccessary users or groups are added for alerting.

even if everything looks okay, on just one site the alerting does not work when a user uploads a new document.

question: does anybody have any clue what i could test or do to correct this?

as i told, the same users work on another site, so it's not possible, that users or groups are not mail enabled.

thanks for any help.

View Complete Post

More Related Resource Links

Category attribute of user control property does not work correctly in categories tab.



I have a User Control (ascx) and a property which a want to display in my categories tab in Visual Studio in the category named "Styles".

[Category("Styles"), DefaultValue(""), Description("The value for formating something.")]
public String MyFormatProperty
set { /* the code for set */; }
get { /* the code for get */; }

And here is the problem: Actually I do not need a get, because I only have to set the property (write only property). But when I omit the get, the property is displayed in the "Misc" category in the categories tab in Visual Studio. Only when I code the get as well, then the property is displayed correctly in the "Styles" category in the categories tab in Visual Studio.

Does anybody know why? How can I display the category correctly only with set?

Thanks, S.

file upload in Create User Wizard Created User event with UpdatePanel Tag wont work?



In my Create User Wizard1 Created User Wizard Event, I am collecting extra information from text boxes and allowing

the user to uplad a file.



I have put the Submit button within an Update Panel Tag but since I have done this it does not work.

Is there a way round it. In this situation would you use a trigger.?


<br />

  <asp:UpdatePanel ID="UpdatePanel2" runat="server">

  <asp:Button ID="StepNextButton" runat="server"  CommandName="MoveNext"  align="middle"
                                            Text="Submit my Profile" />

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

Alerts - 1 user fails with "PermissionMask check failed. asking for 0x00000055, have 0x3C4312EF", ot

I have set Alerts for 3 users on a Document Library in our Team Site in a MOSS 2007 environment.  Alerts go out for every other person I set alerts for, with the exception of this person.  Our Exchange Admin tracked down the Alert email and saw that while everyone else was listed, this person was not.  At the same time I turned on Verbose logging for the log files and found the PermissionMask failure.  The problem is I cannot figure out why this person is failing this check. This person happens to be a member of our IT team, as are the other people I added Alerts for.  I should also note that this problem occurs whether I add the alert for this person, or this person adds the alert themselves.  I have checked the permissions on the Library and they are inherited from the Site level.  When I check the permissions on the Site level, the IT team has Contribute permissions, I did then check the AD Security Group to be sure that this person is in the group, and they are. Any ideas as to why this would happen for this person only?  This person can access, and add content, to the Library which puzzles me more.  My next test will be to add this permission to the Site permissions explicity with Full Control to see if that matters. In Googling for this, I find a number of PermissionMask posts, but none that seem to address this specific pro

User Control with JQuery doesnot work inside update panel


Hi All,

I created a .NET user control to work as a DropdownCheckbox and added Jquery to give the sliding and hide effects. The code is as below:

 <script language="javascript" type="text/javascript">
        var showRegionWindow = function (ev) {
            var pos = $("#lnkChangeRegion").offset();
            var width = 230;
            var height = 55;
            //$("#changeRegionPanel").css({ "left": +((pos.left) - 215) + "px", "top": height + 16 + "px" });.
            document.getElementById("lnkChangeRegion").style.display = 'none';

        var hideRegionWindow = function (ev) {
            var textVal = "";

User Alerts

Is it possible for a site administrator to actually create users alerts for site libraries and lists. In other words to ensure that all users have alerts for certain lists regardless of whether they cretae the or not?

User Profile Synchronization service is not designed to work on a stand-alone installation


There were tons of discussions and blog posts about User Profile Synch service never starting. And now it appears that this is not even supposed to work....



Cannot get user profile service application to work using the guide on harbar.net?



I'm hoping someone on here can help with this, as I've really been round the houses with this.

Anyway I've attempted to provision the UPS Service App probably 4 times now, each time learning more and more about the common problems.

The last time, I rolled my VM back to just after the installation of SharePoint 2010 binaries, and then ran the PCW and created the farm again from scratch.

I then followed this guide: http://www.harbar.net/articles/sp2010ups.aspx

Everything seemed to work perfectly well, after provisioning UPS I did a couple of iisresets as welll as execadmsvcjobs until I could see the timer job that provisions the FIM services.

These services came up and the following errors were reported in the event log:


The first one is lies, I did start the service and verified it was running, anyway for completeness:

"There are no instances of the User Profile Service started on any server in this farm. Ensure that at least one instance is started on an application server in the farm using the Services on Server page in Central Administration."

This one I have seen constantly on my Farm through various builds:

"An exception occurred when trying to issue security token: An error occurred while receiving t

Copy images to page layout or to wiki page - looking for the user-friendly way of work!



I found that when copy & paste text and images (from internet site / from word etc.) -

when i'm coping to page layout as "Article Page"  - all the content include images is pasted at once and no farther configuration is needed.

When i'm coping to a wiki page - the images are not always being copied and i have to define the target images library it will be kept in (which makes the edit of wiki page more complex and less user-friendly).

Am i missing something? should i configure something in the "page content" field of the wiki page? or activate any site feature?


User profile sync - Replication of manager, physical office location and work phone number back to a


SharePoint 2010 user profile synchronisation successfully up and running following the super guide from Harbar (thank you!).

Setup the property for first name to replicate back into active directory and this has worked perfectly.

Now trying to configure the following functionality and getting issues.

1] Allow the users to edit the manager property and replicate back into AD

2] Allow the users to change their phone number and replicate back to active directory

3] Allow the users to edit the office location using a drop down list.

So these are the problems

1] Allow the users to edit the manager property and replicate back into AD

Have made the property editable and the users can change it.  The org chart browser works using the new values.  The profile property, however, will not allow you to set is as 'user overridable' in central admin and it never goes back into AD.  Indeed there is a warning displayed in the users my site to this effect.

2] Allow the users to change their phone number and replicate back to active directory

Have made the property editable and the users can change it.  The profile property, however, will not allow you to set is as 'user overridable' in central admin and it never goes back into AD.  Indeed there is a warning displayed in the users my site to t

Logout doesn't work on all pages, and also User.IsInRole, UrlRewrting ?



I can't logout from my main page and also from the other pages when I'm using UrlRewriting rule without file extension. If I open the page with .aspx at the end, logout process working just fine. For example:

www.mydomain.com => logout impossible

www.mydomain.com/contakt => logout impossible

www.mydomain.com/contakt.aspx => logout working fine


Also when I log into system, the User.IsInRole method doesn't work for all pages used in application. It's working properly for the pages placed in main folder, but it's not working for the page placed in /folder/subfolder/somepage.aspx . Url showing in browser for this page is www.mydomain.com/somepage . How can I check If user is in role for that page ? It's always return false.

Does anybody got this problem ? How to solve it ? Please share any knowledge..

Can not send SharePoint alerts to the user outside domain

The SharePoint alerts would not go outside company domain. We have many partners users (some have active directory account and some are only in exchange 2007 contacts) and none of them recieve alerts. The internal users recieve alerts no problem there. I have setup relay in exchange 2007. From SharePoint webserver I can telnet/smtp to exchange on port 25 and able to send message. Not sure where  is the problem? can any one help?

NULL for user who don't have appointment - UNION error ... LEFT JOIN doesn't work



It's so silly what i'm trying to do.. I just need to catch the entire list of user and null for users who don't have appointment ....

I tried union but I've got an error, please help


Msg 205, Level 16, State 1, Line 2
All queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists.

declare @SQL Varchar(4000)

declare @CRM_FilteredAppointment nvarchar(2000)
declare @CRM_FilteredSystemUser nvarchar(2000)

set @CRM_FilteredSystemUser = 'SELECT systemuserid, eu_reporthubname, fullname, businessunitidname 
 FROM FilteredSystemUser 
 WHERE businessunitidname = ''Spain''
--exec (@CRM_FilteredSystemUser)

set @CRM_FilteredAppointment = 'SELECT activityid, ownerid, regardingobjectid, subject, scheduledend 
 FROM FilteredAppointment 

set @SQL = ' 
 SELECT SU.systemuserid, SU.fullname, count(partyid)
 FROM (' + @CRM_FilteredSystemUser + ') AS SU
    (' + @CRM_FilteredAppointment + ') as Apt ON 
    SU.systemuserid = Apt.ownerid 
    FilteredActivityParty AS AP ON Apt.activityid = AP.activityid 
   AND (AP.participationtypemask = 8 OR AP.participationtypemask = 5) 
 WHERE Partyidname is not null 
group by SU.systemuserid, SU.fullname

Cant get outgoing alerts to work

We have SMTP setup at our data center that is verified to work with other servers. We have a shared mailbox example test@test.com  and allowed our service account tohave full access to this mailbox. We just cant get the site mail to work any suggestions?

Disable or modify user alerts


Question from my staff was how can we limit an internal site from sending out alerts for all changes made from a site.  We only want to give users on certain sites the ability to view their own alerts when they post under their name and not view when others post to the site?  Reason being we are limiting users to view only what we want them to view and not all views are for everyone.  That is why we created certain pages to allow users access to see what is available for them or their group.  As it turns out if we limit them to this and they setup an alert to view all changes they bypass our security restrictions to view only what we want them to view.  They need to be able to contribute to the site and we don't want to create two sites for the same purpose.  That would just make matters worse so its best to keep all users adding to a single task database then having two of them use the same functionality.  There are other reason we don't want to create other sites as well but I just wanted to see if anyone out there has used been able to find out if alerts are manageable from the administrator point of view.

I know I can view all alerts for the site and remove those that user create but that defeats the purspose of having them set up alerts on their own.  We just want to disable the feature that any changes on the list ar

datareader not work when " where user.identity.name and date...?


 i don like this 

con =


cmd =

New SqlConnection("Data source=.\SQLEXPRESS;AttachDbFilename=C:\Documents and Settings\mrhua\My Documents\Visual Studio 2010\WebSites\WebSite20\App_Data\De.mdf; Integrated Security=True;User Instance=True")New

Problem with end user not being able to create alerts

I created a team site as a sub site off our main site. I broke inheritance from the parent and added a new group and assigned that group a custom permission that has create alerts permission. Problem is when the end user goes to create alerts it throws an access denied error after clicking okay on the new alert page. I've checked and rechecked permissions and everything looks to be setup correctly?
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