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

powershell command to add users to list

$
0
0

I am looking for a powershell command to add an Active Directory user to a list and set the permission level on the list, e.g. read or contribute.

Ideally, the script should check if the list is inheriting permissions from the parent and if so, remove the inheritance, clear the list of users and add the specified users.

 

Any ideas?


Why is user being prompted to save document locally?

$
0
0

SP 2010

Library configured to open documents in the client application.

User 1 has full control on library and document.

User 1 clicks on Excel document.

User 1 is prompted for folder into which document should be saved.

User 2 also has full control on library and document

User 2 clicks on Excel document.

User 2 is presented the document within Excel.

The only time I have seen behavior like this before was when a site had custom permissions (created under SP 2007) and those permissions was not at the time granting the user the right to open a document in the client.

This time, the user has out of the box Full Control permissions (yes, I checked the site settings for full control to ensure the attribute was assigned).

Admins have already reinstalled SharePoint related Office components. They also ran an office repair and had the user reboot their desktop.

Any other ideas on what might be going on?

How to find out which users are using SharePoint Designer to make changes in SharePoint 2010 site?

$
0
0

Hi there,

How to find out which users are using SharePoint Designer to make changes in SharePoint 2010 site?

Thanks.

Sharepoint 2010 Workflow Email with HTML Blank on Mobile Devices

$
0
0

Hi there!

I am attempting to setup email templates in Sharepoint 2010 which my employees can then email to customers automatically via a workflow.  These emails are formatted in HTML.

Email receipents who are using laptops and desktops can read the email as formatted, however, customers who receive the email on tablets or smartphones receive a blank email. This seems to happen as soon as I introduce HTML.

Any advice or ideas?

View Application Pages - View forms, views, and application pages. Enumerate lists.

$
0
0

View Application Pages  -  View forms, views, and application pages. Enumerate lists.

I want to give this permission to few users but only to a single a list add/edit.

User should not be able to visit other list view all items and appliocation pages.

When I enable this permission level all lists get access. Can I restrict above permission to only single sharepoint list?


MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

Unable to download exe files after unblocking, 404 error. handler mappings execute change prevent infopath, export to excel, and sharepoint designer from working.

$
0
0

I removed .exe from the block list, checked MIME types, all ok,

I followed this solution: http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/thread/b380a13e-a15f-4e32-98cd-12747538ad20?prof=required

( go into IIS (I am assuming IIS 7.0) and select the particular web site and clickhandler mappings and Edit feature permissions anduncheck the Execute box .)

It works, I can now open exe files. But it causes other major troubles so far:

-Cannot Export Lists to Excel

-Cannot Publish and Save InfoPath forms

-Cannot edit subsites in SharePoint Designer.

 

Does anybody have another solution that won't disable other features? What is the best way to do it? I have SolidWorks Edrawings in .exe that needs to be accessible.

 

Thank you.


Guillaume Gagnon, MCP Senior System Administrator Forensic Technology WAI Inc.

SharePoint Timer Service not starting due to a logon failure

$
0
0

Hello everyone,

SharePoint Timer Service on my SharePoint Web Server stops by itself every couple of days or so. Trying to restart it gives me the following error:

Windows could not start the SharePoint 2010 Timer service on Local Computer.

Error 1069: The service did not start due to a logon failure.

I am able to start it after retyping the SP Service Account password. SP Service Account has Administrative rights to the machine. There are other services with the same logon, Web Analytics Service being one of them, that don't display the same behaviour.

I am not sure if this is an Active Directory issue.

Has anyone experienced this condition?

Regards, 


MichaelSaroyan

Remove access for site collection administrators from sub sites

$
0
0

Hi,

We have site collection with sub sites for departments. Here few departments is having confidential data and they don't want to give access to the site collection administrators also.

Is this possible to remove site collection administration rights for sub sites? If Yes,please tell me how can i achieve this.

Regards,

Saya


Execution Permissions cannot be required error when opening SharePoint Central Administration

$
0
0

The following is the stack trace can anyone share what might be causing and how to resolve this.

Execution permission cannot be acquired.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Security.Policy.PolicyException: Execution permission cannot be acquired.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[PolicyException: Execution permission cannot be acquired.]
   System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +10246216
   System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission) +97

[FileLoadException: Could not load file or assembly 'Ajax, Version=5.7.20.2, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)]
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166
   System.Reflection.Assembly.Load(String assemblyString) +35
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +190

[ConfigurationErrorsException: Could not load file or assembly 'Ajax, Version=5.7.20.2, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +11326376
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +388
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +232
   System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +48
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +210
   System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +76
   System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +11315554
   System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +185
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +551

[HttpException (0x80004005): Could not load file or assembly 'Ajax, Version=5.7.20.2, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)]
   System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +76
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +1012
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +1025

[HttpException (0x80004005): Could not load file or assembly 'Ajax, Version=5.7.20.2, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11420374
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4405156


 

Prevent SharePoint Updates from being installed to server?

$
0
0
In Production, Infrastructure downloaded and installed some Server Updates, with additional SharePoint Updates. We're sufficiently up to date and stable, and didn't want to update. We wound up rolling back before running the Config Wizard, but want to prevent this from happening in the future. Is there a way to do this?

Cannot Restore User Profile Service with my old DB - New-SPProfileServiceApplication error: "Database named ... already exists"

$
0
0

I deleted the service application (keeping the databases) and attempted the powershell command to create a new user profile service application with my existing dB names for Profile DB, Social DB and Sync DB.

But after running New-SPProfileServiceApplication I got the error: "Database named ... already exists You must supply another name for new database" 

What is wrong?

My Sharepoint is 2010 with SP2

Post June 2011 CU - FIM error

$
0
0

Hello.

 

After applying the June CU 2011 my logs get the following errors every 1 minute:

Import works, relative accounts have control of DB and file system, miisclient.exe loads no problem.

Any advice appreciated...

 

Log Name:      Application

Source:        Forefront Identity Manager

Date:          26/07/2011 11:16:00 AM

Event ID:      3

Task Category: None

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      xxx

Description:

System.InvalidOperationException: This Forefront Identity Manager system resource cannot be deleted.

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider Name="Forefront Identity Manager" />

    <EventID Qualifiers="0">3</EventID>

    <Level>2</Level>

    <Task>0</Task>

    <Keywords>0x80000000000000</Keywords>

    <TimeCreated SystemTime="2011-07-26T01:16:00.000000000Z" />

    <EventRecordID>66545</EventRecordID>

    <Channel>Application</Channel>

    <Computer>xxx</Computer>

    <Security />

  </System>

  <EventData>

    <Data>System.InvalidOperationException: This Forefront Identity Manager system resource cannot be deleted.</Data>

  </EventData>

</Event>

 

Log Name:      Application

Source:        Forefront Identity Manager

Date:          26/07/2011 11:15:00 AM

Event ID:      3

Task Category: None

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      xxx

Description:

Microsoft.ResourceManagement: System.InvalidOperationException: This Forefront Identity Manager system resource cannot be deleted.

   at Microsoft.ResourceManagement.Utilities.ExceptionManager.ThrowException(Exception exception)

   at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Delete(Message request)

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider Name="Forefront Identity Manager" />

    <EventID Qualifiers="0">3</EventID>

    <Level>2</Level>

    <Task>0</Task>

    <Keywords>0x80000000000000</Keywords>

    <TimeCreated SystemTime="2011-07-26T01:15:00.000000000Z" />

    <EventRecordID>66544</EventRecordID>

    <Channel>Application</Channel>

    <Computer>xxx</Computer>

    <Security />

  </System>

  <EventData>

    <Data>Microsoft.ResourceManagement: System.InvalidOperationException: This Forefront Identity Manager system resource cannot be deleted.

   at Microsoft.ResourceManagement.Utilities.ExceptionManager.ThrowException(Exception exception)

   at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Delete(Message request)</Data>

  </EventData>

</Event>

 

 

ULS Log:

UserProfileApplication.SynchronizeMIIS: Error updating users with FIM permissions: Microsoft.ResourceManagement.WebServices.Faults.ServiceFaultException: The endpoint is unable to process the message

 at this time.    

 at Microsoft.ResourceManagement.WebServices.Client.ResourceManagementClient.DeleteResource(UniqueIdentifier resourceIdentifier, ContextualSecurityToken securityToken)    

 at Microsoft.ResourceManagement.WebServices.ResourceManager.DeleteResource()    

 at Microsoft.Office.Server.Administration.UserProfileApplication.RemoveFIMUser(SchemaManager schemaManager, String accountName)    

 at Microsoft.Office.Server.Administration.UserProfileApplication.SynchronizeMIISAdminsList(Hashtable htPermittedUsers)    

 at Microsoft.Office.Server.Administration.UserProfileApplication.SetupProfileSynchronizationEnginePermissions().

 


Quick Launch Navigation Bar Missing

$
0
0

Today I was notified that the quick launch bar on a specific page is missing. I searched through site settings and found that in the tree view, the quick launch is enabled. All the other pages in the site collection are showing the left navigation. This page consists only of web parts. I went into the code to see if the navigation bar was hidden, but there was no trace of 

<SharePoint:UIVersionedContent ID="WebPartPageHideQLStyles" UIVersion="4" runat="server">
<ContentTemplate>
<style type="text/css">
body #s4-leftpanel {
display:none;
}
.s4-ca {
margin-
}
</style>
</ContentTemplate>

</SharePoint:UIVersionedContent>

OR

<asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderNavSpacer" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderLeftNavBar" runat="server"></asp:Content>


The user who contacted me said that it may have been accidentally removed. But it doesn't seem possible. Any ideas? 

How can SP2010 SP1 farm got patched with "Update for 2010 Microsoft Business Productivity Servers (KB2899582) 64-Bit Edition" (14.0.7109.5000)"

$
0
0
Looking at the pre-requisites of KB2899592 was SP2010 SP2. My Sharepoint farm is SP2010 SP1. The server admin performed a windows update and brought in this patch. I wonder how can this patch got into my app server and all my WFE servers dont required this patch.Now my farm is having problem with the patch level. Please help. Can i remove it? Any concern?

Payne Wong

Access Denied to Use Templates

$
0
0

I am trying to create a new site using a custom template. I am the new admin here at the company. Other also are having "access denied" errors when trying to create the site using these custom templates. 

However I can still create a site using the out of the box templates. I have given myself site collection admin (primary) and I am a farm administrator as well. Any ideas on why I keep getting access denied to specific templates?

Thanks!


Error Access Denied for List

$
0
0

I have a list for which inheritance is broken, and two SharePoint Groups were created (Read and Contribute).

There are around 30 users in the Read group and 10 in Contribute, all of which are from the same domain, and working properly.

I have two users who are in the same groups, from the same Domains, who are unable to access the list, getting Error: Access Denied.

I've tried deleting and re-adding their accounts but no change.

I've run their accounts through "Check Permissions", and both look good, identical to properly authorized users.

Any troubleshooting recommendations?

Thanks,

Scott

Send to Connection - 404 error

$
0
0

Problem: Cannot create a send to connection on new Web Application for records center.

Error: Verification Failed: URL is a not a valid routing destination

Things I have checked

  • IIS Bindings- default: IP address: All Unassigned
  • Proper features are enabled on the site (disable and re-enabled them)
  • URL is correct and works in a browser
  • Works when setting up the send to connection in another Web Application
  • No DNS setup for new web app yet, currently using just hosts file (is that the issue?)
  • DisableLoopbackCheck = 1

ULS Log error:

Url validation failed for http://dev-records.com/sites/Projects/_vti_bin/OfficialFile.asmx during Record and document center connection configuration with exception The request failed with HTTP status 404: Not Found

Any ideas what might be wrong? I've checked blogs and forums all over the place, 404 does not seem that common for this issue.

stsadm import error[FatalError: Failed to read package file.]

$
0
0
[1/27/2012 6:52:38 PM] Start Time: 1/27/2012 6:52:38 PM.
[1/27/2012 6:52:38 PM] Progress: Initializing Import.
[1/27/2012 7:00:03 PM] Error: Failure writing to target file
[1/27/2012 7:00:04 PM] Debug:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   at Microsoft.SharePoint.Library.SPRequest.ExtractFilesFromCabinet(String bstrTempDirectory, String bstrCabFileLocation)
   at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
   at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
   at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
   at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
   at Microsoft.SharePoint.Deployment.ImportDataFileManager.Uncompress(SPRequest request)
[1/27/2012 7:00:04 PM] FatalError: Failed to read package file.
*** Inner exception:
Failure writing to target file
[1/27/2012 7:00:04 PM] Debug:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   at Microsoft.SharePoint.Library.SPRequest.ExtractFilesFromCabinet(String bstrTempDirectory, String bstrCabFileLocation)
   at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
   at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
   at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
   at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
   at Microsoft.SharePoint.Deployment.ImportDataFileManager.Uncompress(SPRequest request)
[1/27/2012 7:00:29 PM] Progress: Import did not complete.
[1/27/2012 7:00:29 PM] Finish Time: 1/27/2012 7:00:29 PM.
[1/27/2012 7:00:29 PM] Duration: 00:07:51
[1/27/2012 7:00:29 PM] Finished with 0 warnings.
[1/27/2012 7:00:29 PM] Finished with 2 errors.

Hi ,

I have exported a site http://teamsite in share point 2007 set up and try to import in 2010 sitehttp://mysite using stsadm.The command details is given below.

stsadm -o export -url http://teamsite -filename c:\backup\team.cab -includeusersecurity  . it has created  277 cab file . then i have copy these file to 2010 sytem and given the import command.

stsadm-import -url http://mysite -filename d:\backup\team.caband found the above code error. Please send the reply to my email  jitendriya.jamadar@hcl.com

Accessing SSRS Sharepoint integrated reports from outside

$
0
0

I'm looking at exposing SSRS reports to an extranet but I'm having issues with the reports when being rendered: they always seem to look for an internal servername...Sharepoint is correcly all the other urls for the extranet FQDN but doesnt seem to translate the url to the reports...is that normal behavior? was it an issue when publishing the reports?

Incoming email not picked up from Drop folder

$
0
0

I have an incoming email issue in our SharePoint 2010 farm version 14.0.7106.5002 (Service Pack 2 with August Cumulative Update). When I send out an email to an incoming email-enabled document library with an InfoPath form (v. 2007), it makes it to the Drop folder but it just sits there. Eventutally it disappears from the folder after about 24 hours or so, but it never makes it to the document library. I have no idea where goes to. I confirmed that the incoming email timer job is running successfully every minute. When I send an email to the same document library with my Outlook, it makes it to the library immediately.

Any idea?

Viewing all 12728 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>