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


Top 5 Contributors of the Month
david stephan
Santhakumar Munuswamy
Asad Ali
Fauzul Azmi
Post New Web Links

Site Actions -> Users Permissions throws and unexpected error

Posted By:      Posted Date: October 19, 2010    Points: 0   Category :SharePoint
 

Hi

 

I found an unusual issue.  I am running a dev installation of SharePoint 2010 Foundartion under win7 64-bit which generally works ok.  I am logged in as local administrator. When I navigate to the standard team site and click Site Actions -> User Permissions..  I get a lovely:

 

Error

An unexpected error has occurred.

 

Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: 94aad20d-207e-4d72-b615-49ad9127ef1a

 

UlSViewer shows me

System.NullReferenceException: Object reference not set to an instance of an object.  
 at Microsoft.SharePoint.SPSite.get_IISAllowsAnonymous()   
 at Microsoft.SharePoint.ApplicationPages.UserRoles.ListAnonymousUser(String sortExpression)

and the request is http://localhost:8081/_layouts/users.aspx




View Complete Post


More Related Resource Links

Create My Site for FBA Users Error

  

Hi Guys,

I am trying to create mysite for FBA Users programatically (FYIP: I have done all the configurations for FBA in SSP and mysite host and I am able to create mysite from UI for FBA Users). The problem exists only when I am creating MySite programatically!!!

CODE:

 

try

{

 

SPSecurity.RunWithElevatedPrivileges(delegate()

{

 

EventLog.WriteEntry("MySiteCreate",

Script error in adding users in sharepooint Site

  
I seem to have a problem when trying to enter new users on a newly built site (SharepointSite). I cannot select the new user option the grant permissions dialog doesn't appear. I'm running MS office 2003 sp3 and ie 7 regards Alan Bateman.

Users dont have permissions to core.css on specific site

  

I have a sharepoint website where somehow the permissions on it got messed up.  Users with read access can get to the site, but when they get thier the site is messed up.  I can replicate the look by disabling core.css on the site.  I checked and the users do have core.css in the source, but If you try to load it you get access denied.

The masterpage is referencing the core.css file that is relative to the site, not the one in _layouts.

How do I fix this permissions issue, It seems liek the only way to access core.css is through sharepoint designer and in there I cant see a way to fix the permissions.


How to Hide the Ribbon and Site Actions Menu for Anonymous Users in SharePoint 2010?

  

How to Hide the Ribbon and Site Actions Menu for Anonymous Users in sharepoint2010?

 

any thoughts?

Thanks in Advance!


Share Knowledge and Spread Love!

Throws an error message while adding users to the Active Directory

  

Hello guys,

I am trying to add a user to active directory but for some reason its failing

 

Here is the error message


Message: HandlingInstanceID: dde791c2-7df4-4214-85c4-72b045510def

An exception of type 'System.Runtime.InteropServices.COMException' occurred and was caught.

-------------------------------------------------------------------------------------------

05/04/2011 15:18:30

Type : System.Runtime.InteropServices.COMException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Message : The server is not operational.

Source : System.DirectoryServices

Help link :

ErrorCode : -2147016646

Data : System.Collections.ListDictionaryInternal

TargetSite : Void Bind(Boolean)

Stack Trace : at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)

at System.DirectoryServices.DirectoryEntry.Bind()

at System.DirectoryServices.DirectoryEntry.get_IsContainer()

at System.DirectoryServices.DirectoryEntries.CheckIsContainer()

at System.DirectoryServices.DirectoryEntries.Add(String name, String schemaClassName)

.......................................

 


File not found error when trying to open site permissions on a blog site

  
We have created a simple team site and a block subsite.  When trying to edit the site permissions we see the following error.  Any ideas? When opening a blog site and clicking Site Actions - site permissions we received a new page with the following error: Error File Not Found Troubleshoot issue with Microsoft Sharepoint Foundation Correlation ID: 51b54786-f344-4474-b88e-3080c363693 Date and Time: 3/24/2010 3:03:38 PM

SharePoint 2010 Site Actions Site Settings Error

  
I can not seem to go to Site Settings for a sub site in SharePoint 2010.  I installed SharePoint 2010 developer version on my laptop (Win 7 64bit) with Visual Studio 2010.  Try to create a sub site and go to Site Settings and bam!!! Error File Not Found.  This is frustrating.  Very frustrating.  I found so many problem with SharePoint 2010 and get no where with this version upgrade.  My life is completely ____ now.  Thanks Microsoft!  Why! Why! and Why do you not test your software and make people life much more convenience.  Why roll out this crapy software now on MSDN instead of making it clear that it is not ready??????????  WHY!!!!!! Yes, and I try to go to Site Settings from within SharePoint 2010 Designer.  It took me to the same error!!!!!  So what is going on?

sharepoint2007 - when create a new site collection - An unexpected error has occurred.

  
hi, when i create a new site collection for a new web part, i get en error message An unexpected error has occurred... strange thing is when thesite collection was created it opened fine but when i tried to click on the link again it gave me the error. does anyone know where the problem is? MGUKMGUK

Sharepoint 2010: Get error: You do not have permissions to have lists and pages within My Site.

  
I am using the administrator login for the sharepoint 2010 farm.  I'm able to access My Site.  However, when I click on My content, I'm getting You do not have permissions to have lists and pages within My Site.   Any ideas?   Thanks.

sharepoint2007 - when create a new site collection - An unexpected error has occurred.

  
hi, when i create a new site collection for a new web part, i get en error message An unexpected error has occurred... strange thing is when thesite collection was created it opened fine but when i tried to click on the link again it gave me the error. does anyone know where the problem is? MGUKMGUK

Session State throws error in ASP.NET Site Pages for SharePoint 2010 portal using Visual Studio 2010

  

I'm developing Visual Studio 2010 solution for site pages. I’ve created Site Pages in SharePoint 2010 and I’m trying to access Session variables in code behind in ASP.NET but it throws the following error.

Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.

I set the page directive as enableSessionState=&quo

SharePoint Form Authentication site showing Error for few actions in Picture library.

  

I have extended my web application (with zone Extranet) and enabled Form Authentication, Enabled Client Integration and SSL.

My problem is: In my picture Library 

     1. Actions - Download/Send to actions are not working, getting error message: "Picture Manager is unable to open   pictures over the internet that are not from a windows SharePoint Services picture Library. Please specify a valid picture library and try again".

    2. Actions - Open with Windows explorer getting the error message:"Documents in this folder are not available. The folder may have been moved or deleted, or network problems may be preventing a connection to the server".

   3. In the Explorer view i am getting : "Please wait while Explorer View is loaded. If Explorer View does not appear, your browser may not support it".


But when I open the same library and do the above actions in default zone (port 80), it is working perfectly.

I have SharePoint service pack 1 and infr

Word Web App encountered an unexpected error. (SSL Site)

  

I have SharePoint 2010 set to https://sharepoint.domain.com as the default AAM (with the intranet one being http://ny-sp-01) and I'm running into SSL/mixed content issues when trying to use the Word editor (I'm in IE9, but that shouldn't matter).  I'm accessing the site using https://sharepoint.domain.com.

When I go to edit a document in word, I get the following error:

Word Web App encountered an unexpected error.
Digging deeper with the F12 tools, I see HTTPS errors:
  SEC7111: HTTPS security is compromised by about:/_layouts/inc/1033/WordViewer/wordbgx.png?bn=1447611000  Test.docx&Source=https%3A%2F%2Fsharepoint%2Enovotny%2Eorg%2Fmy%2Fpersonal%2Foren%2Fdefault%2Easpx&DefaultItemOpen=1
  SEC7111: HTTPS security is compromised by about:/_layouts/inc/1033/WordViewer/wordbgx.png?bn=1447611000  Test.docx&Source=https%3A%2F%2Fsharepoint%2Enovotny%2Eorg%2Fmy%2Fpersonal%2Foren%2Fdefault%2Easpx&DefaultItemOpen=1
  SEC7111: HTTPS security is compromised by about:/_layouts/inc/1033/WordViewer/wordbgx.png?bn=1447611000  Test.docx&Source=https%3A%2F%2Fsharepoint%2Enovotny%2Eorg%2Fmy%2Fpersonal%2Foren%2F

Site Skinning: Rich XML Classes Let Users Personalize Their Visual Experience on Your ASP.NET Site

  

One way that Web sites and applications become better able to meet the needs of customers is by allowing them to personalize their experience. For Web sites, this means displaying the content as the user wants to see it. For rich-client applications, this often means allowing the user to choose the user interface through a technique known as skinning, which is similar to themes in Windows XP. This article shows how you can apply skinning to Web sites, wrapping their functionality in a new user interface. The technique uses the rich XML classes in the .NET Framework and the built-in extensibility of ASP.NET.

Harry Pierson

MSDN Magazine March 2003


How to stop unauthorized users from sending documents to a Records Center site?

  

I can't find a way to stop unauthorized users from sending documents to a Records Center site. Can someone please help me? Do i need to configure anything to restrict it to the members of the web submitters group?

I'm still using MOSS2007

Thanks!


The impossibility of doing things depends on your will to do it.

Code to get how many users are logged in to the sharepoint site

  
How to get the users of my sharepoint who are online.....

Thanx in advance,
 





sree

Access denied to folder in ASP.NET project either though I have granted all users full permissions !

  

 Hello,

i have made a very simple file upload app, that i want users to be able to upload images to a folder on my server, well localhost for the time being Stick out tongue

here is the simple upload code...

        protected void ButtonRegisterDetails_Click(object sender, EventArgs e) 
        { 
            // display properties of the uploaded file 
Categories: 
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