STSADM Restore error : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Hi all,
I've been struggling figuring out what permission I need to make this restore work. I've successfully restored site collection on the same web app with the following restore command from the same DAT file before.
stsadm -o restore -url
http://siteurl -filename
\\UNCpath –overwrite\filename.dat
Log file error:
stsadm: Running restore
Initializing the configuration database connection
Starting restore of site collection: 'http://sitename/', requested by: domain\user, source: \\UNCpath\filename.dat
Deleting the site at http://sitename and not deleting AD accounts.
Unknown SPRequest error occurred. More information: 0x80070005
stsadm: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) Callstack:   
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)    
at Microsoft.SharePoint.Library.SPRequest.DeleteSite(String bstrUrl, Boolean bDeleteADAccounts)    
at Microsoft.SharePoint.SPSite.Delete(Boolean bDeleteADAccounts)    
at Microsoft.SharePoint.SPSite.Delete()    
at Microsoft.SharePoint.Administration.SPSiteCollection.Restore(String strSiteUrl, String strFilename, Boolean bOverwrite, Boolean hostHeaderAsSiteName)    
at Microsoft.SharePoint.StsAdmin.SPAdminRestore.RunSiteCollectionRestore(StringDictionary keyValues)    
at Microsoft.SharePoint.StsAdmin.SPAdminRestore.Run(StringDictionary keyValues)    
at Microsoft.SharePoint.StsAdmin.SPStsAdmin....
...RunOperation(SPGlobalAdmin globalAdmin, String strOperation, StringDictionary keyValues, SPParamCollection pars)
Now terminating ULS (STSADM.EXE, Microsoft.Office.Server.Native.dll)
I've made sure I have rights:
1. Either primary/ secondary site collection administrator on the associated web app
2. Made myself owner on the related dbs
3. I'm part of the local admin group on the server running CA and DB.
I know I may have given too much privilege - but I'm sick of seeing this access denied error. As far as I'm concerned permission-wise nothing has been changed from my last successful restore except the fact that I'm overwriting the site collection this time.
I also tried with a fresh DAT file to restore with no luck. 
If someone can give me some other thoughts I would very much appreciate that.
Many thanks in advance -
Blue Sky

Thanks for your reply...
Now we are trying to restore the minsite first ...
Only my content database is at the server2 because of the disk space problem...
Other data bases are at the server1(original) where the website host ...
now, we run the stsadm restore for minisite
at that time error occur,
No content databases are available for this operation. Create a content database, and then try the operation again. To create a content database, click "Content databases" on the Application Management page, select the Web application to use, and then click
"Add a content database". Callstack:    at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.FindBestContentDatabaseForSiteCreation(Guid siteIdToAvoid, Guid webIdToAvoid)     at Microsoft.SharePoint.Administration.SPSiteCollection.Restore(String
strSiteUrl, String strFilename, Boolean bOverwrite, Boolean hostHeaderAsSiteName)     at Microsoft.SharePoint.StsAdmin.SPAdminRestore.RunSiteCollectionRestore(StringDictionary keyValues)     at Microsoft.SharePoint.StsAdmin.SPAdminRestore.Run(StringDictionary
keyValues)  
we set
Central Administration >
Operations >
Default Database Server  to server1 (original)
Central Administration >
Application Management >
Content Databases   to server2\WSS_Content
can we separte the servers like that ??
Thanks ...
M

Similar Messages

  • Unable to load DLL access is denied (exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

    I'm consuming a 32-bit native DLL from a c# web service. Everything works fine locally in VS with IIS express. However when I deployed the site to a shared hosting provider (Server 2012 R2, IIS 7) the calls to the DLL (using platform invoke) generated an exception:
    Unable to load DLL 'dll_name.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    I asked the hosting provider to make sure my process is running in 32-bit mode and they assured me it is.Do I need to do anything special to use native DLLs? Do I have to register native modules with the server before they can be used? Anything to be set on
    the server side to grant access to the DLL?
    Thanks

    Thanks for your reply.
    Tech support tried the following:
    Ran "tasklist /m Detection.dll" It didn't return any processes that would lock the dll.
    Checked the permissions on the dll. The Network Service and app pool identity both had read/write/execute permissions. Just to make sure it wasn't permissions, they added IIS_IUSRS
    with r/w/x. Still didn't work.
    When this exception occurs, the exception.Message reads:
    Unable to load DLL 'Detection.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    However, the exception.HRESULT value is 0x80131524 which it seems to be DLL not found. I'm not sure why there's a difference.
    I recompiled the DLL with the  DetectObject() function removed (See code snippet below), that didn't seem to make any difference (same error codes)
    If I delete the DLL from the /bin folder, I get the following message:
    Unable to load DLL 'Detection.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
    The code that calls the DLL is as follows: 
    public class DllCalls
    [DllImport("kernel32.dll", SetLastError = true)]
    public static extern bool SetDllDirectory(string lpPathName);
    [DllImport("Detection.Dll")]
    public static extern int DetectObject(IntPtr array, int Rows, int Cols, string BaseFolder);
    public static class DetectionApis
    public static int[] DetectRectangle(int[] LumaImage, int LumaStride, Rectangle Rect)
    int DetPts = 0;
    string DstDll = System.Web.HttpContext.Current.Server.MapPath("~/bin");
    DllCalls.SetDllDirectory(DstDll);
    /*=================================================
    * Extract region of interest rectangle
    *================================================*/
    byte[] RoiRect = new byte[Rect.Width * Rect.Height];
    ImagePixels.ExtractRectToBytes(LumaImage, LumaStride, Rect, ref RoiRect);
    /*=================================================
    * Pass array ByRef
    *================================================*/
    int ArraySize = RoiRect.Length;
    byte OneByte = 0;
    IntPtr buffer = Marshal.AllocCoTaskMem(Marshal.SizeOf(OneByte) * ArraySize);
    Marshal.Copy(RoiRect, 0, buffer, RoiRect.Length);
    try
    string BaseFolder = System.Web.HttpContext.Current.Server.MapPath("~/cascades") + "\\";
    DetPts = DllCalls.DetectObject(buffer, Rect.Height, Rect.Width, BaseFolder);
    catch (Exception e)
    LogFile.WriteLogStrg("DetectObject() caused an exception: " + e.Message + "HRESULT = " + e.HResult.ToString("X8"));
    return (null);
    int[] DetPoints = null;
    if (DetPts == 8)
    DetPoints = new int[DetPts * 2];
    Marshal.Copy(buffer, DetPoints, 0, DetPts * 2);
    Marshal.FreeCoTaskMem(buffer);
    return (DetPoints);
    The imported DLL function is as follows:
    #ifdef __cplusplus
    extern "C" {
    #endif
    __declspec(dllexport) int __stdcall DetectObject (int *CharLumaBuf, int Rows, int Cols, char *BaseFolder)
    return(-100);
    #ifdef __cplusplus
    #endif
     Any ideas/suggestions?

  • Error While calling getListItem Webservice : Server was unable to process request. --- Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

    Hi All,
    we are calling sharepoint webservice from our web application but we are getting below error while calling webservice.
    Server was unable to process request. ---> Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    Our code is as below.
    We used below 2 options but we got same error for both scenario,
    1)
                ListService.Lists objLists = new ListService.Lists();
                NetworkCredential objNetworkCredential = new NetworkCredential("username", "password");
                objLists.Credentials = objNetworkCredential;
                System.Xml.XmlNode objXmlNode = objLists.GetListItems("Tasks", null, null, null, null, null, null);
    2)         ListService.Lists objLists = new ListService.Lists();
                objLists.Proxy = new WebProxy("proxyaddress",true);
                NetworkCredential objNetworkCredential = new NetworkCredential("username", "password");
                objLists.Credentials = objNetworkCredential;
                System.Xml.XmlNode objXmlNode = objLists.GetListItems("Tasks", null, null, null, null, null, null);
    Please help me what is the problem while calling this service.
    Thanks in advance.
    Regards,
    Kaivan Shah

    Hi ,
    Here is a similar case ,you can have a look at this .
    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) -Accessing the sharepoint site:
    http://social.msdn.microsoft.com/Forums/en-NZ/sharepointworkflow/thread/5eab2116-7d7c-4bf3-bfa1-48bd8992dded
    Thanks,
    Entan Ming

  • Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))

    I've Main Report + 5 sub report. All of this in a 1 file named _rptBorang.rpt.
    This _rptBorang.rpt consists of
    1. Main Report
    2. _spupimSPMBorang.rpt
    3. _spupimSTPMBorang.rpt
    4. _spupimSijilDiploma.rpt
    5. _spupimKoQ.rpt
    6. _spupimPilihanProg.rpt
    When I preview the report, the Enter values dialog box ask 7 parameters. It's
    1. idx
    2. tbl_MST_Pemohon_idx
    3. tbl_MST_Pemohon_idx(_spupimSPMBorang.rpt)
    4. tbl_MST_Pemohon_idx(_spupimSTPMBorang.rpt)
    5. tbl_MST_Pemohon_idx(_spupimSijilDiploma.rpt)
    6. tbl_MST_Pemohon_idx(_spupimKoQ.rpt)
    7. tbl_MST_Pemohon_idx(_spupimPilihanProg.rpt)
    My ASP.NET code as following,
    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="_cetakBorang.aspx.vb" Inherits="_cetakBorang" title="SPUPIM" %>
    <%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head id="Head1" runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1n" runat="server">
        <div align="center">
            <asp:Label ID="lblMsg" runat="server" ForeColor="Red"></asp:Label>
            <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
                AutoDataBind="true" />
        </div>
        </form>
    </body>
    </html>
    Imports System.configuration
    Imports System.Data.SqlClient
    Imports System.Web.Security
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.CrystalReports.Engine
    Partial Class _cetakBorang
        Inherits System.Web.UI.Page
        Private Const PARAMETER_FIELD_NAME1 As String = "idx"
        Private Const PARAMETER_FIELD_NAME2 As String = "tbl_MST_Pemohon_idx"
        Private Const PARAMETER_FIELD_NAME3 As String = "tbl_MST_Pemohon_idx(_spupimSPMBorang.rpt)"
        Private Const PARAMETER_FIELD_NAME4 As String = "tbl_MST_Pemohon_idx(_spupimSTPMBorang.rpt)"
        Private Const PARAMETER_FIELD_NAME5 As String = "tbl_MST_Pemohon_idx(_spupimSijilDiploma.rpt)"
        Private Const PARAMETER_FIELD_NAME6 As String = "tbl_MST_Pemohon_idx(_spupimKoQ.rpt)"
        Private Const PARAMETER_FIELD_NAME7 As String = "tbl_MST_Pemohon_idx(_spupimPilihanProg.rpt)"
        Dim myReport As New ReportDocument
        'rpt connection
        Public rptSvrNme As String = ConfigurationManager.AppSettings("rptSvrNme").ToString()
        Public rptUsr As String = ConfigurationManager.AppSettings("rptUsr").ToString()
        Public rptPwd As String = ConfigurationManager.AppSettings("rptPwd").ToString()
        Public rptDB As String = ConfigurationManager.AppSettings("rptDB").ToString()
        Private Sub SetCurrentValuesForParameterField(ByVal reportDocument As ReportDocument, ByVal arrayList As ArrayList, ByVal paramFieldName As String)
            Dim currentParameterValues As New ParameterValues()
            For Each submittedValue As Object In arrayList
                Dim parameterDiscreteValue As New ParameterDiscreteValue()
                parameterDiscreteValue.Value = submittedValue.ToString()
                currentParameterValues.Add(parameterDiscreteValue)
            Next
            Dim parameterFieldDefinitions As ParameterFieldDefinitions = reportDocument.DataDefinition.ParameterFields
            Dim parameterFieldDefinition As ParameterFieldDefinition = parameterFieldDefinitions(paramFieldName)
            parameterFieldDefinition.ApplyCurrentValues(currentParameterValues)
        End Sub
        Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
            If Not IsPostBack Then
                publishReport(Convert.ToInt32(Session("applicantIdx")), Convert.ToInt32(Session("applicantIdx")))
            End If
        End Sub
        Private Sub publishReport(ByVal idx As Integer, ByVal tbl_MST_Pemohon_idx As Integer)       
            Try
                Dim reportPath As String = String.Empty
                reportPath = Server.MapPath("_rptBorang.rpt")
                myReport.Load(reportPath)
                myReport.SetDatabaseLogon(rptUsr, rptPwd, rptSvrNme, rptDB)
                Dim arrayList1 As New ArrayList()
                arrayList1.Add(idx)
                SetCurrentValuesForParameterField(myReport, arrayList1, PARAMETER_FIELD_NAME1)
                Dim arrayList2 As New ArrayList()
                arrayList2.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList2, PARAMETER_FIELD_NAME2)
                Dim arrayList3 As New ArrayList()
                arrayList3.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList3, PARAMETER_FIELD_NAME3)
                Dim arrayList4 As New ArrayList()
                arrayList4.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList4, PARAMETER_FIELD_NAME4)
                Dim arrayList5 As New ArrayList()
                arrayList5.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList5, PARAMETER_FIELD_NAME5)
                Dim arrayList6 As New ArrayList()
                arrayList6.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList6, PARAMETER_FIELD_NAME6)
                Dim arrayList7 As New ArrayList()
                arrayList7.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList7, PARAMETER_FIELD_NAME7)
                Dim parameterFields As ParameterFields = CrystalReportViewer1.ParameterFieldInfo
                CrystalReportViewer1.ReportSource = myReport
            Catch ex As Exception
                lblMsg.Text = ex.Message
            End Try
        End Sub
        Protected Sub Page_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Unload
            myReport.Close()
        End Sub
    End Class
    The result was, my ASP.NET return error --- > Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
    I'm stuck
    Really need help
    Edited by: WKM1925 on Feb 22, 2012 11:49 AM

    First off, it would really be nice to have the version of CR you are using. Then
    1) does this report work the CR designer?
    2) What CR SDK are you using?
    3) If .NET, what version?
    4) Web or Win app?
    5) What OS?
    Then, please re-read your post and see if it actually makes any sense. To me, it's just gibberish...
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX

    I am using the following:
    1. Crystal Report 10
    2. .Net Framework 2.0 for developing page aspx page
    3. Oracle Stored Procedure for fetching result set with one input parameter.
    I am getting the following error
    Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
    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.Runtime.InteropServices.COMException: Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
    Source Error:
    Line 30:         crReportDocument.Load(reportPath)
    Line 31:
    Line 32:         crReportDocument.SetParameterValue("LASTNAME", "Gagnon")
    Line 33:
    Line 34:         'Set the ConnectionInfo properties for logging on to the Database
    Source File: C:\UnClient940_TEST1\nbkreports\Reportview.aspx.vb    Line: 32
    Stack Trace:
    [COMException (0x8002000b): Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))]
       CrystalDecisions.ReportAppServer.DataDefModel.FieldsClass.get_Item(Int32 Index) +0
       CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions.get_Item(Int32 index) +44
       CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions.get_Item(String fieldName) +60
       CrystalDecisions.CrystalReports.Engine.ReportDocument.SetParameterValue(String name, Object val) +172
       Reportview.LoadReport() in C:\UnClient940_TEST1\nbkreports\Reportview.aspx.vb:32
       Reportview.Page_Load(Object sender, EventArgs e) in C:\UnClient940_TEST1\nbkreports\Reportview.aspx.vb:26
       System.Web.UI.Control.OnLoad(EventArgs e) +80
       System.Web.UI.Control.LoadRecursive() +49
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3745
    Oracle Stored Procedure Code:
    CREATE OR REPLACE PROCEDURE Test_Procedure (
    Test_Cursor IN OUT Test_Package.Test_Type,
    v_LASTNAME IN Test_Table.LASTNAME%TYPE)
    AS
    BEGIN
    OPEN Test_Cursor FOR
    SELECT *
    FROM Test_Table
    WHERE Test_Table.LASTNAME = v_LASTNAME;
    END Test_Procedure;
    ASPX.NET Page
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.Web
    Imports System.Collections
    Imports System
    Partial Class Reportview
        Inherits System.Web.UI.Page
        Dim crtableLogoninfos As New TableLogOnInfos()
        Dim crtableLogoninfo As New TableLogOnInfo()
        Dim crConnectionInfo As New ConnectionInfo()
        Dim CrTables As Tables
        Dim CrTable As Table
        Dim TableCounter
        Dim reportPath As String '= Server.MapPath("Report1.rpt")
        'Define Variables to read Session variables (Parameter Values)
        Dim s_repID As String, s_repName As String, s_repPath As String, reportPath1 As String
        Public Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            'Session("repid") = Request.QueryString.Item(0)
            s_repID = Session("v_RepID")
            s_repName = Session("v_RepName")
            s_repPath = Session("v_RepPath")
            reportPath1 = s_repPath & s_repName
            reportPath = Server.MapPath(reportPath1)
            LoadReport()
        End Sub
        Private Sub LoadReport()
            Dim crReportDocument As New ReportDocument()
            crReportDocument.Load(reportPath)
            crReportDocument.SetParameterValue("LASTNAME", "Gagnon")
            'Set the ConnectionInfo properties for logging on to the Database
            With crConnectionInfo
                .ServerName = System.Configuration.ConfigurationManager.AppSettings("ServerName")
                'If you are connecting to Oracle there is no DatabaseName. Use an empty string
                .DatabaseName = System.Configuration.ConfigurationManager.AppSettings("DatabaseName")
                .UserID = System.Configuration.ConfigurationManager.AppSettings("UserID")
                .Password = System.Configuration.ConfigurationManager.AppSettings("Password")
            End With
            CrTables = crReportDocument.Database.Tables
            'Loop through each table in the report and apply the LogonInfo information
            For Each CrTable In CrTables
                crtableLogoninfo = CrTable.LogOnInfo
                crtableLogoninfo.ConnectionInfo = crConnectionInfo
                CrTable.ApplyLogOnInfo(crtableLogoninfo)
            Next
            'Set the viewer to the report object to be previewed.
            myCrystalReportViewer.ReportSource = crReportDocument
        End Sub
    End Class
    Any help would be highly appreciated.
    Regards
    Nabeel

    Same problem here.
    Assemblies I'm using are 10.2.3600.0 version.
    Of course, there should really have been a managed exception here rather than a HEX result COM Exception I think ...
    But anyway - I get this error after defining a Parameter Field in the report "Users", and I am simply trying to pass a string array of parameters into the report.
    ParameterFieldDefinition paramField = crDoc.DataDefinition.ParameterFields[0];
    ParameterValues paramVals = paramField.CurrentValues;              
    ParameterFields userParameters = new ParameterFields();
    ParameterField userParameter = new ParameterField();
    //These don't work here
    //userParameter.Name = "Users";
    //userParameter.Name = "@Users";
    userParameter.Name = "?Users";
      foreach (string user in Configuration.UsernamesArray)
      ParameterDiscreteValue userDiscreteReusableValue = new ParameterDiscreteValue();
      userDiscreteReusableValue.Value = user;
      paramVals.Add(userDiscreteReusableValue);
      userParameter.CurrentValues.Add(userDiscreteReusableValue);
      paramField.ApplyCurrentValues(paramVals);
    // Add param object to params collection
    userParameters.Add(userParameter);
    // Assign the params collection to the report viewer
    crystalReportViewer.ParameterFieldInfo = userParameters;
    crystalReportViewer.ReportSource = crDoc;

  • Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) in biztalk pipeline

    I am working pipeline component , where I am reading stream and then promoting properties something like this . As I am using streamreader I added using statement. But when i add this I got error  Reason: Catastrophic failure (Exception from HRESULT:
    0x8000FFFF (E_UNEXPECTED)) . I am not understanding  what it mean? If I removed using statement it works fine no issue. Can somebody explain me. 
    Note: I am planning to convert this code with stream pipeline later. But right now have to maintain below existing code, which I am trying to add using statement.
    if (pInMsg.BodyPart != null)
                        if (originalStream != null)
                             using(StreamReader sReader = new StreamReader(originalStream))
                                  StringBuilder sBuilder = null;
                                  while (sReader.Peek() != -1)
                                        sBuilder = new StringBuilder(sReader.Read());
                                        if (sBuilder.ToString().Substring(0, 2) == "test")
                                            string[] TCount = sBuilder.ToString().Split(SepratorChar.ToCharArray());
                                            testCount= Convert.ToInt32(TCount [1]);
                                    string srcFileName = Path.GetFileName(pInMsg.Context.Read("ReceivedFileName", "http://schemas.microsoft.com/BizTalk/2003/file-properties").ToString());
                                    pInMsg.Context.Promote("EDIFileName", "https://Zones._870.EDIProperty", srcFileName);
                                    pInMsg.Context.Promote("GE02", "https://Zones._870.EDIProperty", testCount);
                                    //originalStream.Seek(0, SeekOrigin.Begin);
                                    //pInMsg.BodyPart.Data = originalStream;
                                    //outMsg = pInMsg;
                                    //outMsg.BodyPart.Data = originalStream;
                    //return outMsg;
                    return pInMsg;

    I think this synatx should solve that issue
    if(BTS.LastInterchangeMessage exists MsgTransaction)
    interChangeSequenceNumber = MsgTransaction(BTS.InterchangeSequenceNumber);
    Sure.

  • Error when re-starting an SQL Server Instance from VBA - [SQL-DMO]Service Control Error: Access is denied.

    Our Application needs to have the use of the [Named Pipes] and [TCP/IP] Protocols.  To save our Users the hassle of having to enable them manually our application has always done it for them and then stopped and restarted SQL Server.  However
    since the advent of Vista and Windows 7, the restart stopped working.  We solved the problem by detecting the failure to re-start and giving Users sufficient instructions for them to do it themselves.  Since this only occurs during installation on
    the Server, this approach has not been too much of a hassle.  However we would like to tidy this up if possible. This the VBA code that is causing the problem:
        obj_SQLServerInstance2.Start _
            g_SQL_UseWindowsAuthentication, _
            SQLServerInstance, _
            UserName, _
            Password
    This still works when run under XP, but fails under Windows 7 with the Error:
    [SQL-DMO]Service Control Error: Access is denied.
    Does anyone know how to resolve the problem?

    This still works when run under XP, but fails under Windows 7 with the Error:
    [SQL-DMO]Service Control Error: Access is denied.
    Hello Brian,
    Under Windows 7 you have to run the VBA script with admin permission, a normal user don't have permissions to start/stop services.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • SharePoint Navigation Error:The context has expired and can no longer be used. (Exception from HRESULT: 0x80090317)

    Hi,
    I take a exeption  on the  SharePoint 2013 left navigation. 
    Exeption:  "The context has expired and can no longer be used. (Exception from HRESULT: 0x80090317)"
    I searched  this exeption keyword on the internet and  I find usualy 3 results
    1)check datetime servers --> I checked datetime for all SP Severs ,DB server and AD server ..there is  no problem
    2)Disabled the WebPageSecurity Validation on CA>General Settings-->I tired  and problem not solved
    3) Reset IIS --> if I restart IIS problem solved  but  after 2-3 hours or anytime  error comes again..
    ULS Log:
    PortalSiteMapProvider was unable to fetch children for node
     at URL: /MySite/MySubSite, message: The context has expired and can no longer be used. (Exception from HRESULT: 0x80090317), stack trace:   
     at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)    
     at Microsoft.SharePoint.Library.SPRequest.SetHttpParameters(String bstrHttpMethod, String bstrRequestDigest, UInt32 flags, Guid gTranLockerId, Byte[]& ppsaImpersonateUserToken, Boolean bIgnoreTimeout, String bstrUserLogin, String bstrUserKey, UInt32
    ulRoleCount, String bstrRoles, Boolean bWindowsMode, String bstrAppPrincipalName, Boolean bIsHostHeaderAppPrincipal, String bstrOriginalAppPrincipalIdentifier, ApplicationPrincipalInfo& pAppUserInfo, Boolean bInvalidateCachedConfigurationProperties, Int32
    lAppDomainId, ISPManagedObjectFactory pFactory, Boolean bCallstack, ISPDataCallback pCanaryCallback)    
     at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(SPSite site, String name, Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[] UserToken, SPAppPrincipalToken appPrincipalToken, String userName, Boolean bIgnoreTokenTimeout,
    Boolean bAsAnonymous)    
     at Microsoft.SharePoint.SPWeb.InitializeSPRequest()    
     at Microsoft.SharePoint.SPWeb.EnsureSPRequest()    
     at Microsoft.SharePoint.SPWeb.get_Request()    
     at Microsoft.SharePoint.Publishing.Navigation.SiteNavigationSettings..ctor(SPSite site)    
     at Microsoft.SharePoint.Publishing.Navigation.SiteNavigationSettings.GetSiteNavigationSettings(SPSite site)    
     at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedTypes, NodeTypes includedHiddenTypes, Boolean trimmingEnabled, OrderingMethod ordering, AutomaticSortingMethod method, Boolean ascending, Int32 lcid)
     at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedTypes, NodeTypes includedHiddenTypes, OrderingMethod ordering, AutomaticSortingMethod method, Boolean ascending, Int32 lcid)    
     at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedHiddenTypes)    
     at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.GetChildNodes(PortalSiteMapNode node, NodeTypes includedHiddenTypes)
    Plaase Help.

    Hi Veli,
    Please check the security token timeout value and it is set to 1440 as expected by default. You can check via running the command:
    stsadm -o getproperty -pn token-timeout
    Then check the OOB recycle times of the probkematic web application pool, and add daily recycle times for the problematic web application pool. You can do as the article:
    http://technet.microsoft.com/en-us/library/cc754494(v=WS.10).aspx
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Report Server srsrp.log - (!) InitializeSrsWhenNeeded error = Access is denied.

    Hello,
    since about one week our sccm primary server shows the following error message in the srsrp.log file every minute:
    Confirmed version [11.0.5058.0] for the Sql Srs Instance. SMS_SRS_REPORTING_POINT 16.07.2014 16:18:25 4100 (0x1004)
    Extract resource language packs if exists SMS_SRS_REPORTING_POINT 16.07.2014 16:18:25 4100 (0x1004)
    Loading localization resources from directory [C:\Program Files\SMS_SRSRP\SrsResources.dll] SMS_SRS_REPORTING_POINT 16.07.2014 16:18:25 4100 (0x1004)
    Looking for 'German (Austria)' resources SMS_SRS_REPORTING_POINT 16.07.2014 16:18:25 4100 (0x1004)
    Looking for 'German' resources SMS_SRS_REPORTING_POINT 16.07.2014 16:18:25 4100 (0x1004)
    Falling back to 'en' resource set SMS_SRS_REPORTING_POINT 16.07.2014 16:18:25 4100 (0x1004)
    Next security configuration at [16.07.2014 16:26:24] SMS_SRS_REPORTING_POINT 16.07.2014 16:18:26 4100 (0x1004)
    Retrieved datasource definition from the server. SMS_SRS_REPORTING_POINT 16.07.2014 16:18:26 4100 (0x1004)
    Updating data source {5C6358F2-4BB6-4a1b-A16E-8D96795D8602} at CM_MED SMS_SRS_REPORTING_POINT 16.07.2014 16:18:26 4100 (0x1004)
    Successfully get report server from Registry SMS_SRS_REPORTING_POINT 16.07.2014 16:18:26 4100 (0x1004)
    Moved folder from /CM_MED to /CM_MED.OLD.1. SMS_SRS_REPORTING_POINT 16.07.2014 16:18:26 4100 (0x1004)
    Created folder [CM_MED]. SMS_SRS_REPORTING_POINT 16.07.2014 16:18:26 4100 (0x1004)
    Creating data source {5C6358F2-4BB6-4a1b-A16E-8D96795D8602} at CM_MED SMS_SRS_REPORTING_POINT 16.07.2014 16:18:26 4100 (0x1004)
    (!) InitializeSrsWhenNeeded error = Access is denied. SMS_SRS_REPORTING_POINT 16.07.2014 16:18:26 4100 (0x1004)
    Failures reported during periodic health check by the SRS Server atmeds172.medel.local. SMS_SRS_REPORTING_POINT 16.07.2014 16:18:26 4100 (0x1004)
    Registry change SMS_SRS_REPORTING_POINT 16.07.2014 16:18:26 4100 (0x1004)
    Waiting for changes for 1 minutes SMS_SRS_REPORTING_POINT 16.07.2014 16:18:26 4100 (0x1004)
    i have spent two days trying to fix this, including:
    - reset the reporting service AD account
    - create a new reporting service AD account
    - change report server to "local system" instead of AD account
    - reinstall the reporting role several times
    - reinstall the entire SQL reporting server service
    - delete the reporting db and all related objects on the filesystem
    - modify permissions of reporting service user (full admin on OS and SQL level, as well as in reporting server roles)
    - install a new vm with SQL server reporting services (the error does not happen on this new machine)
    at the moment, sccm is creating a new "CM_MED.OLD.xxx" folder in reporting server every minute in a loop.
    how can i solve this?
    Environment is Server 2012R2, sccm 2012r2 cu2, SQL 2012 sp2.

    this is what i see in reportserver logs:
    library!ReportServer_0-3!1eec!07/17/2014-08:46:05:: i INFO: Call to CreateFolderAction(ConfigMgr_MED, /).
    library!ReportServer_0-3!1414!07/17/2014-08:46:05:: i INFO: Call to GetDataSourceContentsAction(/ConfigMgr_MED/{5C6358F2-4BB6-4a1b-A16E-8D96795D8602}).
    library!ReportServer_0-3!1414!07/17/2014-08:46:05:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: , Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: The item '/ConfigMgr_MED/{5C6358F2-4BB6-4a1b-A16E-8D96795D8602}'
    cannot be found.;
    library!WindowsService_6!a3c!07/17/2014-08:46:14:: i INFO: Call to CleanBatch()
    library!WindowsService_6!a3c!07/17/2014-08:46:14:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams, 0 segments, 0 segment mappings, 0 edit sessions.
    library!WindowsService_6!a3c!07/17/2014-08:46:14:: i INFO: Call to CleanBatch() ends
    library!ReportServer_0-3!f64!07/17/2014-08:46:35:: i INFO: Call to CreateDataSourceAction({5C6358F2-4BB6-4a1b-A16E-8D96795D8602}, /ConfigMgr_MED, True).
    the "CreateDatSourceAction" seems to complete successfully, as the datasource is created in the ConfigMgr_MED Folder. immediately afterwards i get the error message in srsrp.log.

  • Unspecified Error (exception From Hresult: 0x80004005 (e_fail))

    hello pleasehelp me resplsve Unspecified Error (exception From Hresult: 0x80004005 (e_fail))in visual studio 2013 premium
    am tyring to open anew mysql profect and i get stack there

    Hey Okoth, for a solution to this you can use the solution posted on another
    Forum thread by a Microsoft employee. 
    The solution is to fix your Visual Studio itself. Open the Visual Studio command line
    (now the Windows command prompt) and then follow these steps, 
    Devenv.exe /SafeMode: Launches the IDE in safe mode loading minimal windows.
    Devenv.exe /ResetSettings: Restores the IDE's default settings
    Then it would use the default settings and you will be able to use it. 
    ~!Firewall!~

  • The Deploy Software Updates Wizard completed with errors - Access is Denied

    Hello, I am trying to download some updates that were synced up to the SCCM's database from another WSUS server. I am not able to get it done because the wizard fails with the access is denied error. I checked patchdownloader.log file and saw Error code
    = 5  which means access denied. I tried to change permissions on the "updateservicespackages" folder within the folder, and I have full NTFS permissions for system, administrators, and read only permissions for everyone. Same thing goes for
    the share permissions. My account is in the administrators group. The only way I can get it to work is by granting full permissions to "everyone", but that cannot be security friendly. Which account is "Deploy Software Updates Wizard" using
    so that I can properly give it the required rights?

    Hi,
    You could have a look at the thread below. Lucas used ProcMon that shows an access denied with the user which he was using.  Permission via group wasn't enough. Give your user full share/security access and everything works fine.
    https://social.technet.microsoft.com/Forums/en-US/99859604-a803-43f3-a172-159a500fcb90/the-deploy-software-updates-wizard-completed-with-errors-access-is-denied?forum=configmgrsum
    Best Regards,
    Joyce

  • Error encountered while signing: The Windows Cryptographic Service Provider reported an error: Access was denied because of a security violation. Error Code: 2148532330

    Last night when i tried to sign a document i received the mesage below and after that it says this document can't be signed what can i do to fix this problem.
    Error encountered while signing:
    The Windows Cryptographic Service Provider reported an error:
    Access was denied because of a security violation.
    Error Code: 2148532330

    I assume you are implying "biztax" application here, right?
    I have contacted their program lead, with no result at all.
    Past days I have been searching for a solution - reinstalls / new systems - no solution.
    This issue appeared a week or two ago only.
    I found http://forums.adobe.com/message/5338853 useful - but no positive results either.
    http://test.eid.belgium.be/faq/faq_nl.htm obviously didnt help either.
    If anyone finds a solution to this issue, please do let me know - any help is appreciated.
    Biztax tells to use the "signature", not the "authentication"  - but it is only Auth. that is showing up as option to sign (that works)
    ps, did you fiddle with the Adobe Reader XI security settings and import that PKI etc as well? I hoped that would be the breaktrough. Sadly i'm still crying in my chair.
    Oh, and dont forget: they claim nobody else got this issue. Maybe one or two people. (We got about 8 customers experiencing exactly the same symptoms at the same time )
    >  I noticed that when I try to open the pdf  document that is 'signed' by the government it is not showing the filename in the title bar, but only " - Adobe Reader".    every piece of info helps I guess.
    Obviously last version of Reader   11.0.03

  • Exception from HRESULT: 0x80131904 - Error when creating a team site

    Hi,
    I am a SharePoint Administrator. I have a SharePoint 2010 site collection that had been migrated successfully from MOSS 2007 2 years ago. This site collection has some custom solutions and is very large (~200GB).
    Everything works fine but since last week, I can NOT create any team site as subsite in this site collection. Error message is Exception from HRESULT: 0x80131904 
    I checked SP log and found some errors from SQL Server side:
    05.22.2014 08:30:33.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880i High System.Data.SqlClient.SqlException: Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. 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) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880k High at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) at Microsoft.SharePoint.Library.SPRequestInternalClass.UpdateField(String bstrUrl, String bstrListName, String bstrXML) at Microsoft.SharePoint.Library.SPRequest.UpdateField(String bstrUrl, String bstrListName, String bstrXML) at Microsoft.SharePoint.SPField.set_SchemaXml(String value) at Microsoft.SharePoint.SPList.FixFieldsFromColumnTemplate() at Microsoft.SharePoint.SPWeb.SyncNewLists() at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate) at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.CreateSite() at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.RenderControl(HtmlTextWriter writer) at Microsoft.SharePoint.WebPartPages.SPChrome.RenderPartContents(HtmlTextWriter output, WebPart part) at Microsoft.SharePoint.WebPartPages.SPChrome.RenderWebPart(HtmlTextWriter output, WebPart part) at Microsoft.SharePoint.WebPartPages.WebPartZone.RenderZoneCell(HtmlTextWriter output, Boolean bMoreParts, WebPart part) at Microsoft.SharePoint.WebPartPages.WebPartZone.RenderWebParts(HtmlTextWriter output, ArrayList webParts) at Microsoft.SharePoint.WebPartPages.WebPartZone.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Page.Render(HtmlTextWriter writer) at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryPage.Render(HtmlTextWriter writer) 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_addgallery_aspx.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) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880j High SqlError: 'Incorrect syntax near 'FC7D0500'.' Source: '.Net SqlClient Data Provider' Number: 102 State: 1 Class: 15 Procedure: '' LineNumber: 1 Server: 'ch01sw0482' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880j High SqlError: 'Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'.' Source: '.Net SqlClient Data Provider' Number: 105 State: 1 Class: 15 Procedure: '' LineNumber: 1 Server: 'ch01sw0482' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 5586 Critical Unknown SQL Exception 102 occurred. Additional error information from SQL Server is included below. Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database tzku High ConnectionString: 'Data Source=ch01sw0482;Initial Catalog=SharePoint_Collaboration_GRDRO;Integrated Security=True;Enlist=False;Connect Timeout=15' ConnectionState: Closed ConnectionTimeout: 15 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database tzkv High SqlCommand: 'BEGIN TRAN;UPDATE AllUserData SET nvarchar3 = REPLACE(nvarchar3, ''', '') WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; UPDATE AllUserData SET float2 = CASE WHEN ISNUMERIC(nvarchar3) = 1 AND nvarchar3 != '$' AND nvarchar3 != '.' AND nvarchar3 != ',' AND nvarchar3 != '+' AND nvarchar3 != '-' THEN nvarchar3 ELSE NULL END WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; UPDATE AllUserData SET nvarchar3 = NULL WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; COMMIT TRAN' CommandType: Text CommandTimeout: 0 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database d0d6 High System.Data.SqlClient.SqlException: Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. 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) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80131904 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    I also checked my SQL Server. The tempdb is ok. The content database is fine, have enough free space for data files and log file. 
    Here is log entries that are related to this error:
    05.22.2014 08:30:12.20 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:http://siteurl/_layouts/AddGallery.aspx) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:12.20 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/siteurl 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:12.22 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 90hv Unexpected Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb objects when you are done with all objects obtained from them, but not before. Stack trace: at Microsoft.SharePoint.WebControls.ScriptLink.SharePointClientJs_Register(Page page) at Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page page) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language) at Microsoft.SharePoint.WebControls.ScriptLink.Register(Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Page page, String strKey, String strFile, Boolean localizable) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterCore(Page page, Boolean defer) at Microsoft.SharePoint.WebPartPages.SPWebPartManager.RegisterOWSScript(Page page, SPWeb web) at Microsoft.SharePoint.WebPartPages.WebPartPage.FormOnLoad(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() 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_addgallery_aspx.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) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:12.70 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Fields 88y1 Medium No document templates uploaded for list "$Resources:core,MasterPageGallery;" -- none found for list template "100". 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.08 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Creating Web test). Execution Time=4832.14849932044 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.37 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 85m6 Medium Applying web template 'STS#0' on web url 'http://siteurl/test' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.37 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 85m7 Medium Actual web template to apply to Url 'http://siteurl/test' is 'STS#0' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.37 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72h7 Medium Applying template "STS#0" to web at URL "http://siteurl/test". 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.86 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8l1c Medium Preparing 21 features for activation 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.87 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8l1d Medium Feature Activation: Batch Activating Features at URL http://siteurl/test 'AnnouncementsList' (ID: '00bfea71-d1ce-42de-9c63-a44004ce0104'), 'ContactsList' (ID: '00bfea71-7e6d-4186-9ba8-c047ac750105'), 'CustomList' (ID: '00bfea71-de22-43b2-a848-c05709900100'), 'DataSourceLibrary' (ID: '00bfea71-f381-423d-b9d1-da7a54c50110'), 'DiscussionsList' (ID: '00bfea71-6a49-43fa-b535-d15c05500108'), 'DocumentLibrary' (ID: '00bfea71-e717-4e80-aa17-d0c71b360101'), 'EventsList' (ID: '00bfea71-ec85-4903-972d-ebe475780106'), 'ExternalList' (ID: '00bfea71-9549-43f8-b978-e47e54a10600'), 'GanttTasksList' (ID: '00bfea71-513d-4ca0-96c2-6a47775c0119'), 'GridList' (ID: '00bfea71-3a1d-41d3-a0ee-651d11570120'), 'IssuesList' (ID: '00bfea71-5932-4f9c-ad71-1557e5751100'), 'LinksList' (ID: '00bfea71-2062-426c-90bf-714c59600103'), 'NoCodeWorkflowLibrary' (ID: '00bfea71-f600-43f6-a895-40c0de7b0117'), 'PictureLibrary' (ID: '00bfea71-52d4-45b3-b544-b1c71b620109'), 'SurveysList' (ID: '00bfea71-eb8a-40b1-80c7-506be7590102'), 'TasksList' (ID: '00bfea71-a83e-497e-9ba0-7a5c597d0107'), 'WebPageLibrary' (ID: '00bfea71-c796-4402-9f2f-0eb9a6e71b18'), 'workflowProcessList' (ID: '00bfea71-2d77-4a75-9fca-76516689e21a'), 'WorkflowHistoryList' (ID: '00bfea71-4ea5-48d4-a4ad-305cf7030140'), 'XmlFormLibrary' (ID: '00bfea71-1e1d-4562-b56a-f05371bb0115'), 'TeamCollab' (ID: '00bfea71-4ea5-48d4-a4ad-7ea5c011abe5'), . 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.94 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8l1f Medium Feature Activation: Batch Activated Features at URL http://siteurl/test 'AnnouncementsList' (ID: '00bfea71-d1ce-42de-9c63-a44004ce0104'), 'ContactsList' (ID: '00bfea71-7e6d-4186-9ba8-c047ac750105'), 'CustomList' (ID: '00bfea71-de22-43b2-a848-c05709900100'), 'DataSourceLibrary' (ID: '00bfea71-f381-423d-b9d1-da7a54c50110'), 'DiscussionsList' (ID: '00bfea71-6a49-43fa-b535-d15c05500108'), 'DocumentLibrary' (ID: '00bfea71-e717-4e80-aa17-d0c71b360101'), 'EventsList' (ID: '00bfea71-ec85-4903-972d-ebe475780106'), 'ExternalList' (ID: '00bfea71-9549-43f8-b978-e47e54a10600'), 'GanttTasksList' (ID: '00bfea71-513d-4ca0-96c2-6a47775c0119'), 'GridList' (ID: '00bfea71-3a1d-41d3-a0ee-651d11570120'), 'IssuesList' (ID: '00bfea71-5932-4f9c-ad71-1557e5751100'), 'LinksList' (ID: '00bfea71-2062-426c-90bf-714c59600103'), 'NoCodeWorkflowLibrary' (ID: '00bfea71-f600-43f6-a895-40c0de7b0117'), 'PictureLibrary' (ID: '00bfea71-52d4-45b3-b544-b1c71b620109'), 'SurveysList' (ID: '00bfea71-eb8a-40b1-80c7-506be7590102'), 'TasksList' (ID: '00bfea71-a83e-497e-9ba0-7a5c597d0107'), 'WebPageLibrary' (ID: '00bfea71-c796-4402-9f2f-0eb9a6e71b18'), 'workflowProcessList' (ID: '00bfea71-2d77-4a75-9fca-76516689e21a'), 'WorkflowHistoryList' (ID: '00bfea71-4ea5-48d4-a4ad-305cf7030140'), 'XmlFormLibrary' (ID: '00bfea71-1e1d-4562-b56a-f05371bb0115'), 'TeamCollab' (ID: '00bfea71-4ea5-48d4-a4ad-7ea5c011abe5'), . 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.95 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'MobilityRedirect' (ID: 'f41cc668-37e5-4743-b4a8-74d1db3fd8a4') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.97 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72ix Medium Not enough information to determine a list for module "mobile". Assuming no list for this module. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.00 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'MobilityRedirect' (ID: 'f41cc668-37e5-4743-b4a8-74d1db3fd8a4') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.00 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Feature Activation: Activating Feature 'MobilityRedirect' (ID: 'f41cc668-37e5-4743-b4a8-74d1db3fd8a4') at URL http://siteurl/test.). Execution Time=48.2382537445402 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.00 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'WikiPageHomePage' (ID: '00bfea71-d8fe-4fec-8dad-01c19a6e4053') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.00 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75fb Medium Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'WikiPageHomePage' (ID: '00bfea71-d8fe-4fec-8dad-01c19a6e4053'). 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070002 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72k4 Medium <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8kh7 High <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070002 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72k4 Medium <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8kh7 High <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070002 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72k4 Medium <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8kh7 High <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:19.31 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e1f High Failed to find the XML file at location '14\Template\Features\FacetedSearch\feature.xml' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:19.31 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8gru Medium Exception thrown while determining definition for Feature with ID '4ad6146d-6ada-4931-ab81-0e179de7008e': Microsoft.SharePoint.SPException: Failed to find the XML file at location '14\Template\Features\FacetedSearch\feature.xml' at Microsoft.SharePoint.SPXmlDocCache.GetGlobalXmlDocument(String pathTemplateRelativeXml, SPFeatureDefinition featdef) at Microsoft.SharePoint.Administration.SPFarmFeatureDefinitionContext.LoadFileAsXmlDocument(SPFeatureDefinition featdef, String featureRelativePath) at Microsoft.SharePoint.Administration.SPFeatureDefinition.EnsureGlobalDefinition() at Microsoft.SharePoint.Administration.SPFeatureDefinition.EnsureElementManifestList() at Microsoft.SharePoint.Administration.SPFeatureDefinition.GetElementDefinitions(CultureInfo ciElements) at Microsoft.SharePoint.SPElementProvider.QueryForElementsJoinOR[TElementType](List`1 lstdictAttrPatterns, List`1 lstfeatdefsOfInterest, List`1 listofOptionalElementsToQuery, CultureInfo ciElements, Int32 webUIVersion). Skipping this feature for element querying consideration. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:19.31 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Template Cache g09v Medium Caching global fields. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:20.17 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (List Creation: SitePages). Execution Time=2121.04722806949 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:20.17 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070002 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:20.17 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72k4 Medium <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:20.17 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8kh7 High <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:21.33 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=261.695550691499 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:21.88 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (List Creation: SiteAssets). Execution Time=1697.65654573416 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:22.41 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72nz Medium Videntityinfo::isFreshToken reported failure. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:26.45 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData#1). Execution Time=3056.27083889153 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.14 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (DocId.ItemChangedInternal). Execution Time=5035.19776954892 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.14 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Event Receiver (Microsoft.Office.DocumentManagement, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, Microsoft.Office.DocumentManagement.Internal.DocIdHandler)). Execution Time=5098.96313637627 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.25 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=86.6235792537878 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.78 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData#1). Execution Time=176.816606579887 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.95 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (DocId.ItemChangedInternal). Execution Time=438.837617630174 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.95 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Event Receiver (Microsoft.Office.DocumentManagement, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, Microsoft.Office.DocumentManagement.Internal.DocIdHandler)#2). Execution Time=439.110557347372 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.02 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'WikiPageHomePage' (ID: '00bfea71-d8fe-4fec-8dad-01c19a6e4053') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.02 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Feature Activation: Activating Feature 'WikiPageHomePage' (ID: '00bfea71-d8fe-4fec-8dad-01c19a6e4053') at URL http://siteurl/test.). Execution Time=10017.3097418806 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.06 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'RelatedLinksScopeSettingsLink' (ID: 'e8734bb6-be8e-48a1-b036-5a40ff0b8a81') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.06 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'RelatedLinksScopeSettingsLink' (ID: 'e8734bb6-be8e-48a1-b036-5a40ff0b8a81') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.06 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'SlideLibrary' (ID: '0be49fe9-9bc9-409d-abf9-702753bd878d') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.08 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'SlideLibrary' (ID: '0be49fe9-9bc9-409d-abf9-702753bd878d') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.08 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'BaseWeb' (ID: '99fe402e-89a0-45aa-9163-85342e865dc8') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'BaseWeb' (ID: '99fe402e-89a0-45aa-9163-85342e865dc8') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'ObaSimpleSolution' (ID: 'd250636f-0a26-4019-8425-a5232d592c01') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'ObaSimpleSolution' (ID: 'd250636f-0a26-4019-8425-a5232d592c01') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Feature Infrastructure 8e14 Medium Feature 'SlideLibrary' (ID: '0be49fe9-9bc9-409d-abf9-702753bd878d') was already activated at scope 'http://siteurl/test'. No further action necessary for this feature. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'MetaDataNav' (ID: '7201d6a4-a5d3-49a1-8c19-19c4bac6e668') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75fb Medium Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'MetaDataNav' (ID: '7201d6a4-a5d3-49a1-8c19-19c4bac6e668'). 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.11 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'MetaDataNav' (ID: '7201d6a4-a5d3-49a1-8c19-19c4bac6e668') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.11 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Feature Activation: Activating Feature 'MetaDataNav' (ID: '7201d6a4-a5d3-49a1-8c19-19c4bac6e668') at URL http://siteurl/test.). Execution Time=17.9978181584531 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.75 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Office Parser ey9c Medium Metadata parse dirty the file, Csi PreserveCellStorageStateInFfm skipped 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.75 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Office Parser ey9f Medium Metadata demote dirty the file, Csi PreserveCellStorageStateInFfm skipped 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:31.06 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72ix Medium Not enough information to determine a list for module "Default". Assuming no list for this module. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:31.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General tkmz Medium The WebPartOrder attribute is unspecified, a default of 1 will be used. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:31.19 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72h8 Medium Successfully applied template "STS#0" to web at URL "http://siteurl/test". 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:31.19 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Applying Named Web Template: STS#0). Execution Time=13810.9050172578 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:32.66 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=7.89876925698657 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880i High System.Data.SqlClient.SqlException: Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. 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) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880k High at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) at Microsoft.SharePoint.Library.SPRequestInternalClass.UpdateField(String bstrUrl, String bstrListName, String bstrXML) at Microsoft.SharePoint.Library.SPRequest.UpdateField(String bstrUrl, String bstrListName, String bstrXML) at Microsoft.SharePoint.SPField.set_SchemaXml(String value) at Microsoft.SharePoint.SPList.FixFieldsFromColumnTemplate() at Microsoft.SharePoint.SPWeb.SyncNewLists() at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate) at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.CreateSite() at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.RenderControl(HtmlTextWriter writer) at Microsoft.SharePoint.WebPartPages.SPChrome.RenderPartContents(HtmlTextWriter output, WebPart part) at Microsoft.SharePoint.WebPartPages.SPChrome.RenderWebPart(HtmlTextWriter output, WebPart part) at Microsoft.SharePoint.WebPartPages.WebPartZone.RenderZoneCell(HtmlTextWriter output, Boolean bMoreParts, WebPart part) at Microsoft.SharePoint.WebPartPages.WebPartZone.RenderWebParts(HtmlTextWriter output, ArrayList webParts) at Microsoft.SharePoint.WebPartPages.WebPartZone.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Page.Render(HtmlTextWriter writer) at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryPage.Render(HtmlTextWriter writer) 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_addgallery_aspx.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) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880j High SqlError: 'Incorrect syntax near 'FC7D0500'.' Source: '.Net SqlClient Data Provider' Number: 102 State: 1 Class: 15 Procedure: '' LineNumber: 1 Server: 'ch01sw0482' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880j High SqlError: 'Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'.' Source: '.Net SqlClient Data Provider' Number: 105 State: 1 Class: 15 Procedure: '' LineNumber: 1 Server: 'ch01sw0482' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 5586 Critical Unknown SQL Exception 102 occurred. Additional error information from SQL Server is included below. Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database tzku High ConnectionString: 'Data Source=ch01sw0482;Initial Catalog=SharePoint_Collaboration_GRDRO;Integrated Security=True;Enlist=False;Connect Timeout=15' ConnectionState: Closed ConnectionTimeout: 15 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database tzkv High SqlCommand: 'BEGIN TRAN;UPDATE AllUserData SET nvarchar3 = REPLACE(nvarchar3, ''', '') WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; UPDATE AllUserData SET float2 = CASE WHEN ISNUMERIC(nvarchar3) = 1 AND nvarchar3 != '$' AND nvarchar3 != '.' AND nvarchar3 != ',' AND nvarchar3 != '+' AND nvarchar3 != '-' THEN nvarchar3 ELSE NULL END WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; UPDATE AllUserData SET nvarchar3 = NULL WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; COMMIT TRAN' CommandType: Text CommandTimeout: 0 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database d0d6 High System.Data.SqlClient.SqlException: Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. 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) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80131904 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e1d High Deleting the web at http://siteurl/test . 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:35.36 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Render WebPart AddGalleryWebPart). Execution Time=23135.9471664695 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:35.36 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Render WebPart Zone g_77836901A6DE4DAC9F882928CFDFC358). Execution Time=23136.0167283831 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:35.36 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://siteurl/_layouts/AddGallery.aspx)). Execution Time=23153.4689464722 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    Any suggestions as how to resolve this issue?
    Best regard,
    Nhat Phan
    Nhat Phan

    Hi,
    Please try creating other sites liike publishing site to check if error persists?
    Refer the links
    http://spdiaries.net/fix-exception-hresult-0x80131904/ 
    if you want to shrink the logs.
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • „The system cannot find the file specified. (Exception from HRESULT: 0x80070002)" - Error when trying to create an new controlled GPO

    Hello,
    we were planning to Upgrade from AGPM 4.0 to AGPM 4.0 SP2. The new AGPM should be placed on a new server. Additionally we created a new service account as the password of the old service account has been lost. We granted the new service account Full Rights
    in "Domain Delegeation" and "Product Delegation", then stopped the AGPM Service on the old server.
    On the new server AGPM was installed using the new service account, then the service was stopped and the archive was copied rom the old to the new server. The customer could edit policies, but not deploy them. Because of this, we changed back to the old
    server, but copied the folders that were changed on the new server to keep them up to date.
    Now creating a controlled Group Policy from a template causes the error
    „The system cannot find the file specified. (Exception from HRESULT: 0x80070002). We tried several templates and even created new ones but the problem persists.
    The following things do work:
    - editing a controlled policy
    - renaming a controlled policy
    - check in/check out of a policy
    - set a uncontrolled policy to controlled (needs to grant the serviceaccount Full rights to the policy before)
    - deletion of a controlled policy
    - creating a template from a policy
    Thank you in advance for your help.

    0x80070002 usually means that the source could not be found or located. Make sue that the FQDN path to your templates is the correct one as well as your DNS is
    properly configured.
    sharing some manuals @: http://1drv.ms/1kk6u6j

  • SSRS Reports " Failed to unload app domain DefaultDomain.The following exception occurred: Error while unloading appdomain. (Exception from HRESULT: 0x80131015). error

    Hi,
    I'm using SQL Server 2008R2 Reporting Services.
    When i click on Web Services URL link it throws the below error.
    "Report Server has encountered a SharePoint error. (rsSharePointError) Get Online Help
    The system cannot find the path specified. (Exception from HRESULT: 0x80070003)"
    and in the Event viewer i can see the below error for reporting services.
    "Failed to unload app domain DefaultDomain.  The following exception occurred: Error while unloading appdomain. (Exception from HRESULT: 0x80131015)."
    Any help would be greatly appreciated.

    Related thread has a solution:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/e97b0c14-c428-4b83-b5a2-dc58eb6be258/ssrs-2008-failed-to-unload-app-domain-defaultdomain-exception-from-hresult-0x80131015?forum=sqlreportingservices
    Kalman Toth Database & OLAP Architect
    Free T-SQL Scripts
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

Maybe you are looking for

  • Adobe after effects not responding, ever!

    I have been having this issue for a long time and cant seem to find a solution, maybe I am wording it wrong, i dont know. It worked just fine for about a year, but now basically every single time I open adobe after effects cs5 it works for about 1-2

  • Problem: Finder opening in different location

    Hello there, I just recently bought my new MBP 13'' (currently running Mountain Lion) and here's my problem: I have set Finder (in Finder's preferences) to open in the "Documents" folder whenever I open a new Finder window. This works great except th

  • Small NAT table on EA3500

    i was thinking about buying EA3500 but it has only 64MB ram +  it support only 1024 Maximum Simultaneous Connections ( it that joke from linksys or what ) and only  224 Total Simultaneous Throughput so 1 or 2 torrent and the Nat table will be filled 

  • How can i force flush database in toplink?pls help me

    Just like hibernate's session.flush().

  • File Connection Error (IOException: Root is not accessible)

    Hi I have to read the text file from resourse folder. I have writen the following InputConnection fc = (FileConnection)Connector.open("file:///C:/WTK22/apps/OpenFile/res/hello.txt"); but it give me some runtime error like IOException: Root is not acc