The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))

I am getting
The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) When i try to open any file using Adobe
Private Template As String = "C:\temp\test.pdf"
Dim gApp As New AcroApp()
Dim gPdDoc As New AcroPDDoc()
Dim gAvDoc As New AcroAVDoc()
try
' open the PDF
gAvDoc.Open(Template, "") 'This is the line where the exception is thrown
' do something
Catch ex As Exception
End Try
Can anyone please help me..Is there anything wrong with the acrobat Installation..

It's the reinstall that fixed the issue.  Turning off Automatic Updates has nothing to do with it, since when you reinstall after making that change it will reset that preference anyways.
If for some reason your COM objects are no longer registered with Windows, I would suggest a repair instead of a reinstall.  From Acrobat, choose Help > Repair.

Similar Messages

  • COMException: The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))

    I am working in SharePoint Server 2001 to extract its contents. My code was working fine. But it is now throwing exception
    COMException: The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) from the following code
    var _xmlHttp = new XMLHTTP60Class();
    var xmldoc = new DOMDocument60Class();
    _xmlHttp.open("SEARCH", "http://sanz/merosite/",false, "sanz","sanz"); // throws exception
    I have checked it in google but couldn't found any relevant solution. I am using
    Interop.MSXML2 and Interop.PKMCDO dlls in my project. Please ! suggest

    or you can try this from SAP Note :1235603
    This issue results from using the following code:
    SAPbobsCOM.Field f = oPOrders.Lines.UserFields.Fields.Item("U_test")
    Instead of the above syntax, you should use the following:
    SAPbobsCOM.ProductionOrders_Lines f1 = oPOrders.Lines
    SAPbobsCOM.Field  f =  f1.UserFields.Fields.Item("U_test")
    Using the suggested syntax lets you perform the operation correctly. The issue does not happen with a regular connection.
    The cause for this error in the behavior of the .NET Garbage Collector.
    When the Garbage Collector is activated, it decided which memory to release and which not. In the example above, the parent object is release, while the child object (Field in our case) remains which causes the exception.
    The Garbage Collectors activation is controlled by .NET. The DI cannot control its activation.
    Thanks,
    Neetu

  • Issues with Calendar Printing Assistant (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))

    Hello,<o:p></o:p>
    We have
    been using the Calendar Printing assistant for a while an in the last 2 weeks
    we have been receiving the following error on some of our shared calendars.<o:p></o:p>
    There was a
    problem accessing events for folder "User Name". Original Microsoft
    Office Outlook 2007 error message: The RPC server is unavailable. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))<o:p></o:p>
    Our current
    configuration is:<o:p></o:p>
    Server
    Side:
    Exchange 2010 on Windows Server 2008 R2 Standard SP1<o:p></o:p>
    Desktop
    Side:
    Windows 7 Pro 64bit SP1
    Office 2010 32bit <o:p></o:p>
    I came
    across a similar issue someone posted on http://answers.microsoft.com/en-us/office/forum/office_2010-outlook/office-2010-32bit-windows-7-64-bit-calendar/14b8bd09-ea6a-4302-96b4-16d09c3c0391
    and was redirect to this site due to it possibly being an exchange issue.
    Any help would be appreciated.<o:p></o:p>
    Thanks,
    AC<o:p></o:p>

    Hi,
    Exchange server does not provide Calendar Printing assistant feature.
    Is it an outlook add-ins?
    Please check whether shared calendars can work properly in OWA. If there is no issue in OWA, the issue should not be related to Exchange server.
    If the issue happens in OWA, please collect details of errors and post them here for more troubleshooting.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_S

    Hi Experts,
    I have created some tables & fields in my Addon. When i am running the code in SAP B1 8.8, some tables & fields are creating and some are not creating. it's throwing exception "The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))". yet i hv added the reference of 8.0.
    When i am running in 2007 version its working fine and creating all the tables & Fields.
    Please help me out.
    Thanking all
    Vishwajit Kumar

    Hi Vishwajit Kumar,
    The data structure has been changed between versions. If your table has relationship with system table, you must review them all one by one.
    Thanks,
    Gordon

  • Error : The Server threw an exception.

    Hi all,
            I found one exception, this comes from when i switch to one column to another column in the Matrix.that Matrix's columns having combobox control.
    Error :<b>The Server threw an exception. (Exception from HRESULT:0x80010105
    (RPC_E_SERVERFAULT)) </b>

    The "The Server threw an exception" is the top-node exception, that is cast if something unexpected happened that the developers of the SDK haven't considered... "The Server threw an exception" is most common in early releases of a new version, and is on the road replaced with more informative exceptions or bug-fixes... You should report it to the SAP Support

  • A COM exception has been encountered: At invoke of: ADD The server threw an

    Hi,
    we are using the Java Connector, and I can add or update Business Partners.
    But adding or updating an JournalVouchers allways throws the following COM Exception
    on a SBO 6.5. Our programm-code works on a SBO 6.2, but not on a SBO 6.5 ?
    What is wrong ? Can anybody tell us that ?
    Regards
    Jan Nielsen
    AMC-CONSULT A/S
    ====== error mesage ======
    com.sap.smb.sbo.wrapper.com.ComFailException: A COM exception has been encountered:
    At Invoke of: Add
    Description: The server threw an exception.
    ====== Programcode ==============
    Created on 25-09-2003
    To change the template for this generated file go to
    Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    package amc.sap.util;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.FileReader;
    import java.io.IOException;
    import java.util.Date;
    import amc.language.Language;
    import amc.xkernel.exception.SetThrowException;
    import amc.xkernel.global.BoxPane;
    import amc.xkernel.global.Convert;
    import amc.xkernel.global.DateX;
    import amc.xkernel.global.SysLog;
    import amc.sap.table.SalarySetupTable;
    import amc.sap.table.SalarySetupTrans;
    import com.sap.smb.sbo.api.IJournalEntries;
    import com.sap.smb.sbo.api.IJournalEntries_Lines;
    import com.sap.smb.sbo.api.IChartOfAccounts;
    import com.sap.smb.sbo.api.SBOCOMUtil;
    import com.sap.smb.sbo.api.SBOErrorMessage;
    import com.sap.smb.sbo.util.ConvertUtil;
    @author Administrator
    To change the template for this generated type comment go to
    Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    public class MultidataImport extends SAPLogonUtil
         private int lineNo = 0;
         public static void FileCopy(String srcFileName, String destFileName)
              try
                   File srcFile = new File(srcFileName);
                   if (srcFile.exists())
                        File destFile = new File(destFileName);
                        FileInputStream in = new FileInputStream(srcFile);
                        FileOutputStream out = new FileOutputStream(destFile);
                        int ret;
                        for (;(ret = in.read()) != -1;)
                             out.write(ret);
                        in.close();
                        out.close();
              catch (Throwable e)
                   SysLog.setError(e.getMessage(),"");
         private SBOErrorMessage errMsg = null;
         private IJournalEntries iJournalEntries = null;
         private IChartOfAccounts iChartOfAccounts = null;     
         private IJournalEntries_Lines iJournalEntries_Lines = null;
         private boolean iJournalEntriesOK = false;
         private int recCounter = 0;
         private SalarySetupTable salarySetupTable = null;
         private boolean errorsFound = false;     
         File fileName = null;
         public MultidataImport()
              super();
         public void insertRecord(String record) throws Exception
              try
                   SalarySetupTrans salarySetupTrans = new SalarySetupTrans();
                   String strDate = null;
                   Date entryDate = null;
                   String salaryCode = null;
                   String debetCredit = null;
                   String entryAccount = null;
                   String entryText = null;
                   String intAmount = null;
                   Double amount = Convert.string2Double("0.00");
                   Double emptyDouble = Convert.string2Double("0.00");
                   if (record.substring(0, 2).toString().equalsIgnoreCase("ML"))
                        /** Entrydate*/
                        strDate =
                             Convert.subString(record, 21, 4)
                                  + "-"
                                  + Convert.subString(record, 25, 2)
                                  + "-"
                                  + Convert.subString(record, 27, 2);
                        entryDate = ConvertUtil.DateString2Date(strDate);
                        /** Salarycode */
                        salaryCode = Convert.subString(record, 38, 4);
                        /** Identyfier for Debet or Credit amount */
                        debetCredit = Convert.subString(record, 42, 1);
                        /** Amount */
                        intAmount =
                             Convert.subString(record, 43, 10)
                                  + "."
                                  + Convert.subString(record, 53, 2);
                        amount = Convert.string2Double(intAmount);
    Fillout the IJournalEntries
                                                                salarySetupTrans.setWhereFirstOnly(SalarySetupTrans.SalaryId"='"salaryCode+"'");
                        if (iJournalEntriesOK == false)
                             iJournalEntries.setMemo(Language.get("@ImportML"));
                             iJournalEntries.setReferenceDate(entryDate);
                             iJournalEntries.setStornoDate(entryDate);
                             iJournalEntries.setTaxDate(entryDate);
                             iJournalEntries_Lines = iJournalEntries.getLines();     
                             iJournalEntriesOK = true;
                        if (iJournalEntriesOK == true)
    Fillout the IJournalEntries_Lines
                             /** Fetch account from from DB */
                             entryAccount = salarySetupTrans.accountId;
                             /** Fetch Entrytext from DB */
                             entryText = salarySetupTrans.entryText;
                             /** Make debet Line. */
                             if(lineNo >= 1)
                                  lineNo = lineNo + 1;                         
                                  Integer integer_ = new Integer(lineNo);
                                  iJournalEntries_Lines.setCurrentLine(integer_);
                             iJournalEntries_Lines.setAccountCode(entryAccount);     
                             if (debetCredit.equalsIgnoreCase("+"))
                                  iJournalEntries_Lines.setDebit(amount);
                                  iJournalEntries_Lines.setCredit(emptyDouble);                              
                             else
                                  iJournalEntries_Lines.setCredit(amount);
                                  iJournalEntries_Lines.setDebit(emptyDouble);
                             iJournalEntries_Lines.setDueDate(entryDate);
                             iJournalEntries_Lines.setLineMemo(entryText);
                             iJournalEntries_Lines.setReferenceDate1(entryDate);
                             iJournalEntries_Lines.setShortName(entryAccount);
                             iJournalEntries_Lines.setTaxDate(entryDate);
                             iJournalEntries_Lines.add();
                             errMsg = iCompany.getLastError();
                             if (errMsg.getErrorCode() != 0)
                                  iJournalEntriesOK = false;
                                  throw new Exception("Could not create Journalentry "
                                                                  + "\nReason code: "
                                                                + errMsg.getErrorCode()
                                                                + "\nLongtext: "
                                                                + errMsg.getErrorMessage());
                             lineNo = lineNo + 1;                         
                             Integer integer1_ = new Integer(lineNo);
                             iJournalEntries_Lines.setCurrentLine(integer1_);
                             /**  Make credit Line */
                             /** Fetch setoffaccount from from DB */
                             entryAccount = salarySetupTrans.setOffAccountId;                         
                             iJournalEntries_Lines.setAccountCode(entryAccount);                         
                             if (debetCredit.equalsIgnoreCase("+"))
                                  iJournalEntries_Lines.setDebit(emptyDouble);
                                  iJournalEntries_Lines.setCredit(amount);                              
                             else
                                  iJournalEntries_Lines.setCredit(emptyDouble);
                                  iJournalEntries_Lines.setDebit(amount);
                             iJournalEntries_Lines.setDueDate(entryDate);
                             iJournalEntries_Lines.setReferenceDate1(entryDate);
                             iJournalEntries_Lines.setShortName(entryAccount);
                             iJournalEntries_Lines.setTaxDate(entryDate);
                             iJournalEntries_Lines.setLineMemo(entryText);                         
                             iJournalEntries_Lines.add();
                             recCounter = recCounter + 1;
                             errMsg = iCompany.getLastError();
                             if (errMsg.getErrorCode() != 0)
                                  iJournalEntriesOK = false;
                                  throw new Exception("Could not create Journalentry "
                                                                + "\nReason code: "
                                                                + errMsg.getErrorCode()
                                                                + "\nLongtext: "
                                                                + errMsg.getErrorMessage());
              catch (SetThrowException s)
                   SysLog.setError(s.getMessage(),"");
              catch (Exception e1)
                   SysLog.setError(Language.get("@AddFail"),e1.toString());
         public void validateRecord(String record) 
              try
                   SalarySetupTrans salarySetupTrans = new SalarySetupTrans();
                   String salaryCode = null;
                   if (record.substring(0, 2).toString().equalsIgnoreCase("ML"))
                        /** Entrydate*/
                        //** Salarycode */
                        salaryCode = Convert.subString(record, 38, 4);
                        /** Identyfier for Debet or Credit amount */
    Check salarycodes and SAP Ledgeraccounts
                        salarySetupTrans.setWhereFirstOnly(SalarySetupTrans.SalaryId"='"salaryCode+"'");
                        if(!salarySetupTrans.found())
                                            SysLog.setError(Language.get("@SalarycodeNotFound",salaryCode),Language.get("@SalarycodeNotFoundHELP"));
                             errorsFound = true;                         
                        else
                             if(salarySetupTrans.accountId == "")
                                  SysLog.setError(Language.get("@AccountIdNotFound",salaryCode),Language.get("@AccountIdNotFoundHELP"));
                                  errorsFound = true;                         
                             else
                                  if(!iChartOfAccounts.getByKey(salarySetupTrans.accountId))
                                       SysLog.setError(Language.get("@AccountIdNotExist",salarySetupTrans.accountId),Language.get("@AccountIdNotExistHELP"));
                                       errorsFound = true;                         
                             if(salarySetupTrans.setOffAccountId == "")
                                  SysLog.setError(Language.get("@SetOffAccountIdNotFound",salaryCode),Language.get("@SetOffAccountIdNotFoundHELP"));
                                  errorsFound = true;                         
                             else                                             
                                  if(!iChartOfAccounts.getByKey(salarySetupTrans.setOffAccountId))
                                       SysLog.setError(Language.get("@SetOffAccountIdNotExist",salarySetupTrans.setOffAccountId),Language.get("@SetOffAccountIdNotExistHELP"));
                                       errorsFound = true;                         
                   else
                        SysLog.setInfo(Language.get("@WrongFileType",fileName.getAbsolutePath()),Language.get("@WrongFileTypeHELP"));
                        errorsFound = true;
                        return;                              
              catch (SetThrowException i)
                   SysLog.setError(i.getMessage(),"");
         public void run(boolean showBoxes)
              int je;
              String fileNameStr = null;
              File                     backupFile                = null;
              File                     backupDir                = null;
              FileReader fileReader = null;
              BufferedReader read = null;
              String readLine = null;
              String content = null;
              iJournalEntriesOK = false;
              if (iCompany == null)
                   MultidataImport.tryLogon(false);
              if (iCompany == null)
                   return;
              try
                   salarySetupTable = new SalarySetupTable();
                   salarySetupTable.setWhereFirstOnly();
                   fileNameStr = salarySetupTable.salaryImportFile;
                   if (fileNameStr == null || fileNameStr.equalsIgnoreCase(""))
                        SysLog.setError(Language.get("@NoImportfile"),Language.get("@NoImportfileHELP"));
                        return;
                   backupFile = new File(salarySetupTable.salaryMoveTo"
    "DateX.getSystemDateString()Convert.stringRemove( DateX.getSystemTime(),":")".bak");
                   backupDir  = new File(salarySetupTable.salaryMoveTo);
                   fileName   = new File(fileNameStr);
                   if (!fileName.exists())
                        SysLog.setError(Language.get("@FileNoExist",fileName.getAbsolutePath()),Language.get("@FileNoExistHELP"));               
                        return;
                   if ( !backupDir.exists() )
                        SysLog.setError(Language.get("@BackupDirNoExist",backupDir.getAbsolutePath()),Language.get("@BackupDirNoExistHELP"));                    
                        return;
                   if(showBoxes)
                        if (BoxPane.okCancel(Language.get("@OKtoImport")" "Language.get("@Multidata"),"Multidata-import") != 0)
                        return;
                   iJournalEntries  = SBOCOMUtil.newJournalEntries(iCompany);
                   iChartOfAccounts = SBOCOMUtil.newChartOfAccounts(iCompany);               
                   fileReader = new FileReader(fileName);
                   read = new BufferedReader(fileReader);
                   while (((readLine = read.readLine()) != null))
                        content = readLine;
                        if (!content.equalsIgnoreCase(""))
                             this.validateRecord(content);
                   if(errorsFound == true)
                        SysLog.setError(Language.get("@ErrorsFound"),Language.get("@ErrorsFoundHELP"));
                        fileReader.close();
                        read.close();
                        return;
                   fileReader.close();
                   read.close();
                   fileReader = new FileReader(fileName);
                   read = new BufferedReader(fileReader);
                   while (((readLine = read.readLine()) != null))
                        content = readLine;
                        if (!content.equalsIgnoreCase(""))
                             this.insertRecord(content);
                   if (iJournalEntriesOK == true)
                        je = iJournalEntries.add();
                        if (je != 0L)
                             iJournalEntriesOK = false;
                             errMsg = iCompany.getLastError();
                             SysLog.setError(Language.get("@NotCreatedJEntry")
                                                                + "\n"+Language.get("@ReasonCode")
                                                                + errMsg.getErrorCode()
                                                                + "\n"+Language.get("@ErrorMessage")
                                                                + errMsg.getErrorMessage()
                                                                ,Language.get("@ConnectErrorHELP"));
                        else
                             SysLog.setInfo(Language.get("@CreatedJEntry",String.valueOf(recCounter)),"");
                   if(iJournalEntriesOK == true)
                        FileCopy(fileName.getAbsolutePath(),backupFile.getAbsolutePath());
                   fileReader.close();
                   read.close();
                   if (backupFile.exists())
                        fileName.delete();
              catch (SetThrowException t)
                   SysLog.setError(t.getMessage(),"");
              catch (IOException i)
                   SysLog.setError(i.getMessage(),"");
              catch (Exception s)
                   SysLog.setError(s.getMessage(),"");

    After a long search I have found the answer to this proproblem myself on service.sap.com/smb note-no 706379. I have tryed it out and it WORKS. Please read the following text that explains the problem and the solution :
    Symptom
    Following exception or similar text found in the failed response message
    COM exception has been encountered: At Invoke of: Add
    Description: The server threw an exception.
    Other terms
    SBO ITK, Java Connector, SBO SDK, DI-API, SAP J2EE 6.20
    Reason and Prerequisites
    Note 642676 explains this problem in a detail.
    In a brief, the main stack size is not large enough causes this
    exception.
    Solution
    First of all, please find from which exe file the J2EE server started. For starting in the console with go.bat, the exe may be java.exe under %JAVA_HOME%\bin (Please check the path setting for which java.exe
    to be used. Normally, it may be C:\WINDOWS\SYSTEM32\java.exe,
    %JAVA_HOME%\bin\java.exe, %JAVA_HOME%\jre\bin\java.exe,
    or C:\Program Files\JavaSoft\JRE\1.3.1_08\bin\java.exe)
    For starting as the windows service, you can find the exe as following:
    1. Open the service from Start -> Setting -> Control Panel ->
       Adiministrative Tools -> Services
    2. Find the service to start SAP J2EE 6.20 of ITK, for example,
        "SAP J2EE Engine Alone"
    3. Open the properites window of this service, you can find the exe    in "Path to excutable", for example,    d:\SAP_J2EEngine6.20\configtool\alone.exe
    Second, prepare the tools to do the patch. If you have installed
    Microsoft Visual Studio 6.0, you have the right tools. We need
    a. editbin.exe, to patch the exe.
    b. dumpbin.exe, to check the stacksize.
    c. link.exe and MSPDB60.DLL to run above two tools.
    Third, patch the exe:
    1. BACKUP THE ORIGINAL EXE, JAVA.EXE OR ALONE.EXE
    2. Use dumpbin.exe to check the original stack size
       dumpbin.exe /headers alone.exe
       find line: 40000 size of stack reserve
       It means the current stack size is 256k
    3. Use editbin.exe to patch the exe, for example with 2m stack size
       2m = 2 * 1024 *1024 bytes = 2097152 bytes
       editbin.exe /stack:2097152 alone.exe
    4. Use dumpbin.exe to verify the patch.
       dumpbin.exe /headers alone.exe
       find line: 200000 size of stack reserve
       It means the current stack size is 2m
    Last step, start the J2EE server again and see whether everything
    is OK.
    For service, we also recommend you patch    d:\SAP_J2EEngine6.20\configtool\service.exe All installed service exe file, for example alone.exe will be copied from this file. Patch this file will avoid patch each duplicated exe file then.
    Regards
    Jan Nielsen
    AMC-CONSULT A/S

  • Receive the following error message when trying to approve or reject from Pending "The service threw an unknown exception. See inner exception for details"

    Hi, The server agent was grayed out.  I uninstall it from control panel and removed it from agent managed.  When I tried to install the agent, it failed.  I installed the agent manaully and tried to approve it received the error message
    "The service threw an unknown exception. See inner exception for details"  I have the details but does not tell me much (I can post it).  I removed it from control panel (while still showin in pending),
    and tried to reject it.  Again, received the same error message as above.  This a very critical server, could someone help me with this issue?  Thanks, Ziba

    Thank you Alexey, please see the following details:
    Date: 8/19/2010 7:28:51 AM
    Application: System Center Operations Manager 2007 R2
    Application Version: 6.1.7221.0
    Severity: Error
    Message:
    Microsoft.EnterpriseManagement.Common.UnknownServiceException: The service threw an unknown exception. See inner exception for details. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]:
    Exception of type 'Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException' was thrown. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
    Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException: Exception of type 'Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException' was thrown.
       at Microsoft.EnterpriseManagement.Mom.DataAccess.DataAccessUtility.GetManagedEntityKeyValuePairs(IList`1 baseManagedEntityIds, DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.DiscoveryDataManager.DeleteUserActionManagersByAgentPendingActionId(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccess.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccessTieringWrapper.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccessExceptionTracingWrapper.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at ...).
       --- End of inner exception stack trace ---
       at Microsoft.EnterpriseManagement.DataAbstractionLayer.SdkDataAbstractionLayer.HandleIndigoExceptions(Exception ex)
       at Microsoft.EnterpriseManagement.DataAbstractionLayer.AdministrationOperations.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Administration.ManagementGroupAdministration.RejectAgentPendingActions(IList`1 monitoringObjects)
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Views.PendingManagementView.<>c__DisplayClass8.<OnRejctAgent>b__7(Object , ConsoleJobEventArgs )
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)
    System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Exception of type 'Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException' was thrown. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true,
    whose value is:
    Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException: Exception of type 'Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException' was thrown.
       at Microsoft.EnterpriseManagement.Mom.DataAccess.DataAccessUtility.GetManagedEntityKeyValuePairs(IList`1 baseManagedEntityIds, DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.DiscoveryDataManager.DeleteUserActionManagersByAgentPendingActionId(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccess.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccessTieringWrapper.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccessExceptionTracingWrapper.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at ...).

  • The server threw an exception

    Private Sub LoadGRN()
            Dim ddlGRN As SAPbouiCOM.ComboBox
            Dim objRecord As SAPbobsCOM.Recordset
            Dim intI As Integer
            Dim intValue As Integer
            Try
                ddlGRN = SBO_Application.Forms.ActiveForm.Items.Item("ddlGRN").Specific()
                SBO_Application.Forms.ActiveForm.Items.Item("ddlGRN").DisplayDesc = True
                objRecord = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                objRecord.DoQuery("Select * from OPDN ")
                If ddlGRN.ValidValues.Count = 0 Then
                    For intI = 0 To objRecord.RecordCount - 1
                        If intI = 0 Then
                            intValue = objRecord.Fields.Item(1).Value
                        End If
                        ddlGRN.ValidValues.Add(objRecord.Fields.Item(0).Value, objRecord.Fields.Item(0).Value)
                        objRecord.MoveNext()
                    Next
                    objRecord.MoveFirst()
                    If ddlGRN.ValidValues.Count > 0 Then
                        ddlGRN.Select(intValue)                Else
                        ddlGRN.ValidValues.Add(0, "No data found")
                    End If
                End If
            Catch ex As Exception
                SBO_Application.MessageBox(ex.Message)
            End Try
        End Sub
    I am loading dropdown using the above code.I am displaying goods receipt no in the dropdown.I want to select the first value when the dropdown is loaded.For this I have used the code which is highlighted in bold.But it gives error as,
    The server threw an exception
    So how can I select the first value ?

    Hi dilip
    replace this code
    If ddlGRN.ValidValues.Count > 0 Then
    ddlGRN.Select(intValue) Else
    ddlGRN.ValidValues.Add(0, "No data found")
    End If
    with
    If ddlGRN.ValidValues.Count > 0 Then
    ddlGRN..Select(0, SAPbouiCOM.BoSearchKey.psk_ByIndex)
    Else
    ddlGRN.ValidValues.Add(0, "No data found")
    End If
    Regards
    Vishnu

  • Rollback is not working when "The server threw an exception" error

    Hi
    These are my transaction steps
    1) Call the StartTransaction method of the company object (Function AA)
    2) Add  Goods Issue (Rollback if error occurs) (Function BB)
    3) Create record with oRecordSet object (Rollback if error occurs) (Function BB)
    4) Add Journal Entry (Rollback if error occurs) (Function CC)
    5) Add Goods Receipt (Rollback if error occurs) (Function DD)
    6) Create record with oRecordSet object (Rollback if error occurs) (Function DD)
    7) Call EndTransaction (with commit) to complete the whole process (Function AA)
    These are working fine usually.
    But problem is when user has "The server threw exception" error message.
    Whole transaction must be rollback but still step 2 and 3 records are exist on DB.
    Rollback is working fine with another error messages.
    I programmed call Rollback transaction if calling function has any error.
    Function BB, CC and DD are calling from Function AA.
    I never have "The server threw an exception" error on my development machine with B1 2005 PL 51.
    This is happened only  LIVE server with B1 2005 PL 51.
    B1 was upgraded from PL29 to PL51 recently becaseu of Locking issue.
    Then Locking issue was solved but have "The server threw an exception" error and rollback is not working properly.
    I hope someone can help me!!!!.
    Thank you
    2) & 3) steps

    Hi Joanne,
    There are 2 things to check here.
    1. is the Transaction
    2. is the RPC_E_SERVERFAULT.
    for the first one,
    in step 2, just before you add the Good Issue, can you try to check first if you are still in a transaction ?
    Just to make sure.
    If it is, maybe you should open a ticket to SAP support.
    BTW, Which version is your Live environment ?
    for the second one,
    try to search the error in this forum. there is a lot of posting about this.
    The problem might also go away if you upgraded your SBO.
    Please search and see if there is anything the same with your problem.
    Regards
    Edy

  • When connecting to cube via msmdpump.dll, an error pops up saying the following system error occurred: the server threw an exception

    users are able to pick the SSAS database and cube, it's at the final step and suddenly excel had this error:
    The following system error occurred: the server threw an exception...
    Other users have no such issues at all
    any ideas?
    thanks
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    Hi Cat_ca,
    Glad to hear that your issue had been solved by yourself. Thank you for your sharing.
    Regards,
    Charlie Liao
    TechNet Community Support

  • The server threw exception error - Goods Issue Object

    Hi All,
    The server threw exception error while creating Goods issue through object oInverntoryGenEntry. It was working fine in 2005 B. This error showing after upgradation 2005 B to 2007B.Now i am using 2007B PL8
    Warm Regards,
    Mahendra

    Dear Mahendrakumar,
    You need to use oInventoryGenExit for Goods Issue but not oInverntoryGenEntry.
    Best Regards
    Jane Jing
    SAP Business One Forums team

  • I am unable to see any POP3 or IMAP tab when I set up an account in my iphone 4S. Hence by default all my email accounts become IMAP and the messages are deleted from the server when I delete them from the iphone.

    I am unable to see any POP3 or IMAP tab when I set up an account in my iphone 4S. Hence by default all my email accounts become IMAP and the messages are deleted from the server when I delete them from the iphone.

    ok sorry everyone but i solved it myself but the solution is so nuts i've posted it here to help others who have the same problem.
    to setup a comcast imap account on your iphone:
    go to mail, contacts, etc in settings
    under accts, select add account
    select "other"
    new screen, choose "add mail account"
    now on the new acct screen you must enter your name, email address and password for your GMAIL acct ! (yes i said your gmail acct !, or some other acct with a NON comcast address).
    hit next
    then the acct verifies
    when verified a screen will open with all the acct settings for this acct AND @ the top of the screen are the 2 buttons > imap or POP
    select imap and THEN CHANGE ALL THE ACCOUNT information to the comcast account !
    then hit next and the account will take a couple minutes to verify but it will verify and now you have a comcast imap acct set up on your iphone.  The problem must be that when the iphone sends the initial verify acct info to comcast (if you enter that information first) the comcast server is simply not setup yet to signal the iphone that there is an imap option.

  • Can you select the server name or I.P. from SQL

    I am trying to find where I can get the server name or IP address from an SQL query, Can you Help?

    Do you mean the database host? It's like this:
    SQL> select host_name from v$instance;
    HOST_NAME
    sqlintdb4                                                                                                                                                                                                                                                                                                                               

  • How can I set up email on iphone 5 to leave emails on the server if I delete them from iphone?

    How can I set up email on iphone 5 to leave emails on the server if I delete them from iphone?

    Hi RK GARG,
    Welcome to the Support Communities!
    The article below will explain how to access the Advanced settings in your email account.
    Click on the link to see screen shots.
    To answer your question ... change the Deleted Messages -  Remove field to Never
    Using a POP account with multiple devices
    http://support.apple.com/kb/HT3228
    In Settings, select Mail, Contacts, Calendars.
    Select the account for which you wish to change the settings.
    Select Advanced, located at the bottom of the list.
    Cheers,
    - Judy

  • Jwsdp: after more than one day live the server send a socket exception.

    Hello,
    I built a beginning of an application using bookstore2 as a template. The main difference is that I am using mysql DBMS. The application runs fine, but when I leave the server running overnight, the following day I get this error:
    Your request cannot be completed. The server got the following error:
    Communication link failure: java.net.SocketException
    every time I use a jsp involved in the database access. The other jsps like cart checking are working fine.
    I checked the database server (even thru a socket), it works fine and worse, manager: a context not depending on the database doesn't work anymore when I try to use ant reload I get this error:
    /home/jeanct/jwsdp/dvl/dciweb/build.xml:62: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/manager/reload?path=%2Fdciweb
    After a server shutdown and a startup it works fine again.
    Thank you if you can give me any clue
    Jean-Claude Tebbal
    Senior Analyst progammer
    DCI ltd UK
    PS:
    here follow the application context an logs:
    Property Value
    JNDI Name: Localwebdb
    Data Source URL: jdbc:mysql://localhost:3306/dciweb
    JDBC Driver Class: org.gjt.mm.mysql.Driver
    User Name: root
    Password: *********
    Max. Active Connections: 4
    Max. Idle Connections: 2
    Max. Wait for Connection: 5000
    context.xml
    <Context path="/dciweb" docBase="../dvl/dciweb/build" debug="0">
    <ResourceLink name="jdbc/dciweb" global="Localwebdb" />
    </Context>
    logs:
    access_log.2002-10-16.txt:
    127.0.0.1 - - [16/Oct/2002:09:56:40 00] "GET /dciweb/ HTTP/1.1" 302 -
    127.0.0.1 - - [16/Oct/2002:09:56:42 00] "GET /dciweb/index.jsp HTTP/1.1" 200 -
    127.0.0.1 - - [16/Oct/2002:09:56:42 00] "GET /dciweb/browser_checker.js HTTP/1.1" 304 -
    127.0.0.1 - - [16/Oct/2002:09:56:42 00] "GET /dciweb/start.jsp?browser=ok HTTP/1.1" 200 -
    127.0.0.1 - - [16/Oct/2002:09:56:50 00] "GET /dciweb/offerlist.jsp HTTP/1.1" 200 -
    catalina.out:
    DbcpDataSourceFactory: driverClassName=com.informix.jdbc.IfxDriver, url=jdbc:informix-sqli://bti:3003/cell:INFORMIXSERVER=sh_bti, use
    r=informix
    DbcpDataSourceFactory: driverClassName=org.gjt.mm.mysql.Driver, url=jdbc:mysql://localhost:3306/dciweb, user=root
    Starting service Internal Services
    Java Web Services Developer Pack/1.0_01-fcs
    Starting service Java Web Services Developer Pack
    Java Web Services Developer Pack/1.0_01-fcs
    jwsdp_log.2002-10-16.txt:
    2002-10-16 09:24:34 jsp: init
    2002-10-16 09:30:51 jsp: init
    2002-10-16 09:56:42 jsp: init
    2002-10-16 09:56:50 jsp: init
    localhost_admin_log.2002-10-16.txt:
    2002-10-16 09:49:29 jsp: init
    2002-10-16 09:49:37 jsp: init
    2002-10-16 09:49:52 jsp: init
    2002-10-16 09:49:54 jsp: init
    2002-10-16 09:49:55 jsp: init
    2002-10-16 09:49:59 jsp: init
    2002-10-16 09:50:02 action: Entered TreeControlTestAction:perform()
    2002-10-16 09:50:02 action: tree param is null
    2002-10-16 09:50:02 action: Select event on Globally Administer Data Sources
    2002-10-16 09:50:03 jsp: init
    2002-10-16 09:50:11 jsp: init
    services_log.2002-10-15.txt:
    2002-10-15 13:26:43 WebappLoader[jaxm-provideradmin]: Deploying class repositories to work directory /home/jeanct/jwsdp/work/Services
    Engine/jwsdp-services/jaxm-provideradmin
    2002-10-15 13:26:43 WebappLoader[jaxm-provideradmin]: Deploy class files /WEB-INF/classes to /home/jeanct/jwsdp/services/jaxm-provide
    radmin/WEB-INF/classes
    2002-10-15 13:26:43 WebappLoader[jaxm-provideradmin]: Deploy JAR /WEB-INF/lib/provider.jar to /home/jeanct/jwsdp/services/jaxm-provid
    eradmin/WEB-INF/lib/provider.jar
    2002-10-15 13:26:43 WebappLoader[jaxm-provideradmin]: Deploy JAR /WEB-INF/lib/struts.jar to /home/jeanct/jwsdp/services/jaxm-provider
    admin/WEB-INF/lib/struts.jar
    2002-10-15 13:26:45 ContextConfig[jaxm-provideradmin]: WARNING: Security role name provider used in an <auth-constraint> without bein
    g defined in a <security-role>
    2002-10-15 13:26:47 ContextConfig[jaxm-provideradmin]: Configured an authenticator for method BASIC
    2002-10-15 13:26:47 StandardManager[jaxm-provideradmin]: Seeding random number generator class java.security.SecureRandom
    2002-10-15 13:26:47 StandardManager[jaxm-provideradmin]: Seeding of random number generator has been completed
    2002-10-15 13:26:47 StandardWrapper[jaxm-provideradmin:default]: Loading container servlet default
    2002-10-15 13:26:47 default: init
    2002-10-15 13:26:47 StandardWrapper[jaxm-provideradmin:invoker]: Loading container servlet invoker
    2002-10-15 13:26:47 invoker: init
    2002-10-15 13:26:47 action: init
    2002-10-15 13:26:49 jsp: init
    2002-10-15 13:26:52 WebappLoader[jaxm-provider]: Deploying class repositories to work directory /home/jeanct/jwsdp/work/Services Engi
    ne/jwsdp-services/jaxm-provider
    2002-10-15 13:26:52 WebappLoader[jaxm-provider]: Deploy JAR /WEB-INF/lib/provider.jar to /home/jeanct/jwsdp/services/jaxm-provider/WE
    B-INF/lib/provider.jar
    2002-10-15 13:26:53 StandardManager[jaxm-provider]: Seeding random number generator class java.security.SecureRandom
    2002-10-15 13:26:53 StandardManager[jaxm-provider]: Seeding of random number generator has been completed
    2002-10-15 13:26:53 providerservlet: init
    2002-10-15 13:26:54 StandardWrapper[jaxm-provider:default]: Loading container servlet default
    2002-10-15 13:26:54 default: init
    2002-10-15 13:26:54 StandardWrapper[jaxm-provider:invoker]: Loading container servlet invoker
    2002-10-15 13:26:54 invoker: init
    2002-10-15 13:26:54 receiverservlet: init
    2002-10-15 13:26:54 jsp: init
    2002-10-15 13:26:54 digest: init

    I found the answer to my question, I give it here for those using mysql as a DBMS.
    Two variables in MySql have to be tuned: INTERACTIVE_TIMEOUT and WAIT_TIMEOUT. They default to 8 hours, so after 8 hours the two remaining idle connections were killed
    and a socket exception was thrown to the first use of the connection pool.

Maybe you are looking for

  • I have a Text control string box with some initial text. I would like to highlight old text with click of mouse and type in new data from keyboard

    I have a text control string box with some initial text (says: Please enter Name). I would like the operator to click on the text control box and have it automatically highlight so that when new data is typed in the old erases (all at once) and the n

  • Reg: Business system

    Hi All, Abap program will write the IDOC information into a flat file and this flat file will be put into the same SAP R/3 App server. XI Interface has to pick this flat file which is located in the R/3 App Server and send to the File server in the s

  • Transfer app to another account?

    Hi, I bought a GPS app a few months ago for £70, and have found that I don't really use it. My father likes the app however... paying for it again would be a waste as I'm not using my copy, so how can I transfer this app to his account? Thanks

  • Cannot change Phone field in contacts

    My brother has an iPhone 4 running iOS7. In the contacts app he cannot change the type of phone number. If you click "add phone", the label shows "radio" as the default number type. If you click on the blue "radio" label it gives the picklist of avai

  • EP 6.0 SP 9 Upgrade Installation Error!

    Hi! Here's a detailed explanation of the error that we are facing while doing the EP 6.0 SP 9 upgrade from EP 6.0 SP 3. We followed all the steps given below before upgrading - Step 1 Installed  SAP Web AS 6.40 J2EE Engine SP3 successfully Step 2 Upg