.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

Access Permission

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

I've problem in my program then for this program i'm using 2 server.
1st = for web server (application & database) = ServerA
2nd = for share folder/filde (File server) = ServerB
And the logic for my program as below.
1. user Login into program > upload page
 (after upload, program automatic create 1 folder inside ServerB (\\ServerB\Data\NewFolder), then only giving access to that user

View Complete Post

More Related Resource Links

The condition of creating assembly for external access permission?

To create an EXTERNAL_ACCESS or UNSAFE assembly in SQL Server, one of the following two conditions must be met: 1. The assembly is strong name signed or Authenticode signed with a certificate. This strong name (or certificate) is created inside SQL Server as an asymmetric key (or certificate), and has a corresponding login with EXTERNAL ACCESS ASSEMBLY permission (for external access assemblies) or UNSAFE ASSEMBLY permission (for unsafe assemblies). 2. The database owner (DBO) has EXTERNAL ACCESS ASSEMBLY (for EXTERNAL ACCESS assemblies) or UNSAFE ASSEMBLY (for UNSAFE assemblies) permission, and the database has the TRUSTWORTHY Database Property set to ON. The two conditions listed above are also checked at assembly load time (which includes execution). At least one of the conditions must be met in order to load the assembly. This is a explanation on msdn.I think if only one of these condition is met,it will work. But after I do the first condition,I still can not create an assembly with EXTERNAL_ACCESS permission except SET TRUSTWORTHY on. should the two condition be met?  

access denied execute permission (how to resolve?)

hi theremy company create for me a new database in new server hostingthe problem is that with new user's database, i cannot execute SPit return error that the user "username" do not have execute permissionthe actual permission are :db_datareader,db_written,db_ddladminit seems not enoughtmust i ask for add  db_owner schema rom to user?

How to use metadata for permission to access Documents?

I have document library with 100-200 documents. Not all users are allowed to open all documents. So far I know that user permission can be defined by a document or library level. And permision are granted for user or groups. I wonder if it possible define permissions by metadata level. For example "Personnel department security group" have access to the documents with metadata personnel.    Kenny_I

Limited Access Option in Adding Users Permission Disappeared

Hello, I am using SharePoint 2007 and used to assign users to document libraries or to the whole Site - I add the user and select the Permission from the list (Full Access or Limited Access which are the build-in permissions. But now i only have the Full Access option and I cannot add a user with Limited Access- the Limited Access option simply does not appear in the list when assign permission to user.Ali Hamdar (alihamdar.com)

Access is denied when creating Alert me on a folder level permission is this a known bug?

Hi, A user is getting an Access Denied error when creating an Alert Me on a folder level. The security set to the user is, Read access to the list but without permission to Create an alert, and he has a Contributor access to the folder. The security was perfect, he can't create an alert to a list level, but Alert Me is available on a folder level. When the user clicks on the Alert Me on a specific folder it will bring him to the alert configuration page, BUT, he would get an Access Denied error when hitting the OK(Save) button. Is this a known issue in Item/folder level security? The fact that Sharepoint allows user to see Alert Me function I assume that it should function correctly, but this is not the case. Hope to hear from you guys! TIA!  

Published Access 2010 Database to Sharepoint 2010. You do not have permission to view the records.


I have published an Access 2010 database to Sharepoint 2010.  It is pretty basic and essentially it is just used for teachers to enter lesson plans.  When viewing the site there is a form that has several dropdown menus.  The user should be able to choose their name, date, etc. from these dropdown menus.  The problem is that when I click on a dropdown menu the menu just shows a message that says "This service isn't available right now".  I also get a message that pops up which says "You do not have permission to view the records.  To obtain permission contact your site administrator."

The weird thing is that when I was testing this at one point I clicked the dropdown menu and it did work.  I clicked off the dropdown menu and went right back to it again and it didn't work.

I have anonymous access enabled for this site.  However, I have tried it with an anonymous user as well as with the user account that installed Sharepoint and published the database to Sharepoint and it doesn't work either way.

Is this a permission issue on the site or something else?  Any help is greatly appreciated.

Intermittent Access Denied to Users with Member Permission Levels


Hello Community,


I have another tough SharePoint mystery I am trying to solve.  Essentially, users with Member permission levels are experiencing issues accessing a sub-site of a Site Collection intermittently. Users will Full Control, Site or Farm Collection Administrator access do not experience this issue. When the Site Owner with Full Control permission levels opens the site in the morning then the users with Member permission levels are able to access and navigate the sub-site without issue.  Does anyone have any thoughts on what this type of problem may be related to?





Tom Molskow SharePoint Architect - If I solved the issue please propose my reply as the answer - Thanks!

How can I create link table in an Access DB for a group permission in SharePoint?



I move all the tables to SharePoint site using "Move To SharePoint" button.  When it finished, access create additional link table called "User Information List"  However, I need a site owner permission list in my access table link(Not User Information List-it has too many list).

Can anyone help me, please?


Access denied. You do not have permission to perform this action or access this resource - Employee

I originally posted this question in customization but it might be proper to post in general question and answer section

I have downloaded the above stock template from Microsoft and have not made any customizations what so ever to the template. In the beginning when I tested this template with a test account with (contributor rights) which worked fine and allowed a user to register for a class. 

Everything seemed to work fine. However, as of two weeks ago I started receiving user complaints stating that they now receive the :"Access denied. You do not have permission to perform this action or access this resource." error message.

I know that their access rights are configured properly, as Site Collection administrator I can register for a class with no problems. However, even if someone else has the "FULL CONTROL" permission either to the training site or just to the course calendar they continue to recieve the above error message.

What is crazy... if the general user SP Group is setup with Contributor permissions I (1) can create a new class on the calendar (2) I can edit an existing class but cannot register for an existing class without getting the above error message. I have made sure that (A) Office SharePoint Server Publishing Infrastructure features are enabled at the root site and at

SQL Server 2005 Grant User Permission to Create Stored Procedure and Grant Execute Access to another


I'm trying to determine the minimal amount of access I can give my developers to be able to run create stored procedure scripts with an inclusion of the grant execute to the application user group.

We have been developing some interesting work arounds, but I think there must be an easier way to grant the access.

Grant Create Stored Procedure to user1 on a specific database

Grant Permission to Grant Execute permission for Stored Procedures on a specific Database to user1 for any user.


Sharepoint 2007 access/permission?


Current Config/setup:

1 SharePoint server WFE

1SQL 2000 SVR Back End


This SPP server was an in-place upgrade from MOSS 2003.


1 Shared Service Provider

2 Web Applications

About 40 sites

About 30 MySites

Even logs on the SharePoint server include:

Event ID: 1309

Access permission problem when verifying xml document, CspParameters ?


I have used the the CspParameters obeject and set the container name. Im then putting it into an RSACryptoServiceProvider object and then calling:

isVerified = signedXml.CheckSignature(rsaKey);

The full code is


public static Boolean VerifyLicenceFile(string xmlLicFilePathArg)
      bool isVerified = false;


        CspParameters cspParams = new CspParameters();
        cspParams.KeyContainerName = containerName;

        RSACryptoServiceProvider rsaKey = new RSACryptoServiceProvider(cspParams);

        // Create a new XML document.
        XmlDocument xmlDoc = new XmlDocument();

        // Load an XML file into the XmlDocument object.
        xmlDoc.PreserveWhitespace = true;

        // Check arguments.
        if (xmlDoc == null)
          throw new ArgumentException("Doc");
        if (rsaKey == null)
          throw new ArgumentException("Key");

        // Create a new SignedXml object and pass it
        // the XML document class.
        SignedXml signedXml = new SignedXml(xmlDoc);

        // Find the "Signature" node and create a new
        // XmlNodeList object.
        XmlNodeList nodeList = xmlDoc.GetElementsByTagName("Signature");

        // Throw an exception if no signature was 

You do not have permission to access _Instance in BDC.

When iam logging in with admin (full control ) iam able to see the bdc data but if iam logging in with contributor iam unable to see the data :
the below error iam getting
You do not have permission to access _Instance.

Either the xxx user does not have permission to access the yyy object, or the object does not exist.


Following examples from Wiley's DM with MS SQL Server 2008 book. Have created a mining model I am not able to train. Up to do point where I use openquery to try to train it, everything goes smoothly. When openquery is run, I get the message: Either the xxx user does not have permission to access the yyy object, or the object does not exist. Obviously, the object exists and I as a db owner should be able to access it. Have double and tripplechecked logins/roles/permissions but have no clue what could be the showstopper.
I am stuck with this issue for some time and would highly appreciate any help to move forward. Have exhausted my ideas and have not been able to find applicable resolution to my problem by querying forums.
Thanks in advance.

"'xxxxx\Administrator'user does not have permission to access the 'Local' object, or the object



I am trying to run the DMX query

select [bikebuyer],
from [TK448 Ch 009 Prediction]
natural prediction join
(select 'm' as [gender],
0 as [number of cars owned]) as t

for my  [TK448 Ch 009 Prediction] model but it's throwing me the error "'xxxxx\Administrator'user does not have permission to access the 'Local' object, or the object does not exist" though it has the Admin permission.

The full query what I am trying to achieve is.

--select * from [predictioncluster].cases
select top 1000
[bike buyer],
predictprobability([bike buyer],1) as dtpredictprobability,
t.numbercarsowned from [predictioncluster]
prediction join
'select [lastname],
from [dbo].[prospectivebuyer]') as t
on[gender] = t.[gender] and [number cars owned]
= t.[numbercarsowned]
where [bike buyer] = 1
order by predictprobability([bike buyer],1)desc

but the same error. Also I am getting the error "The end of the input was reached". If any one could help me out with this issue.



MVC architecture in ASP.Net using C# and Microsoft Data Access Application block

The Model-View-Controller (MVC) pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes [Burbeck92]:

Model. The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller).

View. The view manages the display of information.

Controller. The controller interprets the mouse and keyboard inputs from the user, informing the model and/or the view to change as appropriate.

Store and Display Images from MS Access Database Using C#

There is only the difference of coding syntax to stream the binary data of image content type to upload it into MS Access Database using C#/VB in ASP.Net 2.0

Namespaces required:-
using System.Data.OleDb;

OleDb is used to connect the web site forms with MS Access Database using Microsoft.Jet.OLEDB.4.0
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