Local GPT.ini not updating

Hello Everyone,
I am having some issues with the current project i am on.  I need to replicate local group policies to all local workstation (100+) so i can launch a specific script at startup.  
I already have it working when i manually create the policy via
 gpedit.msc on the local machines but when i try to copy the files/folders within c:\Windows\System32\GroupPolicy to another workstation the policies do not apply! ( i am copying the folders, gpt.ini and Registry.pol
files)
Running gpupdate /f on the workstation and multiple reboots
did not apply the policies.
After the copy and reboots i can run gpedit.msc and it shows the correct policy setting i need, but it is still not taking effect.
I am finding that i need to go back into gpedit.msc and undo then re-do the settings, then the GPO was saved and gpupdate /f applied, then all policies in the set
would apply.
The only thing i see differently is the gpt.ini files show different version numbers.  Could this be my problem?  Any suggestions on how to resolve this are welcome.  thanks

> workstation the policies do not apply! ( i am copying the folders,
> gpt.ini and Registry.pol files)
if you copy gpt.ini to a different workstation that already HAS a
gpt.ini, you MUST ensure that the new gpt.ini has higher version numbers
(the version is a 32 bit number. the lower 16 bit are the computer
version, the higher 16 bit are the user version). Otherwise the computer
will recognize that in the past, he applied version 25 eg, and now you
provided version 16 which is donwlevel and will not apply.
Martin
Mal ein
GUTES Buch über GPOs lesen?
NO THEY ARE NOT EVIL, if you know what you are doing:
Good or bad GPOs?
And if IT bothers me - coke bottle design refreshment :))

Similar Messages

  • Saplogon.custom.ini not updating.

    We run this shortcut:
    "C:\Program Files\SAP\FrontEnd\SAPgui\saplogon.exe" /ini_file="%systemroot%\saplogon.custom.ini"
    When making changes to systems with SAPLOGON, the ini file does not get updated.  (nor does any file in %systemroot%)
    However, when restarting SAPLOGON, the changes persist.
    Any ides where the changes are stored?
    Nick

    What OS and GUI version/patch are you running?
    I believe Windows 7 uses the INI which is stored under C:\Users\<username>\AppData\Local\VirtualStore\Windows
    Regards,
    Zecher

  • How come my local variable is not updating it's value with respect to what's happening in the while loop?

    Hello,
    I am trying to extract data out of a while loop as my declarations update with respect to the iteration number. I have attempted to use both local variables and shift registers, but with no luck.
    I have also done the following example: http://www.ni.com/white-paper/7585/en and it works like a charm.
    I attached the PNG file with local variable declaration circled in red. Will attach a VI in the next respnose.
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Local Variable.png ‏366 KB

    OK, looking at the code...
    Can you explain what it is supposed to do? What's the purpose of the value property node read which only seems to update an indicator.
    The inner while loop should proably be a FOR loop, because the number of iterations is known before the loop starts.
    Your use of formula nodes seems overly complicated.
    LabVIEW Champion . Do more with less code and in less time .

  • My iPhone 5 native weather app will not update locally

    I have an iPhone 5 my local weather will not update via the default native weather app!!! Now If I enable wi-fi it will update via my home network. However, once I turn off wi-fi it will not update my local weather BUT GUESS WHAT CUPERTINO WILL UPDATE EVERY TIME!!!
    Help me Obi-Wan Kenobi PLEASE!!!!

    Location Services enabled in general, and in particular for the Weather app? Mine needed that in order to discover where I live, but having done that and establishing said location as its home, will update thru whatever it finds up, Wi-Fi or cellular.
    However and after participating in several other threads regarding Weather, it would seem that different buyers get a different Weather app instead of a single standard one, maybe depending upon carrier whim. Mine's main screen looks like this:

  • Sysvol Not Replicated Gpt.ini File Have a Differnet Version

    Hi,
    I have 3 domain controllers
    1.Id-dc1 - its the main dc (server2008 R2)
    2.id-dc2 (server2008 R2)
    3.id-dc3 (server2003)
    On Id-dc1(server2008 r2) & id-dc3(server2003) the sysvol folder its good the same folders and its the same version in gpt.ini file.
    On id-dc2 (server 2008 r2) the sysvol folder not the same i have just 6 folders of 14 folders.
    How i can Sync Sysvol folder on this server ?
    Thanks

    Hi,
    The gpt.ini file contains the corresponding GPO's configuration settings, which includes its current version number and the default GPO display name. The version number is updated every time a change to the GPO is made. 
    In this case, there seems to be something wrong with the AD replication. To identify Active Directory replication problems, use the
    repadmin /showreps command.
    What's more, please check the Event viewer to see if there is any error  indicate a problem with Active Directory replication.
    For your information, please refer to the following article to get more help:
    Troubleshooting Active Directory Replication Problems
    http://technet.microsoft.com/en-us/library/bb727057.aspx
    Regards,
    Lany Zhang

  • Login settings will not update the local testing server files

    When uploading to web server from local testing server, changing login settings in the control panel does not update the local testing server Restrict Access to page files. Causing login on website not to function.
    It does however update the Connections file and the login wizard form.
    What is the best way to change login settings before uploading site to web server?
    Thanks
    Dan

    Dan - I am having the same exact problem. I'm using the restrict access and user registration and login - when attempting to use the Update Record wizard to allow users to change their password or email address, it doesn't change the record.

  • Login settings will not update local testing server files

    When uploading to web server from local testing server, changing login settings in the control panel does not update the local testing server files. Causing login on website not to function.
    It does however update the Connections file and login wizard form.
    What is the best way to change login settings before uploading site to web server?
    Dan

    Dan - I am having the same exact problem. I'm using the restrict access and user registration and login - when attempting to use the Update Record wizard to allow users to change their password or email address, it doesn't change the record.

  • When firefox trys to auto update, or I manually download the new version, or some but not all downloads off of the web, I get this error message. C:\Users\John\AppData\Local\Temp could not be saved, because you cannot change the contents of that folder.

    First off, when firefox trys to auto update, it fails. It tells me to try and download the new version from mozilla's site. When I try to download the new version I get this: (C:\Users\John\AppData\Local\Temp could not be saved, because you cannot change the contents of that folder.)
    This is the same message I have been getting when I try to download other things off the net. (When I use other browsers to download I dont have this problem)

    Please help.
    It is getting worse
    Adobe flash player is crashing. I already uninstalled and re installed the latest ver. Also it is hanging randomly.
    Please help.

  • Templates updating on local server but not on remote in DW CS3

    I'm using Dreamweaver CS3 and am trying to update some templates.  At first, when I checked out the file on the remote server, made the change and saved, it asked me if I want to upload to all pages using that template.  I said yes, and it checked them out and applied them (it says).  I noticed that the files were only updated on the local server and not on the remote so I had to synchronize.  No problem there.
    However, now when I go and update templates and apply to all pages using that template, it checks them out, but when I go check them on the servers, none of the files on either the local or remote server are updated even though I verified that the template itself did update.
    I'm a self-taught newbie, so please forgive me if some of this sounds way less than techie.
    Thanks

    Updated child pages need to be uploaded  (put) to server

  • The file 'C:\Users\netrgm\AppData\Local\Apple\Apple Software Update\iTunes64.msi' is not a valid installation package

    I am currently at iTunes version 10.5.1.42. It is telling me there is an update. It downloads and trys to install version 10.5.2 but i keep getting this error message:
    The file 'C:\Users\netrgm\AppData\Local\Apple\Apple Software Update\iTunes64.msi' is not a valid installation package for the product iTunes.
    Try to find the installation package 'iTunes64.msi' in a folder from which you can install iTunes.
    The file is in the directory that is looking in, but it doesnt seem to think it is valid. I have tried several times over the last week or 2.

    Try the following steps:
    1. Go to Microsoft website to fix install and Unistall problems. Click "Run now" from Fix it to remove all iTunes & related installer files:
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Be aware that Windows Installer CleanUp Utility will not remove the actual program from your computer. However, it will remove the installation files so that you can start the installation, upgrade, or uninstall over.
    2. You should remove all instances of iTunes and the rest of the components listed below:
    it may be necessary to remove all traces of iTunes, QuickTime, and related software components from your computer before reinstalling iTunes.
    Use the Control Panel to uninstall iTunes and related software components in the following order:
    iTunes
    QuickTime
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Follow the instructions from Apple article listed here: http://support.apple.com/kb/HT1923 to remove all components
    3. Reboot your computer. Next, download iTunes from here:http://www.apple.com/itunes/download/ and install from scratch

  • Amount in Local Currency not updating when using BAPI_INCOMINGINVOICE_PARK

    Hi all,
    I am using BAPI_INCOMINGINVOICE_PARK for parking a credit memo. Eventhough the credit memo is parked with amount in document currency, amount in local currency field is not updating.I am passing the amount to item_amount field in the item data table.
    Can anyone tell me one solution for this.
    Thanks
    -Sajith

    Hello Chelsea,
        I am not sure about your coding. If you are intrested you can try AC_DOCUMENT_DIRECT_INPUT FM it is having many many fields and also having local and global currency fields where you can pass the value.
    Thanks,
    Amit
    Message was edited by: Amit Gupta

  • TS1363 my itunes will not update a error message apears during dload C:\Users\Edwin\AppData\Local\Apple\Apple Software Update\ my phone has the new update and now wont sync with my pc due to this

    my itunes will not update keeps comming up with a error when dloading the latest version now my iphone4s wont sync as it has the latest software

    Is the message refering to a specific .msi file? If so, which particular .msi is it referring to? (iTunes.msi, bonjour.msi, AppleSoftwareUpdate.msi, etc.)

  • Setup.exe gives a "LANG_LIST has some locales which does not match with the locale of serial number"

    I ran the Adobe Customization Wizard XI to create a transform file and now when run setup.exe it always come with the error "LANG_LIST has some locales which does not match with the locale of serial number".
    It does the same thing when using msi with the command : msiexec /i  AcroPro.msi TRANSFORMS=AcroPro.mst /qb!
    Here is my setup.ini file
    [Startup]
    RequireOS=Windows XP
    RequireMSI=3.1
    RequireIE=7.0.0000.0
    Require64BitVC10RT=1
    CmdLine=/spb /rs /sl"1036"
    [Product]
    msi=AcroPro.msi
    vcrtMsi=vc_red.msi
    vcrtDir=VC10RT_x64
    Languages=1033;1036
    2052=Chinese Simplified
    1028=Chinese Traditional
    1029=Czech
    1030=Danish
    1043=Dutch (Netherlands)
    1033=English (United States)
    1035=Finnish
    1036=French (France)
    1031=German (Germany)
    1038=Hungarian
    1040=Italian (Italy)
    1041=Japanese
    1042=Korean
    1044=Norwegian (Bokmal)
    1045=Polish
    1046=Portuguese (Brazil)
    1049=Russian
    1051=Slovak
    1060=Slovenian
    1034=Spanish (Traditional Sort)
    1053=Swedish
    1055=Turkish
    1058=Ukrainian
    1025=English with Arabic support
    1037=English with Hebrew support
    6156=French (Morocco)
    CmdLine=TRANSFORMS="AcroPro.mst"
    [Windows XP]
    PlatformID=2
    MajorVersion=5
    MinorVersion=1
    ServicePackMajor=3
    [MSI Updater]
    Path=WindowsInstaller-KB893803-v2-x86.exe
    I don't know what goes wrong as took my serial number on my profile from the adobe web site, same thing for the download of the software.
    Does it means that the serial number provided was invalid for deploying ?
    NB.: My goal is to deploy our Acrobat XI through SCCM in silent mode and I don't know if there is extra consideration for that.  For now it's only not working at the command line.
    Another important point is that the install works great without customization !  If I just run the setup.exe from freshly extracted files and I use my serial number, everything is working fine.
    So what goes wrong ?

    Thanks for the reply brogers_1 and Vinod Dbhal, you gave good hint.
    I retried installing the initial package in French on a Windows 7 English and the software installed properly in French. 
    As I used to work with virtuals for those tests, I rolled back my virtual and redo my test installation with chosing to install it in English on my Windows 7 English and again the installation finished properly but I was surprised when I realized that even if I chose English as language, the software was running in French !
    Of course I can change the language settings (in the edit-preferences-language) to follow the operating system witch is nice.
    That gave me the cue I needed to know.  I started from scratch my customization with choosing only the French language in the "Application Languages" and I left the MUI Languages blank and saved the .mst
    I ran again the same command : msiexec /i  AcroPro.msi TRANSFORMS=AcroPro.mst /qb!
    And everything works fine.
    NB.: As I used the .msi directly, of course I had to install the prerequirement Visual C++ 2010 first.  Otherwise the installation failed without any error message.
    Thanks again to you for your good hint,
    Bob

  • GPO- Computer Configurations is not updating in all windows 7 PCs

    Hi All,Recently i have upgraded my DCs from 2003 to 2012 , (i have PDC and ADC). After the upgradation i have notice that the group policies are not working the proper way. User configurations are updating but the computer configurations are not .I would appreciate if somebody can help me on this. Please see the below result when i run gpupdate.C:\Users\subeeshgpupdateUpdating Policy... User Policy update has completed successfully.Computer policy could not be updated successfully. The following errors were enc ountered: The processing of Group Policy failed. Windows attempted to read the file \\mydomain.com\sysvol\mydomain.com\Policies\{88A6D798-7949-4F1B-A0E0-CBEDE0416F65}\gpt.ini from a domain controller and was not successful. Group Policy s ettings may not be applied until this event is resolved. This issue may be trans ient and...
    This topic first appeared in the Spiceworks Community

    Have you tried to give your iPod  a reset? Hold down the sleep and home keys until you see the silver apple. Let it reboot and try again.
    Have you tried different USB ports? Rebooted your computer?
    Uninstalled and then reinstalled iTunes? (You won't lose content if you uninstall)

  • Data in server is not updated

    i have modify the data STREET to "ANG MO KIO"
    http://i192.photobucket.com/albums/z231/yzme/d1.gif
    but the data in server still "HEAVEN ST"
    http://i192.photobucket.com/albums/z231/yzme/d2.gif
    I am using Time2Way T01, if it is when i sync the data will be uploaded, or do i need to configure somewhere to get the data upload ?
    if the data in client and middleware is different, when i sync , the data from the middleware will again download to the client replace the modified values
    OR
    the data in the client will uploaded to the middleware and trigger the MODIFY bapi wrappers ?
    <b>
    when i check my MEREP_MON, and MEREP_LOG there is no data inside this meaning after i changed the values and perform the sync, Inbox and Outbox still remain the previous data as well as inside the MEREP_LOG,
    is it the bapi wrapper not call by the client ?
    </b>
    and i find out that my bapi not get called, what additional code should i add instead of the code below.
    DO I NEED TO IMPLEMENT SOME CODE FOR UPLOADER ??
    do i have to change the reqDirectSync="true", if yes, how do i changed, just change inside the editor, or there is somewhere to configure in sapgui
    after i changed the data , i try to sync, and i check on merep_mon
    what specific or additional steps i need to configure, on uploader / receiver or synchronizer
    <b>i do not implement any syncBoDelta or global reset ?</b>Can someone explain the term "delta" to me and its activities?
    if i have upload something, and sync, the Inbox should have something right ??
    i just put add this code to modify my records
    public String modifyRecord(String eventName,boolean didNavigate){
                             String syncBoName="ZCON";
                             String syncKey="0001230297";
                             tableViewBean.setString(syncBoName +" "+syncKey);
                             System.out.println("SyncBoName: " +syncBoName + " syncKey: " +syncKey);
                             tcp = TableContentProvider.instance(syncBoName);
                             tcp.modifyTable(syncBoName,syncKey);                                   return JSP_DETAIL_SYNCBOINSTANCE;
    public void modifyRecord(String syncBoName,String syncKey){
    SyncBoDescriptor sbd=null;
    sbd=descriptorFacade.getSyncBoDescriptor(syncBoName);
    SyncBo sb=null;
    try{
    System.out.println("bp 2");
    sb=dataFacade.getSyncBo(sbd,syncKey);
    }catch(PersistenceException pex){
    System.out.println("Exception in modifyRecordLoc:" +pex.getMessage());
    SmartSyncTransactionManager transactionManager;
    try{  transactionManager=dataFacade.getSmartSyncTransactionManager();
    if(!transactionManager.isTransactionStarted()){
    transactionManager.beginTransaction();
    boolean b8=false;
    b8=setHeaderFieldValue2(sb,"STREET","ANG MO KIO");
    transactionManager.commit();
    SetSendType();
    listAllOutDelta();
    checkInboxConflict();
    }catch(Exception e){
    System.out.println("Exception in modifyRecordAmt2:" +e.getMessage());
    public void checkInboxConflict(){
              ErrorConflictInbox errorConflictInbox= SmartSyncRuntime.getInstance().getInboxNotifier().getErrorConflictInbox();
              MeIterator iter;
              SyncBoResponse resp;
              try {
              iter= errorConflictInbox.getAllSyncBoResponses();
              while(iter.hasNext()){
              resp= (SyncBoResponse)iter.next();
              String bo=resp.getSyncBoDescriptor().getSyncBoName();//SyncBo Name
              String state=resp.getSyncBoResponseState().toString();
              String res=resp.getResponseType().toString();//Get the SyncBo response type (conflict or ERROR)
              String msg=resp.getText();// This will return the exact message from the server
              System.out.println("bo:" +bo +" state: " +state +" res: " +res +" msg:" +msg);
              System.out.println("state:" +resp.getSyncBoResponseState().toString());
              if(resp.getSyncBoResponseState().equals(SyncBoResponseState.INITIAL)){
                   String a=resp.getSyncBoResponseState().toString();
                   resp.acceptClientSyncBo();
                   String b=resp.getSyncBoResponseState().toString();
                   resp.delete();
                   System.out.println("state1: " +a +"state2: " +b);
              boolean syncStatusComplete= SmartSyncRuntime.getInstance().getInboxNotifier().isSyncStatusComplete();
              System.out.println("syncStatus:" +syncStatusComplete);
              }catch (Exception e) {
              e.printStackTrace();
    public void listAllOutDelta(){
              SyncBoOutDeltaFacade deltFac=SmartSyncRuntime.getInstance().getSyncBoOutDeltaFacade();
              MeIterator allDelta;
              try {
                   allDelta = deltFac.getAllDelta();
                   while(allDelta.hasNext()){
                             SyncBoOutDelta outDelta=(SyncBoOutDelta)allDelta.next();
                             System.out.println("SyncKey:" +outDelta.getSyncKey() +" Action:" +outDelta.getAction()
                                       +" State:" +outDelta.getStateId() +" SendType:"+outDelta.getSendType());
              } catch (SmartSyncException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (PersistenceException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    public void SetSendType(){
              SmartSyncRuntime ssRuntime = SmartSyncRuntime.getInstance();
              SyncBoOutDeltaFacade boDeltaFacade = ssRuntime.getSyncBoOutDeltaFacade();
              SyncBoDescriptorFacade descF = ssRuntime.getSyncBoDescriptorFacade();
              SyncBoDescriptor myBO = descF.getSyncBoDescriptor("ZCON");
              boDeltaFacade.setSendType(myBO, SyncBoOutDeltaSendType.SEND_DIRECT);
    //SyncManager.getInstance().synchronizeWithBackend(VisibilityType.USER_SHARED);
         public boolean setHeaderFieldValue2(
              SyncBo sb,
              String headerFieldName,
              Object value) {
              SyncBoDescriptor sbd = sb.getSyncBoDescriptor();
              //RowDescriptor trd = sbd.getTopRowDescriptor();
              System.out.println("bp 10");
              RowDescriptor trd=sbd.getRowDescriptor("010");
              System.out.println("bp 11");
              FieldDescriptor fd = trd.getFieldDescriptor(headerFieldName);
              System.out.println("fd:" +fd.getFieldName());
              if (fd != null) {
              BasisFieldType bft = fd.getFieldType();
              //Row header = sb.getTopRow();
              System.out.println("bp 12");
              //Row header = null;
              Row[] header=null;
              //try {
                   //header = sb.getRow("0001211181");
                   //header=sb.getTopRow();
                   header=getItemInstances(sb,"010");
                   if(header==null){
                        System.out.println("is null");
                   }else{
                        System.out.println("not null");
              //} catch (PersistenceException e1) {
                   // TODO Auto-generated catch block
              //     System.out.println("Exception getRow:" +e1.getMessage());
              //     e1.printStackTrace();
              System.out.println("bp 13");
              try {
    //             Integer operator
              if (bft == BasisFieldType.N) {
                   System.out.println("Numeric");
              NumericField nf = header[0].getNumericField(fd);
              if (nf != null) {
              BigInteger ii = new BigInteger(value.toString());
              nf.setValue(ii);
              return true;
              } else {
              return false;
    //             Character operator
              if (bft == BasisFieldType.C) {
                   System.out.println("Character");
              CharacterField cf = header[0].getCharacterField(fd);
              if (cf != null) {
              cf.setValue(value.toString());
              return true;
              } else {
              return false;
    //             Decimal operator
              if (bft == BasisFieldType.P) {
                   System.out.println("Decimal");
              DecimalField df = header[0].getDecimalField(fd);
              System.out.println("bp 1.1");
              if (df != null) {
                   System.out.println("bp 1.2");
              BigDecimal bd = new BigDecimal(value.toString());
              System.out.println("bp 1.3");
              df.setValue(bd);
              System.out.println("bp 1.4");
              return true;
              } else {
                   System.out.println("bp 1.5");
              return false;
    //             Similar operation for time and date operator fields
              if (bft == BasisFieldType.D) {
                   System.out.println("Date");
              DateField df = header[0].getDateField(fd);
              if (df != null) {
              if (value.toString().equals("0")) {
              Date dat = Date.valueOf("0000-00-00");
              df.setValue(dat);
              } else if (!value.toString().equals("")) {
              Date dat = Date.valueOf(value.toString());
              df.setValue(dat);
              } else {
              Calendar cal = Calendar.getInstance();
              java.sql.Date bd =
              new java.sql.Date(cal.getTime().getTime());
              df.setValue(bd);
              return true;
              } else {
              return false;
    //             Similar operation for time and date operator fields
              } catch (SmartSyncException ex) {
              System.out.println(ex.getMessage());
              } catch (PersistenceException e) {
              System.out.println(e.getMessage());
              return false;
    SyncType: T01 Wrapper: GetList,GetDetail,Modify
      <?xml version="1.0" encoding="utf-8" ?>
    - <MeRepApplication schemaVersion="1.1" id="ZCON" version="01">
      <Property name="CLIENT.BUILDNUMBER" />
      <Property name="C_APPLRESOLVE" />
      <Property name="DATA_VISIBLE_SHARED">X</Property>
      <Property name="E_APPLRESOLVE" />
      <Property name="FACADE_C_CLIENT">X</Property>
      <Property name="FACADE_E_CLIENT">X</Property>
      <Property name="HOMEPAGE.INVISIBLE" />
      <Property name="INITVALUE" />
      <Property name="RUNTIME">JSP</Property>
      <Property name="TYPE">APPLICATION</Property>
    - <SyncBO id="ZCON" version="1" type="timedTwoWay" allowCreate="false" allowModify="true" allowDelete="false" reqDirectSync="false" downloadOrder="1">
    - <TopStructure name="TOP">
    - <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
      <Input type="create">false</Input>
      <Input type="modify">false</Input>
      </Field>
    - <Field name="PERSNUMBER" type="N" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <ChildStructure name="010">
    - <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
      <Input type="create">false</Input>
      <Input type="modify">false</Input>
      </Field>
    - <Field name="PERSNUMBER" type="N" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="CITY1" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="CITY2" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="STREET" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="HOUSE_NUM" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="REGION" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
      </ChildStructure>
      </TopStructure>
      </SyncBO>
      </MeRepApplication>
    Message was edited by:
            yzme yzme

    <u>my intention is very simple, i just need to  update a field in a row and update to the middleware so that the backend will reflect the changes. </u>
    >2 if i set the conflict/error handling to application, then i should have to implement some code for it, right ?
    >3) List syncbooutdelta
    <b>SyncKey:0001233035 Action:M SendType:SEND</b>
    doesnt it mean that when i sync , the uploader will pick up this data and do a modification ??
    i have change the metadata like this
    <SyncBO id="ZCON" version="1" type="timedTwoWay" allowCreate="false" allowModify="true" allowDelete="false" reqDirectSync=<b>"true" </b>downloadOrder="1">
    1) i try to sync the application and check the worklist monitor, there is nothing in the inbox ? how come ?
    2)if i test using emulator, i try to modify a value and execute, i am getting the following error.
    <u>
    Header action from mobile="MOD", R/3 action="ADD"
    Return code 1 (DOWNLOADER)
    </u>
    i try to modify not "Add"
    3) I am using Time 2 Way , how to check it is synchronous or asynchronous ? in merep_sbuilder, the default asyn. is checked, meaning async ??
    the type is T01 , ASYNC
    4)
    public void checkInboxConflict(){
              ErrorConflictInbox errorConflictInbox= SmartSyncRuntime.getInstance().getInboxNotifier().getErrorConflictInbox();
              MeIterator iter;
              SyncBoResponse resp;
              try {
              iter= errorConflictInbox.getAllSyncBoResponses();
              while(iter.hasNext()){
              resp= (SyncBoResponse)iter.next();
              String bo=resp.getSyncBoDescriptor().getSyncBoName();//SyncBo Name
              String state=resp.getSyncBoResponseState().toString();
              String res=resp.getResponseType().toString();//Get the SyncBo response type (conflict or ERROR)
              String msg=resp.getText();// This will return the exact message from the server
              System.out.println("bo:" +bo +" state: " +state +" res: " +res +" msg:" +mtext);
              boolean syncStatusComplete= SmartSyncRuntime.getInstance().getInboxNotifier().isSyncStatusComplete();
              System.out.println("syncStatus:" +syncStatusComplete);
              }catch (Exception e) {
              e.printStackTrace();
    <u>bo:ZCON state: INITIAL res: CONFLICT msg:Conflict: R/3 = delete, device = modify
    SyncStatus=true (complete)
    </u>
    5) after that i change my code to this
    while(iter.hasNext()){
      if(resp.getSyncBoResponseState().equals(SyncBoResponseState.INITIAL)){
        String a=resp.getSyncBoResponseState().toString();
        String a1=syncBO.getSyncState().toString();
        resp.acceptClientSyncBo();   //No transaction stated to commit
        resp.delete();
    String b=resp.getSyncBoResponseState().toString();
    String b2=syncBO.getSyncState().toString();
    System.out.println("state1: " +a +"state2: " +b);
    System.out.println("SyncState1: " +a1 +"SyncState2: " +b1);
    <u>state1: INITIAL state2: RESOLVED </u>
    <u>SyncStatus1:QUANRANTINE SyncStatus2: INCONSISTENT</u>
    and i try to sync ...no data in worklist
    6)i try to list out all the delta to be uploaded
    ListAllOutDelta to be upload
    <u>SyncKey:0001233349 Action:I State:99925F8E24DFFE49A4563C5E018E9B61 SendType:SEND
    </u>
    i am modifying the rows, not Insert a new row, the Action:'I' instead of 'M',  pls clarify on this.
    after i sync, i found out that there is 2 record with different syncKey but same primary key and all attributes appear to be same except the attribute that i changing.
    <u>SYNCKEY    PERSNUMBER CITY STREET HOUSENO</u>
    0001230298 000000000  HELL <u>ANG MO KIO</u> 0123456789 (modified record)
    0001230299 000000000  HELL <u>HEAVEN ST</u>  0123456789(old record)
    i check the application and found out that the previous record that i modify have its value changing locally but not updated into the backend, after sync, there is another record downloaded into this application which is the old record before i modify with different syncKey.
    but when i check the backend table, there is only 1 record inside, because i dont implement the 'Create' Bapi.
    does it make sense ?
    7) when i check my client , the data is persisted with modified value , but the changes is not reflected in the server, how come the data in client is not uploaded to the server.
    acceptClientSyncBo will make the client wins how come the data is not get updated in server ?
    Re: Regarding modifying Sync BO
    According to him, can anyone translate the things highlighted below
    for modifying one sync bo instance , there is no need to use createUnlinkedCopy()..
    just use like this..
    sb = dataFacade.getSyncBo(sbd,key);
    SmartSyncTransactionManager transactionManager;
    transactionManager = dataFacade.getSmartSyncTransactionManager();
    transactionManager.beginTransaction();
    setHeaderFieldValue(sb,"PERSNUMBER","9866321467");
    setHeaderFieldValue(sb,"FIRSTNAME","RajaSekhar");
    setHeaderFieldValue(sb,"LASTNAME","Varigonda");
    setHeaderFieldValue(sb,"PROFESSION","Technical Specialist");
    setHeaderFieldValue(sb,"***","MALE");
    setHeaderFieldValue(sb,"BIRTHDAY","1977-09-28");
    setHeaderFieldValue(sb,"HEIGHT","165");
    setHeaderFieldValue(sb,"WEIGHT","75");
    // Commit the transaction
    transactionManager.commit();
    setHeaderFieldValue - can be used to set value in new sync bo instance , or modify the instance.
    <b>
    But one main think here have to consider is , if you have created one Sync Bo instance , not synchronized with back end and u have modified that, then thats just like a creation .So during sync this will call Create Bapi Wrapper.
    </b>
    But after synchronization , is u are modifying that instance , then it is a modification(will call MODIFY Wrapper in back end during synchronization). u must have the right to modify this instance in the client side.
    hope u got it.
    u can debug MI Applications in NWDS.
    refer this blog written by Arun
    /people/arunkumar.ravi/blog/2006/02/22/execute-debug-your-mi-code-from-nwds
    let me know , if u have doubts
    Regards
    Kishor Gopinathan
    pls comment...

Maybe you are looking for

  • Max no# fo connections in a single  session

    Hi all, I have a scenario wherein I have connected to SAP from JAVA using XBP itenrfaces. I want to call  BAPI_JOB_DEFINITION_GET concurrently in a single session using sync threads. The problem what I am facing here is, I am able to handle 15 to 20

  • Problems adding titles on iMovie

    Hi all, I am brand new in MAC and getting started with iMovie. I have a problem: when I create a new title, it won't be addded to a clip. Actually, it only works if it on black background, but not above a clip itself )with the clip as the background)

  • IPod Touch Update Problems

    My iPod won't allow me to update to iOS 5, it is currently on 4.2.1. My iTunes is updated to the latest one but every time I press Check for Update it says "This version of the iPod software (4.2.1) is the current version" The model of the iPod as it

  • WSDL Client

    Hello, I made a WSDL client and now I've seen that java has a native client JAX-WS that I could of use. My original client knows how to use PKCS11 and how to set HTTP header vars(including basic HTTP authentication). I don't know how to translate PKC

  • Cluster Management Software on Catalyst 2950

    Hi There, I was wondering if anyone would be kind enough to provide me with some help on getting the CMS software running on a Cisco Catalyst 2950 Switch. I have followed all the instructions I could find on getting the software to load from the Swit