I am trying to create a single exe. The build creates directories NI_HTML,NI_report,NI_Standard Report

The build keeps telling me that I have 3 sets of files the same name from NI report
The VI's are creating 3 times the files I require
It also tells me to select renaming files
Can any body tell me how you do that
Solved!
Go to Solution.

This is a (current?) limitation of the executable structure. Since you use the report generation (or any auto-dispatching class) LabVIEW needs to distribute these files outside of the executable, not something to worry about, however you need to make sure these directories stay with the executable.
See here for a KB article
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be!

Similar Messages

  • Im trying to create a link within a report

    select se.SERVER_ID,
    se.SERVER_NAME,
    se.MODEL_NUMBER,
    se.SERVER_FUNCTION,
    se.OPERATING_SYSTEM,
    se.PROCESSORS,
    se.RAM,
    (select case when server_name in 'ni-cr-dev-dbs1'
            then '<a href="Link'
    when server_name in name_of_document
            then '<a href="Link' ||
    name_of_document ||' " target="_window">download</a>'
            end doc_link
            from se_SERVERS) as download,
    se.FILENAME,
    se.MIMETYPE,
    se.LAST_UPDATE_DATE
    from SE_SERVERS se
    {code}
    im getting an error, don't no if the inner select is being done right...
    ORA-01427: single-row subquery returns more than one row                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi
    You need to link to the primary key of your main table like...
    select se.SERVER_ID,
    se.SERVER_NAME,
    se.MODEL_NUMBER,
    se.SERVER_FUNCTION,
    se.OPERATING_SYSTEM,
    se.PROCESSORS,
    se.RAM,
    (select case when server_name in 'ni-cr-dev-dbs1'
            then '<a href="Link'
    when server_name in name_of_document
            then '<a href="Link' ||
    name_of_document ||' " target="_window">download</a>'
            end doc_link
            from se_SERVERS se2
            where se.primary_key = se2.primary_key) as download,
    se.FILENAME,
    se.MIMETYPE,
    se.LAST_UPDATE_DATE
    from SE_SERVERS se
    {code}
    Replacing primary_key with the primary key column. HOWEVER, in this case you don't need to, you can just have...
    {code}
    select se.SERVER_ID,
    se.SERVER_NAME,
    se.MODEL_NUMBER,
    se.SERVER_FUNCTION,
    se.OPERATING_SYSTEM,
    se.PROCESSORS,
    se.RAM,
      case when server_name in 'ni-cr-dev-dbs1'
            then '<a href="Link'
    when server_name in name_of_document
            then '<a href="Link' ||
    name_of_document ||' " target="_window">download</a>'
            end   download,
    se.FILENAME,
    se.MIMETYPE,
    se.LAST_UPDATE_DATE
    from SE_SERVERS seCheers
    Ben

  • How to create directories with same name in different schemas

    I have two schemas on the same database.
    I am trying to create directories with same name, but different paths in both the schemas.
    When i created the directories in second schema, the directory paths of the first schema are automatically changed to the second path.
    Is there any solution to create directories with same name, but different path in two different schemas on the same database.
    Thanks,
    Sridhar.

    Hi,
    >>When i created the directories in second schema, the directory paths of the first schema are automatically changed to the second path.
    If you have removed the REPLACE clause of your create statement, then you would see that is not possible.
    SYSTEM> connect scott/tiger
    Connected.
    SCOTT> create directory mydir as '/tmp';
    Directory created.
    SCOTT> connect legatti/pwd
    Connected.
    LEGATTI> create directory mydir as '/tmp';
    create directory mydir as '/tmp'
    ERROR at line 1:
    ORA-00955: name is already used by an existing object
    LEGATTI> select owner,object_name,object_type,created
      2  from dba_objects where object_name='MYDIR';
    OWNER     OBJECT_NAME    OBJECT_TYPE         CREATED
    SYS       MYDIR          DIRECTORY           19/12/2007Cheers
    Legatti

  • How do i create directories in Mavericks

    Trying to create directories to install an app.  But for the life of me, I don't know how in Mavericks.
    Can anyone help???
    Thanks!
    John

    Go into the Finder and either choose New Folder from the File menu, or press the Shift, Command, and N keys, or control-click the window and select New Folder.
    (103538)

  • Creating Directories and Files

    I am trying to create directories and sub-directories in a portlet. The user names the File and directories and sub-directories with specific files in each are generated. I can see that it is getting the correct paths for the directories and sub but it will not create the actual directories or files when I do fileName.createNewFile() or fileName.mkdir() as appropriate. Any insight would be greatly appreciated.

    So do you "greatly appreciate" my potentially helpful response yet? Did you get run over by a bus?
    Oh, I understand now. To you, "to greatly appreciate" means "to ignore".
    *BURP*
    (P.S. that might mean "You're welcome", but I likewise leave it to you to interpret)

  • My family uses a single lap-top as our main internet connection and when we synch our respective I-pods, our I-tunes account seems to wipe-out our playlists, even though we have tried to create separate I-tune accounts.  Help!!

    My family uses a single lap-top as our home computer and several of us have i-pods that we like to synch, using I-tunes.  Although we've tried to create separate I-tune accounts, our i-tunes playlists are getting wiped out when one of us deletes songs on our I-pod and it seems as though I-tunes is not distinguishing our distinct accounts and all i-pods are being synched to reflect the latest i-pod anyone makes on their respective account.  It appears as though our distinct I-tune accounts are not being loaded on our lap-top when we sign in and unfortunately, when we're in I-tunes, there is nothing to indicate what account is on the screen.  For all the glowing appraisals apple-related products usually receive, we are finding i-tunes and its interface with our respective i-pods to be a very, very frustrating experience. 
    Can anyone shed some light on this for a family of non-techies?  Thx 
    Pegger64  

    You need to create separate Windows user accounts if you want to seperate the behaviour of iTunes for each user. That also means separate iTunes libraries for each user.
    Windows is a multi-user operating system but you are not using it properly. iTunes is not a multi-user application. No application is. You can't expect it to treat different users differently when they are all using the same computer user account.
    Do you understand what I mean?

  • Error when trying to create new single user

    When I fill out the "basic", "groups", and "home" sections of single user in Workgroup Manager and then go to click "save" and error pops up ... actually 4 errors. They say:
    Got Unexpected Error
    error of type -14134 on line 487 of
    UserBasicPluginView.mm
    Got Unexpected Error
    error of type -14134 on line 1656 of
    UserAdvancedPluginView.mm
    Got Unexpected Error
    error of type -14134 on line 225 of
    UserGroupPluginView.mm
    Got Unexpected Error
    error of type -14134 on line 1183 of
    UserVolumesPluginView.mm
    It then saves the user as "Untitled1". And I have to quit WM and restart it before I can delete "Untitled 1". I have created many successful log-ins. This only happens to two (2) of the log-ins I have tried to create. I know I made some mistake (can't remember exactly what ... think I typed the user name wrong or something) on one of them, but the other was long ago and I don't remember if I did something and then it didn't work, or if it didn't work the first time I tried.
    Any other info that would help I would be glad to offer, just let me know what info to gather. Thanks for your help in advance.
    Eric

    Has nobody else had this issue? I thought I had read a while ago on these boards about others having similar issues, but I searched again and couldn't find anything. Any ideas?
    Message was edited by: erigm

  • I'm trying to create a Windows partition using Boot Camp. An error comes up telling me that I need to reformat my current partition(s) into one single partition. However, it's already formatted in the correct format, and is already a single partition.

    As made clear in the title:
    I'm trying to create a Windows partition using Boot Camp. An error comes up telling me that I need to reformat my current partition(s) into one single partition. However, it's already formatted in the correct format, and is already a single partition.
    My computer recently had a kernel panic, which apparently the corruption was in the system and needed to be erased and re-installed. I have a complete back-up using an external hard drive, and I am definitely not willing to do another one of those to reformat a partition that is already singular. I restarted the computer after ejecting my back-up, and after turning off time machine (thinking that boot camp was recognizing it as a secondary partition), however the error still occurs.
    Is there any way to get around this?

    diskutil list:
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *750.2 GB   disk0
       1:                        EFI                         209.7 MB   disk0s1
       2:                  Apple_HFS Macintosh HD            749.3 GB   disk0s2
       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                            Windows7               *2.9 GB     disk1
    diskutil cs list:
    No CoreStorage logical volume groups found
    mount:
    /dev/disk0s2 on / (hfs, local, journaled)
    devfs on /dev (devfs, local, nobrowse)
    map -hosts on /net (autofs, nosuid, automounted, nobrowse)
    map auto_home on /home (autofs, automounted, nobrowse)
    /dev/disk1 on /Volumes/Windows7 (udf, local, nodev, nosuid, read-only, noowners)
    From my very basic knowledge - it still looks as if there is only one partition (not including the windows 7 CD necessary to install the windows partition).

  • Trying to create a shell script to cut/paste files in finder. Help needed.

    I'm trying to create an automator shell script to cut/paste. It'll function exactly like copy/paste. i.e. I'll just copy file/files with command+c like always, but then I'll create an automator which uses the "mv" terminal app to move the files which works exactly like cut paste.
    I need some help since I don't know the syntax for creating shell scripts.
    What I did so far is to do it in automator with Apple Script which goes like the following:
    on run {input, parameters}
    tell application "Finder"
    set theWindow to window 1
    set thePath to quoted form of (POSIX path of (target of theWindow as string))
    end tell
    tell application "Terminal"
    do script with command "mv \"" & input & "\"" & thePath in window 1
    end tell
    return input
    end run
    This gets the copied file path from clipboard before, as input, and then recognizes the active finder window as thePath so then executes the mv command for the input file to the thePath window.
    It doesn't work as expected since it connects both file/window paths into a single path instead of leaving a space between them so the mv command can't recognize two separate paths.
    What's the correct syntax for that line
    do script with command "mv \"" & input & "\"" & thePath in window 1
    to leave a space between input and thePath under the mv command?
    Also this requires the terminal app to be open in the background.
    After I get this to work I want to do the exact same thing using shell script within automator, so I won't need Terminal to be open all the time.
    And the next step will be to cut/paste multiple files/folders but that should be easy to do once I get the hang of it.

    Try using:
    on run {input, parameters}
    tell application "Finder"
    set theWindow to window 1
    set thePath to quoted form of (POSIX path of (target of theWindow as string))
    end tell
    do shell script "mv \"" & input & "\" " & thePath
    return input
    end run
    (45977)

  • Error Received When Trying To Create DSN From The Command Line

    All,
    Your help is greatly appreciated in advance. I am having trouble packaging Oracle 10G for a batch file deployment. Everything is done except for getting the DSN created which is causing me major problems. We am working with the Oracle 10G R2 10.2.0.1.0 Client on Windows XP Professional SP2. The Oracle database resides on a Windows 2000 Professional Server SP4 running Oracle 9i.
    Our Environment: I am creating two packages of the Oracle 10G client. The first is for a batch file distribution via LANDesk and the other package is for normal batch file install if someone from IT is installing this from a user's desk. Both scripts are really identical the only differences are how they are laid out. I only need help with the DSN creation as everything else is ready to go. I am going to focus on the Non-LANDesk batch file as once I fix this in one script the other one should also be fixed.
    The Problem: The batch script copies the neccesary files to the temporary directory. I then extract the setup files to the temp folder. I run a custom Oracle install using the RSP file from a recorded install. After the install is complete I copy the TNS Names file to the proper location. I then try to call a CMD file with the ODBC command seen below the main script.
    Script (May be easier to read if you download using link below):
    @ECHO ON
    ::This batch files installs Oracle 10G Release 2 Version 10.2.0.1.0 with a Custom Response File
    ::Installation is Interactive
    ::All files are extracted from the ZIP file via the 7-Zip command line tool
    ::The Net Configuration Assistant TNS Names File is copied to its proper location
    ::The CCR ODBC connection is created once the install is complete
    ::All folders used for installation are cleaned up-deleted
    @ECHO Setting Variables
    set NetworkPath=\\dc-landesk\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD
    set DefaultPackagePath=C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD
    set ExtractionPath=C:\Temp_Oracle10G
    set TempInstallFromPath=C:\Temp_Oracle10G\SetupFiles
    set FileFolderCleanupPath=C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent
    @ECHO Creating Directories
    mkdir "C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD"
    @ECHO Copying Files to DefaultPackagePath
    copy /Y "%NetworkPath%\7za.exe" "%DefaultPackagePath%"
    copy /Y "%NetworkPath%\CCR-ODBC.cmd" "%DefaultPackagePath%"
    copy /Y "%NetworkPath%\Oracle10GCustom.rsp" "%DefaultPackagePath%"
    copy /Y "%NetworkPath%\SetupFiles.zip" "%DefaultPackagePath%"
    copy /Y "%NetworkPath%\tnsnames.ora" "%DefaultPackagePath%"
    @ECHO Changing to Extraction Directory
    cd "%DefaultPackagePath%"
    @ECHO Extracting Files to path with no spaces
    "%DefaultPackagePath%\7za.exe" x SetupFiles.zip -o%ExtractionPath% -aoa
    @ECHO Please Open the "Task Manager" manager, Sort by "CPU" Descending
    @ECHO Watch Task Manager For Javaw.exe, press any key when the process Disappears
    @ECHO Install using Custom Response File
    "%TempInstallFromPath%\setup.exe" -responseFile "%DefaultPackagePath%\Oracle10GCustom.rsp" -force -silent -noconsole
    pause
    @ECHO Copying NETCA (Net Configuration Assistant) TNS Names File to proper Location in Oracle Product Directory
    copy /Y "%DefaultPackagePath%\tnsnames.ora" "C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN\tnsnames.ora"
    @ECHO Creating ODBC Connections Using Oracle Driver installed by this Batch File
    call "%DefaultPackagePath%\CCR-ODBC.cmd"
    @ECHO Waiting 20 seconds before proceeding
    ping -n 21 127.0.0.1 >NUL
    @ECHO Remove Temp Files and Folders created during Install
    rmdir /S /Q %ExtractionPath%
    del /Q "%DefaultPackagePath%\*.exe"
    del /Q "%DefaultPackagePath%\*.ora"
    del /Q "%DefaultPackagePath%\*.rsp"
    del /Q "%DefaultPackagePath%\*.reg"
    del /Q "%DefaultPackagePath%\*.zip"
    rmdir /S /Q %FileFolderCleanupPath%
    @ECHO The Oracle 10G installation has been Completed
    pause
    ODBC Script
    odbcconf.exe /a {CONFIGSYSDSN "Oracle in OraClient10g_home1" "DSN=CCR|Description=CCR_data|SERVER=BWB|Database=CCR"}
    As soon as the command is called I see the following error message appear.
    "CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259"
    The really strange thing though is that if I let the main part of the script run (Not the ODBC call) and then immediately manually start the ODBC call script it works just fine. So, I don't really understand why the script can't add it itself. Or, I can go the Administrator Tools>Data Sources (ODBC)>and then add it manually which also works. I have tried just pasting the command directly in the main script, therefore, bypassing the call feature but it doesn't make a difference.
    Link (Zip with all scripts mentioned above): http://www.cbridegum.com/Fourms/Oracle/Files.zip
    Has anyone ever seen this kind of issue before? Does anyone have any idea on how to fix this? Any thoughts or suggestions would be great.
    Thanks so much for your help in advance,
    Clif Bridegum

    All,
    I thought it may be related to spaces in the path in which the script was called from. I tried having the ODBC command script in another directory but the same thing happens. It will give me the "CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259". As soon as the script is done running I can manually double click the script and it adds the DSN fine.
    Thanks,
    Clif Bridegum

  • Trying to Create a Catalog file using WSIM (Windows System Image Manager)

    I have been looking online for a solution to htis problem for days and come up with nothing so any help would be amazingly helpful.
    I have created a Windows 8.1 image which I would like to role out to all users within my company but when trying to create a catalog file I am getting an erorr message saying "Windows SIM was unable to generate a catalog."  It says "Mounting
    Windows Image file......This might take a few minutes" and then fails after 6-7mins.
    When opening the log file I get this:
    10:00 : Cannot obtain read/write access for F:\sources\install.wim.
    In order to generate a catalog file, you must have read/write access to the Windows image file and its containing folder.
    10:13 :
    10:13 : Windows SIM was unable to generate a catalog. For troubleshooting assistance, see the topic: 'Windows System Image Manager Technical Reference' in the Windows OPK or Windows AIK User's Guide.
    10:13 :
    10:13 : System.InvalidOperationException: The operation failed to complete. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: String reference not set to
    an instance of a String.
    Parameter name: source
       at System.Globalization.CompareInfo.IsPrefix(String source, String prefix, CompareOptions options)
       at ?A0xfe36268f.ConvertToNtPath(String path)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.CbsSessionAdaptor..ctor(String bootDrive, String imageWinDir, String servicingPath)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl.InitializePackages()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl..ctor(OfflineImageInfo imageInfo)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
       at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.PlatformImplementation.CreateOfflineImageInstance(OfflineImageInfo imageInfo)
       --- End of inner exception stack trace ---
    The one image that did work (LiteTouchPE_x64.wim) was from the OS I imported to Microsoft Workbench but the components are different to any that I have seen online when looking on how to do this.
    I have made sure that the architecture is x64 and tried from ISO files I have on the system already but get the same error.
    This is the first project I have been involved in and only ever done IT support before this.
    Thanks for your help in advance.

    Yes I am trying to capture a reference image that I have created on another machine and then reploy this through MDT. I am trying to open the Unattend.xml file because the "Capture and Sysprep" fails on the reference machine when trying to run
    Sysprep. When I try to open the Unattend.xml file in MDT I get the error below:
    Performing operation "generate" on Target "Catalog".
    Starting: "C:\Program Files\Microsoft Deployment Toolkit\Bin\Microsoft.BDD.Catalog35.exe" "D:\Windows8.1 TEST3\Operating Systems\Windows8.1 x64\Sources\install.wim" 1 > "C:\Users\*****\AppData\Local\Temp\3\Microsoft.BDD.Catalog.log"
    2>&1
    No existing catalog file found.
    PROGRESS: 0: Starting.
    PROGRESS: 0: Creating mount folder: C:\Users\*****\AppData\Local\Temp\3\IMGMGR_install_Windows 8.1 Enterprise_njegg3ph.con.
    PROGRESS: 5: Creating temp folder: C:\Users\*****\AppData\Local\Temp\3\IMGMGR_install_temp_qj0x3ga5.obv.
    PROGRESS: 10: Mounting Windows image: D:\Windows8.1 TEST3\Operating Systems\Windows8.1 x64\Sources\install.wim. This might take a few minutes.
    ERROR: Unable to generate catalog on D:\Windows8.1 TEST3\Operating Systems\Windows8.1 x64\Sources\install.wim: System.ComponentModel.Win32Exception: The process cannot access the file because it is being used by another process
       at Microsoft.ComponentStudio.ComponentPlatformInterface.WimImageInfo.PreCreateCatalog()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()
       at Microsoft.BDD.Catalog.Program.DoCatalog()
    Non-zero return code from catalog utility, rc = 2002

  • Getting "layer break" error message when trying to Preview a single sided DVD, or build an ISO image or disk folder

    Hi!  Hoping someone might be able to help with an odd problem.  I haven't found anything in the forums or the web that match my symptoms.
    I've been using Encore CS6 (v6.0.1.013) on a MacBook retina over the past year to successfully create a number of single sided DVDs with menus, chapters, and all that.  I usually make a copy of a previous DVD project, and then replace video assets with the new files and transcodes, move and rename chapter markers, and rework the menus in Photoshop.  I then will build ISO images for both DVD and Blu-Ray (both single-sided), and use those to burn many copies of each DVD for clients.
    This week, while developing one of these projects, when trying to build a DVD ISO image that looked like it would fit on a 4.7 GB DVD, I received the "layer break" message ("The chosen layer break does not satisfy dual layer requirements.  To fix this, either set a new layer break manually, or choose to set layer break automatically.") because (I'm guessing) the material was too long for the 4.7 GB DVD (the Build screen now shows about 5GB of material are in the project).  This is the first time I've seen that message - usually Encore just tells me the material is too big for the DVD.
    I re-transcoded the material down to well under 4.7 GB (about 3.9 GB), reverted and replaced the transcoded files, and now the DVD build screen shows that there are about 700MB free on a 4.7 GB DVD.  But I still have not been able to build any version of the DVD (image, folder, disc), without getting the "layer break" message.  I also now get this same layer break message when trying to "Preview from Here" any menu, killing my ability to preview the DVD menus in Encore.
    Just to see what would happen, I chose an 8.4GB Dual Layer DVD, and chose "manual" instead of "automatic" for the layer break selection, but never got the layer break selection dialog box, just the "layer break" error message.
    I typically build both DVD and Blu-Ray images from the same material in the same project.  I use different transcoding settings for each, and I have been able to build a Blu-Ray ISO without this "layer break" error on the Blu-Ray build (which is about 24.5GB when built).  And as I mentioned before, this is the first project on which I've even seen this layer break message.
    Any suggestions would be greatly appreciated!  I'd rather not recreate the project from scratch, but I'm worried that I may have to.
    Thanks
    Jon

    The total project being small enough may mean you have one layer that is too big. Both layers have to be smaller than half the disk, right?
    Be sure you "run as administrator" for dual layer projects.
    Encore may set the layer break correctly if it finds a good place, but there are numerous complaints about it being unreliable.
    Build to a folder (no layer break is set), then use ImgBurn to build and ask to be prompted for layer break. ImgBurn is also unreliable under some circumstances.
    The most frequent problems appear to be when there is no good location for a break. Do a search for "layer break imgburn" and you will see a variety of strategies.
    http://forum.imgburn.com/index.php?/topic/1777-how-to-create-a-double-layer-dvd-video-imag e-file-using-imgburn/
    Also see these posts:
    Neil Wilkes
    http://forums.adobe.com/message/3466255#3466255
    Neil Wilkes
    http://forums.adobe.com/message/4054265#4054265
    Neil Wilkes
    http://forums.adobe.com/message/4054269#4054269
    Jon Geddes
    http://forums.adobe.com/message/4002647#4002647
    shuchi shrivastava
    http://forums.adobe.com/message/3905911#3905911
    Jon Geddes and Neil Wilkes
    http://forums.adobe.com/message/4003221#4003221

  • Trying to create a service that starts at boot

    People,
    I'm trying to create a service that will start at boot (in single-user mode, actually). I am up and running but I do NOT want to run the service now. I only want to run the service when the machine reboots.
    I've been rummaging around all day trying to figure this out but I'm stuck. I can create a service that runs. I can create an XML file in /var/svc/manifest/site/patch-install.xml that will be read when I boot- because after I boot, I can list the service:
    svcs -a | grep patch
    disabled       18:23:23 svc:/site/patch-install:defaultI have inserted the following in my xml:
    <create_default_instance enabled='true' />and also
    <create_default_instance enabled='false' />but it makes no difference. Anyone have any idea? What is the purpose of create_default_instance? I don't understand; item 9 on http://www.sun.com/bigadmin/content/selfheal/sdev_intro.html seems rather opaque to me.
    Also, what exactly is the purpose of /var/svc/profile/ ? I tried putting some code to enable my xml but it didn't do anything. Just wondering if this might fit into the picture.
    BTW, I do not want the login prompt to appear until my method is complete.
    Thanks.
    -mschwage
    Here fyi is my /var/svc/manifest/site/patch-install.xml file:
    <?xml version="1.0"?>
    <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
    <service_bundle type='manifest' name='Patches:patch-install'>
    <service
            name='site/patch-install'
            type='service'
            version='1'>
            <create_default_instance enabled='false' />
            <single_instance />
            <dependent
                    name='patch-install_single-user'
                    grouping='require_all'
                    restart_on='none'>
                    <service_fmri value='svc:/milestone/single-user' />
            </dependent>
            <exec_method
                    type='method'
                    name='start'
                    exec='/var/tmp/S92delay'
                    timeout_seconds='86400' />
            <exec_method
                    type='method'
                    name='stop'
                    exec=':true'
                    timeout_seconds='0' />
            <property_group name='startd' type='framework'>
                    <propval name='duration' type='astring' value='transient' />
            </property_group>
            <stability value='External' />
            <template>
                    <common_name>
                            <loctext xml:lang='C'>
                            Install patchset upon boot.
                            </loctext>
                    </common_name>
            </template>
    </service>
    </service_bundle>

    Hushpuppy wrote:
    People,
    I'm trying to create a service that will start at boot (in single-user mode, actually). I am up and running but I do NOT want to run the service now. I only want to run the service when the machine reboots.I'd probably create the service now (by importing the manifest manually rather than waiting for the reboot), then set general/enabled in the default instance to be be true with svcprop. That should tell it to start at boot, but not enable it immediately.
    I've been rummaging around all day trying to figure this out but I'm stuck. I can create a service that runs. I can create an XML file in /var/svc/manifest/site/patch-install.xml that will be read when I boot- because after I boot, I can list the service:Yes, that's the default. Or you can load it immediately to create the service now.
    # svccfg import patch-install.xml
    I have inserted the following in my xml:
    <create_default_instance enabled='true' />and also
    <create_default_instance enabled='false' />but it makes no difference. Anyone have any idea? What is the purpose of create_default_instance? I don't understand; item 9 on http://www.sun.com/bigadmin/content/selfheal/sdev_intro.html seems rather opaque to me.There's a difference between a "service" like network/smtp or console-login and an "instance" like network/smtp:sendmail or console-login:default. In most cases, you just want a single "default" instance of your service. The above line sets the default instance 'enabled' property to true or false. When I import your manifest as is, the service comes in as 'disabled'. If I set it to true, it comes in as 'maintenance' (almost certainly because it was enabled, tried to start, and couldn't find the start method on my machine).
    Also, what exactly is the purpose of /var/svc/profile/ ? I tried putting some code to enable my xml but it didn't do anything. Just wondering if this might fit into the picture.'profiles' are loaded exactly once, and they are mainly used to set certain services to enabled or disabled.
    3 of them are loaded if present, platform.xml, generic.xml, and site.xml. The last is not generated by the OS, but left for you to use. But it's usually only useful as a "first boot" type thing. Because if you make changes to it, it will not be reread. This isn't usually a problem because after first boot you're in control of the services. The usual thing is that at first boot the manifests load to create services, then the profiles are loaded to set then enabled or disabled. This isn't possible before that point because there's no service to modify yet.
    BTW, I do not want the login prompt to appear until my method is complete.Any login prompt like a network login, or only the console login prompt? If the latter, then you'll want a dependency so that system-console-login depends on your service. But if your service has a problem at boot time, you'd make it difficult to log in.
    Darren

  • Error while trying to create a new company

    Hey All
    I found an error while trying to create a new company.
    the Error like - No matching Records Found - [ODBC -2028]
    This can generate only database but not any tables in that database.
    Please help me.
    Thanking you
    Hepil Doshi

    Hello,
    I would prefer local language instead of US english.....
    My tips.
    1. DID you tried to Not apply the UDO/UDF things?
    2. Do not log in to the database, start from
    3. Please post the error message itself....
    4. If you are running on MS SQL 2005 server (not express) , You can start SQL profiler, and monitor the New Database creation.... you will see in profielr where is the error message and which tables / data is missing.
    If i know well,
    When you create a new company, the SBO-COMMON database is used to deploy the new database....
    If you get stock, reinstall your sbo-common from the last applyied patch..... (Detach SBO-common, move the files another directory, and start upgarder.exe).
    Regards,
    J.

  • Error when trying to create Calendar Client GPO

    I am trying to create a GPO in a Windows 2003 domain to deploy Oracle Calendar Client 10.1.2. I run cal_win_1012.exe /a and it installs the app in the specified network location (\\Server\Share\OracleCalendar\program files\Oracle\Calendar) and the 'Oracle Calendar.msi' file in this location. When i attempt to create a GPO with this MSI file, it gives the following error:
    Add operation failed. Unable to extract deployment information from the package. Run validation on the package to ensure that the package is correct.
    I am able to browse to the MSI file from a PC and run the installer, and it installs, i just cannot create a GPO with the MSI file. Any help is appreciated.

    Might be an idea to search support.microsoft.com for the errormessage (or Google). Seems that you are not alone. Could be a bug in Windows and not in the package.
    I see things like this http://support.microsoft.com/kb/324886

Maybe you are looking for