DCM BitLocker protection assigned configuration baseline return ERROR in the compliance state

Hello,
Here is the situation: I Installed MBAM 2.5 and done the integration with SCCM 20012 R2. Modified the GPO for the targeted clients.
Encryption started, DCM policies ran and Reports on SCCM server (after a long period), it returned compliances of my tests computers. I have removed and reinstalled SCCM integration. NOW, the SCCM clients are returning Configuration Baselines error
when the evaluate, (NOT Non-Compliant). It was running fine before.
here is a sample of my DcmWmiProvider.log:
ScriptProvider::ReadDiscoveryInformation - ScriptType: 1 ScriptProvider 2015-01-26 11:39:44 2832 (0x0B10)
ScriptProvider::CreateInstanceEnumAsync - Script Execution Returned :1, Error Message:(null) ScriptProvider 2015-01-26 11:39:44 2832 (0x0B10)
Failed in discovering instance.
Incorrect function. (Error: 80070001; Source: Windows) ScriptProvider 2015-01-26 11:39:44 2832 (0x0B10)
Failed to do HandleExecQueryAsync().
Incorrect function. (Error: 80070001; Source: Windows) ScriptProvider 2015-01-26 11:39:44 2832 (0x0B10)
Failed to process CScriptProvider::GExecQueryAsync.
Incorrect function. (Error: 80070001; Source: Windows) ScriptProvider 2015-01-26 11:39:44 2832 (0x0B10)
ScriptProvider::ReadDiscoveryInformation - reading discovery script definition ScriptProvider 2015-01-26 11:39:44 2832 (0x0B10)
ScriptProvider::ReadDiscoveryInformation - ScriptType: 1 ScriptProvider 2015-01-26 11:39:44 2832 (0x0B10)
You can see that the script is generating an error with an incorrect function. This is weird! That script was working correctly before. I don't even know where this script is located on the SCCM server.
Anyone can help me with this problem?
Big Air

Hi!
I think I found the root cause of this problem. I'm not 100% sure, but the
Configuration baseline ID that the client receive is reuse in the policy after uninstalling and reinstalling the MBAM Integration. The client can't find it on the configuration point, since it acquired a new AssignmentID when fetching the policies
and reevaluating the Configuration Base line.
Here how I fixed this:
I have exported using the Export function on the two Configuration Items named
BitLocker Operating System Drive Protection, BitLocker Fixed Data Drives Protection,
then created a new Configuration Baseline and imported the two Configurations Items. Deployed to the targeted collection. It work on first try. I also disabled the faulty one. You can also delete it, since it's useless. Now everything is all aligned
and working.
Hope someone can confirm this hypothesis or have a more elegant solution?
Thanks!
Big Air

Similar Messages

  • The operating system returned error 170(The requested resource is in use)

    Hello Experts,
    We have a Sharepoint farm where we are receiving OS Error 170 for many days. It results in database shutdown/Start because required transaction file is not available.
    The operating system returned error 170(The requested resource is in use.) to SQL Server during a write at offset 0x0000029495e000 in file 'F:\MSSQL10_50.INST1\MSSQL\DATA\****.***. Additional messages in the SQL
    Server error log and system event log may provide more detail. This is a severe system-level error condition that threatens database integrity and must be corrected immediately
    Write error during log flush.
    Error: 9001, Severity: 21, State: 4.
    The log for database 'DBNAME' is not available
    We have checked the Anti Virus but all data files are excluded. We have also disabled the anti virus for some time but still issue persist.
    This is a Virtual Machine and no VM snapshot backup is running during the time window.
    Please help!
    Thanks in advance.
    Regards,
    Divesh Mathur

    Hello Experts,
    We have a Sharepoint farm where we are receiving OS Error 170 for many days. It results in database shutdown/Start because required transaction file is not available.
    The operating system returned error 170(The requested resource is in use.) to SQL Server during a write at offset 0x0000029495e000 in file 'F:\MSSQL10_50.INST1\MSSQL\DATA\****.***. Additional messages in the SQL
    Server error log and system event log may provide more detail. This is a severe system-level error condition that threatens database integrity and must be corrected immediately
    Write error during log flush.
    Error: 9001, Severity: 21, State: 4.
    The log for database 'DBNAME' is not available
    Hello,
    I sense a disk issue here( I am not sure).Log for database is not available seems when data needs to be written on log file it was not avaialble.Can you check with storage team that disk on which SQL server files reside is OK
    Secondly did you run DBCC CHECKDB for your database in picture can you paste result of it.
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • The Operating System returned Error 27(The drive cannot find the sector requested.)

    On a Windows 2008 R2 server running SQL 2008 Standard on a Raid 5, when performing a backup on the databases via copy to another local drive I receive and The operating system returned error 27(The drive cannot find the sector requested.) to SQL Server during
    a write at offset 0x0000002fd204000 in the file F:\SQLDATA\Email_Images.mdf.   The server is a HP DL380p Gen8.  I've contacted HP thinking this was a Hardware issue but HP ensure me its not and to contract Microsoft support.

    Hi,
    Unfortunately, the available information is not enough to have a clear view of the occurred behavior. Please offer us what backup method you are using, did you want to backup
    the data to the CSV, the origional error you have got.
    1. The best method would be to have separate disk drive for each cluster SQL instance and add the disk to the specific SQL group and add it to the dependency of the SQL resource.
    There would be less overhead with this process other than having to create two disks, one of each instance
    2. You could consider creating a file sharing resource on cluster and add the backup disk to this resource group and use it to back up the databases of both the instances
    to single disk. The down side of this method would be, all the databases backups will fail if the fileshare resource goes down. You cannot use GUI to take the backup, need additional setup/maintenance for the fileshare resource group
    http://support.microsoft.com/kb/224967
    I’m glad to be of help to you!
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Binding assignment is not available:Error in the evaluation of expression

    Hi All,
    I have created Workflow to send an Email using Requested Start date concept of a Task.This is for sending a E-mail to the customer when contract end date-60 Days.
    I have done all Bindings and I am getting The date and time from BOR which I am using to triger an Event.
    I am getting these type of Errors:
    Source (expression '&BUS2000137.TIME&') of binding assignment is not available
    Source (expression '&BUS2000137.DATE&') of binding assignment is not available
    Error in the evaluation of expression '<???>&BUS2000137.DATE&' for item '1'
    Unable to determine the value of component ''
    Error in the evaluation of expression '<???>&BUS2000137.TIME&' for item '1'
    Unable to determine the value of component ''
    Looking for Inputs.
    Regard's,
    Lokesh

    Hi Adrash/Rick,
    Object type  ZBS2000137
    Attributes
    ZBS2000137.Time    Time to send mail --> Is nothing but OBJECT-TIME = SY-UZEIT
    ZBS2000137.Date    60 days before contract end date  --> Is nothing but  OBJECT-DATE =  LS_APPOINTMENT-DATE_FROM - 60.
    Methods
    ZBS2000137.Method1       Sending Mail
    Events
    ZBS2000137.Released      Contract Line Item Released
    ie I want to excute the task with same DATE and TIME, the same I have mentioned in "
    Requested Strat Tab with Expression as below
    Refer.date/time EXP Expression
    Date &BUS2000137.DATE&     60 days before contract end date
    Time &BUS2000137.TIME&      Time to send mail
    Note: If I am testing the Workflow from T-code: SWUS it is working fine.
    Regard's,
    Lokesh.

  • "Syntax error in the MDX statement " in Process chain failure??Urgent pls

    Hi Experts,
    could any one suggest me the procedure to rectify the below problems in process chain?
    1."Syntax error in the MDX statement "
    2."Error when getting data (Error when getting data (AXI))"
    Rgds,
    BH

    In which case it'll be that Access has a different date format to MySQL, and you're trying to push the string "'25-Apr-12 10:55 PM" into Access, which it's not understanding. To get around this, you need to treat your variable as a true date/time object, rather than a formatted string.
    CFQueryParams should be used on absolutely every database platform, they'll stop your website being vulnerable to SQL Injection attacks for one, which at the moment you're wide open to. Replace your query with something like this:
    <cfquery name="input_comments" datasource="#DSN#" username="#DSNUSER#" password="#DSNPASS#">
          INSERT INTO comments(
                             commenter,
                             comment,
                             datetime,
                             post_id
                   VALUES(
                             <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.commenter#" />,
                             <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.comment#" />,
                             now(),
                             <cfqueryparam cfsqltype="cf_sql_numeric" value="#form.post_id#" /> )
    </cfquery>
    The QueryParams will handle the data types for you, and should pass values around more safely and with fewer issues. Assuming you just want to store the current date and time you don't even need to get ColdFusion involved, as databases have their own functions for this. I believe Access' version is simply NOW(), so I've put that in your query.
    Give the above a go.

  • Method which is return's all the refinement state for Dimension.

    Hi All,
    Is there any java method which is return's all the refinement state for Dimension.
    Ex:
    Brand
    Reebok
    Scholl
    Sebago
    Ravel
    When i clicked All Brand from front end it will select all 4 Brands data.
    Any help will be great appreciation
    Thanks,
    Sunil N

    Not sure what you want to achieve here. If you want to select all the dimension values, then provided the dimension is Multi-select OR you can have N=Id-1+Id-2+Id-3 and it will return all of them. What I'm not sure on is why you would do this, you'll get back precisely the same results (provided every record is tagged with a brand) as if you did nothing, although I guess you might want to allow them to select all then deselect one or more afterwards ... Note you can also use N=<dimension-id>, where <dimension-id> is the id of the actual dimension, and that will return all records that have a value for that dimension, but that won't give you any descriptors (breadcrumbs) other than the dimension name/id.
    Michael

  • EXCEL VBA: Inserting rows code returns error "2147417848 The object invoked has disconnected from its clients"

    I was executing the following code in Excel 2013 that is linked to a button I use to add multiple rows in a chosen section of a worksheet
    Sub Add_Rows_dc()
    Sheet53.Unprotect ("xxx")
    X = Range("C1").Value + 1 'Section Counter
    Y = ListSheet.Range("I" & X).Value 'Existing rows counter
    Z = ListSheet.Range("H" & X).Value 'Position counter
    Righe = InputBox("How many rows would you like to add?", , "1")
    If Righe < 1 Then GoTo err ' test for invalid row number
    RigheSheet.Rows(X).Copy
    Rows(Z - 1 & ":" & Righe + Z - 2).Insert Shift:=xlDown
    GoTo Fine
    err:
    Mess = MsgBox("PLEASE INSERT A VALID NUMBER OF ROWS", vbCritical)
    Fine:
    'Formulas update
    Z = ListSheet.Range("H" & X).Value 'Position counter update
    Range("U" & Z - Righe - 2 & ":AF" & Z - 2).FillDown
    Sheet53.Protect "xxx", , , , , True
    End Sub
    From time to time it returns me the error "2147417848 The object invoked has disconnected from its clients" and the debug point out the line
    Rows(Z - 1 & ":" & Righe + Z - 2).Insert Shift:=xlDown
    I cannot find any specific reason due to the fact that the error seems randomic, sometimes the code is perfectly executed, sometimes not.
    I wrote this piece of code in Excel 2010 and never encountered such problem before reusing it in Excel 2013
    Has someone an insight or a suggestion?
    Thank you very much

    Re:  strange error
    Try it this way...
    (might work, might not)
    Sub Add_Rows_dc_R1()
     Dim X As Double
     Dim Y As Double
     Dim Z As Double
     Dim Righe As Variant
     Dim Mess As Long
        Sheet53.Unprotect ("xxx")
        X = Range("C1").Value + 1 'Section Counter
        Y = ListSheet.Range("I" & X).Value 'Existing rows counter
        Z = ListSheet.Range("H" & X).Value 'Position counter
        Righe = InputBox("How many rows would you like to add?", , "1")
        If Righe < 1 Then GoTo errX  ' test for invalid row number
         RigheSheet.Rows(X).Copy
         Rows(Z - 1 & ":" & Righe + Z - 2).Insert Shift:=xlDown
        GoTo Fine  
    Fine:
    'Formulas update
     Z = ListSheet.Range("H" & X).Value 'Position counter update
     Range("U" & Z - Righe - 2 & ":AF" & Z - 2).FillDown
     Sheet53.Protect "xxx", , , , , True
    Exit Sub
    errX:
    Mess = MsgBox("PLEASE INSERT A VALID NUMBER OF ROWS", vbCritical)
    End Sub
    Jim Cone
    Portland, Oregon USA
    free & commercial excel programs (n/a xl2013)
    https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2

  • SQL error msg - The DELETE statement conflicted with the SAME TABLE REFERENCE constraint

    Executed as user: ****. The DELETE statement
    conflicted with the SAME TABLE REFERENCE constraint "FK_PARENT_TASK_REF".
    The conflict occurred in database "****", table "****", column
    'PARENT_TASK_ID'. [SQLSTATE 23000] (Error 547) The statement has been
    terminated. [SQLSTATE 01000] (Error 3621). The step failed.
    Does this error msg indicate the whole script failed to execute or was it just a single step/task that failed ?
    What does error msg mean ?
    Anyway to prevent this error msg and ensure script runs successfully

    Hi mdavidh,
    This error occurs because the record  'PARENT_TASK_ID' was referenced by 'FK_PARENT_TASK_REF'.
    Please refer below codes:
    CREATE TABLE MyTable (
    ID INT, primary key(ID), -- primary key
    ID_Parent INT foreign key(ID_Parent) references MyTable(ID), -- foreign key reference the same table
    insert into MyTable(ID,ID_Parent)
    values(0,0);
    insert into MyTable(ID,ID_Parent)
    values(1,0);
    insert into MyTable(ID,ID_Parent)
    values(2,0);
    insert into MyTable(ID,ID_Parent)
    values(3,1);
    insert into MyTable(ID,ID_Parent)
    values(4,3);
    insert into MyTable(ID,ID_Parent)
    values(5,4);
    CREATE TRIGGER MyTrigger
    on MyTable
    instead of delete
    as
    set nocount on
    update MyTable set ID_Parent = null where ID_Parent in (select ID from deleted)
    delete from MyTable where ID in (select ID from deleted)
    Now we could delete records.
    delete from MyTable where ID_Parent=0
    Thanks,
    Candy Zhou

  • "Assign Access Control" returns error for essbase apps in shared services

    Hello,
    I installed and configured Oracle EPM 11.1.2 (Foundation, Essbase, Planning, Reporting&Analysis):
    OS: Windows Server 2008 Sp2 (32bit)
    Default Installation with default ports,
    Installation of all components on the same server,
    no clustering
    EPM System Diagnostic says that everything is OK.
    Now I want to assign filter access for an essbase database in the Shared Services.
    Starting the menu item "Assign Access Control" in Shared Services returns the following error:
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    +10.4.5 404 Not Found+
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    +....+
    Can anybody help ???
    best regards,
    Nicole

    Hello,
    here's what I found out so far:
    I get the error if I start the shared services console via the URL "http://servername:port/interop/index.jsp" and then select the "assign access control" for an essbase database.
    If I start the shared services console via the workspace everything works fine.
    Does anybody know what to do so that it also works if I start the shared services console via URL?
    best regards,
    Nicole

  • Pages returning error message "The document (name) couldn't be opened"

    Okay so here is my problem: I made a document in Pages the other day (a list of books I own) and after spending an hour or so on it I saved, closed Pages and went and did something else. The next day I came to open it again to add something and Pages came up with this message "The document (document naem) couldn't be opedned". That it, nothing else, no reason why or anything. I tried again and again, the same thing happednd. I tried to open it with Text Edit and got this error: "The document (document name) could not be opened. The file isn't in the correct format. The file might be corrupted, truncated, or in an unexpected format."
    Okay so something is wrong. The weird thing is I can quick look it, I can open it in Preview fine.
    So after trying everything I could think of I decided a few days later to just remake the document, I had all the information there so it was a bit easier this time. I started afresh. I frequently saved, quited and re opened just to make sure everything was okay, after a while I stopped doing this as it seemed everything was okay. I finished, saved and then tried to reopen it to make sure it was fine. It wouldn't open and returned the same error as before!!!
    This is utterly preplexing and extremely frustrating. I have no idea what might be causing this. If anyone can offer some help that would be great.
    Thanks in advance :-)

    Where are you saving the files to?
    Peter

  • After BI 4.1 configuration in SOLMAN - error message "The systems you selected do not contain any software components currently supported by E2E Workload Analysis"

    Hi All,
    I'm trying configure E2E monitoring. I configured all necessary steps, I can see my BI 4.1 system in SLD, also in SOLMAN, all “lights” are green. But if I start Root Cause Analysis>> Ent-to End Analysis>> My system>> Workload Analysis, I see this error "The systems you selected do not contain any software components currently supported by E2E Workload Analysis".

    It would be better if you can raise the question at Remote Supportability and Monitoring Tools
    and or comment in the blog post How to generate and consume an E2E trace with BI4.x (for non-SolMan landscapes)
    created by Toby Johnston
    Do go through the note 1871260 - The systems you selected do not contain any software
    components currently supported by E2E Workload analysis for SAP HANA
    Hope they help.

  • PLS-00382 Type error in the select statement in the Cursor.

    Hi,
    I am trying to combine several different sql statements to form one large cursor for my java layer. I have attached the PL/SQL procedure that I am using and when I am trying to compile it is giving PLS-00382 error. Please help me.
    PL/SQL Code.
    CREATE OR REPLACE PROCEDURE test IS
    tmpVar NUMBER;
    TYPE checkRecord is RECORD (
    name1 APPS.EMCSV_R25_DIST_PROF_TBL.distmgrfname%TYPE,
         name2 APPS.EMCSV_R25_DIST_PROF_TBL.distmgrfname%TYPE,
         name3 APPS.EMCSV_R25_DIST_PROF_TBL.distmgrfname%TYPE,
         name4 APPS.EMCSV_R25_DIST_PROF_TBL.distmgrfname%TYPE,
         oppstatus1 APPS.EMCSV_R25_DIST_PROF_TBL.oppstatus%TYPE,
         oppcount1 APPS.EMCSV_R25_DIST_PROF_TBL.oppcount%TYPE,
         oppamount1 APPS.EMCSV_R25_DIST_PROF_TBL.oppamount%TYPE,
    oppstatus2 APPS.EMCSV_R25_DIST_PROF_TBL.oppstatus%TYPE,
         oppcount2 APPS.EMCSV_R25_DIST_PROF_TBL.oppcount%TYPE,
         oppamount2 APPS.EMCSV_R25_DIST_PROF_TBL.oppamount%TYPE,
         oppstatus3 APPS.EMCSV_R25_DIST_PROF_TBL.oppstatus%TYPE,
         oppcount3 APPS.EMCSV_R25_DIST_PROF_TBL.oppcount%TYPE,
         oppamount3 APPS.EMCSV_R25_DIST_PROF_TBL.oppamount%TYPE,
         oppstatus4 APPS.EMCSV_R25_DIST_PROF_TBL.oppstatus%TYPE,
         oppcount4 APPS.EMCSV_R25_DIST_PROF_TBL.oppcount%TYPE,
         oppamount4 APPS.EMCSV_R25_DIST_PROF_TBL.oppamount%TYPE);
    TYPE checkCur IS REF CURSOR RETURN checkRecord;
    checkCurVal checkCur;
    checkCurRec checkRecord;
    chechcurVal checkCur;
    NAME: test
    PURPOSE:
    REVISIONS:
    Ver Date Author Description
    1.0 3/8/2006 1. Created this procedure.
    NOTES:
    Automatically available Auto Replace Keywords:
    Object Name: test
    Sysdate: 3/8/2006
    Date and Time: 3/8/2006, 10:01:59 AM, and 3/8/2006 10:01:59 AM
    Username: (set in TOAD Options, Procedure Editor)
    Table Name: (set in the "New PL/SQL Object" dialog)
    BEGIN
    tmpVar := 0;
    OPEN checkCurVal FOR
    SELECT
         a.distmgrfname,
    a.distmgrlname,
         a.salesrepfname,
         a.salesreplname,
         cursor (
         SELECT b.oppstatus,
         b.oppcount,
         b.oppamount
         from APPS.EMCSV_R25_DIST_PROF_TBL b
         where b.userid = '100000001' AND
         b.reportid = 'ISARPTR25' AND
                   b.oppstatus = 'Open' AND
                   b.isoppstatusselected = 'Y'),
         cursor (
         SELECT c.oppstatus,
         c.oppcount,
         c.oppamount
         from APPS.EMCSV_R25_DIST_PROF_TBL c
         where c.userid = '100000001' AND
         c.reportid = 'ISARPTR25' AND
                   c.oppstatus = 'Commit' AND
                   c.isoppstatusselected = 'Y'),
         cursor (
         SELECT
         d.oppstatus,
         d.oppcount,
         d.oppamount
         from APPS.EMCSV_R25_DIST_PROF_TBL d
         where d.userid = '100000001' AND
         d.reportid = 'ISARPTR25' AND
                   d.oppstatus = 'Closed-Won' AND
                   d.isoppstatusselected = 'Y'),
         cursor (
         SELECT
         e.oppstatus,
         e.oppcount,
         e.oppamount
         from APPS.EMCSV_R25_DIST_PROF_TBL e
         where e.userid = '100000001' AND
         e.reportid = 'ISARPTR25' AND
                   e.oppstatus = 'Closed-Lost' AND
                   e.isoppstatusselected = 'Y')               
                   from APPS.EMCSV_R25_DIST_PROF_TBL a
         where a.userid = '100000001' AND
         a.reportid = 'ISARPTR25' AND
                   a.isoppstatusselected = 'Y' ;
         LOOP
         FETCH checkCurVal INTO checkCurRec;
              EXIT WHEN checkCurVal%NOTFOUND;
              DBMS_OUTPUT.PUT_LINE (checkCurRec.name1 ||
              checkCurRec.name2 ||
                                            checkCurRec.name3 ||
                                            checkCurRec.name4 ||
                                            checkCurRec.oppstatus1 ||
                                            checkCurRec.oppcount1 ||
                                            checkCurRec.oppamount1 ||
                                            checkCurRec.oppstatus2 ||
                                            checkCurRec.oppcount2 ||
                                            checkCurRec.oppamount2 ||
                                            checkCurRec.oppstatus3 ||
                                            checkCurRec.oppcount3 ||
                                            checkCurRec.oppamount3 ||
                                            checkCurRec.oppstatus4 ||
                                            checkCurRec.oppcount4 ||
                                            checkCurRec.oppamount4);                                        
         END LOOP;     
    END test;
    /

    Thanks for Replying.
    I am trying to build a cursor to fetch the records from the table. Table structure is something like this.
    reportid VARCHAR2(10) NOT NULL,
    distmgrid NUMBER DEFAULT 0,
    salesrepid NUMBER DEFAULT 0,
    distmgrfname VARCHAR2(40 CHAR) DEFAULT 'rfname',
    distmgrlname VARCHAR2(40 CHAR) DEFAULT 'rlname',
    salesrepfname VARCHAR2(40 CHAR) DEFAULT 'afname',
    salesreplname VARCHAR2(40 CHAR) DEFAULT 'aname',
    issalesrepselected CHAR(1 CHAR) DEFAULT 'Y',
    oppstatus VARCHAR2(40 CHAR) DEFAULT 'oppstatus',
    isoppstatusselected CHAR(1 CHAR) DEFAULT 'Y',
    oppcount NUMBER DEFAULT 0,
    oppamount NUMBER DEFAULT 0,
    oppquote NUMBER DEFAULT 0,
    Attribute1 VARCHAR2(10 CHAR),
    Attribute2 VARCHAR2(15 CHAR),
    Attribute3 NUMBER,
    Attribute4 NUMBER
    But from the above table, I am trying to build a report for which I need a cursor which I listed in the proc. Is it not possible to build a cursor within a cursor?
    Yes each individual cursor return only one row.

  • Error in the submit statement

    Hi,
      Am trying to submit a program whose result has to be sent to a sap spool.When i tried to do so its throwing an error as "Execption condition cntrl_error' raised.How to get rid of this error.
    DATA: gi_seltab    TYPE TABLE OF rsparams,
          low       TYPE d,
          gw_seltab LIKE LINE OF gi_seltab.
    gw_seltab-selname = 'CREDAT'.
    gw_seltab-kind    = 'S'.
    gw_seltab-sign    = 'I'.
    gw_seltab-option  = 'BT'.
    low =  sy-datum - 2.
    gw_seltab-low = low.
    gw_seltab-high = sy-datum.
    APPEND gw_seltab TO gi_seltab.
                SUBMIT rseidoc2
            TO SAP-SPOOL
            WITHOUT SPOOL DYNPRO
           VIA JOB gv_name NUMBER gv_number
            WITH SELECTION-TABLE gi_seltab and return  .

    Your code is too simple.  It will crash whenever any field contains an apostrophe.  cfqueryparam will solve this.
    Also, you say that some of your datatypes are yes/no.  You are trying to insert text into those fields.  I don't know if that is possible or not because I never use those datatypes.
    I debug problems like these as follows.  First run this:
    insert into table (
    field1
    <!--- , field2
    , field3
    etc
    , fieldx
    --->
    values (
    value1
    <!--- , value2
    , value3
    etc
    , valuex
    --->
    If that works, uncomment the fields and values one at a time until it crashes.  Then you'll know what field caused the problem.

  • Error on the import statement

    // chekdb1.cpp : main project file.
    #include
    "stdafx.h"
    #include
    <windows.h>
    #include
    <stdio.h>
    #include
    <conio.h>
    #include
    <iostream>
    using
    namespacestd;
    #import
    <"C:\Program Files (x86)\Common Files\System\ado\msado15.dll">rename("EOF",
    "EndOfFile")
    int
    main(intargc,
    char* argv[])
    HRESULT hr = S_OK;
    try
             CoInitialize(NULL);
    // Define string variables.
            _bstr_t strCnn(
    "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;User ID=ma;Initial Catalog=UNI;Data Source=FALCON;Workstation
    ID=FALCON");
           _RecordsetPtr pRstAuthors = NULL;
    // Call Create instance to instantiate the Record set
          hr = pRstAuthors.CreateInstance(
    __uuidof(Recordset));
    if(FAILED(hr))
                cout<<
    "Failed creating record set instance\n";
    return0;
    //Open the Record set for getting records from Author table
          pRstAuthors->Open(
    "SELECT * FROM student",strCnn,
    adOpenStatic,     adLockReadOnly,adCmdText);
    //Declare a variable of type _bstr_t
         _bstr_t valField1;
    intvalField2;
         pRstAuthors->MoveFirst();
    //Loop through the Record set
    if(!pRstAuthors->EndOfFile)
    while(!pRstAuthors->EndOfFile)
              valField1 = pRstAuthors->Fields->GetItem(
    "id")->Value;
              valField2 = pRstAuthors->Fields->GetItem(
    "name")->Value.intVal;
              cout<<
    "%d - %s\n"<<valField2<<(LPCSTR)valField1;
              pRstAuthors->MoveNext();
    catch(_com_error & ce)
          cout<<
    "Error:%s\n"<<ce.Description;
      CoUninitialize();
    return0;

    You may get better help in C++ forum here. What is the error you're getting and which line of code generates it?
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • SQL Error in the modify statement

    Hi All,
    We are facing an SQL error while uploading an archive file. The error is   
    caused while executing a modify statement which leads to a dump. The       
    text given in the SM21 logs is                                   
    'Database error -1 with SEL access to table SMMW_MCD_DMY_AVE'              
    The dump generated in ST22 says DBIF_RSQL_SQL_ERROR
    Database error text........: "[Microsoft][SQL Native Client]Session Provider:
    Connection has been closed by peer [xFFFFFFFF]. "
    Any pointers to figure out how to resolve this could be really helpful.
    Regards,
    Liji

    Hi,
    This sounds like internal message 0000062076 2010  
    which I'm currently working on.
    If it is this BUZ-upload problem: ask your system responsible to set the instance profile parameter
    dbs/mss/packet_size=8192
    After the R3-system is restarted, the transaction should work.
    The problem was caused by an UPSERT-command writing a 170 MB BLOB.
    UPSERT means: all values for the row are provided. Try first an UPDATE, if this fails with NOT FOUND insert.
    This UPDATE, IF NOT FOUND INSERT is send as one batch to the database server.
    For SQL Server 9.00, a batch may only
    consist of 64K network packets. The default network packet size is 4K. 4K * 64KB == 256 MB.
    The 170 MB BLOB is sent twice, so we don't fit in the 64K packets.
    This breaks the connection and you get on client side the"Connection has been closed by peer".
    On server side you see (SQL Server error log) "A fatal error occurred while reading the input stream from the network. The session will be terminated."
    If you want to increase the network packet size used by your db connections in the SAP work processes, you can use  the profile parameter
    dbs/mss/packet_size.
    Maximal setting is 32767. In your case I would recommend 8192.
    Best regards,
    Guenther
    Edited by: Guenther Drach on Jan 7, 2010 3:13 PM
    Edited by: Guenther Drach on Jan 7, 2010 3:15 PM

Maybe you are looking for

  • Cannot install Windows 8.1 via Boot Camp on MBPr 13" Early 2013; tried almost everything.

    Hi guys, yesterday, I decided to install Windows 8.1 on my Mac using Boot Camp. I tried to install it, but the first attempt ended into booting to the screen, where it says "Cannot find any bootable device" or something like that. So I googled it up

  • Embeding ALV table in dynamically created view container UI element

    Hi , I created a view container UI element dynamically .that is working fine . I am using standard ALV component . Now i want to embed ALV table in View container UI element dynamically > please help me in this . Thanks in advance , Vijay vorsu

  • Machine Certificate will not be recognized

    Hi All, i have a Setup as Follows - 5508/1142 - heterogenous Client with WZC, XP, SP3, SSO - ACS 5.2, MS AD Target is Songle Sign On wih Machine Cerificates against AD. For testing purpose we tested with EAP-PEAP/MS Chapv2 and Machine Auth, works fin

  • Yosemite does not start after power loss

    I just want to report a bug related to the new OSX Yosemite. Here at work I have to manage around 30 iMacs, plus some MacBook Pro. After some initial tests, where I did not discover any particular incompatibility with our applications, I decided to u

  • Where are Aperture Prefs in Lion

    I have always had an intermittent porblem when i try to import pictures into Aperture it will not recognize any picture to import regardless of what format they are in. The way around this is to trash the Prefs from the Preferences folder and start a