Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all 12728 articles
Browse latest View live

Users in a SharePoint list and Library using powershell

$
0
0

Hi,

  How to get the number of users in a list or library of a site using powershell


Acces Denied for administrator

$
0
0

Hi,

Recently i've re-installed SharePoint 2010 and restored an old content-database.

Logging in as servername/Administrator works, but when i want to open "Site settings" i'm getting the error message below.

All other users cannot login to SharePoint, they are getting the same message after the login screen.

Can someone help me with this problem?

Best regards,

Joost Lauwen

People.aspx error "View does not exist"

$
0
0

Hello,

I have a SharePoint Server 2010 SP1, CU August 2012 Farm (2 Front End, 2 apps servers).

When I go in "Site Actions / Site settings / People and groups" I got this error :

View does not exist.
The page you selected refers to a view that does not exist.  It may have been deleted by another user. 

Here is the ULS message :

Microsoft.SharePoint.SPException:
    View does not exist.
The page you selected refers to a view that does not exist.
It may have been deleted by another user.         
 at Microsoft.SharePoint.ApplicationPages.PeoplePage.get_CurrentViewId()    
 at Microsoft.SharePoint.ApplicationPages.PeoplePage.OnLoad(EventArgs e)    
 at System.Web.UI.Control.LoadRecursive()    
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

This behaviour is the same with all collections in my webapp. When I create anew collection in the webapp, work great, no error.

Can you help me fixing this ?

thank you

Non AD User Unable To Login?

$
0
0

Hello SharePoint Family,

Went live with new SharePoint 2010 site today and found out that we have 500 machines that are not on our domain at all which keeps them from getting into SharePoint.  Our site is 100% AD driven, I have tested and confirmed that I can login to the machine using domain\username but what would be the best option to get all 500 machines into this SharePoint site?  All 500 machines use the same login?  The machines are small think clients...any way to setup a generic AD account and somehow force these machines to pull that generic account?

Thanks for any help!

ListData.svc fails on certain webs in a site with NullReferenceException at Microsoft.SharePoint.Linq.ListDataService..ctor

$
0
0

Hi

We have OData Rest ListData.svc service failing under some of the webs in the same site collection and in different site collections under the same web apps, anonymous access disabled.ADO.NET Data Services Update for .NET Framework 3.5 SP1 for Windows 7 and Windows Server 2008 R2 is installed.

Examples:

https://webapp.company.com/L1SubWeb/_vti_bin/ListData.svc succeeds

https://webapp.company.com/L1SubWeb/L2SubWeb/_vti_bin/ListData.svc fails

or

https://webapp.company.com/sites/RootWebOne/_vti_bin/ListData.svc succeeds

https://webapp.company.com/sites/RootWebTwo/_vti_bin/ListData.svc fails

I've reproduced this on two different farms, the service fails with

"

Request Error 
The server encountered an error processing the request. See server logs for more details.

"

LogName:     Application

Source:       System.ServiceModel 3.0.0.0

Date:         27.12.2012 ****

Event ID:     3

Task Category: WebHost

Level:        Error

Keywords:     Classic

WebHost failed to process a request.

 Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/30180123

 Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/ListData.svc' cannot be activated due to an exception during compilation. The exception message is: Exception has been thrown by the target of an invocation.. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.

  at Microsoft.SharePoint.Linq.ListDataService..ctor()

I reviewed the following

For security reasons DTD is prohibited in this XML document ... and problem with REST connection to sharepoint foundation 2010 lists

to no avail yet.

Any hints would be appreciated.

SharePoint 2010 - Server Farm Administrator: Cannot create Service Applications and Web Applications (“This control is currently disabled”)

$
0
0

We have installed SharePoint 2010 Beta 2 on Win 2008 R2 and SQL Server 2008 SP1+CU2.

We have created service account as described in the following TechNet articlehttp://technet.microsoft.com/en-us/library/ee662513(office.14).aspx and following least privilege model.

After running the setup and finishing “SharePoint 2010 Products Configuration Wizard” using “Setup user account” the Central Administration web is up and running.

For further configuration we logged in with “Server Farm Account” and when we go to “Manage service applications” page the button to create new service application is disabled and if we hover over the disabled button it says “This control is currently disabled”. Same thing happens when we go to “Manage web applications” page and the “New” button on ribbon is disabled with same error message. We also could not see the “Launch the Farm Configuration Wizard” link under configuration wizard page.

Apparently when we login back as “Setup user account” we can see all the buttons activated and also the ability to launch the farm configuration wizard.

Is there some configuration or privilege we are missing for “Server Farm Account”. The “Server Farm Account” was part of “Farm Administrators” group after the initial setup and configuration wizard. It was not in the “Site Collection Administrators” group for “Central Administration” site, as expected it didn’t make any difference after having added it to the “Site Collection Administrators” group. If we add the “Server Farm Account” to the local administrator’s group thing starts to function as it should have been but now it no more a least privilege model.

Is this the way it has to be operated? The setup user account is local admin on the box. So what’s the purpose of the “Server Farm Account” which doesn’t even have permission to create web applications?


Sameer Dhoot
My Blog : http://sharemypoint.in/

Sharepoint 2007 disable login promp while opening office documents.

$
0
0

Hi,

It is frustrating for end user to provide credentials once before loggin in to the site and now when trying to open/edit a document (Word, Excel etc) again the credntial window pops up. I want to disable that login pop up while accessing MS Office documents.

Application is based on sharepoint 2007 technology and authentication type is windows authentication. Users are based on different continent.

Please help me out of this problem. Thanks in advance.

Thanks!

Arvind

Claims based sites not working in Windows 7

$
0
0

Hi All,

Happen to install the sharepoing 2010 in my window 7  operating system. post to  creation of sites based on claims based authentication when i tried to browse the newly created site its throwing an http 500 error. This isnt repeating for sites which are created based on clasic mode authentication.

Regards,

JP


Custon TimerJob still running even it is deactivated

$
0
0

Hi 

i have deployed a custom timer job (wsp) through powershell

but now we have to do few modifications and have to redeploy that

currently i have deactivated and uninstalled that feature but still that timer job is showing in job definitions and its running and when i deploy new wsp it is not reflecting any changes 

Please can any one help out on this to to stop this and new one to deploy

SQL Server 2008 R2 Maintenance Plan for SharePoint 2010

$
0
0

Hi, 

i Have a few questions regarding how i should run this...

Adding this here and not in SQL because there is probably some items that would be different for SharePoint vs other SQL db's 

Firstly the tasks im running at this moment looks like this:

i Have done some reading and the one task im not sure about is the Rebuild Index...

At the end of the day i found a article that it might be better to just drop the index and rebuild it once a week...Anyone got an opinion on this?

2: i Have got a client that is running DPM to do their backups. In this case do i need to do the Transaction log backup?

3: Do i Have to run the full backup if they are using DPM. They asked me if it is necessary doing double backups and my main reason for doing it this way should something go wrong i can restore the backup and also i can check if there backup was successful. 

4:Does it help i do a Transaction log backup if the Database is in Full Recovery mode?

Have had some of these questions in my mind for a while and need to put them to bed...

Thanks 

Please let me know if this should go to the SQL Forum

Access Denied Through UI but not PowerShell

$
0
0

I am unable to perform certain tasks through the UI that I can perform in PowerShell. I receive access denied messages. For example, activating the "Workflows" feature at the site collection level. The UI returns access denied, but in PowerShell, Enable-SPFeature works fine.

I am also unable to create a site from a custom template as installing/activate a sandbox solution gives the access denied message. I am able to work around this through PowerShell, but then selecting the template results in access denied. Below is the log:

Applying web template 'STS#0' on web url 'http://sharepoint/sites/testsite'
Actual web template to apply to Url 'http://sharepoint/sites/testsite' is 'STS#0'
Unknown SPRequest error occurred. More information: 0x80070005
UnauthorizedAccessException for the request. 403 Forbidden will be returned. Error=Exception of type 'System.Web.HttpUnhandledException' was thrown.   at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at ASP._layouts_templatepick_aspx.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boole...


I know I've been able to create sites based off of templates before, but I'm not sure what would've change to prevent this action now.

Any help is greatly appreciated!

Thanks!

Failure after clock change

$
0
0

I changed my system clock back to test something, now when i want to go to sharepoint central admin it prompts an error from onetutil.dll even after rolling back to the correct time. It says it was an attempt to defeat security...

whats the solution?

Note board webpart issue

$
0
0

Hi friends,

I came across a strange issue with the noteboard webpart.  When I created the webpart, I went ahead and created the first post in the server with the service account.  Next, I logged into the same page locally and when I enter a note and click on post, I get the 'Working....' message that is stuck.  Please see below screenshot.  What might be the reason for this?


Shonilchi..

sharepoint 2010 open .oft file directly

$
0
0

Hi, 

I am unable to open .oft file directly by doubleclicking it. instead of opening it offers me the option to save the file. It can be then open from the saved location.

This autoopening works in ie7, but not in ie8. 

Could you give me some tips, what should i check? possibly some security settings, or so...

thx.

Large list - List view Threshold - sharepoint 2010

$
0
0

For a project requirement client wants - saving 1 million document in a flat document library. Though document size is low, total data is not more than 9 GB.

Due to Threshold settings can we store 1 million doc ?

If it is not recommended what are the issues outcomes?

How Threshold comes in to picture? what is the role of Threshold ?

If SharePoint does not recommend 5K doc in a library is SharePoint good option as CMS product while others allow much more.

Pl share your view.



content-type with large lookup columns

$
0
0

We have to design a content-type with 20 lookup columns. Again lookup columns are dependent on "Managed Metadata" & "User profile" service etc. 

Is it a good idea to design such CT?

If not how to approach this situation?

Can we expose a SharePoint sub-site or just a page to Internet users without exposing the whole web application?

$
0
0

Hi there, I use SharePoint 2010.

We just want to expose our Marketing sub-site + a page in Finance department over the internet (without exposing the rest of the parts of our web application).

Is this possible? How?

Thanks so much for your help.

BDC model to connect oracle data in SharePoint 2010

$
0
0

Need to connect to oracle through BDC model - we can do this by either BDC model created through Visual studio or through BCS Meta man?

performance wise which one will be better? BDC model created through Visual studio or through "BCS Meta Man"?

When to one over another?

Pl reply.


sharepoint 2010 search scope issue

$
0
0

Hi,

When I try to see the rules for the scopes "All sites" and "people" , I get an error message saying

The search service is currently offline. Visit the Services on Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.

Regards,

Garima

Content Database grows to disk capacity in an hour

$
0
0

Just about once a month the content database used by our Sharepoint 2010 server spontaneously grows until it fills up the disk. It just creates empty space and I shrink the database back down each time but I would like to find out what is causing it. The database is 180GB and the disk size is 210GB if it matters.

Thanks!

Viewing all 12728 articles
Browse latest View live