.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 sync with asp.net

Posted By:      Posted Date: October 27, 2010    Points: 0   Category :ASP.Net

Basically my whole career I have used Joomla, php, and mysql for all websites I have made.  Both out of ease of use and because Network Solutions whom I used to work for switched to using that for all custom sites so we received formal training.

The current company I work for has a massive interactive members site which runs behind a static public facing site.  The members site does not have CMS functionality, it just manages new members, stats, etc.  It is built with asp.net technology.

I have taken a look at the CMS options out there for ASP.Net and I havn't found one that has more pros than Joomla does.  (sitefinity, umbraco, dotnetnuke, etc).  For one the extension support is lacking for them and I don't want to have to continually hire developers to make new extensions when they already exist for the Joomla framework.

Okay, that aside my question is:

I want to use Joomla to build the front end public site.  The member site will be seperate.  However, I need to sync the Joomla users with the asp.net web application users.  Username and password - thats it.  They can register for the Joomla front end but this will not carry over into the asp.net database.  When they register for the asp.net account separately though, it will check against the joomla database and replace that acc

View Complete Post

More Related Resource Links

Sharepoint 2010: User Profile Sync with Person attributes

Sorry for opening another post following this, but I think this case is quite concrete: http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/2fa02093-630e-4131-bdc7-0b979067f601 When trying to configure in Sharepoint 2010 - User Profile Application, an additional sync source from BDC (as at least, one LDAP Profile is required). The first approach was to create a straightforward SQL Connection with SP Designer, and it seemed everything ok, except I'm not able to setup synchronization of "Manager" property, which is great in order to see Silverlight Organization Explorer Webpart. As I have read in the previous post, someone pointed to setup a BDC with Visual Studio 2010, so one attribute is of type: Microsoft.SharePoint.SPUser. It seamed very logical, and so I tried to do such task. Once I have deployed correctly a BDC with this strong type (SPUser), the result is that I'm still unable to see any attribute when trying to synchronize Manager attribute. In Sharepoint 2007 this was possible, but not able in SP 2010. Any idea of how to do it? Just a bug? I have one very dirty workaround: setup a Timer job to run after Sync, so I can setup this field by code. But, for doing this, I would not need to run Sync process with BDC anymore.    Evotec Consulting

User Profile Sync not starting anymore

Hi! http://www.harbar.net/articles/sp2010ups.aspx Followed this guide to enable User Profile syncronization excluded the creation of the two Web applications and User Profile Service. I had these already setup by default when I installed SharePoint Server 2010. The first time I started Syncronization service it did succesfully started the Forefront services in windows and the sync service, but when I began configuring import connection settings I got connection to AD and saw all the users in AD groups, but never got it done because a error that said something about "??? WA"...don't remember anymore. I figured out that it was just because that I didn't do "IIS reset" nor the  system restart. So I did IIS reset and also restarted the system just incase. When system got back up ForeFront Manager Service was down, cause everyone told that you shouldn't mess around Service.msc so I figured that I could just stop sync service and start it again. And here I am figuring out why nothing will come back on. Both ForeFronts are in disabled state and sync service stopped. When I try to start sync service it tries a while, "ForeFront sync service" -startup change to automatic but returns to disabled state and in SharePoint sync service comes back to stopped state. Yes SharePoint farm account is in local admin group! Any suggestion

User Profile Sync - Profile Picture Export to AD Problem

To start, I think I've read every post/blog/etc there is on this subject.  Currently I have user profile import to Sharepoint 2010 working.  It imports profile data just fine.  Everything in the FIM Synchronization manager show success even.  Its the export from Sharepoint to AD of the user profile picture that isn't working at all.  I've gone thru the steps of adding the thumbnailphoto export under the picture properties.  I can see the export inside of the FIM manager.  I notice though that in FIM there is there a DS_EXPORT of the objects.  I've looked into the SyncDB and noticed in the metaverse table the SPS_MV_OctetString_PictureURL never gets updated with the information from the PictureURL column of the ProfileDB.  It is always Null.  Actually in FIM it only shows one person with an update, and keep showing the PictureURL property as being not applied, which is probably because it is showing it as blank only.  In the connector for the object in FIM, I get the error that I've seen in some blog posts where it says PictureURL (String) is not compatible with SPS_MV_OctetString_PicutreURL (binary), but that seems to be how Sharepoint builds the connection even though FIM finds it invalid.  I've had that created, deleted several times, so I guess that is ordinary, and not sure that is even the problem.

a bit confuse with the requirements of the user profile sync

Hi,   I'm setting up a SP 2010 farm environment, where I want to configure the user profile synchronization (AD based). After some difficulties resolved, I finally was able to make it works.   After that, the health analyser tells me it's bad to have services running with a user in the local administrator group. However, the setup guide tells me to add the user to the group.   In order to clarify, can you tell me what are the exact prerequisites of the user account for : * the service User profile synchronization service (same as farm admin service) ? On my farm, domain\spadmin by now * the instance of the user profile synchronization application ? On my farm, domain\spusersync   I've granted on the domain (w2K3 domain) all required permissions to write properties on both accounts (spadmin and spuser).   What are the next steps ? as my profile synchronization is set up, can I simply remove the user from the local admin group ?   thanks for clarifications, steve  Paying back the community for its help by writing articles : Have a Nice Day.Net Blog

User Profile Sync - Picture to thumbnailphoto export


Hi there,

I'm trying to get the staff pictures from My Sites to update the thumbnailphoto attribute in Active Directory.

I've setup the User Profile Sync, and I'm able to import and export to AD. However, I'm having a problem getting the Picture property to update the thumbnailphoto attribute. I can't find any errors, and it looks as though the sync is working to some extent because any previous information in thumbnailphoto is cleared after a sync.

If I look at what's going on in Forefront Identity Manager for 'DS_EXPORT', i can see that it has deleted the old value, and that the new value is empty.

Any suggestions are greatly appreciated!



Multi Tenant - User Profile Sync Issue




I ahve the user profile setup in partition mode. Every thin appears to be installed fine and running. On the main central admin page it list mulitple tenants. I have to seperate subscriptions setup with the following commands

Add-SPSiteSubscriptionProfileConfig -Identity $sub1 -ProfileServiceApplicationProxy $pUPSP -SynchronizationOU $ou -mysitehostlocation $mysiteurl

The subscription also has a featurepack and userauthenticationpath set


I recive the foloing erro when the MOS FIM connector tryes to export any user profiles

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Specified cast is not valid.
   at Microsoft.Office.Server.UserProfiles.ProfileChangeData.GetPartitionId(UserProfileApplicationProxy upaProxy)
   at Microsoft.Office.Server.UserProfiles.ProfileImportExportService.UpdateWithProfileChangeData(Int64 importExportId, ProfileChangeData[] profileChangeData)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,

Restarting Server: How to restart User Profile Sync Service?


Greetings all,


We had to restart our server, and once restarted, the User Profile Service (that we so laboriously fixed/reconfigured a month back) isn't starting. We get a retry on "User Profile Sync is provisioning, please wait..." before it terminates.

Can someone please recommend the best order in which to re-start the services so User Profile Sync restarts and continues to update?

Thanks SO MUCH,


Active Directory - User Deletion - Sync with MOSS 2007


Greetings -

I need to know if there is a sync tool that can scan all sites in a site directory and remove users that have been deleted or marked inactive within Active Directory?  I work in a company which has freaquent turn over in some positions due to internships and the like and I want to ensure that we have clean site permissions. 

Thank you for any suggested sites or addins. 


Error adding connection filter for user profile sync


Trying to setup a connection filter for the user profile sync. I don't want to include any users in the sync with ExtensionAttribute12 = Exclude. When I click OK to confirm the filter, I receive the following error page:

An unexpected error has occurred.
C orrelation ID: 834e3e93-0b47-4d6b-a1f9-3bbc1c6a52df
Date and Time: 10/1/2010 1:32:33 PM

I have searched the logs for the correlation ID. I found the following error messages in the logs.

Failed to find the XML file at location '14\Template\Features\ExcelServerEditStapler\feature.xml'    c39758da-0b2b-4b84-969d-c24625b15963
Feature definition missing for Feature 'ExcelServerEditStapler' (Id: '

User Profile Sync Service Crashed


I had set up the user profile manually by usiing the walk-through at http://www.harbar.net/articles/sp2010ups.aspx which seems to be the best post on this based on the attention it is getting.

I determined that  the User Profile service had no tbeen updating. I went to the connections page and the original connection was not listed. When I tried to create a connection it would give me the error "Cannot navigate to the requested page while user profile synchronization is running.  Please wait for the current Synchronization to finish"  So I tried to stop all Profile Jobs manually.

Still unable to get acces to create a new connection

Found a post that recomended hotfix KB983497 should help the user profile issues. Installed  that / rebooted.

Now I can not even navigate to the User Profile Management Page. Get an error "File Not Found , Correlation ID: d3e18550-edd0-4f9e-bf9d-eee89c5dc3af ".

I tried to uninstall this update but it will not give me that option. It also shows this installed 3 times with today's date as install date.

On the Manage Service on this server Page > User Profile Synchronization Service is stuck i

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

How can I change identity of User Profile Sync Service?


1) I cannot remove duplicate managed account with remove-spmanagedaccount because this account is used by user profile synchronization service.

2) I cannot change the account in CA-Configure Service Accounts, it says "item has already been added..." because of duplicate managed account (1)

Is there a way of changing the account of user profile sync service so that it can be removed with remove-spmanagedaccount?


User Profile Sync with AD - very odd behaviour, some profiles not working


1 x SP WFE, 1 x Dedicated SQL backend

So this has been driving me mad now for over a week....

SharePoint Server 2010 Enterprise trying to sync 3000 users from Active Directory. Everything appears to be setup fine;

- Replicate directory changes granted
- Netbios fix applied with powershell
- SharePoint Sync Service running
- FIM services running (although one does occasionaly stop)
- August Cumulative Update applied

I have created the Service Application and the Connection to AD - choosing the OU's I want to sync.

3000+ user profiles appear to sync correctly, from Central Admin browsing through the users ALL of their profile information is complete and ready to go. No errors in MIISClient.exe or on the server anywhere.

The problem occurs from the front end when we try to add user to SharePoint groups. Seemingly by random one morning a large proportion of the user profiles when you browse for them through the SharePoint interface appear only as DOMAIN\USERNAME with no other profile information available.

If you login with one of these users (having granted them direct access) their login name top right is DOMAIN\USERNAME and in My Settings the profile information is BLANK.

After the user has logged in, 20 minutes later or so their profile information is suddenly avai

User profile sync failing after changing username when another administrator got married recently.

I changed the username in Active Directory for the administrator who set up most of our Sharepoint 2010 server and now neither she nor I (as domain admin) can manage library settings, services on farm, or a number of other places where apparently sharepoint relies on user profile sync to succeed to grant privileges.  Checking back in the logfiles, it would appear that sharepoint profile sync hasn't been working since the last cumulative update but no one noticed (I don't adminster the server) until the sharepoint admin user person got married and their username (and display name) changed.  Since then, many links are broken in both central admin and all other sites.  The error is always the following (the date/time changes obviously):  "


User cannot be found.


Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: a13766dc-6604-46ef-9abc-e5daade

User Profile Sync - Fails on ilmbuilddatabase


Setting up user profile service.

Following the excellent harbar guide as usual which normally results in a working service.

The service gets stuck on starting when provisioning (go to services and server and start as the farm account)

Looking at the uls the following steps work well.

User Profiles 9i1y Medium ILM Configuration: Validating account. 
User Profiles 9i20 Medium ILM Configuration: Validating the system groups 
User Profiles 9i23 Medium ILM Configuration: Setting up WMI 
User Profiles 9i24 Medium ILM Configuration: Setting required permissions 
User Profiles 9i26 Medium ILM Configuration: Create install config file 
User Profiles 9i28 Medium ILM Configuration: Update source project 
User Profiles 9i29 Medium ILM Configuration: Changing service account credentials 
User Profiles d3bo Medium ILM Configuration: Setting policy for service account 
User Profiles 9i2a Medium ILM Configuration: Configuring database 
User Profiles 9i2b Medium ILM Configuration: Re-starting mms service 
User Profiles 9i2d Medium ILM Configuration: Checking mms service 
User Profiles 9q1e

Need Clarifications on SharePoint 2010 User Profile properties and Sync database security


Need few clarifications on SharePoint 2010 user profile sync. I’ve answered some of them but need confirmation/clarity on this front.

  1. Is there option to disable ‘email address’ import from AD?
    Yes. Can disable that property mapping.
  2. Possible to send mails (user alerts) from SharePoint without the user profile property ‘email address’ mapped?
    Yes. User alert mails from SharePoint will work without ‘email address’ mapped in user profile DB.
  3. In case email address too is imported into SharePoint, can we bulk export them from SharePoint? If Yes, how to security harden that database?
    Not Sure. I believe Farm admin account/sync account has access to do this profile DB.

 Thanks in advance for your advice.<

User profile not sync Sharepoint webapplication


I've got the following problem:

We have a Sharepoint farm with one  frontend and one indexing server(s). We also have many sitecollections running in different web applications. Userprofiles are imported into Sharepoint from ActiveDirectory. Profile changes (here: name and email changed due to marriage) are refected in SSP User table, but unfortunately not in all UserInfo tables of the sitecollections. It seems that these changes are only made in some of the web applications, where in others the changes aren't made. Surprisingly the alias (Account field) changed from DOMAIN\oldname to DOMAIN\newname, but all the other fields still contain the old values.
 this problem is created after change   sharepoint 2 Tier actecture  to 3 Tier Artiectrure.webaplication port 80 userinfo table not updated afte change user profile any Column .

I then accesseall webapplication are userinfo table updated. the userinfo table of the sitecollection through (http://sitecollection/_catalogs/users/simple.aspx) and still found the old profile (with the old login name DOMAIN\oldname). Wether the new profile nor any changes are visible in this table

i have not installed Sharepoint service pack2 our server .we are used only Sharepoint service pack1.

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