Adding a draft document with DI Server

I'm trying to add a draft document using the DI Server. I'm sending a SOAP-message of which I'm just showing the BO-node:
<BO>
  <AdmInfo>
    <Object>oDrafts</Object>
    <DocObjectCodeEx>oOrders</DocObjectCodeEx>
  </AdmInfo>
  <Documents xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <row>
      <DocDate>20080825</DocDate>
      <DocDueDate>20080825</DocDueDate>
      <CardCode>1</CardCode>
    </row>
  </Documents>
  <Document_Lines>
    <row>
      <ItemCode>1</ItemCode>
      <Quantity>2</Quantity>
    </row>
    <row>
      <ItemCode>2</ItemCode>
      <Quantity>5</Quantity>
    </row>
    <row>
      <ItemCode>4</ItemCode>
      <Quantity>3</Quantity>
    </row>
  </Document_Lines>
</BO>
I get the following Fault-node in the SOAP Answer:
<env:Fault>
  <env:Code>
    <env:Value>env:Receiver</env:Value>
    <env:Subcode>
      <env:Value>-5001</env:Value>
    </env:Subcode>
  </env:Code>
  <env:Reason>
    <env:Text xml:lang="en">Object type for draft is missing</env:Text>
  </env:Reason>
  <env:Detail>
    <Object>112</Object>
    <ObjectIndex>1</ObjectIndex>
    <Command>AddObject</Command>
    <SessionID>5EAFA78D-009E-4553-8CDB-EC0283344296</SessionID>
  </env:Detail>
</env:Fault>
I know I am doing something wrong, but I can't figure out what I'm supposed to change in that BO-node
  <AdmInfo>
    <Object>oDrafts</Object>
    <DocObjectCodeEx>oOrders</DocObjectCodeEx> 
</AdmInfo>
This must be the part where it all goes wrong. I know I'm supposed to add 'DocObjectCodeEx', but I'm not sure where I need to put it in the message, I'm not sure if DI Server takes 'DocObjectCodeEx' as an element (perhaps it wants a different name) and I'm not sure whether oOrders is the value it needs or not.
Does any of you have a sample code for a SOAP message to add a draft?
Cheers for your time!
Vincent

I got it to work using this BOM-node. Notice that oOrders is supposed to be supplied as 17.
<BOM>
<BO>
<AdmInfo>
<Object>oDrafts</Object>
</AdmInfo>
<Documents xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<row>
<DocObjectCode>17</DocObjectCode>
<DocDate>20080825</DocDate>
<DocDueDate>20080825</DocDueDate>
<CardCode>1</CardCode>
</row>
</Documents>
<Document_Lines>
<row>
<ItemCode>1</ItemCode>
<Quantity>2</Quantity>
</row>
<row>
<ItemCode>2</ItemCode>
<Quantity>5</Quantity>
</row>
<row>
<ItemCode>4</ItemCode>
<Quantity>3</Quantity>
</row>
</Document_Lines>
</BO>
</BOM>

Similar Messages

  • When opening my Outlook 2010 with new added e-mail account with Exchange Server, I have to click manually on my standard e-mail account for checking mail

    When opening my Outlook 2010 with new added e-mail account with Exchange Server supplied by my employer, I have to click manually on my standard e-mail account for checking mail. Do I have to upgrade my Microsoft Office 2010 or how can I make my Outlook
    2010 check all my four e-mail accounts without manually click on my accounts?
    Sincerely
    Ketil Hothorp

    Hello Ketil,
    Good Day...
    Seems to be the Issue is Syncing emails, now I would recommend you to Remove and Add the Account and try and check if the emails are getting synced automatically.
    Hope this is with Single User. If it is with Multiple Users then we need to check the permissions assigned.
    Regards,
    Praveen

  • Error when adding new service invoice with DI Server, error -1114

    <b>Hi everybody.
    I'm trying to add an serviceinvoice (DocType = 'Service Transaction') with DI Server AddObject method.
    The xml-request document looks like this:</b>
    <?xml version='1.0' encoding='UTF-16' ?>
    <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
    <env:Header>
    <SessionID>........</SessionID>
    </env:Header>
    <env:Body>
    <dis:AddObject xmlns:dis='http://www.sap.com/SBO/DIS'>
    <BOM>
    <BO>
    <AdmInfo>
    <Object>oInvoices</Object>
    </AdmInfo>
    <Documents>
    <row>
    <DocNum>1241</DocNum>
    <HandWritten>1</HandWritten>
    <DocDate>10/08/2005</DocDate>
    <DocDueDate>10/08/2005</DocDueDate>
    <CardCode>V1010</CardCode>
    <DocType>S</DocType>
    </row>
    </Documents>
    <Document_Lines>
    <row>
    <Currency>USD</Currency>
    <LineTotal>7500,00</LineTotal>
    <AccountCode>_SYS00000000001</AccountCode>
    <TaxCode>LA</TaxCode>
    </row>
    <row>
    <Currency>USD</Currency>
    <LineTotal>-7500,00</LineTotal>
    <TaxCode>LA</TaxCode>
    </row>
    </Document_Lines>
    </BO>
    </BOM>
    </dis:AddObject>
    </env:Body>
    </env:Envelope>
    <b>...But I get error eveytime I try to do it, the response document as follows:</b>
    <?xml version="1.0"?>
    <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
    <env:Body>
    <env:Fault>
    <env:Code>
    <env:Value>env:Receiver</env:Value>
    <env:Subcode>
    <env:Value>-1114</env:Value>
    </env:Subcode>
    </env:Code>
    <env:Reason>
    <env:Text xml:lang="en">Schema Validation Failed</env:Text>
    </env:Reason>
    <env:Detail>
    <ErrorList>
    <Error>System Id = 193271344, Line Number = 1, Column Number = 359, Description = Datatype error: Type:InvalidDatatypeFacetException, Message: Invalid chars encountered..</Error><Error>System Id = 193271344, Line Number = 1, Column Number = 488, Description = Datatype error: Type:InvalidDatatypeFacetException, Message: Invalid chars encountered..</Error>
    </ErrorList>
    <Object>13</Object>
    <ObjectIndex>1</ObjectIndex>
    <Command>AddObject</Command>
    <SessionID>............</SessionID>
    </env:Detail>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    <b>Why? Which fields are missing or which field values of those I'm sending might be wrong?</b>

    Did you try to set the AccountCode also for the 2nd line?
    HTH,
    Frank

  • Adding a sales order with DI Server 8.8 results in document with no rows

    Hello,
    I am facing a weird problem situation running DI Server in a 8.8 (pl8) environment.
    When adding a new sales order document, the add operation results in a "success", but when I go to B1 client and see the document, there are no rows at all.
    Please see the xml message I am posting to DI Server. There is one in row specified.
    Anyone had similar experiences or possibly even been able to resolve this ?
    Best Regards,
    Henry
    = = = = = = = = = = =
    <?xml version="1.0"?>
    <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
      <env:Header>
        <SessionID>C72BD58F-3A5F-4074-86CA-6776372ADB39</SessionID>
      </env:Header>
      <env:Body>
        <dis:AddObject xmlns:dis="http://www.sap.com/SBO/DIS" CommandID="Add Documents">
          <BOM>
           <BO>
              <AdmInfo>
                <Object>oOrders</Object>
              </AdmInfo>
              <Documents>
      <row>
        <DocDate>20091202</DocDate>
        <DocDueDate>20091202</DocDueDate>
        <CardCode>234485</CardCode>
        <NumAtCard></NumAtCard>
        <DiscountPercent>0.00</DiscountPercent>
        <Comments>fdsfds</Comments>
        <SalesPersonCode>8</SalesPersonCode>
        <TransportationCode>14</TransportationCode>   
        <DocumentsOwner>-1</DocumentsOwner> 
      </row>
    </Documents>
    <Document_Lines>
    <row><ItemCode>001150x</ItemCode>
    <ItemDescription>JAUHESAMMUTIN 12KG ALKU</ItemDescription>
    <Quantity>1</Quantity>
    <Price>4</Price><Currency>EUR</Currency>
    <DiscountPercent>0.00</DiscountPercent><WarehouseCode>01</WarehouseCode><SalesPersonCode>8</SalesPersonCode>
    <VatGroup>V1</VatGroup><FreeText /></row>
    </Document_Lines>
    </BO>
    </BOM>
    </dis:AddObject>
    </env:Body>
    </env:Envelope>
    02/12/2009  12:02:39  Response (OK)
    <?xml version="1.0"?><env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><AddObjectResponse xmlns="http://www.sap.com/SBO/DIS" CommandID="Add Documents"><RetKey>15</RetKey></AddObjectResponse></env:Body></env:Envelope>

    I thinks that you do not have more than necessary in the XML Code.
    To try to test it in a different environment, what about?
    For example,
         a.SBODemo database is used
         b. Reinstall SBO Serivce Manager
         c. Delete folder or Rename folder SM_OBS_DLL
    Hope you will help a little.
    Best regards,
    HyangHang

  • Adding a delivery document with serial numbers

    Hi everyone,
    A delivery document is created in code and the item delivered requires a serial number. In this example there is a quantity of two so two serial numbers will need to be added.
      Dim oCompany As New SAPbobsCOM.Company, lRetCode As Long
            Dim oSerialNumbers As SAPbobsCOM.SerialNumbers
            Dim oDelivery As SAPbobsCOM.Documents
            Dim RetVal As Long
            Dim ErrCode As Long
            Dim ErrMsg As String
                oDelivery = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDeliveryNotes)
                oDelivery.CardCode = "KellyD"
                oDelivery.DocDate = "09/20/2005"
                oDelivery.Lines.ItemCode = "MDASTPE"
                oDelivery.Lines.Quantity = 1
                oDelivery.Lines.TaxCode = 0
                oDelivery.Lines.Price = 300
                oSerialNumbers = oDelivery.Lines.SerialNumbers
                ??What code goes here to enter the serial numbers??
                RetVal = oDelivery.Add
    Any help would be appreciated.
    Thanks.

    Hi
    try this or something alike
    oSerialNumbers.add() ' i'm not sure if its necessary
    oSerialNumbers.SetCurrentLine(0)
    oSerialNumbers.InternalSerialNumber="yourfirstserial"
    oSerialNumbers.add()
    oSerialNumbers.SetCurrentLine(1)
    oSerialNumbers.InternalSerialNumber="yourSecondserial"
    tell me results
    Kind regards
    Salvador Biot

  • DIAPI posting Delivery Document with Serial Numbers SP1

    Release 2005A, SP1 PL4 seems to have broken code that worked with SP00.  When trying to create a Delivery Document that contains Serial Numbers, an error is generated: Error -1, General Error.  When adding a delievery document which does not contain serial numbers, the document adds successfully.
    The following code loops through a recordset to create documents, add expenses and add serial numbers when appropriate.  Is this a new 'feature' or can we make a coding change to eliminate this error?
    Sample code:
        Try
          oSalesOrder = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
          RecSet = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          RecSet2 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          RecSet3 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          RecSet4 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          RecSet5 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          RecSet6 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          '-- Select Documents to process and loop through recordset
          lsSQL = "SELECT DocEntry FROM DeliveryTable WHERE ProcessResult IS NULL Group by DocEntry"
          RecSet.DoQuery(lsSQL)
          While Not RecSet.EoF
            oSalesOrder.GetByKey(RecSet.Fields.Item(0).Value)
            If bDocuments(piCompany).DelDraft = False Then
              oDelivery = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDeliveryNotes)
            Else
              oDelivery = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDrafts)
            End If
            oDelivery.CardCode = oSalesOrder.CardCode
            oDelivery.Comments = "Based On Sales Order " & oSalesOrder.DocNum & "."
            oDelivery.DocDate = Today
            oDelivery.ContactPersonCode = oSalesOrder.ContactPersonCode
            oDelivery.DocCurrency = oSalesOrder.DocCurrency
            oDelivery.DocDueDate = Today
            If bDocuments(piCompany).DelDraft = True Then
              oDelivery.DocObjectCode = SAPbobsCOM.BoObjectTypes.oDeliveryNotes
            End If
            '-- Handle Expenses for Document
            Dim ExpenseLoop As Integer
            Dim ExpenseCount As Integer = 0
            For ExpenseLoop = oSalesOrder.Expenses.Count - 1 To 0 Step -1
            ExpenseCount += 1
              '-- Create new Expense if needed
              If ExpenseCount > oDelivery.Expenses.Count Then
                oDelivery.Expenses.Add()
              End If
              oSalesOrder.Expenses.SetCurrentLine(ExpenseLoop)
              '-- Copy all non-readonly properties
              If oSalesOrder.Expenses.LineTotal > 0 Then
                oDelivery.Expenses.BaseDocEntry = oSalesOrder.Expenses.BaseDocEntry
                oDelivery.Expenses.BaseDocLine = oSalesOrder.Expenses.BaseDocLine
                oDelivery.Expenses.BaseDocType = oSalesOrder.Expenses.BaseDocType
                oDelivery.Expenses.DeductibleTaxSum = oSalesOrder.Expenses.DeductibleTaxSum
                oDelivery.Expenses.DistributionMethod = oSalesOrder.Expenses.DistributionMethod
                oDelivery.Expenses.ExpenseCode = oSalesOrder.Expenses.ExpenseCode
                oDelivery.Expenses.LineTotal = oSalesOrder.Expenses.LineTotal
                oDelivery.Expenses.Remarks = oSalesOrder.Expenses.Remarks
                oDelivery.Expenses.TaxCode = oSalesOrder.Expenses.TaxCode
                oDelivery.Expenses.VatGroup = oSalesOrder.Expenses.VatGroup
              End If
            Next ExpenseLoop
            Dim i As Integer = 0
            Dim liMinRef As Integer = -1
            For x = 0 To oSalesOrder.Lines.Count - 1
              lsSQL = "SELECT ISNULL(MIN(CAST(LineRef as int)),999999) as MinLineRef FROM DeliveryTable WHERE DocEntry = " & RecSet.Fields.Item(0).Value & " AND CAST(LineRef as int) > " & liMinRef
              RecSet5.DoQuery(lsSQL)
              If Not RecSet5.EoF Then
                '-- It's possible that the DeliveryTable has less records then the RDR1 table - if that's the case
                '-- we may be at the end, so set the liMinRef field to something out of range
                liMinRef = RecSet5.Fields.Item(0).Value
              End If
              '-- get line items for each document
              lsSQL = "Select * from DeliveryTable WHERE DocEntry = " & RecSet.Fields.Item(0).Value & " AND LineRef = " & x & " AND ProcessResult IS Null"
              RecSet2.DoQuery(lsSQL)
              RecSet2.MoveFirst()
              While Not RecSet2.EoF
                '-- We need to walk through the SO to find the item that we are receiving based on the LineNum
                Dim liCurrentLine As Integer = x
                Dim lbFound As Boolean = False
                While liCurrentLine <= (oSalesOrder.Lines.Count - 1)
                  '-- We need to get the PO Line number (x is NOT the LineRef)
                  oSalesOrder.Lines.SetCurrentLine(liCurrentLine)
                  If oSalesOrder.Lines.LineNum = liMinRef Then
                    lbFound = True
                    Exit While
                  End If
                  liCurrentLine += 1
                End While
                If lbFound Then
                  i += 1
                  If i > oDelivery.Lines.Count Then
                    oDelivery.Lines.Add()
                  End If
                  oDelivery.Lines.BaseEntry = oSalesOrder.DocEntry
                  oDelivery.Lines.Quantity = RecSet2.Fields.Item(6).Value
                  oDelivery.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
                  oDelivery.Lines.LineTotal = oSalesOrder.Lines.LineTotal * (oDelivery.Lines.Quantity / oSalesOrder.Lines.Quantity)
                  oDelivery.Lines.UserFields.Fields.Item("U_WhseLoc").Value = RecSet2.Fields.Item(8).Value
                  oDelivery.Lines.AccountCode = oSalesOrder.Lines.AccountCode
                  oDelivery.Lines.Address = oSalesOrder.Lines.Address
                  oDelivery.Lines.Currency = oSalesOrder.Lines.Currency
                  oDelivery.Lines.ItemCode = oSalesOrder.Lines.ItemCode
                  oDelivery.Lines.BaseLine = liMinRef
                  oDelivery.Lines.ItemDescription = oSalesOrder.Lines.ItemDescription
                  oDelivery.Lines.WarehouseCode = oSalesOrder.Lines.WarehouseCode
                  lsUserID = RecSet2.Fields.Item("UserID").Value
                  '-- manage serial numbers
                  j = -1
                  lsSQL = "Select * from DeliverySerial WHERE DocEntry = " & oDelivery.Lines.BaseEntry & " AND LineRef = " & liMinRef
                  lsSQL += " AND WIPLineRef = " & RecSet2.Fields.Item("WIPLineRef").Value
                  RecSet3.DoQuery(lsSQL)
                  While Not RecSet3.EoF
                    '-- get the next SystemSerialNumber for the Inventory Item
                    lsSQL = "EXEC " & gsDB(piCompany) & "xspGetSysSerial " & sparm(oDelivery.Lines.ItemCode) & ", " & sparm(RecSet3.Fields.Item("LotNo").Value)
                    lsSQL += ", " & sparm(RecSet3.Fields.Item("ManSerNo").Value) & ", " & sparm(RecSet3.Fields.Item("IntSerNo").Value)
                    lsSQL += ", " & RecSet3.Fields.Item("QTY").Value & ", " & sparm(oDelivery.Lines.WarehouseCode) & ", " & sparm(RecSet2.Fields.Item(8).Value)
                    RecSet4.DoQuery(lsSQL)
                      j += 1
                      If j + 1 > oDelivery.Lines.SerialNumbers.Count Then
                        oDelivery.Lines.SerialNumbers.Add()
                      End If
                      oDelivery.Lines.SerialNumbers.SetCurrentLine(j)
                      oDelivery.Lines.SerialNumbers.BatchID = RecSet3.Fields.Item("LotNo").Value
                      oDelivery.Lines.SerialNumbers.ManufacturerSerialNumber = RecSet3.Fields.Item("ManSerNo").Value
                      oDelivery.Lines.SerialNumbers.InternalSerialNumber = RecSet3.Fields.Item("IntSerNo").Value
                      oDelivery.Lines.SerialNumbers.SystemSerialNumber = RecSet4.Fields.Item(0).Value
                      oDelivery.Lines.SerialNumbers.BaseLineNumber = oDelivery.Lines.BaseLine
                    RecSet3.MoveNext()
                  End While
                  '-- 'end manage serial numbers
                End If
                RecSet2.MoveNext()
              End While
            Next x
            '-- now add object to SAP
            If 0 <> oDelivery.Add() Then
              Dim liError As Long
              Dim lsError As String
              Call oCompany(piCompany).GetLastError(liError, lsError)
              '-- write error code to table - Delivery document creation was unsuccessful
              lsSQL = "Update DeliveryTable SET ProcessResult = " & liError & ", ProcessDate = GetDate() WHERE DocEntry = " & oSalesOrder.DocEntry & " AND ProcessResult Is Null"
              RecSet2.DoQuery(lsSQL)
              lsuWriteEvent("AR Delivery", bDocuments(piCompany).DelDraft, oSalesOrder.DocEntry, liError, lsError, piCompany)
            Else
              lsuWriteEvent("AR Delivery", bDocuments(piCompany).DelDraft, oSalesOrder.DocEntry, 0, "Success", piCompany)
            End If
            RecSet.MoveNext()
          End While
        Catch
          LogErrorMessage(Err.Description)
        Finally
          If Not RecSet Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet)
          End If
          If Not RecSet2 Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet2)
          End If
          If Not RecSet3 Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet3)
          End If
          If Not RecSet4 Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet4)
          End If
          If Not RecSet5 Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet5)
          End If
          If Not RecSet6 Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet6)
          End If
          If Not oSalesOrder Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oSalesOrder)
          End If
          If Not oDelivery Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oDelivery)
          End If
          GC.WaitForPendingFinalizers()
        End Try

    We have narrowed down the issue to this:
    If you are just adding a delivery document with serial numbers, the DIAPI works OK.  If you are adding a delivery document which is based upon a sales order and add the 3 lines that reference it:
    oDelivery.Lines.BaseEntry = oSalesOrder.DocEntry
    oDelivery.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oDelivery.Lines.BaseLine = liMinRef
    then you receive a error of -1, General error.  This is functionality that did work in 2004 and 2005 SP00.  I believe this is a bug.

  • Rewrite draft document batch query for live document

    Hello Experts,
    I have written a query that returns data from DRAFT A/P Credit Memos.  It returns all line items and includes all linked batch numbers if any.
    I want to run the same query against A/P Credit memos once the document is 'added'.  Here's the current query...
    select odrf.docentry, DRF1.itemcode, DRF1.dscription, odrf.cardcode, obtn.distnumber, odrf.Docdate as 'Date Opened'
    from odrf
    join DRF1 on odrf.docentry = DRF1.docentry
    left join DRF16 on DRF1.docentry = DRF16.absentry AND DRF1.linenum = drf16.linenum
    left join obtn on DRF16.objabs = obtn.absentry
    where DRF1.dscription IS NOT NULL
    AND odrf.objtype = 19
    I'm having a difficult time translating this logic over to live documents.  It seems there is no equivalent table to DRF16 on live documents? 

    Yes I tried that.  However my RPC16 table is empty.  Which is odd because you would think after adding a draft document into a live document the data from DRF16 would show up in RPC16.  This appears to be the case for DRF1 to RPC1 tables at least...

  • "No connectivity with the server" error for one document but not the other, in the same document library

    We have a number of users all of a sudden getting "No connectivity with the server.  The file 'xxx' can't be opened because the server couldn't be contacted." errors trying to open MS Office docs (Word, Excel, etc.) in SharePoint with IE,
    just by clicking the link and selecting the "Read Only" option.  If they select the "Check Out and Edit" option, they can open the document no problem.  One of my customers gets the error on one document but not the other, in
    the same document library!  The older document (a weekly report) was copied and renamed as per standard procedure.  She can read the older document, but not the new one.
    It is definitely a profile issue, as other people have logged onto the machines of the users with problems and do not get the error.  We have also renamed people's c:\user profile folders and the corresponding Profilelist registry entry and the newly
    created profile does not experience the error for these people.  Renaming the profile back restores all their personal settings but the error reappears.  When we copied the old profile's folder structure into the new profile, many of the user settings
    were restored (but not all, like Dreamweaver settings) but the error did not appear.  We think that the system folders files (like AppData) weren't totally copied over so we're going to run another test using xcopy.  We are rebooting between
    logons to make sure all files are unlocked.
    The laptops and computers are mainly 32bit, Win7 Enterprise running IE9 and Office 2010 Professional Plus, but there's a few 64bit machines as well. The SharePoint farm has 1 WFE, 1 App Server running search and CA, and a shared database server running SQL
    2005 SP4.  SharePoint is 64bit MOSS 2007 with the latest CU.
    We've checked the logs on the client as well as on the server and there aren't any helpful entries.  We've also run Process Monitor, also with no helpful entries.  We're planning to run something like Fiddler next.
    It's not everyone, because there are many people are accessing the SharePoint system and the same files.  It is also not a permission thing, as we've tested by giving the users elevated permissions with no changes.  One person experiencing
    the errors is a Site Collection Admin.  That same person ran a test where I coped a simple Excel file into a Document Library which contained a problem file.  They were able to open it Read Only no problems that day, but the next day, the same
    file gave them an error.   In their case, they usually get a "xxx is not checked out" error and only occasionally get the "No connectivity with the server" error.
    We've tried lots of things including:
    Deleting IE cache
    Deleting SharePoint Drafts and webcache folder contents
    Running IE without add-ons
    Upgrading and Downgrading IE
    Uninstalling and re-installing IE
    Reinstalling our SSL certs
    Repairing Office
    Removing and then adding back in the Microsoft Office "Microsoft SharePoint Foundation Support" Office Tool 
    Deleting all HKLM and HKLU Office registry settings
    Toggling IE Compatibility Settings
    Toggling the IE Automatic Logon option
    Toggling the location of checked out files
    Adding the site in the trusted sites list
    Adding the site to the WebClient\Parameters registry locations
    Making sure the WebClient service is started
    Rebooting the machine (lol :)
    This is becoming a serious issue, not just because of the inconvenience for the users having to check out every document they want to read, but we have some files with macros that open up other documents to run which are now failing.  There aren't
    "check out" workarounds for some of those macros.
    We're planning to open a ticket with Microsoft, but I'm throwing it out here first in case someone has run into this before, or may have some suggestions on what to try next.  Thanks!
    -Richard.
    PS  I think this needs to be in the "General" forum instead?

    It took three days of dedicated troubleshooting, but I have found the cause of the errors, and a couple of fixes.  It helped tremendously that my own machine was throwing the error.  I have scheduled a couple of users to work with me to test the
    various fixes, to see which one works best, so the story isn't over yet.
    I had backed up my c:\users profile folder and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList registry key so I could restore my profile after I was done.  I made a copy of the profile folder and was using that for awhile,
    but then made another copy where I had deleted a lot of content out of it so that the copies would go faster.  Since a newly created profile did not have errors, I was trying to copy back as much of the profile as possible to make it easier for our users
    to get back to work.  Instead of blowing away their profile and starting from scratch (which we know worked) I wanted to narrow down what was causing the error and just skip that from the restore.  The concept was to keep as much as the users profile
    in tact (application settings, etc.) not just restoring their desktop and My Documents folders.
    When we first tested a few weeks ago, simply copying the folder contents didn't reproduce the error.  I then tried xcopy, but got the "can't read file" error.  Then I tried robocopy, and ran into the "junction" problem. 
    I went back to xcopy, and found that placing the excludes.txt file in the windows/system32 folder eliminated the error.
    So the process went as follows: 
    Reboot and log into the machine as another user
    Delete the profile and associated registry key
    Reboot and log into the machine as the affected user, creating a new profile, and there is no error
    Reboot and log in as the other user
    xcopy the contents of the skinned-down backed-up profile to the newly created profile
    Reboot and log in as the affected user, and the error occurs
    Repeat the above, but add items in the excludes.txt file to see what, when eliminated, causes the error not to appear in the last step
    I eventually found that skipping the c:\users\<profile folder>\appdata\local\Microsoft\office\14.0 folder allowed the entire profile to be copied over without the error occurring.  That was strange, because we've cleaned out the cache folders
    before which didn't fix the issue. 
    So I went about it the opposite way, and tried to delete the 14.0 folder from the restored profile, and after reboot, the error still occurred.
    What eventually worked was deleting the 14.0 folder and copying over a 14.0 folder from a newly created profile!
    One way to do this was to:
    Reboot and log in as another user
    Rename the c:\users profile folder
    Rename the appropriate [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList] registry key
    Reboot and log in as the affected user, confirm that there is no error
    Reboot and log in as the other user
    Copy the C:\Users\<profile folder>\AppData\Local\microsoft\Office\14.0 folder to the other user's desktop
    Delete new profile folder, and rename the backup to be the production folder
    Delete the C:\Users\<profile folder>\AppData\Local\microsoft\Office\14.0 folder and then paste the 14.0 copy from the desktop
    Reboot and log in as the affected user, confirm that there is no error
    We've tried this on a couple machines and it works.  I had to run Windows Explorer as Administrator to access the other profile's folders.
    We've also successfully copied a 14.0 folder created by one profile on one affected computer over another profile's folder on another computer, eliminating the error, so we're trying that first, as that is fewer steps.
    We may attempt to script this, but the self-help instructions are only 5 lines long:
    Reboot and log into the affected computer with another account
    Go to <link to location of 14.0 folder on network> and copy the 14.0 folder
    Run Windows Explorer as Administrator
    Go to c:\users\<profile folder>\appdata\local\microsoft\office and delete the 14.0 folder, and paste the copied 14.0 folder (trying to overwrite it makes Win7 want to merge the folders)
    Reboot and log into your normal account, and confirm the error is gone
    I'll come back and report after we go into the field with this fix, but after the few tests, I am cautiously optimistic that this is it.

  • Documents not Opening, No connectivity with the server

    Morning,
    Strange problem we are encountering that seems to be with a specific image build we have of Windows 7 Enterprise x64, with and without Service Pack 1 using IE8 x32 and Office 2010 x64.  When we try to open Word, Excel, or specifically PowerPoint documents
    on our new SharePoint 2010 server we get the following error: No connectivity with the server.
    Here is a JPG of the error message:
    http://www.gofsj.com/fsj/uploads/caa612c339cccaf12448e34a65c83d7d_erroropeningdocument.jpg
    A "normal" install of Windows 7 Enterprise x64, with no custom configuration (but getting the domain group policies) can view the files on SharePoint 2010, no problems.  Unfortunately, we've already deployed the "odd" image out to 50+
    machines.
    We have tried resetting Internet Explorer, uninstalling Office 2010 x64 and installing Office 2010 x32 with no luck. 
    What is really going on?  Is it a SharePoint plugin that isn't installed?  Is it Internet Explorer isn't configured correctly, or has DLLs that aren't registered?  Or something with Office 2010?  Is there a way to capture more than this
    Error Message?  This is what pretty much stamps in the Event Viewer too...

    This may be related to the Network and Sharing Center stating the computer is not connected to any network, and the Windows Firewall stating it is on a Public Network.  Even though the machine is connected and running on the LAN.
    I added SERVICE with full control (and pushed it down to registry subkeys) on HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList.  Then I Enabled/Disabled the LAN Adapter.  Could also reboot, or physically unplug the cable.  Not
    sure if restarting a specific service would accomplish the same thing or not.
    In the Network and Sharing Center it came up as on the domain.  Windows Firewall came up as being on a Domain.  And I was able to open PowerPoint and Excel documents on the SharePoint site. 
    So for now, looks like this is fixed.

  • Adding Period Indicator to New Year after creating draft documents in New Y

    Hi,
    I want to restart the the numbering from 1 in the New Year and so want to attach a new Period Indicator to the New Year. But i am unable to Add Period Indicator to New Year. It was created with Default Period Indicator and is not allowing any change.
    I am in SBO 2005 PL38. Also pleas note, some drafts have been created in the New Year.
    What i tried:
    - I tried deleting the draft documents. No use.
    - I changed server date to March 31(previous Accounting Year). No use.
    Anybody can help?
    Regards
    Manish

    Hi Manish,
    Let me see if i understood your issue;
    You are unable to creat a new period indicator for the new numbering series, did you already creat a new posting period for the new year ?
    The drafts created in the new year are with the default period indicator ? if so can you change it and try to delet those drafts ?
    if you have opportunity please provide more information.
    Regards
    Emanuel

  • Everytime I  try and sign into my iCloud account it tells me I can't log in due to a server error, but there is nothing wrong with my server . It also wont allow me to view any of my Photos or Documents that i have backed up.

    Everytime I  try and sign into my iCloud account it tells me I can't log in due to a server error, but there is nothing wrong with my server . It also wont allow me to view any of my Photos or Documents that I have backed up. Please help

    Hi,
    Are you running any Anti-virus software or do you have your firewall turned on? If so, disable them and try again. If that doesn't work, delete the iCloud account and then sign it back on again.
    Make sure you are running the most current version of the iCloud Control Panel:
    http://support.apple.com/kb/dl1455
    Cheers,
    GB

  • Can't open Project Server 2013 word documents with office 2010 installed

    hello forum members,
    we having issues opening a word document in a Project Server 2013 . we have Office 2010 on our computers installed. 
    when I click on a document link, i get a message "The webpage cannot be displayed".  the only way to open a document is to right click on link and select "Open". 
    Does Project Server 2013 require Office 2013 installed? If not, is there a way to open documents in Project Server 2013 without right clicking on links?
    tatiana
    tatiana

    Hi Tatiana,
    This is the know issue. I have experienced this issue with one of our client. The cause of issue as below -
    Scenario
    You have 2007 Microsoft Office installed on a computer.
    On the same computer, you also have a Microsoft Office 2013 application installed, such as Microsoft Lync 2013 or Microsoft Word 2013.
    SOLUTION
    To work around this issue, remove the Microsoft SharePoint Foundation Support program component from the Office 2013
    installation on the affected computer or computers. To do this, follow the “Install or remove individual Office program components” section of the following Microsoft Office website:
    Install or remove individual Office
    programs and components
    (http://office.microsoft.com/redir/HA010354261.aspx)
    After you complete these steps, repair 2007 Office. For more information about how to repair the installation, click
    the following article number to go to the article in the Microsoft Knowledge Base:
    924611
    (http://support.microsoft.com/kb/924611/ )
    How to install the individual 2007 Office features or to repair the installed 2007 Office programs
    Note When
    you follow these steps, set the Microsoft SharePoint Foundation Support
    component within Office Tools to Not Available.
    This solution doesn't apply to scenarios in which SharePoint Designer 2013 is installed on the affected computer.
    You can find further details here at Microsoft support site -
    http://support.microsoft.com/kb/2888015
    Hope this helps you.
    Cheers, Badal

  • I have 2 email accounts the second one i have only recently added, i have sent one email from my second account but i cant seem to send anymore, it says "cant send email with selected server" i am still able to send emails from my first account. Any ideas

    I have 2 email accounts, the second i only just recently added, i was able to send an email from this account after i added the account but am not able to send anymore emails. It says "unable to send email with selected server" there are no other servers to choose from. please help! TIA

    Hi apmichael,
    If you are having issues sending email from one of your mail accounts on your iPhone, you may find the following article helpful:
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Regards,
    - Brenden

  • False message: The document name you requested (/selector_test.html) could not be found on this server. However, we found documents with names similar to the one you requested.

    When I specify http://www.celticmanner.com/selector_test.html to Firefox 6.01, I get the false message:
    Multiple Choices
    The document name you requested (/selector_test.html) could not be found on this server. However, we found documents with names similar to the one you requested.
    Available documents:
    /selector_test.txt (common basename)
    The file http://www.celticmanner.com/selector_test.html IS PRESENT on the host.
    The file http://www.celticmanner.com/selector_test.txt IS NOT. (It had been earlier.)
    I do not find the text "selector_test.txt" anywhere on my partition C! Where does Firefox retain a pointer to this file that no longer exists? And why?
    NB: The text "could not be found on this server" is sloppy. That message is not issued from a servcer, but from the instance of Firefox on my computer. The message should read "could not be found on the specified server".
    B. Somers

    I have the same problem and it does not have to do with firefox. Do you have any idea how to fix it through?

  • Created a document with FM Author 12 and added a template in FM12 to the document

    Created a document with FM Author 12 and added a template in FM12 to the document. Can't open the document again in FM Author 12 "This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel".

    Should both programs be in "Authoring" mode?

Maybe you are looking for

  • IPod music lost after upgrading to iOS 8.3

    I own a 5th generation iPod touch. When I connected to my computer the iTunes prompted me to update to the latest iOS available i.e., 8.3 and I accepted it. In the process it downloaded the software and restarted my iPod but somewhere in that process

  • Audio via headphone jack is really low

    The sound from internal speakers is fine, but audio via the headphone jack is really low.

  • Clearing Block by Document Type in GL posting

    Hi Gurus, I'd like to know if possible to insert a clearing block by document type in the GL account open item management. I must block the clearing for two document types. I tried with a substitution to populate the field 'clearing document' with a

  • Window Size Help!!!!!!

    hi can anyone help me figure out how to make my opening page (home page) open up in browsers to exact size,no surrounding space. I want it to open almost like a pop up or flier. The "open a new browser feature" opens the regular index page and anothe

  • PLS-00302: component 'REGISTER_PROPAGATOR' must be declared

    Hi, The following error occured, while running the repadmin user creation script. Can any one help in rectifying this? BEGIN dbms_defer_sys.register_propagator('REPADMIN'); END; ERROR at line 1: ORA-06550: line 1, column 22: PLS-00302: component 'REG