locked
OCS Update Server Errors RRS feed

  • Question

  • Hey guys, I'm sure I'm not the only one with this issue, so I'd appreciate all the help I can get here..

     

    I've got my OCS Std server running on W2003 R2 x64, which is all working fine apart from one thing. The Update Server was installed fine, and all the IIS folders were created correctly. I ran the correct vbs scripts to activate the service and the Tanjay phones are even getting the in-band provisioning for the update server URL. However, when they try to contact the /RequestHandler/UCDevice.upx URL I can see in the IIS logs that they are getting 500 errors (500 0 64 to be precise). This also happens when you simply navigate to that URL in IE, you just get a 500 error.

     

    I also spotted errors in the event log. The first one below is a .Net 2.0 error. It all points to the fact that you can't open the ucdevice.upx file surely?

     

    Help!!

     

    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 26/03/2008 02:47:53
    Event time (UTC): 26/03/2008 02:47:53
    Event ID: d43f69511561486e8dd2290cc3282e3c
    Event sequence: 4
    Event occurrence: 1
    Event detail code: 0
     
    Application information:
        Application domain: /LM/W3SVC/1/Root/RequestHandler-1-128509732726709009
        Trust level: Full
        Application Virtual Path: /RequestHandler
        Application Path: C:\Program Files (x86)\Microsoft Office Communications Server 2007\Web Components\UC Device Updates\Request Handler\
        Machine name: NEMESISOCS
     
    Process information:
        Process ID: 2332
        Process name: w3wp.exe
        Account name: NEMESISTEST\RTCComponentService
     
    Exception information:
        Exception type: HttpException
        Exception message: Session state has created a session id, but cannot save it because the response was already flushed by the application.
     
    Request information:
        Request URL:
    https://nemesisocs.nemesistest.local:443/RequestHandler/ucdevice.upx
        Request path: /RequestHandler/ucdevice.upx
        User host address: 172.16.0.87
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: NEMESISTEST\RTCComponentService
     
    Thread information:
        Thread ID: 1
        Thread account name: NEMESISTEST\RTCComponentService
        Is impersonating: False
        Stack trace:    at System.Web.SessionState.SessionIDManager.SaveSessionID(HttpContext context, String id, Boolean& redirected, Boolean& cookieAdded)
       at System.Web.SessionState.SessionStateModule.CreateSessionId()
       at System.Web.SessionState.SessionStateModule.DelayedGetSessionId()
       at System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs)
       at System.Web.SessionState.SessionStateModule.OnEndRequest(Object source, EventArgs eventArgs)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
     

    Wednesday, March 26, 2008 1:43 PM

All replies

  • I should add that the other errors are as follows:

     

    The description for Event ID ( 0 ) in Source ( Software Update Service ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Error Reading Configuration value from sharepoint for key : ImageDir

    Server will use default value for this key..


    - There are other errors exactly the same apart from the last line, relating to each of the other keys below:

     

    WhiteListFile
    RHDebugLogFilePath
    DeviceLogPath
    RHAuditLogFilePath
    LogsBasePath
    NonCachedDeviceTypes
    ValidLogFileTypes
    UpdatesCacheDuration
    LogCleanUpDays
    RHDebugLogEnabled
    LogFlushFrequency
    LogFlushSizeThreshold
    LogCleanUpCallFrequency

     

    Wednesday, March 26, 2008 1:44 PM
  • Navigate to sites/ucupdateserver on your SharePoint machine (e.g. https://my.moss.com/sites/ucupdateserver), and look under All Documents -> Server -> DB. There you should see a file called ConfigSettings.xml, although in your case I suspect it doesn't exist for some reason. Its entire contents should look something like this:

    <?xml version="1.0" standalone="yes"?>
    <ConfigSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <Config>
        <Name>ImageDir</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>Updates/</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>WhiteListFile</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>TestDevice.xml</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>LogsBasePath</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>Logs/</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>SPServiceLogFilePath</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>Logs/Server/Debug/SharePointService/</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>RHDebugLogFilePath</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>Logs/Server/Debug/RequestHandler/</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>RHAuditLogFilePath</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>Logs/Server/Audit/ImageUpdates/</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>MCDebugLogFilePath</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>Logs/Server/Debug/ManagementConsole/</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>MCAuditLogFilePath</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>Logs/Server/Audit/ManagementConsole/</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>UPHLogFilePath</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>Logs/Server/Debug/UpdatePackageHandler/</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>DeviceLogPath</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>Logs/Client/</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>DeviceSpecificUpdatesFolderName</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>DeviceSpecificUpdates</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>MacAddressColumnNameInWhiteListXML</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>MacAddress</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>UpdatePackageHandlerUrl</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>UPHService.asmx</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>NonCachedDeviceTypes</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>RoundTable</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>VersionFileNameEnd</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>_desc.xml</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>SignatureFileExtension</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>.cat</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>ValidLogFileTypes</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>Watson,Config,Diaglog,CELog</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>Maxlogfilesize</Name>
        <DataType>Int</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>1024000</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>UpdatesCacheDuration</Name>
        <DataType>int</DataType>
        <DisplayType>Textbox</DisplayType>
        <SelectedValue>60</SelectedValue>
        <Editable>True</Editable>
        <Values>
        </Values>
        <Validations>
          <RequiredField>True</RequiredField>
          <ReqularExpression><![CDATA[[0-9]*]]></ReqularExpression>
          <Min>0</Min>
          <Max>1440</Max>
        </Validations>
      </Config>
      <Config>
        <Name>LogCleanUpDays</Name>
        <DataType>Int</DataType>
        <DisplayType>Textbox</DisplayType>
        <SelectedValue>10</SelectedValue>
        <Editable>True</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField>True</RequiredField>
          <ReqularExpression><![CDATA[[0-9]*]]></ReqularExpression>
          <Min>5</Min>
          <Max>90</Max>
        </Validations>
      </Config>
      <Config>
        <Name>RHDebugLogEnabled</Name>
        <DataType>Boolean</DataType>
        <DisplayType>RB</DisplayType>
        <SelectedValue>False</SelectedValue>
        <Editable>True</Editable>
        <Values>
          <Value>True</Value>
          <Value>False</Value>
        </Values>
        <Validations>
          <RequiredField>True</RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>MCDebugLogEnabled</Name>
        <DataType>Boolean</DataType>
        <DisplayType>RB</DisplayType>
        <SelectedValue>False</SelectedValue>
        <Editable>True</Editable>
        <Values>
          <Value>True</Value>
          <Value>False</Value>
        </Values>
        <Validations>
          <RequiredField>True</RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>UPHDebugLogEnabled</Name>
        <DataType>Boolean</DataType>
        <DisplayType>RB</DisplayType>
        <SelectedValue>True</SelectedValue>
        <Editable>True</Editable>
        <Values>
          <Value>True</Value>
          <Value>False</Value>
        </Values>
        <Validations>
          <RequiredField>True</RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>LocalDirectoryAccess</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue><![CDATA[LCS]]></SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>LocalFileStore</Name>
        <DataType>String</DataType>
        <DisplayType></DisplayType>
        <SelectedValue><![CDATA[LCS]]></SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>LogFlushFrequency</Name>
        <DataType>Int</DataType>
        <DisplayType>textbox</DisplayType>
        <SelectedValue>5</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField>True</RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min>1</Min>
          <Max>60</Max>
        </Validations>
      </Config>
      <!-- 01.14.08, jasdem (issue 104654): added following -->
      <Config>
        <Name>LogFlushSizeThreshold</Name>
        <DataType>Int</DataType>
        <DisplayType>textbox</DisplayType>
        <SelectedValue>256000</SelectedValue>
        <Editable>True</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField>False</RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min>1024</Min>
          <Max>1024000</Max>
        </Validations>
      </Config>
      <Config>
      <Name>RTCUniversalServerAdmins</Name>
      <DataType>String</DataType>
      <DisplayType />
      <SelectedValue>RTCUniversalServerAdmins</SelectedValue>
      <Editable>False</Editable>
      - <Values>
        <Value xsi:nil="true" />
      </Values>
      - <Validations>
        <RequiredField />
        <ReqularExpression />
        <Min />
        <Max />
      </Validations>
      </Config>
      <Config>
        <Name>TestDeviceLimit</Name>
        <DataType>Int</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>50</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
      <Config>
        <Name>LogCleanUpCallFrequency</Name>
        <DataType>Int</DataType>
        <DisplayType></DisplayType>
        <SelectedValue>30</SelectedValue>
        <Editable>False</Editable>
        <Values>
          <Value></Value>
        </Values>
        <Validations>
          <RequiredField></RequiredField>
          <ReqularExpression></ReqularExpression>
          <Min></Min>
          <Max></Max>
        </Validations>
      </Config>
    </ConfigSettings>


    HTH
    Wednesday, April 30, 2008 10:45 PM
  • Thanks. Strange, as the file exists with the parameters set. It must be that it can't read from it perhaps?

     

    Friday, May 2, 2008 8:38 AM
  • Hi,

     

    I assume you would have gone through the following kb

     

    http://support.microsoft.com/kb/949577

     

    If you have allready foolwed the above kb.. re-configure the sharepoint site. (Its as per the deployment guide)

     

    I have had this done to resolve the same issue.

     

    One more thing.. does your domain netbios name is something else than the first part of Domain DNS name?

     

    There is a known bug in this case.

     

     

    Regards,
    Ram K Ojha,
    MCTS - LCS 2005, MSTS - OCS 2007
    http://www.ocspedia.com
    http://www.itcentrics.com

     

    Saturday, May 3, 2008 2:49 PM