.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

How to solve concurrent site issue

Posted By:      Posted Date: August 24, 2010    Points: 0   Category :ASP.Net

Hi All,

I have developed a ASP.NET2.0 web site with SQL 2000 backend and number users to site is approx. 5-10.

I have developed one Administration page which controls user roles to access this site; onclick of Update button in admin page the role gets updated into the system. I have written simple query in the code to update the user roles into database; Ajax implemented in admin page;

Issue: If 2-3 users tries to update the admin roles; latest update reflected in the database and same displayed in the admin page;

I am looking for a solution to solve this problem by application code change since i dont have flexible to change the database end; if one users update the system, it should not allow other users to perform any operation; please let me know if any standard approach can be implemented with minor code change.

Thanks in Advance,

Saravana Prakash P.

View Complete Post

More Related Resource Links

how i can solve this issue in sql server



when i open my sql database in webmatrix then i got this error.  i already install sql server 2008 r2 and he work fine everywhere in my system.

how i can solve this issue.

Issue with sharepoint site replication?

Hi all, I have a requirement where in i need to replicate the business intelligence report to N no of subistes i am able to create reports to the site and also able to replicate to another site. But the problem here is the webparts that are getting created in the new site refers to the same old location and it is giving me exception that the filter is no more valid one. Is there any way i need to change the location of the newly created webpart location. Waiting for your reply.  

sharepoint site issue

Hi All, I created a site on the sharepoint server.but i have a problem i changes on that site but when i access that site WITH PARTICULAR user changes are refelect but when i run the same on with another user changes are not refelect,i also check with cache remove but its not work. both user have full rights. please let me know what the issue this. Thanks Sanjeev Tiwari  

Save as Site Template issue with Enable Labels Policy

I am having issues saving a site as a template. I have a basic team site. The only thing i have done is set 'Enable Labels' on the Shared Document library, the label format being {version} I then try to save site as a template and get the error... Error Error exporting the list named "Shared Documents" at the URL: Shared Documents Any ideas? I have replicated this issue on a new build of SharePoint 2010 in a test environment.

Issue with Picture Library Slideshow Web Part after export/import of site collection (SP2010)


I recently exported/imported an SP2010 site collection from Dev to Prod. The site collection had about 90 sites, which were all driven from a site template. Once the export/import had taken place, I created an additional 15 sites (in Prod), using the original site template that was created in the Dev environment. Everything seemed to be working just fine, but I found an issue with the Picture Library Slideshow Web Parts (PLSWP) on all the sites that were created in Prod. Basically, I have a Picture Library, and any pictures added to this library show up in the PLSWP. The original 80 site's PLSWP works fine, but the new 15 sites will not show the pictures through the PLSWP (the viewer just shows up blank). Here is the difference in the html output of the picture viewer:

 PLSWP from Dev:

 <a target="_blank" href="http://forefronttest/realestate/RE/West/HOU/3560/Project%20Pictures/test.jpg" id="MSOPictureLibrarySlideshowWebPart_ctl00_m_g_28b22a62_6d8

Site Template issue - Can someone try to replicate issue


I cannot save as a site template when i enable Labels within a document library under Information management policy settings.

I have tried this on several installs but cannot get it to save once labels are enabled.

Can someone try to replicate this.

Just enable labels on a document library and try to save the site as a template.


My Site Issue: "The evaluation version of Microsoft Office SharePoint Server 2007 for this server ha


Hi Guys,

when i opened my site am getting following error, but moss 2007 server is Licensed Verison.


Thanks  Advanced.



Creating custom site template from a site that has a subsite - issue

  1. We created a Report Center site (a subsite) inside our site and then saved the site as a custom site template (including content). When we create the site out of this template, the site does not include the Report Center subsite. Can someone explain why?
  2. The report center was created for Key Performance Indicators (KPI) and we had published those KPIs on the parent site. We were hoping the any site created with our custom site template would show the KPIs. But we see only the KPI web part on the new site (created from our custom site template) without any KPI data. The reason is obvious because the data was coming from the Report Center subsite that does not get created by our custom site template. How do we accomplish this task via a custom site template?

After SharePoint 2007 upgrade to SharePoint 2010 issue with custom site(s)


With our 2007 site(s) we had a custom module (we developed) to swap out the application.master with our own master page which resembled the site default.master.  This worked great.

After the upgrade, out site's main pages looked fine however when navigating to the admin type pages (settings/viewlists etc.) pages the module stopped working.

1.) I have figured out something things with respect to what is going on but am still at a loss to how best resolve.  We want the layouts/admin pages to have the same master page as the main user pages.   I have read in 2010 this is now possible.  How can I achieve this?


2.) Currently, when navigating to the sites/settings page the site is using template/layouts/layoutsv3.master as the master page.  The settings.aspx page has DynamicMasterPageFile="~masterurl/default.master" .  It was my understanding that when DynamicMasterPageFile was set to default.master it would use the master page from the site.  So, with that said I am confused why it is using layoutsv3.master

any help would be appreciated



ReportViewer issue after deploying to hosting site


I have a report on my local machine that is running just fine usiing report viewer 10. and VS2010


After copying from local machine to host site I get the below error when I run it.


Line 1:  <%@ page language="VB" autoeventwireup="false" inherits="Reports_YTDExpenses, App_Web_lxq5vdkk" %>
Line 2: 
Line 3:  <%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>
Line 4: 
Line 5:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

the site default page issue


Hi All,

I have set the site default page is default.aspx and set that page allowed without user authentication

if we call http://www.mydomain.com/default.aspx, it is working without authentication

but if we are calling without filename (http://www.mydomain.com) , it is redirected to

the problem is, if we are calling without filename (http://www.mydomain.com), it should not redirect to login.aspx page

because the default.aspx page is not accecpted as the domain default page.

Notes : I have converted asp.net 2.0 to asp.net 4.0 web application. after conversion conly  this problem arises


Site Users Webpart - Add New User link Issue


Hi All,

We are using SharePoint OOTB Site Users webpart to display all the users in the respectives SharePoint groups. Its working fine. But, when we logged in as a user who has a member of visitors or members SharePoint groups, the user can able to see the "Add New User" link. Eventually, the link should not be displayed for members and visitors group.

Could any one face this issue? Is this bug in the SharePoint itself?

Kindly suggest.


Chandrasekaran C N


Issue - Copy pages from one publsihing site to pages library in other publsihing site



I have a strange issue, I am copying pages from pages library in one site : http://testsite/subsite1/ to http://testsite/subsite1/subsite2

the pages get copied, I can see the count increasing when page library is viewed from "View All site content", but when I open the library, it only shown default.aspx and not the copied pages. Can any one suggest what can be the reason. Is it related to some rights?

Count in page library shows it has 10 items but when I open library, it only shows 1 page.

Any help will be much appreciated.

Thanks in advance.

Issue with publishing pages in bilingual site?


Hi All,

We have developed a bilingual portal (English/Arabic). In variations I have set option to "Recreate a new target page when the source page is republished". But it is not working as per my expectations; I deleted the page in Arabic site (target site) and again published the page in English site but it is not creating a page in Arabic site. Please guide me on this issue. I appreciate your suggestions.


Rahul Babar

Dot Net, Sharepoint, Infopath Developer

Page breadcrumb issue in bilingual site?


Hi All,

We have developed bilingual (Englsh/Arabic) variations portal. The page breadcrumb on the home page shows "Home > Home". On other pages it shows like "Home > Home > HR". How we can get rid of the extra Home link of site collection.

Rahul Babar

Dot Net, Sharepoint, Infopath Developer

MVC Controller .ajax post wired issue.. - Don't know how to solve - Please help


I am using .ajax Post to submit (not form). I will post code but Here is the scenario:

On a I have a telerik mvc grid which has drop down and a few buttons, plus other grid etc. When press button with Id = "Submit" I am invoking .js function call. In this function, I first loop thro downdown list value and build array of (name/value pair). Than I invoke .ajax which will call Controller action.

In controller action I check following:

- if drop down value is desired value or not.. if not I return Json and display message in pop up and remain on same page.

- If all dropdown value are valid, I make web service call .. if web service response says "action I performed is unsuccessful, I return Json and display message on pop up. On pop up "OK" I navigate to "Home" 

- If web service response says record is valid and action I performed is successful, I need to navigate to "Home". I am not able to achieve that.

Here is sample for .js file:


$(function () {
    $('#btnSubmit').click(function () {


        var grid = $('#TreeGrid').data('tGrid');
        var indexOfIdColumn = GetGridColumnIndexByName(grid, "EntityId");

        var results = new Array();

        $("#TreeGrid tbody > tr, #TreeGrid .t-grid-content tbody > tr").e

Site Deployment Issue


Does anyone know if it's possible to prevent a website folder from being deployed?  There was a way in FrontPage to tag a folder with "do not publish" and can't find anything similar in VS'05.  The reason is that I'm trying to avoid a folder overwrite and prevent the contents from getting deleted.

Any advice or suggestions is greatly appreciated.

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