Bad syntax in TC string error

I keep getting this message whenever I add the scc file to the project and then try to simulate it or burn it. The file is fine, it works in DVDSP without issue. But I'd rather not rebuild the project in another application. I really don't know what else to do. This is not a BluRay project it's a Standard definition DVD project.
MacPro
OSX 10.75
Encore CS6
Thanks

Yeah that's totally possible that it is the file but I guess it's a moot point. Encore is still my go to for most projects. I love how intuitive it is to use and how seamless it is with Photoshop. The issues are often hard to troubleshoot and sometimes really weird which makes me cringe if the job is complex. I may throw the scc file into an earlier version as well as try it on a PC and post back here if it works.
Thanks

Similar Messages

  • ORA-20002: 501 Bad syntax error

    Hi,
    I intend to send a simple smtp mail using the builtin UTL_SMTP package.
    But i get the following error:-
    ORA-20002: 501 Bad syntax error
    Here is my code:-
    CREATE OR REPLACE PROCEDURE mail
    IS
    BEGIN
    DECLARE
    v_connection UTL_SMTP.CONNECTION;
    BEGIN v_connection := UTL_SMTP.OPEN_CONNECTION(<my host here>,25);
    dbms_output.put_line('Connection Opened');
    UTL_SMTP.HELO(v_connection,<my host here>);
    dbms_output.put_line('After calling helo');
    UTL_SMTP.MAIL(v_connection,'[email protected]');
    dbms_output.put_line('Sender set');
    UTL_SMTP.RCPT(v_connection,'[email protected]');
    dbms_output.put_line('Recipient Set');
    UTL_SMTP.DATA(v_connection,'Sent From PL/SQL');
    dbms_output.put_line('Message body set');
    UTL_SMTP.QUIT(v_connection);
    dbms_output.put_line('Connection Closed');
    end;
    END;
    Here is the output:-
    SQL> exec mail
    Connection Opened
    After calling helo
    BEGIN mail; END;
    ERROR at line 1:
    ORA-20002: 501 Bad address syntax
    ORA-06512: at "SYS.UTL_SMTP", line 86
    ORA-06512: at "SYS.UTL_SMTP", line 204
    ORA-06512: at "ADMIN.MAIL", line 13
    ORA-06512: at line 1
    I tried sending mails to my smtp server via java mailing API and i am
    successful. So i am wondering wat i am doing wrong up there in Oracle.
    I have JServer enabled, i also ran the initplsj.sql successfully.
    Please help.
    Regards,
    Leo.

    Hi APC,
    Yep HELO returns 250. Here is the code i use followed by the output. I use valid e-mail addresses(changed them here cz they belong to real ppl :) ). Again, i am able to send mails via java mailing API's, to the same recipietn from same sender via same smtp server.
    Code :------
    CREATE OR REPLACE PROCEDURE mail
    IS
    v_connection UTL_SMTP.CONNECTION;
    value UTL_SMTP.reply;
    PROCEDURE send_header(name IN VARCHAR2, header IN VARCHAR2) AS
    BEGIN
    UTL_SMTP.write_data(v_connection, name || ': ' || header || utl_tcp.CRLF);
    END;
    BEGIN
    v_connection := UTL_SMTP.OPEN_CONNECTION('smtp.server',25);
    dbms_output.put_line('Connection Opened');
    dbms_output.put_line('before calling helo');
    value := UTL_SMTP.HELO(v_connection,'smtp.server');
    dbms_output.put_line('after calling helo');
    dbms_output.put_line('code ' || value.code);
    dbms_output.put_line('before Sender is set');
    value := UTL_SMTP.MAIL(v_connection,'[email protected]');
    dbms_output.put_line('code ' || value.code);
    dbms_output.put_line('text ' || value.text);
    UTL_SMTP.RCPT(v_connection,'[email protected]');
    dbms_output.put_line('Recipient Set');
    UTL_SMTP.open_data(v_connection);
    send_header('From','"Sender" <[email protected]>');
    send_header('To','"Recipient" <[email protected]>');
    send_header('Subject','Hello');
    UTL_SMTP.write_data(v_connection, UTL_TCP.CRLF || 'Hello, world!');
    UTL_SMTP.close_data(v_connection);
    dbms_output.put_line('Message body set');
    UTL_SMTP.QUIT(v_connection);
    dbms_output.put_line('Connection Closed');
    END;
    Output:--------
    Connection Opened
    before calling helo
    after calling helo
    code 250
    before Sender is set
    code 501
    text Bad address syntax
    Looking forward to hearing from youself. :)
    Reagrds,
    Leo.

  • CDDB "bad syntax" error

    Within the past few months, every time I insert a CD and try to get the CD track names, I receive the following error message: "Response from CDDB server had bad syntax". I've tried a number of different CDs, and I've even gone to the Gracenote website to make sure they're in the system, and they are.
    I thought I might just need to update iTunes, so just today I switched from version 5 to version 7. No change. Same problem.
    On another discussion board, someone recommended to another person with this problem that they get an "update patch" from Gracenote. However, if that's the problem, I can't find one for a Mac. There's an only an .exe file for Windows on their site.
    Any suggestions? How can I fix this?
    iBook G4   Mac OS X (10.3.9)  

    Yes 7.6 is a mess. Like you I am trying to load many CDs, but since the switch to 7.6 I've had nothing but trouble. I can't turn back either as I would have wasted two weeks of importing.

  • UTIL-PARAM STRING ERROR when calling a form from OAF Page

    Dear Experts,
    Can you please suggest, as we are getting the below error when we are calling a form from OAF page.
    "UTIL-PARAM STRING ERROR"
    We have created a button to call the same and the syntax used is as below.
    form:PA:OLNG_MOC_PROJECTS_ENGINEER:STANDARD:PA_PAXCARVW:PROJECT_NUMBER={@ProjectNumber}
    Thanks in advance,
    Satish

    Hi all,
    I have a Personalized Button, my button call a customized form (with a parameter named TAINV_PARAM). Function of customized Form is TAINV_FORM
    In OAF page, I have a text, it's values is 'TAINV', it's ID is VALUES_ATTRIBUTE (you can show source code in browser).
    In Destination URL of Personalized Button, fill code to call Customized Form:
    *javascript: var v_get_value=document.GetElementById(VALUES_ATTRIBUTE).innerHTML;openWindow(top, 'OA.jsp?OAFunc=TAINV_FORM&TAINV_PARAM'+v_get_value,null, {width:750, height:550},false, 'dialog', null);void(0);*
    Regards,
    TAINV

  • SIT (nidll) Unterminated String Error

    Good day,
    I'm trying to build a model DLL in Simulink using NI SIT 4.0. The model builds using GRT and ERT (no auto config) fine (warnings galore but they are expected - unconnected inputs/outputs).
    When trying to build using nidll.tlc (either just autocoding or autocoding and linking to a DLL) I get an error which stops the build process:
    ### TLC code generation complete.
    ### Generating TLC interface API.
    ## SIT 4.0 Modifying PMS.c file
    Error: Inside: EXPRESSION Line: 8 Column: 76
    File: C:\SimulationInterfaceToolkit\ModelInterface\tmw\R14\..\nidll_codegen.tlc Line: 508 Column: 57
    Unterminated string
    Error: Inside: EXPRESSION Line: 8 Column: 105
    File: C:\SimulationInterfaceToolkit\ModelInterface\tmw\R14\..\nidll_codegen.tlc Line: 508 Column: 57
    Unterminated string
    Error: Inside: EXPRESSION Line: 8 Column: 77
    File: C:\SimulationInterfaceToolkit\ModelInterface\tmw\R14\..\nidll_codegen.tlc Line: 508 Column: 57
    syntax error
    Error: Inside: EXPRESSION Line: 8 Column: 76
    File: C:\SimulationInterfaceToolkit\ModelInterface\tmw\R14\..\nidll_codegen.tlc Line: 508 Column: 57
    Unterminated string
    ### Real-Time Workshop build procedure for model: 'PMS' aborted due to an error.
    I am confused as to which file it is referring to when it has the error.
    nidll_codegen.tlc - At the locations given is either the middle of text or nothing after a comment.
    PMS.c - looks incomplete (as expected) with a lot of whitespace and the locations reference nothing or a valid line of code (nothing to do with a string). All strings in this file are terminated. As this is the file being generated I doubt it is this file causing issues
    For reference all other C files and headers are created fine (sub units). We are using:
    MATLAB 7.4.0 (R2007a)
    NI SIT 4.0
    MS VC++ 6.0
    Any ideas most welcome and received with thanks!
    Regards,
    Rich

    Hi Richard,
    I know you have already verified you can built a Generic Real-Time model, however did you run the model without creating a make-file?
    In the log, an error message that results is a problem with the simulink model first and fore most. Have you determined what all the warnings are related to?
    Are you sure there is not a problem in the Simulink model?
    Please can you answer these questions and I will see what I can do for you.
    Regards
    JamesC
    NIUK and Ireland
    It only takes a second to rate an answer

  • ORA-01591: lock held by in-doubt distributed transaction string  error

    Hi Gurus,
    I am getting the error
    ORA-01591: lock held by in-doubt distributed transaction string error while running once procedure.
    Procedure basically inserts 2 tables and update 1 table.
    The order of execution is given below.
    However I get the error as table _a locked.
    Can you please help me how to handle this ?
    Begin
    Insert into table_a values (values1, value2); -- (our DB)
    Insert into table_b@remote_DB values (value1, value2); --( REMOTE DB)
    update table C ; -- (our DB)
    commit; -- when I debugged I get exception with the sql error above in this commit.
    End;

    Tina wrote:
    Hi Gurus,
    I am getting the error
    ORA-01591: lock held by in-doubt distributed transaction string error while running once procedure.
    Procedure basically inserts 2 tables and update 1 table.
    The order of execution is given below.
    However I get the error as table _a locked.
    Can you please help me how to handle this ?
    Begin
    Insert into table_a values (values1, value2); -- (our DB)
    Insert into table_b@remote_DB values (value1, value2); --( REMOTE DB)
    update table C ; -- (our DB)
    commit; -- when I debugged I get exception with the sql error above in this commit.
    End;
    01591, 00000, "lock held by in-doubt distributed transaction %s"
    // *Cause:  Trying to access resource that is locked by a dead two-phase commit
    //          transaction that is in prepared state.
    // *Action: DBA should query the pending_trans$ and related tables, and attempt
    //          to repair network connection(s) to coordinator and commit point.
    //          If timely repair is not possible, DBA should contact DBA at commit
    //          point if known or end user for correct outcome, or use heuristic
    //          default if given to issue a heuristic commit or abort command to
    //          finalize the local portion of the distributed transaction.

  • Unterminated  string error

    I get unterminated string error and not ideal how to fix it <p><form>
                            <c:forEach var="year" items="${sessionScope.studentUpdate}">
    <input type="button" value="show information" onclick="openNewInsert('PaymentInfor?search=<c:out value="${year.student_id}"/>')">
                      </c:forEach></p></form>

    if I only have <input type="button" value="show information" onClick="openNewInsert('')"> it did not show the Unterminate error , even I just use
    <input type="button" value="show information" onClick="openNewInsert('Hello.jsp')">, but when I add PaymentInfor?search=<c:out value="${year.student_id}"/> it get error
    ...I still don't get it

  • Found abort string ERROR expecting CONNECT

    i have a C881GW+7-E-K9 and i tried to connect 3g network but i'm getting allways same error.
    "Found abort string ERROR expecting CONNECT"
    my config is below.
    multilink bundle-name authenticated
    chat-script gsm "" "ATDT*99#" TIMEOUT 30 "CONNECT"
    license udi pid C881GW+7-E-K9 sn xxxx
    controller Cellular 0
    interface Cellular0
     ip address negotiated
     ip nat outside
     ip virtual-reassembly in
     encapsulation slip
     dialer in-band
     dialer pool-member 1
     dialer idle-timeout 0
     async mode interactive
    interface FastEthernet0
     no ip address
    interface FastEthernet1
     no ip address
    interface FastEthernet2
     no ip address
    interface FastEthernet3
     no ip address
    interface FastEthernet4
     no ip address
     shutdown
     duplex auto
     speed auto
    interface Wlan-GigabitEthernet0
     description Internal switch interface connecting to the embedded AP
     no ip address
    interface wlan-ap0
     description Embedded Service module interface to manage the embedded AP
     no ip address
     shutdown
    interface Vlan1
     no ip address
    interface Dialer1
     ip address negotiated
     encapsulation ppp
     dialer pool 1
     dialer idle-timeout 0
     dialer string gsm
     dialer persistent
     ppp authentication chap
     ppp ipcp dns request
     no cdp enable
    ip forward-protocol nd
    no ip http server
    no ip http secure-server
    ip route 0.0.0.0 0.0.0.0 Cellular0
    dialer-list 1 protocol ip permit
    control-plane
    line con 0
     exec-timeout 0 0
     script dialer gsm
     no modem enable
    line aux 0
     script dialer gsm
    line 2
     no activation-character
     no exec
     transport preferred none
     transport input all
     stopbits 1
    line 3
     no exec
    line vty 0 4
     login
     transport input all

    Hi,
    Since you’re developing Java program, it’s suggested to post on Java forum since they are the best resource for Java issue. We can only provide suggestions from Directory Service side.
    Before we go further, please make sure you can use Microsoft tools, such as ADSI-ADAM version, ldp.exe, to connect to ADAM instance without error using "Administrator@domainname".
    If you cannot connect ADAM with this user, try to install ADAM on a client machine which is not in any Domain to test. Use local account to test.
    Please also check the suggestions below to make sure ADAM settings are correct.
    Managing Authentication in ADAM
    http://technet.microsoft.com/en-us/library/cc784622.aspx
    Thanks.
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Bad string error!

    hello,
    for my application, I am using combo box for displaying IP addresses.
    when i go to that corresponding panel from Main Menu buy clicking 'GoToIPdiplay' menu item, the output throughs
    "Object Identifier: bad string supplied to set value " error exception.
    In the combo boy, the first index value i set as "Click to view avilable IPs".
    after that all combo box value, i set the avilable IP values.
    why in my application,
    "Object Identifier: bad string supplied to set value " error exception come?.

    To cater for nulls try
    If isnull|( {EVAL_COMMENTS_Duration.COMMENTS}) or  {EVAL_COMMENTS_Duration.COMMENTS} = '' then 0 else
    Minute(CTime ("00:" + {EVAL_COMMENTS_Duration.COMMENTS}))* 60 + Second (CTime ("00:" + ({EVAL_COMMENTS_Duration.COMMENTS})))
    Ian

  • BADI Syntax Error

    Dear Sir,
    I am getting following Syntax error while using GET_DATA( ) method  :
    "The format of field specification "IM_ITEM->GET_DATA( )" is not supported ...
    The code , I am using is as :
    method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM.
    DATA: is_mepoitem TYPE mepoitem ,
          wa_bwtar TYPE mepoitem-bwtar,
          wa_matnr TYPE mepoitem-matnr .
          is_mepoitem = im_item->get_data().
          wa_matnr = is_mepoitem-matnr .
          wa_bwtar = is_mepoitem-bwtar .
    endmethod.
    I request sap gurus , to kindly guide as how to remove the above error .
    Regards
    B Mittal

    DATA: is_mepoitem TYPE mepoitem,
    wa_bwtar TYPE mepoitem-bwtar,
    wa_matnr TYPE mepoitem-matnr.
    CALL METHOD im_data->get_data()
         RECEIVING
             re_data = is_mepoitem.
    wa_bwtar = is_mepoitem-bwtar.
    wa_matnr = is_mepoitem-matnr.
    Reward points if you find it helpful.
    Regards,
    J.Prasanna

  • I can't install itunes 10.7 on windows.  Schema.strings error message

    I cannot install itunes 10.7.  All I get is an error message which reads
    Error writing to file: C:\Programme Files\Common Files\Apple\Mobile Device Support\SyncServices\Schemas\Bookmarks.synchschema\Contents\Resources\fi.lproj\ Schema.strings Verify you have access to that directory.
    The schema.strings file is in the location required but I still can't install.

    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Cmdlnlauncher for sequences throwing connection string error..

    Hi All,
    I have Hyperion suite v11.1.1.3. I am trying to use cmdlnLauncher.bat to schedule few rules and sequences. I was able to do it for rules however for sequences, I am getting error.
    My syntax:
    cmdlnLauncher.bat -p:password -S<server name> -Uadmin -sAct2011
    Error: "Connect String missing or has an invalid format. Please specify a valid connect string (Server/App/DB)"
    As the -f<rtp file> is ignored for sequences, I am not sure how to pass connection string to the wizard.
    Any suggestions please..
    Kind regards,
    Ankit

    Thanks for Reply
    Excel SOurce give me below Error
    TITLE: Microsoft Visual Studio
    Parameters cannot be extracted from the SQL command. The provider might not help to parse parameter information from the command. In that case, use the "SQL command from variable" access mode, in which the entire SQL command is stored in a variable.
    Try as below,
    declare @sql varchar(1000), @fq varchar(260)
    select @fq = ?
    select @sql = 'SELECT * FROM OPENROWSET(''Microsoft.ACE.OLEDB.12.0'',''Excel 12.0;Database=''' + @fq + ''', ''SELECT * FROM [sheet$]'')'
    ---print @sql
    insert into TEMP
    exec(@sql)
    OR
    declare @sql varchar(1000), @fq varchar(260)
    select @fq = ?
    select @sql = 'SELECT * INTO TEMP FROM OPENROWSET(''Microsoft.ACE.OLEDB.12.0'',''Excel 12.0;Database=''' + @fq + ''', ''SELECT * FROM [sheet$]'')'
    ---print @sql
    exec(@sql)
    Regards, RSingh

  • Creating BADI for Virtual Key fig: Error: RSR_OLAP_BADI does not exist

    Hi,
    I am following some instructions to test the implementation of virtual key figure and came to the point to create the BADI.
    Intructions on page 5:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e051fda8-71a9-2a10-ac9e-8d17414a8c8c
    SE19
    Create Implementation; New BADI; Enhancement Spot:    RSR_OLAP_BADI
    At this point I get an error that RSR_OLAP_BADI does not exist.
    I then chose at random APB_LAUNCHPAD but this works in the sense that it took me to the next screen
    1. What does it mean by RSR_OLAP_BADI not existing?
    2. I know the instructions points to choose RSR_OLAP_BADI, but why that particular program and how does one gets to know that it is the one to use for virtual key figure/char implementation?
    3. When I tested with APB_LAUNCHPAD, I did not get the same screen on page 5 of the link, is it different for BI 7? Or, am I missing a point?
    Thanks

    Hi,
    thanks for the guidance.
    Yes, I tried to implement exactly as in the article.
    Yes, I defined the filter for the Infoprovider, as ZV*
    Are you suggesting that at this point, if in the method  if_ex_rsr_olap_badi~define, I change the value of
    "ZV_ZIPER" to my DSO or Cube, I should now see the virtual key figure in my query?
    Based on this understanding, I modified the method as follows, (my cube name is 2LIS_11_VASCL):
    method IF_EX_RSR_OLAP_BADI~DEFINE.
      DATA: l_s_chanm TYPE rrke_s_chanm,
      l_kyfnm TYPE rsd_kyfnm.
      FIELD-SYMBOLS:
      <l_s_chanm> TYPE rrke_s_chanm.
    Insert Code
      CASE i_s_rkb1d-infocube.
    CASE i_s_rkb1d-2LIS_11_VASCL.
          WHEN '2LIS_11_VASCL'.
          l_s_chanm-chanm = 'ZVAR_SHPR'.
          l_s_chanm-mode = rrke_c_mode-read.
          APPEND l_s_chanm TO c_t_chanm.
          l_s_chanm-chanm = 'ZVARDT'.
          l_s_chanm-mode = rrke_c_mode-read.
          APPEND l_s_chanm TO c_t_chanm.
          APPEND 'ZV_20DV' TO c_t_kyfnm.
      ENDCASE.
    endmethod. "if_ex_rsr_olap_badi~define
    After activation, I checked the query and still I am not seeing the virtual key figure in the query for selection.
    Any more ideas?
    Thanks
    Edited by: Amanda Baah on May 24, 2009 8:01 AM

  • Delphi 3 or Delphi XE gives Invalid class string error

    I have Delphi 3 and a runtime error occurs when I RUN this project. No build errors...
    The form appears correctly and I put the path to the GroupWise domain directory :
    F:\opt\novell\groupwise\mail\dom1
    I click on the CONNECT button and the error is :
    "Project admin_api.exe raised an exception class EOleSysError with message 'Invalid class string'. Process stopped. Use Step or Run to Continue"
    For Delphi XE the error is only "Invalid class string".
    What am I doing wrong ?
    Thank You
    Have downloaded the same GroupWise Administrative Object API code
    https://www.novell.com/developer/ndk...bject_api.html
    unit App_obj;
    interface
    uses
    Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
    StdCtrls, OleAuto, Ole2;
    type
    TForm1 = class(TForm)
    Button1: TButton;
    Label6: TLabel;
    UserID: TEdit;
    Label7: TLabel;
    LastName: TEdit;
    Label8: TLabel;
    FirstName: TEdit;
    UserDistinguishedName: TEdit;
    Label10: TLabel;
    SystemInfo: TGroupBox;
    Label1: TLabel;
    Label2: TLabel;
    Label3: TLabel;
    Label4: TLabel;
    Label5: TLabel;
    SystemDescription: TEdit;
    SystemDistinguishedName: TEdit;
    SystemLastModifiedBy: TEdit;
    ConnectedDomainName: TEdit;
    SystemObjectID: TEdit;
    PostOfficeList: TComboBox;
    Label11: TLabel;
    Label9: TLabel;
    UserContext: TEdit;
    Label12: TLabel;
    Label13: TLabel;
    Label14: TLabel;
    Label15: TLabel;
    Label16: TLabel;
    DomainPath: TEdit;
    Button2: TButton;
    procedure Initialize(Sender: TObject);
    procedure Button1Click(Sender: TObject);
    procedure Button2Click(Sender: TObject);
    private
    { Private declarations }
    public
    { Public declarations }
    end;
    var
    Form1: TForm1;
    vSystem:variant;
    vDomain:variant;
    const
    ADMIN_NAME = 'Admin';
    sDOT = '.';
    implementation
    {$R *.DFM}
    procedure TForm1.Initialize(Sender: TObject);
    begin
    //Initialize controls
    DomainPath.Text:='';
    SystemDescription.Text:='';
    SystemDistinguishedName.Text:='';
    SystemLastModifiedBy.Text:='';
    ConnectedDomainName.Text:='';
    SystemObjectID.Text:='';
    UserID.Text:='';
    LastName.Text:='';
    FirstName.Text:='';
    UserDistinguishedName.Text:='';
    UserContext.Text:='';
    UserID.SetFocus;
    end;
    procedure TForm1.Button1Click(Sender: TObject);
    var
    vUsers:variant;
    vUser:variant;
    stemp:string;
    idotpos:integer;
    SelectedPO:string;
    sAdmin:string;
    begin
    //Get Selected PostOffice
    SelectedPO:=PostOfficeList.Items[PostOfficeList.ItemIndex];
    //Get Users Object
    vUsers:=vDomain.Users;
    //Find Admin user object
    vUser:=vUsers.Item(ADMIN_NAME,SelectedPO,Connected DomainName.Text);
    If UserContext.Text = '' then begin
    //Get Admin Context and use as Default
    sAdmin:=vUser.NetID;
    idotpos:=Pos(sDOT,sAdmin);
    stemp:=Copy(sAdmin,idotpos,256); //Copy everything after first dot include dot
    UserContext.Text:=stemp;
    end else begin
    //Use context string
    stemp:=UserContext.Text;
    end;
    //Make Distinguished name by adding UserID and admin context
    stemp:=UserID.Text+stemp;
    //Display User distinguished name
    UserDistinguishedName.Text:=stemp;
    //Add user
    vUser:=vUsers.Add(UserID.Text,LastName.Text,stemp,
    '',SelectedPO);
    //Set User first name
    vUser.GivenName:=FirstName.Text;
    //Commit User first name to system
    vUser.Commit;
    end;
    procedure TForm1.Button2Click(Sender: TObject);
    var
    vPostOffice:variant;
    vPostOffices:variant;
    vPOIterator:variant;
    begin
    //Get GroupWise Admin Object and connect to it
    if(DomainPath.Text = '') then begin
    ShowMessage('You must enter a valid Domain Path. Then press Login');
    exit;
    end;
    vSystem:=CreateOleObject('NovellGroupWareAdmin');
    vSystem.Connect(DomainPath.Text);
    //Get the connected Domain
    vDomain:=vSystem.ConnectedDomain;
    //List some Domain properties
    SystemDescription.Text:=vDomain.Description;
    SystemDistinguishedName.Text:=vDomain.Distinguishe dName;
    SystemLastModifiedBy.Text:=vDomain.LastModifiedBy;
    ConnectedDomainName.Text:=vDomain.Name;
    SystemObjectID.Text:=vDomain.ObjectID;
    //Initialize controls
    UserID.Text:='';
    LastName.Text:='';
    FirstName.Text:='';
    UserDistinguishedName.Text:='';
    UserContext.Text:='';
    UserID.SetFocus;
    //Get list of PostOffices for connected Domain
    vPostOffices:=vDomain.PostOffices;
    vPOIterator:=vPostOffices.CreateIterator;
    vPostOffice:=vPOIterator.Next;
    PostOfficeList.Clear;
    While( (NOT VarIsNULL(vPostOffice)) And (NOT varisempty(vPostOffice))) do begin
    PostOfficeList.Items.Add(vPostOffice.Name);
    vPostOffice:=vPOIterator.Next;
    end;
    //Set index to first item in list
    PostOfficeList.ItemIndex:=0;
    end;
    end.

    On 9/24/2013 10:46 PM, bperez wrote:
    >
    > I have Delphi 3 and a runtime error occurs when I RUN this project. No
    > build errors...
    >
    > The form appears correctly and I put the path to the GroupWise domain
    > directory :
    >
    > F:\opt\novell\groupwise\mail\dom1
    >
    > I click on the CONNECT button and the error is :
    >
    > "Project admin_api.exe raised an exception class EOleSysError with
    > message 'Invalid class string'. Process stopped. Use Step or Run to
    > Continue"
    >
    > For Delphi XE the error is only "Invalid class string".
    >
    > What am I doing wrong ?
    >
    > Thank You
    >
    > Have downloaded the same GroupWise Administrative Object API code
    > https://www.novell.com/developer/ndk...bject_api.html
    >
    > {/************************************************** *************************
    >
    > ************************************************** **************************/}
    > unit App_obj;
    >
    > interface
    >
    > uses
    > Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
    > Dialogs,
    > StdCtrls, OleAuto, Ole2;
    >
    > type
    > TForm1 = class(TForm)
    > Button1: TButton;
    > Label6: TLabel;
    > UserID: TEdit;
    > Label7: TLabel;
    > LastName: TEdit;
    > Label8: TLabel;
    > FirstName: TEdit;
    > UserDistinguishedName: TEdit;
    > Label10: TLabel;
    > SystemInfo: TGroupBox;
    > Label1: TLabel;
    > Label2: TLabel;
    > Label3: TLabel;
    > Label4: TLabel;
    > Label5: TLabel;
    > SystemDescription: TEdit;
    > SystemDistinguishedName: TEdit;
    > SystemLastModifiedBy: TEdit;
    > ConnectedDomainName: TEdit;
    > SystemObjectID: TEdit;
    > PostOfficeList: TComboBox;
    > Label11: TLabel;
    > Label9: TLabel;
    > UserContext: TEdit;
    > Label12: TLabel;
    > Label13: TLabel;
    > Label14: TLabel;
    > Label15: TLabel;
    > Label16: TLabel;
    > DomainPath: TEdit;
    > Button2: TButton;
    > procedure Initialize(Sender: TObject);
    > procedure Button1Click(Sender: TObject);
    > procedure Button2Click(Sender: TObject);
    > private
    > { Private declarations }
    > public
    > { Public declarations }
    > end;
    >
    > var
    > Form1: TForm1;
    > vSystem:variant;
    > vDomain:variant;
    >
    > const
    > ADMIN_NAME = 'Admin';
    > sDOT = '.';
    >
    > implementation
    >
    > {$R *.DFM}
    >
    > procedure TForm1.Initialize(Sender: TObject);
    > begin
    > //Initialize controls
    > DomainPath.Text:='';
    > SystemDescription.Text:='';
    > SystemDistinguishedName.Text:='';
    > SystemLastModifiedBy.Text:='';
    > ConnectedDomainName.Text:='';
    > SystemObjectID.Text:='';
    >
    > UserID.Text:='';
    > LastName.Text:='';
    > FirstName.Text:='';
    > UserDistinguishedName.Text:='';
    > UserContext.Text:='';
    > UserID.SetFocus;
    >
    > end;
    >
    > procedure TForm1.Button1Click(Sender: TObject);
    > var
    > vUsers:variant;
    > vUser:variant;
    > stemp:string;
    > idotpos:integer;
    > SelectedPO:string;
    > sAdmin:string;
    > begin
    > //Get Selected PostOffice
    > SelectedPO:=PostOfficeList.Items[PostOfficeList.ItemIndex];
    >
    > //Get Users Object
    > vUsers:=vDomain.Users;
    >
    > //Find Admin user object
    > vUser:=vUsers.Item(ADMIN_NAME,SelectedPO,Connected DomainName.Text);
    >
    > If UserContext.Text = '' then begin
    >
    > //Get Admin Context and use as Default
    > sAdmin:=vUser.NetID;
    > idotpos:=Pos(sDOT,sAdmin);
    > stemp:=Copy(sAdmin,idotpos,256); //Copy everything after first dot
    > include dot
    > UserContext.Text:=stemp;
    >
    > end else begin
    > //Use context string
    > stemp:=UserContext.Text;
    > end;
    >
    > //Make Distinguished name by adding UserID and admin context
    > stemp:=UserID.Text+stemp;
    >
    > //Display User distinguished name
    > UserDistinguishedName.Text:=stemp;
    >
    > //Add user
    > vUser:=vUsers.Add(UserID.Text,LastName.Text,stemp,
    > '',SelectedPO);
    >
    > //Set User first name
    > vUser.GivenName:=FirstName.Text;
    >
    > //Commit User first name to system
    > vUser.Commit;
    > end;
    >
    >
    >
    > procedure TForm1.Button2Click(Sender: TObject);
    > var
    > vPostOffice:variant;
    > vPostOffices:variant;
    > vPOIterator:variant;
    >
    > begin
    > //Get GroupWise Admin Object and connect to it
    > if(DomainPath.Text = '') then begin
    > ShowMessage('You must enter a valid Domain Path. Then press
    > Login');
    > exit;
    > end;
    > vSystem:=CreateOleObject('NovellGroupWareAdmin');
    >
    >
    > vSystem.Connect(DomainPath.Text);
    > //Get the connected Domain
    > vDomain:=vSystem.ConnectedDomain;
    >
    > //List some Domain properties
    > SystemDescription.Text:=vDomain.Description;
    > SystemDistinguishedName.Text:=vDomain.Distinguishe dName;
    > SystemLastModifiedBy.Text:=vDomain.LastModifiedBy;
    > ConnectedDomainName.Text:=vDomain.Name;
    > SystemObjectID.Text:=vDomain.ObjectID;
    >
    > //Initialize controls
    > UserID.Text:='';
    > LastName.Text:='';
    > FirstName.Text:='';
    > UserDistinguishedName.Text:='';
    > UserContext.Text:='';
    > UserID.SetFocus;
    >
    > //Get list of PostOffices for connected Domain
    > vPostOffices:=vDomain.PostOffices;
    > vPOIterator:=vPostOffices.CreateIterator;
    > vPostOffice:=vPOIterator.Next;
    > PostOfficeList.Clear;
    > While( (NOT VarIsNULL(vPostOffice)) And (NOT
    > varisempty(vPostOffice))) do begin
    > PostOfficeList.Items.Add(vPostOffice.Name);
    > vPostOffice:=vPOIterator.Next;
    > end;
    >
    > //Set index to first item in list
    > PostOfficeList.ItemIndex:=0;
    > end;
    >
    > end.
    >
    >
    gw client installed? Novell client installed?

  • Scan from string error 85

    Hi Everybody,
    I'm trying to use LabView to
    process some data.  The data, although it was collected via labview,
    has been written out to csv file format.  I have been able to
    successfully open the file and use the search split string function to
    remove the "header" from the data stream.  Now I'm trying to parse the
    header to extract some pieces of the info that is there.  I'm trying to
    do this with the Scan from String VI.  
    So
    far I've been able to retrieve the Specimen ID from the first line of
    the header by setting the format string input of Scan from String as
    "Specimen ID ,%s", which works just fine.  Problem is, when I
    adjust
    the format string to include the next piece of data I want, I
    inevitably get an Error 85, which is a failed scan.  In fact, I
    get an err85 every time I try to extract something from after the
    second line.  I've attached a VI in which I cut and pasted an
    example header string in as a string constant and an example of how I'm
    trying to extract the values.  I've tried playing around with
    spaces and different formats, but get the err85 no matter what I do
    (unless I extract the first line).  I have a hunch that it has
    something to do with the EOL marker, but no idea how to work around it.
    A search of posts here show that a lot of people have issues with the
    scan from string vi, but nobody I could find had this exact
    problem.  I've also considered using the spreadsheet spring to
    array function, but because I have a mix of commas and EOLs it doesn't
    seem to work either. HELP! I really don't want to have to write this
    over in VBA/Excel.
    Thanks,
    Turk
    Message Edited by YoungTurk on 07-29-2005 10:36 AM
    Attachments:
    Scan.vi ‏12 KB

    You should probably parse it line by line (See attached, LabVIEW 7.1)..
    The attached example shows one possibility to get all the Items and values out. Not all values are strictly numeric so you would need to adapt the code a little bit. (This is just a very rough 1 minute draft).
    You might want to cosider to extract all values into a cluster for further processing, Have a look at the example  posted in this thread . It can be easily adapted to read the values in the proper format (DBL, I32, Date, String, etc.) depending on the item name.
    Good luck!
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ScanMOD.vi ‏30 KB

Maybe you are looking for

  • Sap Query custom field assigned to wrong field group (in extract)

    Hello, I want to add an extra field to InfoSet /SAPQUERY/MEBANF at EBAN level. I added a field in a normal way: I fill it with a constant value. I adapted Sap Query: In result, I got the value in new column but only for certain rows: The value is the

  • Delete or replace "original" photos in iPhoto '08?

    Once I've completed all edits that I want to do on a particular picture in iPhoto '08, is there a way to replace the original photo so that I am not storing two versions on the hard drive? (Mostly to save space.) I don't care to ever revert back to t

  • [SOLVED] Nouveau vs Nvidia in regards to Twinview

    Hello all. I have a laptop that has an nvidia video card, using the proprietary nvidia driver. I also use a docking station, so I have Twinview set up so that it shows the same thing on both screens so when docked I'll see something on the external m

  • Mandatory Input in Formatted Search Query Field

    I have created formatted search query. Which has only one field "Serial Number"?  I have to ensure that, the user has to enter the value in that field.  How to do that? I was thinking on implement in stored procedure SBO_TransactionNotification with

  • Elements and iPad

    Can someone tell me what is best iPad app to work with Elements please