locked
Update Server - Problem when uploading a file RRS feed

  • Question

  • Hi everybody,

    We have deployed a Standard Edition OCS 2007 Server (all roles) and it is working fine for IM, Web Conference and A/V conference accesing both from the internal and the external network (we do have also an Edge Server and a Mediation one).

    Furthermore we have deployed the Update Server by installing, with no error (twice), the Windows Sharepoint Server into a new Windows Server R2 machine and the Update Service into our OCS SE machine. Everything seems to be running fine but whenever I try to manually upload a file into WSS from Update Server Management Console I always get an error "Unsuccessfully upload" and I can't see any file into "Updates pending for approval" in the UPdate Service web. However, the strangest thing is that I can see the files completely uploaded into WSS server!!!

    I have tested some solutions related to http timeouts when uploading a file into the server but no one seems to have worked. I don't really think it's the same problem as I don't get the same logs from Update Server and WSS.

    Here you can see the logs I extracted from Update Server WSS and WSS properly

    UpdatePackageHandlerLogs_ocs_12012008.log ->

    Debug        :
    12/01/2008 11:25:28, Debug        : -------------------------------------
    12/01/2008 11:25:28, Debug        : Started Upload Updates From Cab Call
    12/01/2008 11:25:28, Debug        :
    #Sharepoint Server Path : http://update.teldat.com/sites/ucupdateserver/
    #Updates Path : Updates/
    #Approval Path : Server/DB/
    #Temp Extract Path : C:\Archivos de programa\Microsoft Office Communications Server 2007\Web Components\UC Device Updates\Management Console\LCS
    #Log Path : Logs/Server/Debug/UpdatePackageHandler/
    12/01/2008 11:25:28, Debug        : Started Reading Cab file C:\Archivos de programa\Microsoft Office Communications Server 2007\Web Components\UC Device Updates\Management Console\LCS/633637275237392552\UCUpdates.cab
    12/01/2008 11:25:28, Debug        : Extracted all files under temp location C:\Archivos de programa\Microsoft Office Communications Server 2007\Web Components\UC Device Updates\Management Console\LCS\2bceee90-dd7f-49cf-9d04-86c42a8c85b8
    12/01/2008 11:25:29, Debug        : Converted UpdatesInfo.xml into new format
    12/01/2008 11:27:08, Exception    : Exception: Exception While Uploading file Updates/CPE.nbtFailed to upload file CPE.nbt under path UCPhone/Polycom/CX700/A/ESN/CPE   en UPHService.UploadToSharepoint(String TempExtractedPath, DataSet dsUpdateInfo)
    12/01/2008 11:27:27, Exception    : Exception: Exception While Uploading file Updates/CPE.nbtFailed to upload file CPE.nbt under path UCPhone/LG-Nortel/IP8540/A/ESN/CPE   en UPHService.UploadToSharepoint(String TempExtractedPath, DataSet dsUpdateInfo)
    12/01/2008 11:27:47, Exception    : Exception: Exception While Uploading file Updates/CPE.nbtFailed to upload file CPE.nbt under path UCPhone/Microsoft/CPE/A/ESN/CPE   en UPHService.UploadToSharepoint(String TempExtractedPath, DataSet dsUpdateInfo)
    12/01/2008 11:28:13, Exception    : Exception: Exception While Uploading file Updates/CPE.nbtFailed to upload file CPE.nbt under path UCPhone/Microsoft/CPE/DV2/ESN/CPE   en UPHService.UploadToSharepoint(String TempExtractedPath, DataSet dsUpdateInfo)
    12/01/2008 11:28:40, Exception    : Exception: Exception While Uploading file Updates/CPE.nbtFailed to upload file CPE.nbt under path UCPhone/Microsoft/CPE/DV3/ESN/CPE   en UPHService.UploadToSharepoint(String TempExtractedPath, DataSet dsUpdateInfo)
    12/01/2008 11:29:00, Exception    : Exception: Exception While Uploading file Updates/CPE.nbtFailed to upload file CPE.nbt under path UCPhone/Microsoft/CPE/PV1/ESN/CPE   en UPHService.UploadToSharepoint(String TempExtractedPath, DataSet dsUpdateInfo)
    12/01/2008 11:29:21, Exception    : Exception: Exception While Uploading file Updates/CPE.nbtFailed to upload file CPE.nbt under path UCPhone/Microsoft/CPE/PV2/ESN/CPE   en UPHService.UploadToSharepoint(String TempExtractedPath, DataSet dsUpdateInfo)
    12/01/2008 11:29:40, Exception    : Exception: Exception While Uploading file Updates/CPE.nbtFailed to upload file CPE.nbt under path UCPhone/Microsoft/CPE/PV3/ESN/CPE   en UPHService.UploadToSharepoint(String TempExtractedPath, DataSet dsUpdateInfo)
    12/01/2008 11:29:40, Debug        : Completed Upload to sharepoint server
    12/01/2008 11:29:40, Exception    : Exception: UploadUnApprovedXMLToSharepoint Method Colecci??n modificada; la operaci??n de enumeraci??n no se puede ejecutar.   en System.Data.RBTree`1.RBTreeEnumerator.MoveNext()
       en UPHService.UploadUnApprovedXMLToSharepoint(String TempExtractedPath)
    12/01/2008 11:29:40, Debug        : Deleted all files under temp location  C:\Archivos de programa\Microsoft Office Communications Server 2007\Web Components\UC Device Updates\Management Console\LCS\2bceee90-dd7f-49cf-9d04-86c42a8c85b8
    12/01/2008 11:29:40, Debug        : Calling Clear Cache for Image Updates
    12/01/2008 11:29:40, Debug        : End Upload Updates From Cab Call
    12/01/2008 11:29:40, Debug        : -------------------------------------

    WSS log ->

    11/25/2008 19:38:17  9  INF            This machine is joined to a farm, we can continue with validation
    11/25/2008 19:38:17  9  INF            Entering function ServicesTask.InstallServices
    11/25/2008 19:38:17  9  INF              Services registry key is Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services
    11/25/2008 19:38:17  9  INF              Entering function RegistryHelper.RegistryHelper
    11/25/2008 19:38:17  9  INF                The RegistryHelper has the key name as Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services and the registry hive as LocalMachine
    11/25/2008 19:38:17  9  INF              Leaving function RegistryHelper.RegistryHelper
    11/25/2008 19:38:17  9  INF              Trying to find registry key path Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services and its sub keys
    11/25/2008 19:38:17  9  INF              Entering function ServicesTask.GetSubKeys
    11/25/2008 19:38:17  9  INF                Trying to open registry hive LocalMachine, key Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services
    11/25/2008 19:38:17  9  INF                Found registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services, and a SubKeyCount of 2
    11/25/2008 19:38:17  9  INF              Leaving function ServicesTask.GetSubKeys
    11/25/2008 19:38:17  9  INF              Found 2 SPService(s) under HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services
    11/25/2008 19:38:17  9  INF              Going to update SPService in registry at Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services\Microsoft.SharePoint.Administration.SPDiagnosticsService in configdb
    11/25/2008 19:38:17  9  INF              Entering function ServicesTask.InstallServiceInConfigDB
    11/25/2008 19:38:17  9  INF                Entering function get CommandCollection.this[string key]
    11/25/2008 19:38:17  9  INF                  Entering function CommandCollectionBase.Get
    11/25/2008 19:38:17  9  INF                    Found value in collection for key initialize
    11/25/2008 19:38:17  9  INF                  Leaving function CommandCollectionBase.Get
    11/25/2008 19:38:17  9  INF                  Found command initialize in collection
    11/25/2008 19:38:17  9  INF                Leaving function get CommandCollection.this[string key]
    11/25/2008 19:38:17  9  INF                Entering function Command.this[string key]
    11/25/2008 19:38:17  9  INF                  Entering function CommandCollectionBase.Get
    11/25/2008 19:38:17  9  INF                    Found value in collection for key SINGLESERVER
    11/25/2008 19:38:17  9  INF                  Leaving function CommandCollectionBase.Get
    11/25/2008 19:38:17  9  INF                  Found parameter SINGLESERVER in collection
    11/25/2008 19:38:17  9  INF                Leaving function Command.this[string key]
    11/25/2008 19:38:17  9  INF                Trying to call the constructor for the service in registry Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services\Microsoft.SharePoint.Administration.SPDiagnosticsService
    11/25/2008 19:38:17  9  INF                Entering function ServicesTask.InvokeServiceConstructor
    11/25/2008 19:38:17  9  INF                  Trying to get the SolutionId registry key from under Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services\Microsoft.SharePoint.Administration.SPDiagnosticsService
    11/25/2008 19:38:17  9  INF                  Entering function RegistryHelper.RegistryHelper
    11/25/2008 19:38:17  9  INF                    The RegistryHelper has the key name as Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services\Microsoft.SharePoint.Administration.SPDiagnosticsService and the registry hive as LocalMachine
    11/25/2008 19:38:17  9  INF                  Leaving function RegistryHelper.RegistryHelper
    11/25/2008 19:38:17  9  INF                  Entering function RegistryHelper.GetStringValue
    11/25/2008 19:38:17  9  INF                    Entering function RegistryHelper.GetValue
    11/25/2008 19:38:17  9  INF                    Leaving function RegistryHelper.GetValue
    11/25/2008 19:38:17  9  INF                  Leaving function RegistryHelper.GetStringValue
    11/25/2008 19:38:17  9  INF                  Did not find a SolutionId value for HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services\Microsoft.SharePoint.Administration.SPDiagnosticsService in the registry
    11/25/2008 19:38:17  9  INF                  Trying to get the AssemblyQualifiedName registry key from under Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services\Microsoft.SharePoint.Administration.SPDiagnosticsService
    11/25/2008 19:38:17  9  INF                  Entering function TaskCommon.RegistryHelperGetStringRegistryValue
    11/25/2008 19:38:17  9  INF                    Searching for registry key Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services\Microsoft.SharePoint.Administration.SPDiagnosticsService\AssemblyQualifiedName
    11/25/2008 19:38:17  9  INF                    Entering function RegistryHelper.RegistryHelper
    11/25/2008 19:38:17  9  INF                      The RegistryHelper has the key name as Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services\Microsoft.SharePoint.Administration.SPDiagnosticsService and the registry hive as LocalMachine
    11/25/2008 19:38:17  9  INF                    Leaving function RegistryHelper.RegistryHelper
    11/25/2008 19:38:17  9  INF                    Entering function TaskCommon.RegistryHelperGetStringRegistryValue
    11/25/2008 19:38:17  9  INF                      Trying to get value AssemblyQualifiedName from HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services\Microsoft.SharePoint.Administration.SPDiagnosticsService
    11/25/2008 19:38:17  9  INF                      Entering function RegistryHelper.GetStringValue
    11/25/2008 19:38:17  9  INF                        Entering function RegistryHelper.GetValue
    11/25/2008 19:38:17  9  INF                        Leaving function RegistryHelper.GetValue
    11/25/2008 19:38:17  9  INF                      Leaving function RegistryHelper.GetStringValue
    11/25/2008 19:38:17  9  INF                      Successfully got value for AssemblyQualifiedName from HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services\Microsoft.SharePoint.Administration.SPDiagnosticsService in the regsitry
    11/25/2008 19:38:17  9  INF                    Leaving function TaskCommon.RegistryHelperGetStringRegistryValue
    11/25/2008 19:38:17  9  INF                  Leaving function TaskCommon.RegistryHelperGetStringRegistryValue
    11/25/2008 19:38:17  9  INF                  Retrieved the assembly qualified name Microsoft.SharePoint.Administration.SPDiagnosticsService, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C from Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services\Microsoft.SharePoint.Administration.SPDiagnosticsService\AssemblyQualifiedName
    11/25/2008 19:38:17  9  INF                  Getting the ServiceName registry value from under Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services\Microsoft.SharePoint.Administration.SPDiagnosticsService
    11/25/2008 19:38:17  9  INF                  Entering function RegistryHelper.GetStringValue
    11/25/2008 19:38:17  9  INF                    Entering function RegistryHelper.GetValue
    11/25/2008 19:38:17  9  INF                    Leaving function RegistryHelper.GetValue
    11/25/2008 19:38:17  9  INF                  Leaving function RegistryHelper.GetStringValue
    11/25/2008 19:38:17  9  INF                  Did not find a ServiceName name for HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services\Microsoft.SharePoint.Administration.SPDiagnosticsService in the registry
    11/25/2008 19:38:17  9  INF                  No ServiceName for HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services\Microsoft.SharePoint.Administration.SPDiagnosticsService in the registry
    11/25/2008 19:38:17  9  INF                  Entering function TaskCommon.ReflectionHelperInvokeConstructor
    11/25/2008 19:38:17  9  INF                    Trying to get the type for assembly Microsoft.SharePoint.Administration.SPDiagnosticsService, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C
    11/25/2008 19:38:17  9  INF                    Type for assembly Microsoft.SharePoint.Administration.SPDiagnosticsService, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C is Microsoft.SharePoint.Administration.SPDiagnosticsService.  Now, calling the constructor...
    11/25/2008 19:38:17  9  INF                    Successfully invoked the constructor for assembly Microsoft.SharePoint.Administration.SPDiagnosticsService, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C.  Object returned is SPDiagnosticsService Parent=SPFarm Name=SharePoint_Config_72428f9f-fa70-49fa-b703-9dee0350b87e
    11/25/2008 19:38:17  9  INF                  Leaving function TaskCommon.ReflectionHelperInvokeConstructor
    11/25/2008 19:38:17  9  INF                  Successfully called the constructor for Microsoft.SharePoint.Administration.SPDiagnosticsService, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C
    11/25/2008 19:38:17  9  INF                Leaving function ServicesTask.InvokeServiceConstructor
    11/25/2008 19:38:17  9  INF                Found friendly name for service Microsoft.SharePoint.Administration.SPDiagnosticsService as Windows SharePoint Diagnostics Service
    11/25/2008 19:38:17  9  INF                Calling SPService.Update for Microsoft.SharePoint.Administration.SPDiagnosticsService
    11/25/2008 19:38:17  9  ERR                Task services has failed with an unknown exception
    11/25/2008 19:38:17  9  ERR                Exception: System.Security.SecurityException: Access denied.
       at Microsoft.SharePoint.Administration.SPPersistedObject.Update()
       at Microsoft.SharePoint.Administration.SPService.Update()
       at Microsoft.SharePoint.Administration.SPDiagnosticsService.Update()
       at Microsoft.SharePoint.Administration.SPPersistedObject.Update(Boolean ensure)
       at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInConfigDB(Boolean provisionTheServiceToo, String serviceRegistryKeyName)
       at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo)
       at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    The Zone of the assembly that failed was:
    MyComputer

    Any suggestion to find the reason for this problem out or/and even to get it solved? How can I get the automatical update service running so it tries to download the update files from windows update?

    Let me know if you'd need further tracing info or any additional data from our topology/systems

    Many thanks in advance. Best regard


    RSM
    Monday, December 15, 2008 6:45 AM