.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

CMS to manage user's content?

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

Hi all,

I haven't developed in ASP.NET for a very big while...

I'd like to create a website that will enable members to add content : let's imagine they have items to be sold, and they want to create one web page for each item to be sold. Those pages should be viewable by everybody, but should be editable only by the member who has created it of course. Each item should be stored in a category. In fact it's very similar to what eBay does (except it's not for auction at all), or maybe a site for classified advertisements like www.adoos.co.uk is a best example.

The application should be dimensioned to allow potentially millions of members, with few items (around 1-10) for each member.

I imagine to use the ASP.NET Membership Fx to manage security and user account, stored in SQL Server. Is it a good start?

But I don't have any idea about where and how to store the content itself (user's web pages, with optionally few photos)! In SQL Server? In Active Directory, how?!? Anything else? Is a CMS framework the right tool to be used? Any link would be appreciated.

Thanks to help me starting.

View Complete Post

More Related Resource Links

User Preferences: Manage User Settings in Your .NET App with a Custom Preferences API


There are plenty of options out there for managing user preferences including custom configuration files, the Windows registry, and the isolated storage. But each option has its pros and cons -- and a bad choice can make life difficult. In this article, the author evaluates various options and identifies the characteristics of a good preferences API. Based on those characteristics, he introduces an API that is specifically designed for preferences management, one that offers the best of all the options.

Ray Djajadinata

MSDN Magazine July 2004

Rendering User Control content


I have a scenario where, the content is:
 ASP.NET Controls
      User Control
 ASP.NET Controls

The entire div code is rendered and is sent at a mail using the code:

Dim sw As New StringWriter()
Dim w As New HtmlTextWriter(sw)
Dim s As String = sw.GetStringBuilder().ToString()

This works fine except that the User Control does not get rendered.

Any way out, so that the User Control content is also rendered ?

User control with multiple item content

I have a user control that I would like to contain multiple items as its content, similar to the way a <StackPanel> works. I tried using a <ContentPresent/> but it will only let me use a single item as the control's content. What's the best way to go about this? I realize I could just require the user to put a <StackPanel> or <Grid> or similar control as the content of the user control, but i would rather not do that if possible.   I'm not sure if it matters, but this control actually has several content presenters. Some of them will contain a single item and some will contain multiple items.

How to Hide "VIew All Site Content" for non administrator user

Hi, I want to hide "view all site content" for non admin user but that user can access the form libray.actually there is a workflow using form library. I ve edit the permission level to hide view all site content but now the user can not use form library. so how can it b possible.kindly suggest.Regards- Sharad

Interesting error message with content organiser: Cannot resolve mailbox (null) to a valid user

Here is a site with content organiser site feature enabled, as well as the email integration feature. Emails are successfully delivered to the "Submitted Email Records" list, but is never routed to the Drop Off Library. (the content organiser web service works fine and the drop off library works as a custom send to destination and happily processes its rules. If I turn up the debug juice I get the error "Cannot resolve mailbox (null) to a valid user" for every item in any "Submitted Email Records" in the site collection. Area: Document managagement Category: Content organiser EventID: 8000 Message: Cannot resolve mailbox (null) to a valid user I have temporarily worked around the problem by email enabling the drop off library but it creates an intermittent race condition (similar to certain workflow and event receiver situations), so its not a real solution (and in fact I assume thats why the Submitted Email Records hidden list exists in the first place). I've run procmon, specifically focusing on OSWTIMER and nothing interesting shows up at all. The error message is intriguing and I can't really think of what it is trying to do. In troubleshooting I noted that this farm had configured inbound email but not outbound email. I have since rectified this and de/reactivated the content organiser features and reset the timer service and IIS, b

SharePoint 2010 Server: Cannot manage all user profiles from upgraded MOSS SSP database

I have upgraded an SSP database to SharePoint 2010 and successfully performed User Profile Synchronization with Active Directory, however I cannot manage ALL of the user profiles in the database. I go to "Manage User Profiles" in Central Administration and perform a filtered search (i.e. I want all DOMAIN accounts beginning with "j" so I search for "DOMAIN\j" in Manage User Profiles), but I don't receive ALL the user profiles back. I receive about 8 in return when I know there are about 20 starting with "j". If I create a new AD account beginning with "j" it is successfully synched with SharePoint 2010 and I see it in the Manage User Profiles. I ran an stsadm -o sync to clear any old synchronization information, and the Forefront Synchronization Service appeared to pull in many changes to existing accounts (including ones I can't currently manage), but I still cannot manage them using "Manage User Profiles". I really need to be able to manage all the profiles so I can manually edit some fields. Can anyone please help? Thanks in advance.

Manage User Profile -- cannot change order

Hi, Is there any reason why I can't change the order of some of the properties in Manage User Profile. E.g  "about me " and "account name". I clicked the move down error, but it doesn't move Please advice, your help would be greatly appreciated.

Manage user profiles: How do I list all profiles?

I'd need to verify synchronization connection success and such. Currently the UPS lists that I have 9 profiles, but I'm having trouble getting them all to list at once. Is there some magic way to list all of them in 'Manage user profiles'? Alternatively, can there be a reason for why I can't view the profiles in 'Manage user profiles'?

Folder inside the List shows Access Denied when try to open using Manage Content Structure

Hi All, We are facing this issue in one of our site, when accessing the folder from Manage content structure. Folder is inside a list which uses a folder content type. When we try to open this folder use manage content and structure it throws access denied. any idea how we can check this as we the permissions are properly inherited and all the folders are checked in . Please update what else we can check.   Thanks, Jasjeet SIngh

MySite user profile site creation of My Content page is created as provisioned failed (unprovisioned

I've been trying to troubleshoot our User Profile Sync and have noticed the profile pages weren't getting updated with everything.  Most content was but things like memberships and the content tabs weren't.  I also saw this error in ULS: ProfSynch: Exception attempting to enumerate site 25a72070-4249-4698-ae99-c2a45d25b08e for ContentDB 23a6e3ef-6d56-4bde-825e-95c6924e2f91: Microsoft.Office.Server.UserProfiles.ProfileSynchronizationInternalException: ProfSynch: The site with ID 25a72070-4249-4698-ae99-c2a45d25b08e cannot be synchronized due to an unprovisioned root web.      at Microsoft.Office.Server.UserProfiles.SiteSynchronizerCollection.GetSynchInfoForSite(SqlDataReader dr, SynchInfo info)      at Microsoft.Office.Server.UserProfiles.SiteSynchronizerCollection.<get_Elements>d__0.MoveNext() I checked in the MySite database under the webs table and noticed all the My Content sites for all of our users had the flag column with the number 1315 in them - (meaning unprovisioned as the error above states).  Cross checking with the User Sync Profile database under the SiteSynch table I noticed all of the sites have NULL for the value under both the LastSynch and ChangeToken columns (The User Profile Service Application - User Profile to SharePoint Full Synchronization  timer job takes care of populating that).&

Manage Content on a Master Page from a Central Location?


Phew long title! But what is the best way to manage and render content on a master page that you want to show up on ever single site/subsite? For example I have a bunch of site collections with footer links. Each site collection however will have its own sets of links but we don't want them hard coded into the master page - so we don't have to manage 80 different master pages.

Right now I am using an XML file in the style library which is called from the master page. This works alright, but if that file gets deleted or something then the whole site breaks because it can't find that file. Additionally, the XML file is finicky with some of the stuff you put in it.

Any better suggestions?

Limited Acess User cannot see Anonymous content.


After creating a user to only have access to a specific folder in a Document Library (Limited Access), none the the anonymous content viewable by this User; only the specific folder.  This results in an access denied on Home page.

How can this user be allowed to see anonymous content without signing out?

Content Query WebPart shows page items with status "draft", and page items that current user does no



I have this issue that CQWP is rendring items that it should not render. I test this with a read-only user, that should NOT see draft pages or pages with different permissions. But the read-only user do see the items, but when I click on the link I get access denied. This access denied is correct, but why does the page items appear in the CQWP at all?


1) I use OOTB CQWP (inherits from ContentByQueryWebPart in my .webpart file) : "<type name="Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart ....." and I have my custom xsl to get the look and feel I need

2) The issue with page items showing when status = drafts only appear when using the PublishingExpirationDate field. When I try creating new pages and give them status draft by using "check in to share draft" (logged on as an contributer/approver user), this item wil NOT appear in the CQWP for the read-only user. When I change a pages' status from approved to draft, this item will still be shown in the CQWP, but this will point correctly to the published version. But after the pages' expired date (PublishingExpirationDate) is expired, the page gets status "draft" (handeled by a timer job I guess), and this page item will still be rendered in the CQWP, but sending the read-only user to an access-

Manage Content and Structure


Hi everybody,

How can I insert hyperlink to the Manage Content & structure page.I tried to insert hyperlink to the application.master page using share point designer but changes are not appear in the manage content & structure page.


Permissions required for "Copy..." function in "Manage Content and Structure"

Hi! I have a question...

I have created a custom permission role i sharepoint, lets call it "Creator". What List ans Site permission are needed to be able to use the "Copy..." function in sites and subsites in "Manage Content and Structure" tool in Sharepoint?

According to my tests the roles "Approve" as well as the "Manage Permissions" is required to be able to "Copy..". Why is this? Doesn't seem to have anything to do with each other.

Thank you for any hints and tips regarding this!!


After DB Content upgrade/attach of a content database, user permissions are not retained


Hello, we are working on an upgrade to Sharepoint 2010 using the new farm and dbattach method for migrating the content dbs.  We have just finished successfully moving/migrating the SSP and user profiles from 2007 to 2010 and have started on the content databases. The sites upgrade and move over okay and accept the visual upgrade okay. But users do not have the permissions they should have. If you look in the People and Groups area, everyone is listed there as they are supposed to be, but they are not able to add documents for example even if they are in the owners group. 

Is there something else you have to do to get the permissions to move over correctly to the new farm? 

User Profile properties -- changes in Manage User Profiles



I have a user profile perperty which is mapped to an AD field and mapping is import only. And this is field is not editable by regular user. But I know as a system admin, one can go to Manage user profiles to change the value of this field

Now my question is if this mapped field is changed under "Manage User Profile" by a system admin, after a full sync, will the value from AD overwrite it? I thought it would, but I don't see this happens.

Please help. Thanks in advance.

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