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

Similar Messages

  • 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 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

  • 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

  • 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.

  • 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

  • The server threw an exception (Interop.SAPbobsCOM)

    Hi all, i have a problem with my plugin (works with user defined form), in the begining it works fine but after some time fails to work properly and gives an exception on the following line.
    oRecordSet = (Recordset)vCompany.GetBusinessObject(BoObjectTypes.BoRecordset);
    please advice what might be the problem?
    code
              try
                        oRecordSet = (Recordset)vCompany.GetBusinessObject(BoObjectTypes.BoRecordset);
                   catch (Exception theException)
                        vCompany.GetLastError(out Errcode, out ErrorMessage);
                        Console.WriteLine("{0},,,,",Errcode,ErrorMessage,theException.Message,theException.Source,theException.InnerException);
                   oCommand = oRecordSet.Command;
                   oCommand.Name="Stored_Procedure";

    Hi Oleksiy,
    Must likely you will have to release the Recordset or other Metadata objects that might exist in your process.
    Example:
                    'System.Runtime.InteropServices.Marshal.ReleaseComObject(oRecordset)
                    'oRecordset = Nothing
    or
                    oRecordset = Nothing
                    GC.Collect()
                    GC.WaitForPendingFinalizers()
    This should be the problem.
    Best regards,
    Felipe

  • 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

  • UDS 4.0 - PHD Connection - Server Threw an Exception

    Hi All,
          I am using UDS 4.0 for connecting to Honeywell PHD System via OPC Server. When i execute the Tag Query first time, I am getting the Tag Values successfully. But the same query if i run it for second time i gives me an Exception "com.sap.xmii.Illuminator.logging.LHException: The server threw an exception.". So i restarted the UDS Service and ran the query again. It worked. But again second time it is throwing an exception. Can any one tell me what could be the Error.
    Here is the URL i am using:
        http://Server:50000/XMII/Illuminator?Server=UDC_PHD_1&Mode=History&Method=&DateFormat=yyyy-MM-dd'T'HH:mm:ss&StartDate=2010-01-28T04:30:00&EndDate=2010-01-28T04:45:00&RowCount=15&TagName=MH.93A128.PV,MH.93A127.PV,MH.93A126.PV,MH.93A125.PV,MH.93A124.PV,MH.93A123.PV,MH.93A122.PV,MH.93A121.PV,MH.93A120.PV,MH.93A130F.PV,MH.93A114.PV,MH.93N100.PV,MH.93X100B.PV,MH.68A004.PV,MH.68N027.PV,MH.68X027B.PV,MH.68A010.PV,MH.68A011.PV,MH.68A012.PV,MH.68A013.PV,MH.68A014.PV,MH.68A015.PV,MH.68A016.PV,MH.68A017.PV,MH.68A018.PV,MH.68A019.PV,MH.68A020.PV,MH.68A021.PV,MH.68A022.PV,MH.68A023.PV,MH.68A024.PV,MH.68A025.PV,MH.68F027C.PV,ML.73F012C1.PV,ML.73A125.PV,ML.73A124.PV,ML.73A123.PV,ML.73A122.PV,ML.73A121.PV,ML.73A120.PV,ML.73A119.PV,ML.73A118.PV,ML.73A117.PV,ML.73A116.PV,ML.73A115.PV,ML.73A114.PV,ML.73A113.PV,ML.73A112.PV,ML.73A111.PV,ML.73A110.PV,ML.73A104.PV,ML.73N012.PV,ML.73X012B.PV&Content-Type=text/xml
    Here is the Response:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <Rowsets DateCreated="2010-01-28T04:37:13" EndDate="1969-12-31T18:00:00" StartDate="1969-12-31T18:00:00" Version="12.0.8 Build(19)">
      <FatalError>com.sap.xmii.Illuminator.logging.LHException: The server threw an exception.</FatalError>
      </Rowsets>
    Here is the  Entry in UDS Log File:
    [01/28/2010-04:39:18.549] MB_PHD_HDA1 [P:5360, T:6616, Framework,   ERROR] 0x0     Query Id: 3     [LHDSChannelHandler.cpp @ 523, CLHDSChannelHandler::ExecuteIOCP] 
    [01/28/2010-04:39:18.549] MB_PHD_HDA1 [P:5360, T:6616, Framework,   ERROR] 0x17009     Exception occured: pid = 3, original = 3, data = Server     UDC_PHD_1     Content-Type     text/xml     Mode     History     DateFormat     yyyy-MM-dd'T'HH:mm:ss     RowCount     15     StartDate     1264674600     EndDate     1264675157     TagName.1     MH.93A128.PV     TagName.2     MH.93A127.PV     TagName.3     MH.93A126.PV     TagName.4     MH.93A125.PV     TagName.5     MH.93A124.PV     TagName.6     MH.93A123.PV     TagName.7     MH.93A122.PV     TagName.8     MH.93A121.PV     TagName.9     MH.93A120.PV     TagName.10     MH.93A130F.PV     TagName.11     MH.93A114.PV     TagName.12     MH.93N100.PV     TagName.13     MH.93X100B.PV     TagName.14     MH.68A004.PV     TagName.15     MH.68N027.PV     TagName.16     MH.68X027B.PV     TagName.17     MH.68A010.PV     TagName.18     MH.68A011.PV     TagName.19     MH.68A012.PV     TagName.20     MH.68A013.PV     TagName.21     MH.68A014.PV     TagName.22     MH.68A015.PV     TagName.23     MH.68A016.PV     TagName.24     MH.68A017.PV     TagName.25     MH.68A018.PV     TagName.26     MH.68A019.PV     TagName.27     MH.68A020.PV     TagName.28     MH.68A021.PV     TagName.29     MH.68A022.PV     TagName.30     MH.68A023.PV     TagName.31     MH.68A024.PV     TagName.32     MH.68A025.PV     TagName.33     MH.68F027C.PV     TagName.34     ML.73F012C1.PV     TagName.35     ML.73A125.PV     TagName.36     ML.73A124.PV     TagName.37     ML.73A123.PV     TagName.38     ML.73A122.PV     TagName.39     ML.73A121.PV     TagName.40     ML.73A120.PV     TagName.41     ML.73A119.PV     TagName.42     ML.73A118.PV     TagName.43     ML.73A117.PV     TagName.44     ML.73A116.PV     TagName.45     ML.73A115.PV     TagName.46     ML.73A114.PV     TagName.47     ML.73A113.PV     TagName.48     ML.73A112.PV     TagName.49     ML.73A111.PV     TagName.50     ML.73A110.PV     TagName.51     ML.73A104.PV     TagName.52     ML.73N012.PV     TagName.53     ML.73X012B.PV     !.     [LHDSChannelHandler.cpp @ 528, CLHDSChannelHandler::ExecuteIOCP] 
    Start of Exception Stack Trace **********
         1)     [01/28/2010-04:39:18.549] MB_PHD_HDA1 [P:5360, T:6616,       UDS, ] 0x0     The server threw an exception.
         [HdaBaseModeClass.h @ 407, HdaBaseMode<class CLHOpcHdaDSHistory>::FinalTagModeExecute]
         2)     [01/28/2010-04:39:18.549] MB_PHD_HDA1 [P:5360, T:6616,       UDS, RETHROW] 0x0     Rethrowing exception.     [HdaBaseModeClass.h @ 630, HdaBaseMode<class CLHOpcHdaDSHistory>::FinalTagModeExecute]
         3)     [01/28/2010-04:39:18.549] MB_PHD_HDA1 [P:5360, T:6616,       UDS, RETHROW] 0x0     Rethrowing exception.     [tagUtil/lhds2TagMode.h @ 109, lhds::LHDSTagModeImpl<class CLHOpcHdaDSHistory>::ExecuteMode]
         4)     [01/28/2010-04:39:18.549] MB_PHD_HDA1 [P:5360, T:6616,       UDS, RETHROW] 0x0     Rethrowing exception over COM.     [core/lhdsMode.h @ 133, lhds::LHDSModeImpl<class CLHOpcHdaDSHistory,struct ILHDSModeEx>::Execute]
         5)     [01/28/2010-04:39:18.549] MB_PHD_HDA1 [P:5360, T:6616,       UDS, RETHROW] 0x0     Rethrowing exception.     [core/lhdsMode.h @ 174, lhds::LHDSModeImpl<class CLHOpcHdaDSHistory,struct ILHDSModeEx>::Execute]
         6)     [01/28/2010-04:39:18.549] MB_PHD_HDA1 [P:5360, T:6616, Framework, RETHROW] 0x0     Rethrowing exception over COM.     [LHDSDispatcherEx.cpp @ 370, CLHDSDispatcherEx::CallMode]
         7)     [01/28/2010-04:39:18.549] MB_PHD_HDA1 [P:5360, T:6616,       UDS, RETHROW] 0x0     Rethrowing exception over COM.     [tagUtil/lhds2BrowseDs.h @ 385, lhds::LHBrowsingDataServerImpl<class CLHOpcHdaDataServer>::Execute]
         8)     [01/28/2010-04:39:18.549] MB_PHD_HDA1 [P:5360, T:6616, Framework, ] 0x0     Caught exception over a COM boundry.     [LHDSChannelHandler.cpp @ 601, CLHDSChannelHandler::OnExecute]
         9)     [01/28/2010-04:39:18.549] MB_PHD_HDA1 [P:5360, T:6616, Framework, RETHROW] 0x0     Rethrowing exception.     [LHDSChannelHandler.cpp @ 609, CLHDSChannelHandler::OnExecute]
         10)     [01/28/2010-04:39:18.549] MB_PHD_HDA1 [P:5360, T:6616, Framework, RETHROW] 0x0     Rethrowing exception.     [LHDSChannelHandler.cpp @ 537, CLHDSChannelHandler::ExecuteIOCP]
         11)     [01/28/2010-04:39:18.549] MB_PHD_HDA1 [P:5360, T:6616, Framework, RETHROW] 0x0     Rethrowing exception over COM.     [LHDSChannelHandler.cpp @ 191, CLHDSChannelHandler::Execute]
         12)     [01/28/2010-04:39:18.549] MB_PHD_HDA1 [P:5360, T:6616,      Host, HANDLED] 0x0     Handled exception.     [ThreadPool.cpp @ 460, ThreadPool::ThreadProc]
    End of Exception Trace **************
    Thanks,
    Gowtham K.
    Edited by: Gowtham Kuchipudi on Jan 28, 2010 11:57 AM
    Edited by: Gowtham Kuchipudi on Jan 28, 2010 1:08 PM

    Hi Sam,
        I tried using &Session=false, but it didn't solve the problem. I replaced the HttpPost Action Block with TagQuery. But still have the problems with Scheduler. And also tried with both STA and MTA options in UDS configuration for Threading Model with no success.
    Earlier when we installed and configured UDS 4.0, then also i noticed few strange things, like -->
    I entered the User and Password in UDS Configuration and tried to start. But it didn't and the Log file says Login Failed. Then i went to services.msc and re entered the password there for this uds service and clicked on start. It started. I don't know why the password is not properly stored when i enter the Password in UDS.
    Can any one please help me to understand why the scheduler is failing when connecting to Data Historian. Is there any setting i am missing in the UDS Configuration or in TagQuery?.
    Thanks,
    Gowtham K.

  • Server threw an exception while updating BP-Addresses

    Hi experts,
    I am trying to add (or update if already exist) addresses on a Business Partner. I am always getting an error that "The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))".
    I  have even tried to use different objects for finding, add or update, but still no luck..
    Can anyone advise me, please? my code looks like that:
            Dim oBP As SAPbobsCOM.BusinessPartners
            oBP = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
            oBP.GetByKey(CardCode)
            Dim flag As Integer = -1
            For i As Integer = 0 To oBP.Addresses.Count - 1
                oBP.Addresses.SetCurrentLine(i)
                If (oBP.Addresses.AddressName = Address_1) Then 
                    flag = i
                    Exit For
                End If
            Next
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oBP)
            oBP = Nothing
            GC.Collect()
            If flag = -1 Then
                Dim oBP1 As SAPbobsCOM.BusinessPartners
                oBP1 = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
                oBP1.GetByKey(CardCode)
                Dim iL As Integer = 0
                iL = oBP1.Addresses.Count
                oBP1.Addresses.Add()
                oBP1.Addresses.SetCurrentLine(iL)
                oBP1.Addresses.AddressName = Address_1
                oBP1.Addresses.Street = Address_2
                oBP1.Addresses.City = City
                oBP1.Addresses.ZipCode = Zip
                oBP1.Addresses.AddressType = SAPbobsCOM.BoAddressType.bo_BillTo
                Try
                    lRetCode = oBP1.Update()
                    System.Runtime.InteropServices.Marshal.ReleaseComObject(oBP1)
                    oBP1 = Nothing
                    GC.Collect()
                Catch ex As Exception
                    MsgBox(lErrCode & " " & ex.Message)
                End Try
            Else
                Dim oBP2 As SAPbobsCOM.BusinessPartners
                oBP2 = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
                oBP2.GetByKey(CardCode)
                oBP2.Addresses.SetCurrentLine(flag)
                oBP2.Addresses.Street = Address_2
                Try
                    lRetCode = oBP2.Update()
                    System.Runtime.InteropServices.Marshal.ReleaseComObject(oBP2)
                    oBP2 = Nothing
                    GC.Collect()
                Catch ex As Exception
                    MsgBox(lErrCode & " " & ex.Message)
                End Try
            End If
    Thank you in advance,
    Aris

    Hi Aris,
    There are a few things wrong with the logic but I don't think any of them would directly cause your error message
    1) You ought to use the GetByKey method in an If statement as the method returns true or false depending on whether the BP exists. I'm assuming that for your testing the CardCode variable does return a valid BP.
    2) In the For/Next loop you need to check that the selected address has the correct AddressName and AddressType for the address you are searching for. In SBO it is possible to have a billing and shipping address on the same BP that have the same address name.
    3) I don't understand why you need to use 3 BusinessPartner objects. You could do all the processing using a single BP and simplify your code. I appreciate that your code sample may be designed that way for reasons that aren't apparent in the context of this issue.
    This works for me:
    Dim oBP As SAPbobsCOM.BusinessPartners = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
    Try
         If oBP.GetByKey(CardCode) then
              Dim found As Boolean = false
              Dim iL As Integer = oBP.Addresses.Count
                 For i As Integer = 0 To oBP.Addresses.Count - 1
                     oBP.Addresses.SetCurrentLine(i)
                     If oBP.Addresses.AddressName = Address_1 and oBP.Addresses.AddressType = SAPbobsCOM.BoAddressType.bo_BillTo Then
                         oBP.Addresses.Street = Address_2
                   found = true
                         Exit For
                     End If
                 Next
              If not found then
                   oBP.Addresses.Add()
                          oBP.Addresses.SetCurrentLine(iL)
                          oBP.Addresses.AddressName = Address_1
                          oBP.Addresses.Street = Address_2
                          oBP.Addresses.City = City
                          oBP.Addresses.ZipCode = Zip
                          oBP.Addresses.AddressType = SAPbobsCOM.BoAddressType.bo_BillTo     
              End if
              If oBP.Update() &lt;&gt; 0 then
                   oApp.MessageBox(oCompany.GetLastErrorDescription, 1, "OK", "", "")
              End if
         End if
    Catch ex as Exception
         oApp.MessageBox(ex.Message, 1, "OK", "", "")
    Finally
         System.Runtime.InteropServices.Marshal.ReleaseComObject(oBP)
         oBP = Nothing
         GC.Collect()
    End Try
    If that doesn't help then please let us know what version and patch level you are on and exactly where the error occurs.
    Kind Regards,
    Owen

  • 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

  • When deleting the signature using Acrobat 9.0 -server threws an exception error displays

    Hi Everyone,
    I have built an application using VC++ ,in my application i try to sign a document using Acrobat 9.0 ,it gets properly signed and when i try to remove the signature it throws an exception that " Server threws an exception" ,the same code if executed in Acrobat in 7.0 is properly working.
    The code is as below
    DISPID dispid2;
    OLECHAR *methodName2 = { L"removeField" };
    dispparam1.cArgs = 1;
    dispparam1.rgvarg = new VARIANT[ dispparam1.cArgs ];
    dispparam1.rgvarg[ 0 ].vt = VT_BSTR;
    dispparam1.rgvarg[ 0 ].bstrVal = varResult.bstrVal;
    dispparam1.cNamedArgs = 0;
    dispparam1.rgdispidNamedArgs = NULL;
    hr = jso->Invoke( dispid2, IID_NULL, GetUserDefaultLCID(),
    DISPATCH_METHOD, &dispparam1, NULL, NULL, NULL );
    here after executing this line the hr throws "Server thres an exception"
    What could be the reason please throw ur ideas.
    Regards,
    Nethaji

    While deleting manually using acrobat 9.0 we are able to deleted it. But while deleting the same through code we get the following exception
    hr = jso->Invoke( dispid2, IID_NULL, GetUserDefaultLCID(),
    DISPATCH_METHOD, &dispparam1, NULL, &exceptionInfo,
    &puArgErr );
    ExceptionInfo = "NotAllowedError: Security settings prevent access
    to this property or method."
    puArgErr = 0
    Exception id : 0x80020009
    How to give the permission to invoke this method?

  • Error: Action "Install_WatsonX86_Cpu32_Action" threw an exception during execution

    During install of SqlServer Express 2008 (also I tried Developer Edition 2008 R2 with same error) I have error:
    2014-05-01 17:13:52 Slp: Running Action: Install_WatsonX86_Cpu32_Action
    2014-05-01 17:13:52 Slp: Error: Action "Install_WatsonX86_Cpu32_Action" threw an exception during execution.
    2014-05-01 17:13:52 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: C:\WINDOWS\Installer\7affd.msi ---> System.IO.FileNotFoundException: C:\WINDOWS\Installer\7affd.msi
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet propertyId)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet propertyId)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia, InstallAction pkgAction)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
    2014-05-01 17:13:52 Slp:    --- Конец трассировки внутреннего стека исключений ---
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()Error: Action "MsiTimingAction" threw an exception during execution.
    2014-05-01 17:13:52 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: C:\WINDOWS\Installer\7affd.msi ---> System.IO.FileNotFoundException: C:\WINDOWS\Installer\7affd.msi
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet propertyId)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet propertyId)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia, InstallAction pkgAction)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
    2014-05-01 17:13:52 Slp:    --- Конец трассировки внутреннего стека исключений ---
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
    2014-05-01 17:13:52 Slp: Received request to add the following file to Watson reporting: C:\Documents and Settings\me\Local Settings\Temp\tmp1C4.tmp
    2014-05-01 17:13:52 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
    2014-05-01 17:13:52 Slp: Inner exceptions are being indented
    2014-05-01 17:13:52 Slp:
    2014-05-01 17:13:52 Slp: Exception type: System.IO.FileNotFoundException
    2014-05-01 17:13:52 Slp:     Message:
    2014-05-01 17:13:52 Slp:         C:\WINDOWS\Installer\7affd.msi
    2014-05-01 17:13:52 Slp:     Stack:
    2014-05-01 17:13:52 Slp:         в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet
    propertyId)
    2014-05-01 17:13:52 Slp:         в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet
    propertyId)
    2014-05-01 17:13:52 Slp:         в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia,
    InstallAction pkgAction)
    2014-05-01 17:13:52 Slp:         в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
    2014-05-01 17:13:52 Slp:         в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
    2014-05-01 17:13:52 Slp:         в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
    2014-05-01 17:13:52 Slp:         в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
    2014-05-01 17:13:56 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_
    2014-05-01 17:13:56 Slp: Sco: Unable to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_, Win32 error
    2
    2014-05-01 17:13:56 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
    2014-05-01 17:13:56 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
    2014-05-01 17:13:56 Slp: Sco: Unable to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_, Win32 error 2
    I checked C:\WINDOWS\Installer\ for "7affd.msi" - there is no such file. Also I checked same folder on Win7-64 machine and Notebook WinXP-Pro - there is no such file. I was able to install Express on both Win7-64 and Notebook, but not on this machine.
    I've tried searching for "7affd.msi" on internet without luck. Also I removed all Visual Studio Express 2010 and used any "Fix-It" utilities to check files and registry. And still have same error.
    How to fix it?

    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -819060177
      Exit facility code:            1838
      Exit error code:               8751
      Exit message:                  C:\WINDOWS\Installer\7affd.msi
      Start time:                    2014-05-01 21:16:41
      End time:                      2014-05-01 21:17:00
      Requested action:              ComponentUpdate
      Log with failure:              C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_211629\Detail_ComponentUpdate.txt
      Exception help link:           http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.0.1600.22%26EvtType%3d0xCF2E222F
    Machine Properties:
      Machine name:                  3R-XP
      Machine processor count:       4
      OS version:                    Windows XP
      OS service pack:               Service Pack 3
      OS region:                     Россия
      OS language:                   русский (Россия)
      OS architecture:               x86
      Process architecture:          32 Bit
      OS clustered:                  No
    Package properties:
      Description:                   SQL Server Database Services 2008
      SQLProductFamilyCode:          {628F8F38-600E-493D-9946-F4178F20A8A9}
      ProductName:                   SQL2008
      Type:                          RTM
      Version:                       10
      SPLevel:                       0
      Installation location:         j:\85c0db9df26d4ae0b40b522d393a\x86\setup\
      Installation edition:          EXPRESS
    User Input Settings:
      ACTION:                        ComponentUpdate
      CONFIGURATIONFILE:             
      HELP:                          False
      INDICATEPROGRESS:              False
      MEDIASOURCE:                   j:\85c0db9df26d4ae0b40b522d393a\
      PID:                           *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_211629\ConfigurationFile.ini
    Detailed results:
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_211629\SystemConfigurationCheck_Report.htm
    Exception summary:
    The following is an exception stack listing the exceptions in outermost to innermost order
    Inner exceptions are being indented
    Exception type: System.IO.FileNotFoundException
        Message:
            C:\WINDOWS\Installer\7affd.msi
        Data:
          DisableWatson = true
        Stack:
            в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet propertyId)
            в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet propertyId)
            в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia, InstallAction pkgAction)
            в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
            в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
            в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
            в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)

  • Error 500: Server caught Unhandled Exception

    Hi,
    Whenever I make some changes to JSP and if JSP has some errors within it, It always say Error 500: Server caught Unhandled Exception.
    It's really difficult to debug JSP with this sort of message. Is there any easy way out ...? How do I know which line in JSP is having problem ...? How can know whether its syntax error or something else ...?
    I would appreciate if someone put easy solution forward.
    Thanks.

    Start your servlet engine with a nojit option. It will tell you the line number.
    -Srini

Maybe you are looking for

  • Is it possible to read digital data using an external clock (PCI-6259 M)?

    I'm using a NI PCI-6259 M Series card and trying to write my program in VC++6.0 using the functions in the DAQmx driver. Question1: Not all functions listed in the NI-DAQmx C Reference Help seems to be supported by my NI-card, where can I find inform

  • PDF Document is not working

    Hi, We are migrated from xMII 12.0 to MII 14.0 SP04 . We generate PDF document. A html page calls a exacute query which calls a transaction. In the transaction, a PDF Document object, PDF Bar Code object, Delete File object and Image Saver. Delete Fi

  • Output problem in (Material doc.)

    Hi, I had developed a code in which i am displaying that these are the material document of whoes payments are done to thier vendors. my problem is that if i  execute it for no vendor it takes by default mat. doc. and displays the output. can anyone

  • How do i add people to my address book/Mail?( ...i have a new imac...)

    hi .... i have a new imac and i want to add people to my mail/address book like i use to with my old pc (HP) computer by right clicking "add person to address book" ...but how do i do this with my mac ? ..i know the answer will be quite simple but pl

  • New value in resultlist

    Hi I had a question. I found some solution in this forum, but i do not understand. I want to add a new value to the resultlist. I had to expand the database table "STEP_RESULT" with the column "Seriennummer". How can I add this new value to the resul