Split TempDb in SharePoint 2010 Sql Server DB

Hi ,
We have envirenment of sharepoint farm,one Database server.We have plan to split tempDb acording microsoft best practices.
By the time of we have the largest content database is 260 in size and SQL Server has a 2-core processor.
So the tempdb would be split in two files with 40 GB per .mdf file.
Kinldy suiggest hopw to split TempDb.
Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
|
| Twitter

Hi Shanky,
We are not facing any issue,But we had take Micorosft RaaS services,Microsoft Consutlatan suggest thet we should break oure TempDb
RaaS   ISSUE/RISK
Initial Size of Temp DB is too   small
TempDB database Size may be too   small.
SQL Server instance has only one   tempdb data file while there are more than one scheduler in use
One or more user database files   are placed on same disk volume along with TempDB database files
REMEDIATION   COMMENTS
The size   and physical placement of the tempdb database can affect the performance of a   SharePoint farm. For example, if the size that is defined for tempdb
is too   small, part of the system-processing load may be taken up with autogrowing   tempdb to the size required to support the workload every time you restart   the instance of SQL Server. You can avoid this overhead by increasing the  
sizes of the tempdb data and log files.
Currently   .mdf and .ldf files are in the D volume along with all other SharePoint   databases and there is just one tempdb .mdf file.
More information:
http://technet.microsoft.com/en-us/library/ms175527(v=SQL.105).aspx
ACTION   PLAN
Set the   recovery model of tempdb to SIMPLE recovery model.
Create   as many files as needed to maximize disk bandwidth. Using multiple files   reduces tempdb storage contention and yields significantly better   scalability. However,
do not create too many files because this can reduce   performance and increase management overhead. As a general guideline, use
# of TempDB Files = # of Processors Cores   / 4 and then adjust the number of files up or down as necessary.
Preallocate   space for all tempdb files by setting the file size to a value large enough   to accommodate the typical workload in the environment. You can go by a rule  
of thumb that the size should be 25% of the largest SharePoint content   database.
Important: Make each TEMPDB   data file the same size.
Allow   your TEMPDB files to grow automatically and monitor the disk free space, set   the file growth in fix size and not in percentage. We recommend the following  
general guidelines for setting the FILEGROWTH increment for tempdb files:
tempdb   file size from 0 to 100 MB - FILEGROWTH increment in 10 MB
tempdb   file size from 100 to 200 MB - FILEGROWTH increment in 20 MB
tempdb   file size from 200 MB or more - FILEGROWTH increment in 10%*
* The FILEGROWTH increment should be   set to a maximum of 6 GB, regardless of the tempdb file size.
Put the   tempdb database on a fast I/O subsystem. Use disk striping if there are many   directly attached disks.
Put the   tempdb database on disks that differ from those that are used by SharePoint.
Important: This action plan requires a downtime   of your SharePoint
farm as you will have to stop SQL Server services to move   data and transaction log files to different disks.
By the time of this remediation the   largest content database is 300 in size and SQL Server has a 2-core   processor. So the tempdb would be
split in two files with 40 GB per .mdf   file.
STATUS
SharePoint administrators will work   on the action plan.
Downtime required for to apply this   action plan? YES
Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
|
| Twitter

Similar Messages

  • SharePoint 2010 - SQL Server Service Application Server Appears on Server without SSRS Installed

    I have SSRS instance installed on Server 2 in integrated mode and reports within SharePoint are working as expected.  But, when you go to manage the SQL Server Service Application it throws an 503 error and I believe it is related to the fact that the
    service also shows up on another Application Server, Server1, that does not have SSRS installed.  The service is disabled and it shows up in the list of Services for the server but I believe SharePoint thinks its the primary service and cannot access
    it.  Is there any way to remove the Service from Server2?  I attempted the below powershell commands to remove but it gives me an error.  Any suggestions would be appreciated.
    Get-SPRSServiceApplicationServers
    Address
    Server1
    Server2
    get-spserviceinstance -all |where {$_.TypeName -like "SQL Server Reporting*"}
    TypeName                         Status   Id
    SQL Server Reporting Services... Disabled a5179dce-2d6c-476b-a74b-764375d70a94
    SQL Server Reporting Services... Online   64a99ed8-d31c-4dd3-b9f7-b6d946e41e16
    Remove-SPServiceApplication a5179dce-2d6c-476b-a74b64375d70a94 -RemoveData
    Remove-SPServiceApplication : Object not found.
    At line:1 char:28
    + Remove-SPServiceApplication <<<<  a5179dce-2d6c-476b-a74b-764375d70a94 -Remo
    eData
        + CategoryInfo          : ObjectNotFound: (Microsoft.Share...viceApplicati
       on:SPCmdletRemoveServiceApplication) [Remove-SPServiceApplication], Invali
      dOperationException
        + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRemoveSe
       rviceApplication
    Remove-SPServiceApplication : Object reference not set to an instance of an ob
    ect. At line:1 char:28
    + Remove-SPServiceApplication <<<<  a5179dce-2d6c-476b-a74b-764375d70a94 -Remo
    eData    + CategoryInfo          : InvalidData: (Microsoft.Share...viceApplication:
       SPCmdletRemoveServiceApplication) [Remove-SPServiceApplication], NullRefer
      enceException  + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRemoveSe
       rviceApplication

    You're getting a Service Instance object and trying to remove it with a Service Application cmdlet... This won't quite work :)  Can you double check to validate that SSRS 2008 R2 or higher bits were not accidentally laid down on the problem host?
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • SharePOint 2010 - SQL Server - Logs filling up drive space so quickly - please help

    Hi there,
    On my DEV SharePoint SQL Server - suddenly the logs have been filling up space so quickly - this morning I increased 10 GIGs and now it is full again just in a few hours.
    What action should I take?
    - Is it okay to switch Recovery Model from Full to Simple? (It is DEV server)
    - Anything else?
    Thanks.

    Hi frob,
    Can please check below link , It might be useful.
    https://support.microsoft.com/kb/110139?wa=wsignin1.0
    http://www.mssqltips.com/sqlservertip/2092/sql-server-transaction-log-grows-and-fills-up-drive/
    If you think is helpful,Vote As Helpful! And if you see a reply being an answer to the question of the thread, click Mark As Answer.
    Mahesh

  • SharePoint 2010 & SQL Server Report Builder 3.0 - HTTP 404 Error

    Hi all,
    Apologies if this post is not in the correct forum. 
    I have recently upgraded my SQL installation on my SharePoint server from Express 2008 R2 to Standard 2008 R2 so I could set up Reporting Services Integration in CA.  Followed instructions I found on web and all appeared to be good.
    Installed Report Builder on my PC and set up a data source to a List I have on one of my site collections - "Test Connection" works fine.  If I then try to create a Dataset using Query Designer, I get the error below -
    "An error occurred when accessing the specified SharePoint list.  The connection string might not be valid.  Verify that the connection string is correct - The request failed with HTTP status 404: Not Found. (System.Web.Services)". 
    I can't even get to a point where I can see any fields from my list.
    I am happy to provide any further information to try and clarify my problem.  Any help would be most appreciated!

    Just an update.  I resolved my issue.  The problem appeared to that when creating the Data Source, I had been adding the URL of the actual list (eg. http://servername/sitename/listname) as the connection string where in fact I should have just
    added the server name and site - eg. http://servername/sitename.
    Hopefully this may help somebody else :-)

  • Sharepoint 2010 sql server 2008 r2 ssrs configuration

    hello,
    I need to configure the ssrs which is a multi server architecture farm ,but client have given user who is having admin rights but i cannot connect to the server in the configuration manager,first it raised time span exception .
    the user is having admin rights and i am runing with run as administrator.
    please help.
    thanks 

    Hi,
    According to your post, my understanding is that you wanted to configure the SSRS which is a multi-server architecture farm.
    Please make sure you configure it correctly. You can refer to:
    How to: Install and Configure SharePoint Integration on Multiple Servers
    Most time-out errors occur during query processing. If you are encountering time-out errors, try increasing the query time-out value
    in report dataset.
    Setting Time-out Values for Report and Shared Dataset Processing (SSRS)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Reporting Services 2012 in SharePoint 2010 - SQL database edition?

    We currently have a SharePoint 2010 farm, running on a SQL Server 2008 R2 Standard database.  On one of the SharePoint 2010 servers, we have an instance of Reporting Services 2008 Enterprise running in SharePoint integrated mode.  (We require Enterprise
    for data-driven subscriptions)
    We'd like to upgrade to Reporting Services 2012 for Data Alerts and a few other new features.  However, I noticed something on
    this blog stating that the SharePoint 2010 database server edition needs to match the Reporting Services edition. My concern is that I've not seen any official mention of this in Microsoft's documentation, and would like to avoid upgrading to Enterprise
    for the SharePoint 2010 database if I can avoid it.
    So, what I'd like to run is:
    SharePoint 2010
    SharePoint database: SQL Server 2008 R2 Standard
    Reporting Services 2012 Enterprise
    Reporting Services database: same as SharePoint database, so SQL Server 2008 R2 Standard
    Is this possible?  Or do I need to upgrade the SharePoint database to SQL Server 2008 R2 Enterprise?  
    Alternatively, could I install a separate database engine just for Reporting Services to host its databases (for example, SQL Server 2012 Enterprise), so I don't have to mess around with upgrading the SP database?

    While you don't need to upgrade your SQL 2008 R2 to 2012, you will need to install an instance of SQL 2012 & SSRS 2012. They can be side-by-side and independent of each other. The following blog post provides steps to do so,
    http://www.madronasg.com/blog/how-configure-sql-server-reporting-services-2012-use-sharepoint-2010#.UuEVd2Ao74Y
    Dimitri Ayrapetov (MCSE: SharePoint)

  • SharePoint 2013 SQL Server Edition for BI Features - must be on SharePoint SQL Server?

    I need to install SQL Server 2012 for a new SharePoint 2013 installation.
    Let's say I want to use the BI features of SharePoint 2013 like PowerView.
    I already have a separate SQL Server running SQL Server 2012 BI Edition that is used as the database server for our data warehouse and some apps.  But this SQL Server will not be used to house the SharePoint 2013 databases.
    Do I need to install SQL Server 2013 BI Edition on the SharePoint 2013 SQL Server (where the SharePoint 2013 databases will be housed) or can I used SQL Server 2013 Standard Edition on that server and utilize the BI Edition on the data warehouse server to
    use the BI features of SharePoint?

    Yes, BI or Enterprise must be installed on the SharePoint server in order to integrate SSRS. PowerPivot can be on a separate server with just a download (http://www.microsoft.com/en-us/download/details.aspx?id=35577) for certain components residing on
    the SharePoint server. This will give you PowerView, as well.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • SharePoint 2013 - SQL Server BCS Model Incremental Crawl content doesnt show up in Search results

    SharePoint 2013 - SQL Server BCS Model Incremental Crawl content doesn't show up in Search results, Incremental crawl is working fine, i.e., its picking up newly added records in table to the Search, but the newly added content is not available in search
    results page.
    But when i do a Full Crawl, search results are showing up with appropriate content.
    What could be the issue here?
    Suresh Kumar Udatha.

    This time on the Full crawl I got only 62 warnings and 12 errors and ~537.000 success. Warnings were about truncating the crawl documents because their content length exceed the configured for crawl. The 12 errors were "Processing this item failed because
    of a timeout when parsing its contents." and "The content processing pipeline failed to process the item.". I think 12 errors is not much to re-execute full crawl. Site collection has one SP Site Group (with Read Permission Level). In this site group I have
    only one AD Group added, so permission change is not a possible reason for re-crawl, plus nobody changed anything in this ad group. All documents are stored in 2 document libraries and there are no sub-sites. I want to access these documents trough search
    (custom managed property restriction kql) but this way I have no mechanism to fast re-crawl only error documents from the first full-crawl (those 12). This is very strange and put SP 2013 Search almost unusable for my scenario.
    Thanks,
    Darko
    Darko Milevski http://mkdot.net/blogs/darko/

  • SQL Exceptions, transport-level errors on SharePoint 2010 App Server

    SharePoint 2010 becomes inaccessible 2-3 times per day. It happens at approximately the same times: 8 PM, 1 AM and 1 PM. It is inaccessible for about 3-4 minutes and then comes back on its own.
    During the time it is down, we see the following errors in the event viewer on the application server:
    EventID: 5586 Task Category: Database -
    Unknown SQL Exception 64 occurred. Additional error information from SQL Server is included below.A transport-level error has occurred when receiving results from the server.
    (provider: TCP Provider, error: 0 - The specified network name is no longer available.)
    EventID: 3 Task Category: None -
    .Net SqlClient Data Provider: System.Data.SqlClient.SqlException: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error:
    0 - The specified network name is no longer available.)
    EventID: 6398 Task Category: Timer -
    The Execute method of job definition Microsoft.Office.Server.Search.Monitoring.HealthStatUpdateJobDefinition (ID f9db48f1-f115-47ab-99b6-552460cbb782) threw an exception. More
    information is included below. A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)
    EventID: 8086 Task Category: Business Data -
    The BDC Service application failed due to a SQL Exception: SQLServer host ums1spd1v. The error returned was: 'A transport-level error has occurred when sending the request to
    the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)'
    The SharePoint logs have errors during the same time period saying the same kinds of things: Sql exception raw message: A transport-level error has occurred when receiving results from the server,
    The specified network name is no longer available, etc.
    Our network administrator has looked at the issue and cannot find any network problems. 
    He setup a continuous ping from the app server to the database server. 
    Even during the times these errors are occurring, the app server is still able to reach the database server. 
    However, you cannot ping the app server itself during this time.
    Our database administer cannot find any SQL Server issues. 
    There are no errors in the event viewer or the SQL logs on the database server.
    In Central Admin, we can see that one or two jobs fail with SQL errors during the times these errors take place.
     It is almost always the “User Profile Service Application – User Profile Language Synchronization Job” and often the “Health Statistics Updating” or “Crawl Log Report for Search Application Search Service Application”. 
    These jobs run successfully at many other times during the day.
    Is there a good way to tell if the database, network or SharePoint itself is the root of these problems? 
    The database and network guys say there are no problems in their areas, but all I can find in the SharePoint logs is that it can’t reach the database server.
    Thank you for any suggestions you may have!

    Since these seem to happen at very specific times, I would run a NetMon trace at that window to capture what is going back and forth (or perhaps the timer service is just unable to reach the SQL server).
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • SharePoint 2010 Application server has SQL timeout problem

    Hi All,
    Our SharePoint has App & WFE servers, and the SQL server is always on. BTW, App server sometimes has timeout problem as follow, has any idea on it? This problem does not occur timing, our SP 10 is RTM version.
    Error Log:
    01/29/2015 17:25:29.96 OWSTIMER.EXE (0x0A78)                  
    0x0B08
    SharePoint Foundation         Monitoring                    
    nasq Medium  
    Entering monitored scope (Timer Job job-workflow)
    5a91b888-0f2e-46fe-9ee0-96c81c6581bf
    01/29/2015 17:25:50.98 OWSTIMER.EXE (0x0A78)                  
    0x0B08
    SharePoint Foundation         Database                      
    880i High    
    System.Data.SqlClient.SqlException: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.     at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean
    breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)     at
    System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()     at System.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(Boolean
    encrypt, Boolean trustServerCert, Boolean& marsCapable)     at System.Data.SqlCl...
    5a91b888-0f2e-46fe-9ee0-96c81c6581bf
    01/29/2015 17:25:50.98* OWSTIMER.EXE (0x0A78)                  
    0x0B08
    SharePoint Foundation         Database                      
    880i High    
    ...ient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)     at
    System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)     at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String
    host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)     at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString
    connectionOptions, String newPassword, Bo...
    5a91b888-0f2e-46fe-9ee0-96c81c6581bf
    01/29/2015 17:25:50.98* OWSTIMER.EXE (0x0A78)                  
    0x0B08
    SharePoint Foundation         Database                      
    880i High    
    ...olean redirectedUserInstance)     at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean
    redirectedUserInstance)     at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection
    owningConnection, DbConnectionPool pool, DbConnectionOptions options)     at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection
    owningObject)     at System.... 5a91b888-0f2e-46fe-9ee0-96c81c6581bf
    01/29/2015 17:25:50.98* OWSTIMER.EXE (0x0A78)                  
    0x0B08
    SharePoint Foundation         Database                      
    880i High    
    ...Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection
    outerConnection, DbConnectionFactory connectionFactory)     at System.Data.SqlClient.SqlConnection.Open()     at Microsoft.SharePoint.Utilities.SqlSession.OpenConnection()
    5a91b888-0f2e-46fe-9ee0-96c81c6581bf
    01/29/2015 17:25:50.98 OWSTIMER.EXE (0x0A78)                  
    0x0B08
    SharePoint Foundation         Database                      
    880k High    
      at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand
    command, CommandBehavior behavior)     at Microsoft.SharePoint.Administration.SPDatabase.get_IsReadOnly()     at Microsoft.SharePoint.Administration.SPContentDatabaseLockManager.CanProcessContentDatabase(SPContentDatabase contentDatabase)
        at Microsoft.SharePoint.Administration.SPWorkItemJobDefinition.Execute(SPJobState jobState)     at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService,
    Int32& result)     at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(Time...
    5a91b888-0f2e-46fe-9ee0-96c81c6581bf
    01/29/2015 17:25:50.98* OWSTIMER.EXE (0x0A78)                  
    0x0B08
    SharePoint Foundation         Database                      
    880k High    
    ...rJobExecuteData& data, Int32& result)  
    5a91b888-0f2e-46fe-9ee0-96c81c6581bf
    01/29/2015 17:25:50.98 OWSTIMER.EXE (0x0A78)                  
    0x0B08
    SharePoint Foundation         Database                      
    880j High    
    SqlError: 'Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.'    Source: '.Net SqlClient Data Provider' Number: -2 State: 0 Class: 11 Procedure: '' LineNumber: 0 Server:
    'spsql' 5a91b888-0f2e-46fe-9ee0-96c81c6581bf
    01/29/2015 17:25:50.98 OWSTIMER.EXE (0x0A78)                  
    0x0B08
    SharePoint Foundation         Database                      
    3355 Critical
    Cannot connect to SQL Server. spsql not found. Additional error information from SQL Server is included below.  Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
    5a91b888-0f2e-46fe-9ee0-96c81c6581bf
    01/29/2015 17:25:50.98 OWSTIMER.EXE (0x0A78)                  
    0x0B08
    SharePoint Foundation         Database                      
    tzku High    
    ConnectionString: 'Data Source=spsql;Initial Catalog=WSS_Content;Integrated Security=True;Enlist=False;Asynchronous Processing=False;Connect Timeout=15'    ConnectionState: Closed ConnectionTimeout: 15
    5a91b888-0f2e-46fe-9ee0-96c81c6581bf
    01/29/2015 17:25:50.98 OWSTIMER.EXE (0x0A78)                  
    0x0B08
    SharePoint Foundation         Database                      
    85t4 High    
    An error occured while attempting to verify that the database is read only for database WSS_Content. The error contained the following message: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not
    responding. 5a91b888-0f2e-46fe-9ee0-96c81c6581bf
    01/29/2015 17:25:51.00 OWSTIMER.EXE (0x0A78)                  
    0x0B08
    SharePoint Foundation         Monitoring                    
    b4ly High    
    Leaving Monitored Scope (Timer Job job-workflow). Execution Time=21043.2150707921
    5a91b888-0f2e-46fe-9ee0-96c81c6581bf
    Thnaks.
    Ben

    What is the latency (measured via ping) between the App and SQL Server? SharePoint 2010 RTM hasn't been supported for quite some time. Upgrade to SP2 and see if it resolves the issue.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Error rsItemNotFound when using ReportingService2010 endpoint in SharePoint Mode (SQL Server 2012 & SP2013)

    Hi all,
    I installed SQL Server 2012 in SharePoint Mode, with SharePoint 2013 on a Windows Server 2012 virtual machine. The issue occurs when I try to use the ListChildren operation of the ReportService2010 endpoint.
    It manages to connect to the server, but it refuses to list any children. Here's the code I'm using:
    using System;
    using System.Net;
    internal class Test
    public static void Main()
    var rs = new ReportingService2010
    Credentials = new NetworkCredential("username", "password", "machine")
    CatalogItem[] items = null;
    // Retrieve a list of all items from the report server database.
    try
    items = rs.ListChildren("/", true);
    catch (Exception e)
    Console.WriteLine(e.Message);
    When executed, this code throws an exception (which is caught and displayed) : "The item '/' cannot be found. (rsItemNotFound)"
    The same code works (i.e. does not throw any exception and the items variable contains some CatalogItem) when used against a SQL Server 2012 configured in native mode.
    I'm not sure what I'm doing wrong here, maybe the first parameter shouldn't be "/" but something else?
    Thanks for your help
    Aotio

    +1
    I'm getting this error as well.  My test software is connecting to two different servers; one is running on SharePoint 2010 and I have no problems using the ReportingService2010 functions on that, but I am getting this same error when trying to connect
    to a service on SharePoint 2013.

  • SharePoint 2010 + SQL 2008 + DPM 2012 Backup Failures

    I have a single SharePoint 2010 WFE and a SQL 2008 server backend. Since configuring DPM to run the SharePoint backup through the WFE, I have had no success with backups.
    DPM Reports:
    The VSS application writer or the VSS provider is in a bad state. Either it was already in a bad state or it entered a bad state during the current operation. (ID 30111 Details: VssError: The writer experienced a non-transient error. If the backup process
    is retried, the error is likely to reoccur. (0x800423F4))
    Event Log on SQL Server Reports:
    Log Name:      Application
    Source:        SQLWRITER
    Date:          4/24/2014 4:44:17 PM
    Event ID:      24583
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      srv-sql-01
    Description:
    Sqllib error: OLEDB Error encountered calling ICommandText::Execute. hr = 0x80040e14. SQLSTATE: 42000, Native Error: 319
    Error state: 1, Severity: 15
    Source: Microsoft SQL Server Native Client 10.0
    Error message: Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.
    SQLSTATE: 42000, Native Error: 103
    Error state: 3, Severity: 15
    Source: Microsoft SQL Server Native Client 10.0
    Error message: The file that starts with '\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy334\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\WSS_Content30_1.mdf                                                                                                                                                                       
    ' is too long. Maximum length is 259.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLWRITER" />
        <EventID Qualifiers="0">24583</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-04-24T21:44:17.000000000Z" />
        <EventRecordID>293470</EventRecordID>
        <Channel>Application</Channel>
        <Computer>srv-sql-01</Computer>
        <Security />
      </System>
      <EventData>
        <Data>ICommandText::Execute</Data>
        <Data>0x80040e14</Data>
        <Data>SQLSTATE: 42000, Native Error: 319
    Error state: 1, Severity: 15
    Source: Microsoft SQL Server Native Client 10.0
    Error message: Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.
    SQLSTATE: 42000, Native Error: 103
    Error state: 3, Severity: 15
    Source: Microsoft SQL Server Native Client 10.0
    Error message: The file that starts with '\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy334\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\WSS_Content30_1.mdf                                                                                                                                                                       
    ' is too long. Maximum length is 259.
    </Data>
        <Binary>53514C434F4E4E43313236330000000053514C434F4E4E433132323800000000</Binary>
      </EventData>
    </Event>
    Followed by:
    Log Name:      Application
    Source:        VSS
    Date:          4/24/2014 4:44:17 PM
    Event ID:      8229
    Task Category: None
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      srv-sql-01
    Description:
    A VSS writer has rejected an event with error 0x800423f4, The writer experienced a non-transient error.  If the backup process is retried,
    the error is likely to reoccur.
    . Changes that the writer made to the writer components while handling the event will not be available to the requester. Check the event log for related events from the application hosting the VSS writer.
    Operation:
       PostSnapshot Event
    Context:
       Execution Context: Writer
       Writer Class Id: {a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}
       Writer Name: SqlServerWriter
       Writer Instance Name: SQL Server 2008 R2:SQLWriter
       Writer Instance ID: {18aa641d-ffcd-44be-84eb-77867e909c51}
       Command Line: "C:\Program Files\Microsoft SQL Server\90\Shared\sqlwriter.exe"
       Process ID: 6036
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="VSS" />
        <EventID Qualifiers="0">8229</EventID>
        <Level>3</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-04-24T21:44:17.000000000Z" />
        <EventRecordID>293471</EventRecordID>
        <Channel>Application</Channel>
        <Computer>srv-sql-01</Computer>
        <Security />
      </System>
      <EventData>
        <Data>0x800423f4, The writer experienced a non-transient error.  If the backup process is retried,
    the error is likely to reoccur.
    </Data>
        <Data>
    Operation:
       PostSnapshot Event
    Context:
       Execution Context: Writer
       Writer Class Id: {a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}
       Writer Name: SqlServerWriter
       Writer Instance Name: SQL Server 2008 R2:SQLWriter
       Writer Instance ID: {18aa641d-ffcd-44be-84eb-77867e909c51}
       Command Line: "C:\Program Files\Microsoft SQL Server\90\Shared\sqlwriter.exe"
       Process ID: 6036</Data>
        <Binary>2D20436F64653A20575254575254494330303030353239392D2043616C6C3A20575254575254494330303030333336352D205049443A202030303030363033362D205449443A202030303030323630342D20434D443A202022433A5C50726F6772616D2046696C65735C4D6963726F736F66742053514C205365727665725C39305C5368617265645C73716C7772697465722E65786522202D20557365723A204E616D653A204E5420415554484F524954595C53595354454D2C205349443A532D312D352D313820</Binary>
      </EventData>
    </Event>
    When I run vssadmin list writers after the error, the "SqlServerWriter" show a State of [11]. I can restart the service and the error clears up showing stable, but the next time I run the backup it fails again.
    From the error, it almost sounds like the path is too long. This doesn't totally make sense to me considering the database was successfully backed up before I tried to back it up as a SharePoint database.
    Any suggestions would be appreciated.

    Got the issue solved.
    DPM has issues with DNS Aliases for SQL.
    To get this issue sorted out i used the old HOSTS file to point the right name to the right SQL server.

  • Sharepoint 2010 SQl 2008 r2 Reporting Services Integrated with Claims

    i have a 4 server sharepoint 2010 farm all servers are windows 2008 r2 x64
    two severs are sharepoint app/wfe servers
    one server is SQL sharepoint content db server sql 2008 r2 enterprise
    one server is SQL Claims Provider DB and reporting services on SQL 2008 r2
    the site is behind a forefront tmg proxy firewall for both internal and external users and both locations are producing the same results.
    the web application i am having an issue with consists of a primary web app claims enabled web app that only has NTLM enabled, with an extended extranet webapp that  supports claims and NTLM.
    there is surrently a site collection that has been configured for reporting services when i log into the site as a SQL Claims user i am able to run the reportbuilder as a content type  using the New Report builder report content type from a library on
    this site. Reportbuilder launches and i am once gain prompted to login i login with the same credentials i used to log into the site and reportbuilder opens up and then i am able to open datasourceas and reports.
    When i log in to the same site collection as a domain user i am able to log in to the site and launch reportbuilder. When reportbuilder opens up i am prompted to log in, i insert my domain\username and password and nothing happens the login prompt appears again
    blank on the back end it throws the following exceptions
    1. Password check on 'username' generated exception: 'System.ServiceModel.FaultException`1[Microsoft.IdentityModel.Tokens.FailedAuthenticationException]: The security token username and password could not be validated. (Fault Detail is equal to Microsoft.IdentityModel.Tokens.FailedAuthenticationException:
    The security token username and password could not be validated.).'.
    2.An exception occurred when trying to issue security token: The security token username and password could not be validated.
    any thoughts on where i should begin troubleshooting this.

    I think i am getting close i am now seeing a new error it seems that the sp farm account is unable my domain account when launching reportbuilder.
    vent code: 4006
    Event message: Membership credential verification failed.
    Event time: 4/6/2014 10:59:05 AM
    Event time (UTC): 4/6/2014 2:59:05 PM
    Event ID: 7640af98dab846829f78e7d74a4e1e8a
    Event sequence: 9
    Event occurrence: 8
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/2/ROOT/SecurityTokenServiceApplication-1-130412687342754349
        Trust level: Full
        Application Virtual Path: /SecurityTokenServiceApplication
        Application Path: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebServices\SecurityToken\
        Machine name: (SP WFE MACHINE NAME)
    Process information:
        Process ID: 8044
        Process name: w3wp.exe
        Account name: (SP FARM ACCOUNT)
    Request information:
        Request URL:  
        Request path:  
        User host address:  
        User:  
        Is authenticated: False
        Authentication Type:  
        Thread account name: (SP FARM ACCOUNT)
    Name to authenticate: (doamin account launching reportbuilder)
    Custom event details:

  • Upgrade Sharepoint 2010 SQL Reporting Services from 2008 R2 to 2014

    I'm about to do the upgrade of SharePoint 2010 Reporting Services from 2008 R2 to 2014.  The instructions say it can be done "in-place" with no downtime.  I've seen this article:
    http://whitepages.unlimitedviz.com/2012/03/upgrading-sql-server-reporting-services-to-2012-in-sharepoint-integrated-mode/
    It covers 2012 so I assume the same holds true for 2014.
    I'd like to get the low down from anyone who has actually performed the upgrade of SSRS from 2008 R2 to 2014.  Anyone done this upgrade?  Any issues?
    David Jenkins

    So far I would have to say that the upgrade can be done "in-place" but there is a "DOWNTIME".
    This article has helped a lot:
    http://blogs.catapultsystems.com/tlingenfelder/archive/2012/07/10/upgrading-sql-server-reporting-services-2008-r2-to-sql-server-reporting-services-2012-in-sharepoint.aspx
    In the article it tells you about a bug in the SQL Upgrade process where
    the Domain account you use will not work. When you type in the password it fails. On top of that it will lock the Domain account because of a bad password!  There is probably something wrong with the authentication process and it garbles the password. 
    Anyway, you end up having to change the account to the "Network Service" account before you can do the upgrade.  This means the services get restarted which means???
    DOWN TIME!  He goes over other errors.  I haven't reviewed these issues yet.
    The other thing I learned is that everything needs to be SQL Server 2008 R2 SP2 in order to upgrade.  You don't find this out until almost the last step in the installation process.
    Now I have to wait until next week to actually do the upgrade because I have to schedule an SP2 install.  :(
    David Jenkins

  • SharePoint 2010 SQL Permission Errors

    We occasionally receive errors in the Event Log for SQL permission errors. I am not able to find what exactly is causing the issue and don't want to grant rights to something if I don't know what it is doing. There error is not specific
    to a particular list or library. Below is one example of the ULS log output. I see references to a deadlock but also permission denied.
    Name=Request (GET:https://subsite.contoso.com:443/HomePage/Forms/AllItems.aspx)
    Site=/
    Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=13.8458
    Videntityinfo::isFreshToken reported failure.
    Begin Query the AD to get the user email and display name.
    End Query the AD to get the user email and display name.
    System.Data.SqlClient.SqlException: The EXECUTE permission was denied on the object 'proc_SecAddUser', database 'SharePoint_AdminContent_d4605df0-8a2d-44e0-8805-8d65c4d73d99', schema 'dbo'.
    The EXECUTE permission was denied on the object 'proc_AddListItem', database 'SharePoint_AdminContent_d4605df0-8a2d-44e0-8805-8d65c4d73d99', schema 'dbo'.
    The EXECUTE permission was denied on the object 'proc_UpdateDiskUsed', database 'SharePoint_AdminContent_d4605df0-8a2d-44e0-8805-8d65c4d73d99', schema 'dbo'.
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
    at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
    at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)
    at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock)
    at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock)
    at Microsoft.SharePoint.Library.SPRequestInternalClass.OpenWebInternal(String bstrUrl, Guid& pguidID, String& pbstrRequestAccessEmail, UInt32& pwebVersion, String& pbstrServerRelativeUrl, UInt32& pnLanguage, UInt32& pnLocale, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl, String& pbstrThemedCssFolderUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, Int32& plSiteFlags, Boolean& pbOverwriteMUICultures, Boolean& pbMUIEnabled, String& pbstrAlternateMUICultures, Int32& puiVersion, Int16& pnClientTag)
    at Microsoft.SharePoint.Library.SPRequest.OpenWebInternal(String bstrUrl, Guid& pguidID, String& pbstrRequestAccessEmail, UInt32& pwebVersion, String& pbstrServerRelativeUrl, UInt32& pnLanguage, UInt32& pnLocale, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl, String& pbstrThemedCssFolderUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, Int32& plSiteFlags, Boolean& pbOverwriteMUICultures, Boolean& pbMUIEnabled, String& pbstrAlternateMUICultures, Int32& puiVersion, Int16& pnClientTag)
    at Microsoft.SharePoint.SPWeb.InitWebPublic()
    at Microsoft.SharePoint.SPWeb.get_Url()
    at Microsoft.SharePoint.SPGroup.InitMember()
    at Microsoft.SharePoint.SPGroup..ctor(SPWeb web, SPSecurableObject scope, SPUser user, String GroupName, Object[,] arrGroupsData, UInt32 index, Int32 iByParamId, SPGroupCollectionType groupCollectionType)
    at Microsoft.SharePoint.SPGroupCollection.get_Item(String name)
    at Microsoft.SharePoint.Administration.SPFarm.PerformCentralAdministratorsGroupOperation(AdminGroupOperation operation, String[] usersToAdd, String[] usersToRemove, Boolean& groupExists)
    at Microsoft.SharePoint.Administration.SPFarm.CurrentUserIsAdministrator(Boolean allowContentApplicationAccess)
    at Microsoft.SharePoint.SPSite.set_AdministratorOperationMode(Boolean value)
    at Microsoft.SharePoint.SPFeatureManager.EnsureSiteAndWeb(SPUrlZone zone, Guid databaseid, Guid siteid, Guid webid, SPSite& site, SPWeb& web)
    at Microsoft.SharePoint.SPFeatureManager.<>c__DisplayClass19.<GetFeatureRootAndListSchemaPaths>b__18()
    at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param)
    at Microsoft.SharePoint.SPFeatureManager.GetFeatureRootAndListSchemaPaths(Byte[]& userToken, Guid& tranLockerId, Int32 nZone, Guid databaseid, Guid siteid, Guid webid, Guid featid, Int32 ltid, String& sPathToFeatureRoot, String& sPathToSchemaXml)
    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetViewsSchemaXml(String bstrUrl, String bstrListName, Boolean bFullBlown, Boolean bNeedInitAllViews, ISP2DSafeArrayWriter p2DWriter, Int32& plDefaultViewIndex, Int32& plMobileDefaultViewIndex)
    at Microsoft.SharePoint.Library.SPRequest.GetViewsSchemaXml(String bstrUrl, String bstrListName, Boolean bFullBlown, Boolean bNeedInitAllViews, ISP2DSafeArrayWriter p2DWriter, Int32& plDefaultViewIndex, Int32& plMobileDefaultViewIndex)
    at Microsoft.SharePoint.SPViewCollection.EnsureViewSchema(Boolean fullBlownSchema, Boolean bNeedInitallViews)
    at Microsoft.SharePoint.SPList.get_Views()
    at Microsoft.SharePoint.SPList.get_DefaultViewUrl()
    at Microsoft.SharePoint.Publishing.CachedList..ctor(SPList list, CachedObjectFactory factory)
    at Microsoft.SharePoint.Publishing.CachedArea.GetChildListByGuid(Guid listIdGuid)
    at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataNavigationSettings.GetCachedList(SPWeb web, Guid listId)
    at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataNavigationSettings.GetMetadataNavSettingsXml(SPWeb web, Guid sourceListId, Boolean& listExists)
    at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataNavigationSettings.GetMetadataNavigationSettings(SPWeb web, Guid sourceListId, Boolean checkWebPropHint)
    at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataNavigationContext.get_NavigationSettings()
    at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataNavigationContext.EnsurePageInitEventHandling(Control controlOnPage)
    at Microsoft.Office.Server.WebControls.MetadataHierarchyDataSourceControl.OnInit(EventArgs e)
    at System.Web.UI.Control.InitRecursive(Control namingContainer)
    at System.Web.UI.Control.InitRecursive(Control namingContainer)
    at System.Web.UI.Control.InitRecursive(Control namingContainer)
    at System.Web.UI.Control.AddedControl(Control control, Int32 index)
    at Microsoft.SharePoint.WebControls.DelegateControl.AddControlResilient(Control ctl)
    at Microsoft.SharePoint.WebControls.DelegateControl.CreateChildControls()
    at System.Web.UI.Control.EnsureChildControls()
    at Microsoft.SharePoint.WebControls.DelegateControl.OnInit(EventArgs e)
    at System.Web.UI.Control.InitRecursive(Control namingContainer)
    at System.Web.UI.Control.InitRecursive(Control namingContainer)
    at System.Web.UI.Control.AddedControl(Control control, Int32 index)
    at System.Web.UI.ControlBuilder.BuildChildren(Object parentObj)
    at System.Web.UI.TemplateBuilder.InstantiateIn(Control container)
    at Microsoft.SharePoint.WebControls.UIVersionedContent.CreateChildControls()
    at System.Web.UI.Control.EnsureChildControls()
    at Microsoft.SharePoint.WebControls.UIVersionedContent.OnInit(EventArgs e)
    at System.Web.UI.Control.InitRecursive(Control namingContainer)
    at System.Web.UI.Control.InitRecursive(Control namingContainer)
    at System.Web.UI.Control.InitRecursive(Control namingContainer)
    at System.Web.UI.Control.InitRecursive(Control namingContainer)
    at System.Web.UI.Control.InitRecursive(Control namingContainer)
    at System.Web.UI.Control.InitRecursive(Control namingContainer)
    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 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
    at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
    at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    SqlError: 'The EXECUTE permission was denied on the object 'proc_SecAddUser', database 'SharePoint_AdminContent_d4605df0-8a2d-44e0-8805-8d65c4d73d99', schema 'dbo'.' Source: '.Net SqlClient Data Provider' Number: 229 State: 5 Class: 14 Procedure: 'proc_SecAddUser' LineNumber: 1 Server: 'sqlserver.contoso.com'
    SqlError: 'The EXECUTE permission was denied on the object 'proc_AddListItem', database 'SharePoint_AdminContent_d4605df0-8a2d-44e0-8805-8d65c4d73d99', schema 'dbo'.' Source: '.Net SqlClient Data Provider' Number: 229 State: 5 Class: 14 Procedure: 'proc_AddListItem' LineNumber: 1 Server: 'sqlserver.contoso.com'
    SqlError: 'The EXECUTE permission was denied on the object 'proc_UpdateDiskUsed', database 'SharePoint_AdminContent_d4605df0-8a2d-44e0-8805-8d65c4d73d99', schema 'dbo'.' Source: '.Net SqlClient Data Provider' Number: 229 State: 5 Class: 14 Procedure: 'proc_UpdateDiskUsed' LineNumber: 1 Server: 'sqlserver.contoso.com'
    Insufficient SQL database permissions for user 'Name: contoso\user1 SID: S-1-5-21-1326408308-1533151006-945732055-253740
    ImpersonationLevel: Impersonation' in database 'SharePoint_AdminContent_d4605df0-8a2d-44e0-8805-8d65c4d73d99' on SQL Server instance 'sqlserver.contoso.com'.
    Additional error information from SQL Server is included below.
    The EXECUTE permission was denied on the object 'proc_SecAddUser', database 'SharePoint_AdminContent_d4605df0-8a2d-44e0-8805-8d65c4d73d99', schema 'dbo'.
    The EXECUTE permission was denied on the object 'proc_AddListItem', database 'SharePoint_AdminContent_d4605df0-8a2d-44e0-8805-8d65c4d73d99', schema 'dbo'.
    The EXECUTE permission was denied on the object 'proc_UpdateDiskUsed', database 'SharePoint_AdminContent_d4605df0-8a2d-44e0-8805-8d65c4d73d99', schema 'dbo'.
    ConnectionString: 'Data Source=sqlserver.contoso.com;
    Initial Catalog=SharePoint_AdminContent_d4605df0-8a2d-44e0-8805-8d65c4d73d99;
    Integrated Security=True;
    Enlist=False;
    Asynchronous Processing=False;
    Connect Timeout=15' ConnectionState: Closed ConnectionTimeout: 15
    SqlCommand:
    'SET NOCOUNT ON;
    DECLARE @DN nvarchar(256),@LN nvarchar(128),@@DocUIVersion int,@@Level tinyint,@@S uniqueidentifier;
    DECLARE @ItemId int;
    DECLARE @@iRet int;
    DECLARE @ExtraItemSize int;
    DECLARE @Login nvarchar(255);
    DECLARE @Title nvarchar(255);
    DECLARE @Email nvarchar(255);
    DECLARE @Notes nvarchar(1023);
    DECLARE @MobilePhone nvarchar(127);
    DECLARE @AddedToTable bit;
    DECLARE @UserIdOut int;
    DECLARE @LoginOut nvarchar(255);
    DECLARE @TitleOut nvarchar(255);
    DECLARE @EmailOut nvarchar(255);
    DECLARE @NotesOut nvarchar(1023);
    DECLARE @MobilePhoneOut nvarchar(127);
    DECLARE @DeletedOut bit;
    DECLARE @NeedtoAddtoList bit;
    DECLARE @IsGroup bit;
    SET @IsGroup = 0;
    SET @@Level = 1;
    SELECT @Login = @wssp0;
    SELECT @Title = @wssp1;
    SELECT @Email = @wssp2;
    SELECT @Notes = @wssp3;
    SELECT @MobilePhone = @wssp4;
    SELECT @@S=@wssp5;
    EXEC @@iRet = proc_SecAddUser @@S, @wssp6, @wssp7, @wssp8, @wssp9, @wssp10, @Login, @Title, @Email, @Notes, @MobilePhone, @wssp11, @wssp12, @wssp13, @wssp14, @AddedToTable OUTPUT, @UserIdOut OUTPUT, @LoginOut OUTPUT, @TitleOut OUTPUT, @EmailOut OUTPUT, @NotesOut OUTPUT, @MobilePhoneOut OUTPUT, @DeletedOut OUTPUT, @NeedtoAddtoList OUTPUT;
    IF @@iRet <> 0 BEGIN GOTO DONE;
    END ;
    SELECT @ItemId = @UserIdOut;
    IF @NeedtoAddtoList = 0 BEGIN GOTO DONE;
    END ;
    BEGIN TRAN IF NOT EXISTS( SELECT tp_ID FROM UserData WHERE tp_ListId = 'E97F9667-B512-4AF9-8F98-ABA92DA3D4A2' AND tp_ID = @ItemId AND tp_Level = 1 AND tp_RowOrdinal =0) BEGIN SELECT @ExtraItemSize = 0 EXEC @@iRet = proc_AddListItem @SiteId =@wssp15,@WebId=@wssp16,@ListID=@wssp17,@RowOrdinal=@wssp18,@ItemDocType=@wssp19,@SortTypeReversed=@wssp20,@RetainId=@wssp21,@RetainObjectIdentity=@wssp22,@ItemId = @ItemId OUTPUT,@ItemDirName=@DN OUTPUT,@ItemLeafName=@LN OUTPUT,@UserID=@wssp23,@tp_Author = @ItemId,@tp_Editor = @ItemId,@TimeNow=@wssp24,@CopySecurityFromMasterID=@wssp25,@UseNvarchar1ItemName=@wssp26,@ServerTemplate=@wssp27,@IsNotUserDisplayed=@wssp28,@Basetype=@wssp29,@Level=@wssp30,@UIVersion=@wssp31,@tp_GUID=@wssp32,@CheckSchemaVersion=@wssp33,@OnRestore=@wssp34,@AddNamespace=@wssp35,@CheckDiskQuota=@wssp36, @tp_ContentTypeId = @wssp37, @nvarchar1 = @wssp38, @tp_ModerationStatus = @wssp39, @nvarchar3 = @wssp40, @nvarchar4 = @wssp41, @nvarchar5 = @wssp42, @nvarchar6 = @wssp43, @bit2 = @wssp44, @bit3 = @wssp45, @nvarchar9 = @wssp46, @nvarchar10 = @wssp47, @bit4 = @wssp48, @Size=@wssp49, @ExtraItemSize = @ExtraItemSize , @eventData=@wssp50, @acl=@wssp51, @DocClientId=@wssp52;
    IF @@iRet <> 0 BEGIN ROLLBACK TRAN;
    GOTO DONE;
    END END ;
    COMMIT TRAN;
    EXEC proc_UpdateDiskUsed @@S, 1;
    DONE:
    SELECT @@iRet, @ItemId, @AddedToTable, @LoginOut, @TitleOut, @EmailOut, @NotesOut, @MobilePhoneOut, @DeletedOut '
    CommandType: Text
    CommandTimeout: 0
    Parameter: '@wssp0'
    Type: NVarChar
    Size: 4000
    Direction: Input
    Value: 'NT AUTHORITY\LOCAL SERVICE'
    Parameter: '@wssp1'
    Type: NVarChar
    Size: 4000
    Direction: Input
    Value: 'UserLast, UserFirst'
    Parameter: '@wssp2'
    Type: NVarChar
    Size: 4000
    Direction: Input
    Value: ''
    Parameter: '@wssp3'
    Type: NVarChar
    Size: 4000
    Direction: Input
    Value: ''
    Parameter: '@wssp4'
    Type: NVarChar
    Size: 4000
    Direction: Input
    Value: ''
    Parameter: '@wssp5'
    Type: UniqueIdentifier
    Size: 0
    Direction:
    Input Value: 'eb7d8a16-18a1-46d7-a35d-36eedccb321b'
    Parameter: '@wssp6'
    Type: VarBinary
    Size: 8000
    Direction: Input
    Parameter: '@wssp7'
    Type: VarBinary
    Size: 8000
    Direction: Input
    Parameter: '@wssp8'
    Type: DateTime
    Size: 0
    Direction: Input
    Value: '04/24/2014 13:49:03'
    Parameter: '@wssp9'
    Type: Bit Size: 0
    Direction: Input
    Value: 'False'
    Parameter: '@wssp10'
    Type: Bit
    Size: 0
    Direction: Input
    Value: 'False'
    Parameter: '@wssp11'
    Type: Int
    Size: 0
    Direction: Input
    Value: ''
    Parameter: '@wssp12'
    Type: UniqueIdentifier
    Size: 0
    Direction: Input
    Value: ''
    Parameter: '@wssp13'
    Type: Bit
    Size: 0
    Direction: Input
    Value: 'False'
    Parameter: '@wssp14'
    Type: Bit
    Size: 0
    Direction: Input
    Value: 'False'
    Parameter: '@wssp15'
    Type: UniqueIdentifier
    Size: 0
    Direction: Input
    Value: 'eb7d8a16-18a1-46d7-a35d-36eedccb321b'
    Parameter: '@wssp16'
    Type: UniqueIdentifier
    Size: 0
    Direction: Input
    Value: 'c3cfb850-7d5e-4fd1-bea7-c2add4127427'
    Parameter: '@wssp17'
    Type: UniqueIdentifier
    Size: 0
    Direction: Input
    Value: 'e97f9667-b512-4af9-8f98-aba92da3d4a2'
    Parameter: '@wssp18'
    Type: TinyInt
    Size: 1
    Direction: Input
    Value: '0'
    Parameter: '@wssp19'
    Type: TinyInt
    Size: 1
    Direction: Input
    Value: '0'
    Parameter: '@wssp20'
    Type: Bit
    Size: 0
    Direction: Input
    Value: 'False'
    Parameter: '@wssp21'
    Type: UniqueIdentifier
    Size: 0
    Direction: Input
    Value: ''
    Parameter: '@wssp22'
    Type: Bit
    Size: 0
    Direction: Input
    Value: 'False'
    Parameter: '@wssp23'
    Type: Int
    Size: 0
    Direction:
    Input Value: '-1'
    Parameter: '@wssp24'
    Type: DateTime
    Size: 0
    Direction: Input
    Value: '04/24/2014 13:49:03'
    Parameter: '@wssp25'
    Type: Int
    Size: 0
    Direction: Input
    Value: ''
    Parameter: '@wssp26'
    Type: Bit
    Size: 0
    Direction: Input
    Value: 'True'
    Parameter: '@wssp27'
    Type: Int
    Size: 0
    Direction: Input
    Value: '112'
    Parameter: '@wssp28'
    Type: Bit
    Size: 0
    Direction: Input
    Value: ''
    Parameter: '@wssp29'
    Type: Int
    Size: 0
    Direction: Input
    Value: '0'
    Parameter: '@wssp30'
    Type: TinyInt
    Size: 1
    Direction: Input
    Value: '1'
    Parameter: '@wssp31'
    Type: Int
    Size: 0
    Direction: Input
    Value: '512'
    Parameter: '@wssp32'
    Type: UniqueIdentifier
    Size: 0
    Direction: Input
    Value: ''
    Parameter: '@wssp33'
    Type: Int
    Size: 0
    Direction: Input
    Value: ''
    Parameter: '@wssp34'
    Type: Bit
    Size: 0
    Direction:
    Input Value: 'False'
    Parameter: '@wssp35'
    Type: Bit
    Size: 0
    Direction: Input
    Value: 'True'
    Parameter: '@wssp36'
    Type: Bit
    Size: 0
    Direction: Input
    Value: 'False'
    Parameter: '@wssp37'
    Type: VarBinary
    Size: 8000
    Direction: Input
    Parameter: '@wssp38'
    Type: NVarChar
    Size: 4000
    Direction: Input
    Value: 'UserLast, UserFirst'
    Parameter: '@wssp39'
    Type: Int
    Size: 0
    Direction: Input
    Value: '0'
    Parameter: '@wssp40'
    Type: NVarChar
    Size: 4000
    Direction: Input
    Value: 'NT AUTHORITY\LOCAL SERVICE'
    Parameter: '@wssp41'
    Type: NVarChar
    Size: 0
    Direction: Input
    Value: ''
    Parameter: '@wssp42'
    Type: NVarChar
    Size: 0
    Direction: Input
    Value: ''
    Parameter: '@wssp43'
    Type: NVarChar
    Size: 0
    Direction:
    Input Value: ''
    Parameter: '@wssp44'
    Type: Bit
    Size: 0
    Direction: Input
    Value: 'False'
    Parameter: '@wssp45'
    Type: Bit
    Size: 0
    Direction: Input
    Value: 'False'
    Parameter: '@wssp46'
    Type: NVarChar
    Size: 0
    Direction: Input
    Value: ''
    Parameter: '@wssp47'
    Type: NVarChar
    Size: 0
    Direction: Input
    Value: ''
    Parameter: '@wssp48'
    Type: Bit
    Size: 0
    Direction: Input
    Value: 'False'
    Parameter: '@wssp49'
    Type: Int
    Size: 0
    Direction: Input
    Value: '82'
    Parameter: '@wssp50'
    Type: VarBinary
    Size: 0
    Direction: Input
    Parameter: '@wssp51'
    Type: VarBinary
    Size: 8000
    Direction: Input
    Parameter: '@wssp52'
    Type: VarBinary
    Size: 0
    Direction: Input
    System.Data.SqlClient.SqlException:
    The EXECUTE permission was denied on the object 'proc_SecAddUser', database 'SharePoint_AdminContent_d4605df0-8a2d-44e0-8805-8d65c4d73d99', schema 'dbo'.
    The EXECUTE permission was denied on the object 'proc_AddListItem', database 'SharePoint_AdminContent_d4605df0-8a2d-44e0-8805-8d65c4d73d99', schema 'dbo'.
    The EXECUTE permission was denied on the object 'proc_UpdateDiskUsed', database 'SharePoint_AdminContent_d4605df0-8a2d-44e0-8805-8d65c4d73d99', schema 'dbo'.
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
    at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
    at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)
    at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock)
    at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock)
    Videntityinfo::isFreshToken reported failure.
    Leaving Monitored Scope (CachedList:HomePage). Execution Time=15.1112
    Leaving Monitored Scope (Load CachedList:151c2f9a-be3a-42ad-a4c6-379cb6ec05ad). Execution Time=825.2132
    Leaving Monitored Scope (Request (GET:https://subsite.contoso.com:443/HomePage/Forms/AllItems.aspx)). Execution Time=966.741

    did you check this post, 
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/5f8003a0-f845-4fb6-8b43-a0a234bcb1ea/the-execute-permission-was-denied-on-the-object-multiple-alerts?forum=sharepointadminprevious
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

Maybe you are looking for

  • How do I delete an event in Calendar.  Edit nor the option to delete appears.

    I am showing events on Calendar which I cannot delete.  The option to Edit or Delete does not appear.  As an option, how can I delete Calendar and start all over?

  • Logic migration problem

    Migrated from a 17" macbook pro running  OS X 10.5.8 to a Mac Mini running OS X 10.8.2 Logic came up in the tool bar grayed out. When opening I get this message... You can't use this version of the application "Logic Pro.app" with this version of OS

  • SAP client copying Profile

    Hi  Gurus; If i choose profile SAP_UCSV (customising and user master records)will this inclde the transactional data also. Is there any other way to copy only master data-excluding the trasactional data. Please update ASAP Thanks and regards Tushar P

  • Final cut pro keyboard layout issue

    Hi everybody, and thanks for your help. I'm Italian, working in Italy, using fcp 6.0.5 with MacOSX 10.6.2 on a laptop and 10.5.x on a Mac Pro, and on both my computers I had big problems because fcp can't match with the Italian keyboard layout withou

  • What is the best video card to edit uncompressed .avi digibeta files.

    I just digitised my digibeta footage into uncompressed .avi video files. I just would like to know what will be the best way to edit using FCP. What video card do I need? What are the best specs that i need to have on a mac pro or a mac book pro. How