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

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

for example buyer and seller 2 users are their.buyer are log in after it will show welcome buyer and

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :ASP.Net

for example buyer and seller 2 users are their.buyer are log in after it will show welcome buyer and seller log in after it will show welcome buyer.
how u solve this bug.

View Complete Post

More Related Resource Links

create a page show all users with filter



i want to create a page like asp.netwebadminfiles/security/users/manageUsers.aspx

can you give me a link?


Show users based on ad-security group or OU


Will it somehow be possible to show members of a AD group ?

We have some superusers, and they all have the ad-group: super_users.

Can i show all members somehow ?

Maybe by a search flag, so it is just a link to a search result ?

Jakob Olsen

Search in SharePoint 2010 does not show results for all users other than the timer service account


I have setup a new SharePoint 2010 setup. Created Search Service application and configured. Confirmed that the crawl went fine without any error for both Local site and a file share. In the Search application i confirmed that the All Site scope shows 3890 items.

ISSUE: If any of the user [including site collection administrator] browses the site and try to search something it does NOT show result [No error either it says We did not find any results for .....]. All Site scopes does not show 3890 items but only 28.

But if the timer service account [system account] logs in the site and does the search it works fine.With this account loggd in if i check the All Site scopes i do see 3890 items.

This does seems to be some thing to do with the permission, but i am not able to get hint where the mistake is.

I have done the follow till now.

> I checked the application association is correct
> Created a new web application and confirmed that the issue exists there as well
> Checked ULS log but dont see any error related to this.
> No relavent event id in Application event viewer

Please help

Regards Ram

Show users which files they have downloaded



I am setting up an extranet for our organisation that allows clients to download a large amount of files (several hundred per month). This works fine in general, the only problem I have is that the clients want to see which files they have already downloaded and which not, as it is quite difficult to handle otherwise.

I have been tearing my hair out over this and haven't been able to come up with a good solution so far. Is there any way for SharePoint to display to the user whether they have already downloaded a file or not?

Thanks for the help.

Show ALL documents in search result, but only allow users with proper permissions to open


I am trying to set up a site with multiple document libraries with permissions for different groups of users. When users search for a document, I want them to be able to see ALL documents that match the criteria, even if they do not have permission to view the library, however, they should not be able to open the documents for which they dont have read permissions.

Please advise on how to set this up



I want to believe

hide or show CheckBoxList depending on Users logged in profile??



New users can register on my site by completing a basic form that has the create user

wizard control with some additional information i am collecting using a CheckBox List.


They can then log in to the site and and view "MypProfilePage.aspx" where I

display the information with the CheckBoxList boxes already ticked based

their selections which they can update.


My problem is I have two levels of User and each one has a different registration form.

Registration Form A

Has 20 Items in the CheckBox List


Registration Form B

Has 10 items in the CheckBox List


On the Profile Page, I just want to show the  CheckBox which is relevant to the Registration form A or B and with selections by the  registered user.

So therefore the User who registered on B will not be able to see the selections checkbox list for A.


I hope this makes sense and appreciate any solutiosn in c sharp ideally.




When Adding users some show as domain\username others as full name


When adding users to SharePoint site some show as Domain\Username while others show as "First Name Last Name". once of the users that show as Domain\Username is noticing some strange thing with his access.

I tried to remove the user that shows as domain\username and add again but still appeared as domain\username.  Also, when I click on the link for domain\username I get message "the webpage cannot be found", while for the users that show as First Name Last name I am able to view their User Information page.

Out of some 40 users I only have 4 that show as domain\username.

Anyone know what is the cause or a fix?

UPDATE: I went to SharedServices1>User Profiles and Properties>View User Profiles and there are 10 profiles listed inlcuding my owne. :)  For some reason when I go to our http://sitename and go to site settings>people and groups and click on one of the 10 user names I get page cannot be displayed.  Maybe now I have two issues instead of one.


How can we show certain no of dimension only for two different users having different role in a sing



well i might be having a security problem so i just want to know that can we show certain dimension to one user say  (i.e 10dimension for A user and 15 dimension for B user having different user role in a single cube.)

Please any one help me out soon and give some ideas...so that i can solve my issue ,can we solve this issue naa.. :( ..!!!


Anil Maharjan

MS SQL Server: Disconnect Users From Database - Kill User Session

If you ever wanted to restore your database from a SQL backup file (.bak), but there are still users connected to your database, the backup operation will fail causing the error: Exclusive access could not be obtained because the database is in use.

Enabling Users to Maintain SharePoint Content

When SharePoint is installed as a corporate intranet, there is a considerable amount of effort involved in maintaining the content to keep the site relevant. As we discussed in the first few parts of this series, SharePoint has many built-in features to reduce the burden on the site administrator.

Some areas of the site usually contain less-dynamic information. Internal memos and corporate policies are common examples of this information. One option for this information is to post these documents in a document library. Documents in a library are often stored in a few different formats: Word, Acrobat (PDF), or HTML. Each of these formats has its drawbacks.

GridView control to show master-child or master-slave data, written in c#, asp.net

I previously made a master slave datagrid using Visual Studio 2003 .Net (original article) that would allow users to show data to clients using collapse and expand features. These features however did not carry over to gridview for many users. This tutorial will explaing how to create a collapsable/expandable gridview in frameworks 2.0 and higher

Enabling Users to Maintain SharePoint Content

When SharePoint is installed as a corporate intranet, there is a considerable amount of effort involved in maintaining the content to keep the site relevant. As we discussed in the first few parts of this series, SharePoint has many built-in features to reduce the burden on the site administrator.

Show grand total running total in GridView Footer

In many scenarios we need to display Running total as well as Grand total in GridView footer. In this post i will try to explain in an easy way that how we can display running total & Grand total in a GridView footer combindly. To explain this solution using an example here i use a sales order report. The report contains all sales order amount in a tabular way. I will use a GridView to display sales order amount and use GridView footer to display Running total & Grand total. Let we have a customer table with id and name column plus an orders table with OrderID,CustomerID,OrderDate & Amount. Now our goal is to show all customers order with amount as well as page wise running total & grand total. Note that running total is necessary when you enable paging in a GridView where as Grand total is always you can consider.

Need help redirecting users to personalized page


 Hi, first timer here so be gentle.


I've been able to create a cool little website, it's up and running with users logging in and out, I created roles so my administrative team can see sensitive data that's not available to regular and anonymous users.

Now they would like me to create a page specific to each user.  For instance when user A logs in they are redirected to a page that has information that pertains to user A only (like a list of their benefits/ their remaining vacation time). This page needs to be accessible only to user A. 

I've watched a ton of the videos but have yet to see one that covers this topic, any help would be great!!!





datalist image slide show problem


hi friends

i am binding  images dynamically(back end)for a datalist .iam applying a slideshow for it .I am getting a problem to apply slideshow for dyanmically binded images.If the define in a div statically it working perfectly

for example pls go through my code below:

<script type="text/javascript">
$(document).ready(function() {
        fx: 'scrollLeft' // choose your transition type, ex: fade, scrollUp, shuffle, etc...

<div class="slideshow">
        <img src="images/30_dummy.jpg" width="200" height="200" />
        <img src="images/aquarius.gif" width="200" height="200" />
        <img src="images/star.gif" width="200" height="200" />
        <img src="images/the-proud-indian-flag-1.jpg" width="200" height="200" />

I above code works perfectly and the slide show e

create user wizard login error message dont show in a message box?




i am using create user wizard and capturing other information within content template when a new user

registers. Some of the textboxes are binded to required field validators.


there is a validation control on the page and ShowMessage box is True.

If they dont complete some of the text boxes then the message box pops Up with the error message.

It does not however include information errors like "User already exists" or Email address already exists

from the create user wizard membership  UserName and Password Textboxes


is it possilbe to hook all of these up so I get one message box with all errors including membership ones?




Intranet Users Challenged When Using Windows Integrated Security


We've setup an intranet site using Windows Integrated Security. Its up and running and users can access it. However, they are being challenged with a login dialog for the server when they initially access the site.

Isn't is possible to configure the server so that the users aren't challenged AND are recognized as being already authenticated by Windows? We're trying to go with a seamless experience, whereby all they have to do is login to their machine like normal and then go from there.

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