Osql.exe as a standalone utility?

I have an installer which installs the application files and creates a sql server database by running a .sql file with the osql.exe utility.This approach works fine if the installer in
running in a machine which has sql server/express 2008 installed.But since in production scenarios the app server and database server are generally in two different machines and the installer will be running in the app server machine,the installer fails to
create the database because it cannot find the osql.exe utility in the app server machine which does not have sql server installed.Is there any way to run the osql.exe as a separate utility from a machine which does not have sql server ?

I am not sure what type of script you are trying to deploy, are you using CLR? or just vanilla T-SQL
To resolve this problem, install the Microsoft Visual C++ 2008 Redistributable Package.
To obtain the 32-bit version of the Visual C++ 2008 Redistributable Package, visit the following Microsoft website:
http://www.microsoft.com/downloads/details.aspx?familyid=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en
To obtain the 64-bit version of the Visual C++ 2008 Redistributable Package, visit the following Microsoft website:
http://www.microsoft.com/downloads/details.aspx?familyid=BD2A6171-E2D6-4230-B809-9A8D7548C1B6&displaylang=en 
You may want to try SQLCMD as already suggested, separate download is avaialble as part of
SQL Server Feature Pack

Similar Messages

  • Organizer as a standalone utility

    We would like to use organizer a lot more than we do. It would be a great explorer and entry point into a PDF library we have. So two requests please:
    1. Could Organizer be available as a standalone utility? It's extra brain cycles for our users to start Acrobat, look at a black screen, find and press the little grey filing cabinet with the top drawer open or click your way through File->Organizer->Open Organizer (and no, no one remembers Shift-Ctrl-1). A single click of a standalone utility from the desktop should start it.
    2. Start up time on Organizer is ridiculously long. Over a minute of nothing on a fast machine; some users think the process has hung. Subsequent starts are quicker, but could it be a little more responsive from the beginning? Or at least tell us what it is doing?
    These two things tend to detract from its utility to the point that most don't bother with it. Do not want to buy 3rd party PDF explorer, Acrobat is expensive enough.
    Perhaps there is a workaround for #1?

    I am not sure what type of script you are trying to deploy, are you using CLR? or just vanilla T-SQL
    To resolve this problem, install the Microsoft Visual C++ 2008 Redistributable Package.
    To obtain the 32-bit version of the Visual C++ 2008 Redistributable Package, visit the following Microsoft website:
    http://www.microsoft.com/downloads/details.aspx?familyid=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en
    To obtain the 64-bit version of the Visual C++ 2008 Redistributable Package, visit the following Microsoft website:
    http://www.microsoft.com/downloads/details.aspx?familyid=BD2A6171-E2D6-4230-B809-9A8D7548C1B6&displaylang=en 
    You may want to try SQLCMD as already suggested, separate download is avaialble as part of
    SQL Server Feature Pack

  • Linking EXE to EXE with captivate standalone

    hi,
    i've a problem.
    i've done a standalone project with captivate but there are
    some links to external EXE that i would open in a parent
    target..while my main EXE is just running..AND NOT IN THE BROWSER
    as it is.
    if it's more simple to link to external SWF (and not exe) to
    have this effect let me say..i could do also in this way.
    please, it's very important for me.
    thanks to all for your attention,
    ivano

    Hello ivano,
    Just to make sure I understand you correctly - you have links
    to external EXEs - and when a user clicks one of those links - you
    want the external EXE to open in the Parent window? And, you want
    the original movie to keep playing?
    Lynn

  • Where can I download certutil.exe and the NSS Utils for Windows

    I know many people struggle to find Certutil.exe and the rest of the NSS Utils so I have compiled version 3.14.2, using the same method I previously posted here https://support.mozilla.org/en-US/questions/687296 but this time with Visual C++ 2010 (x86)
    YOU WILL NEED VISUAL C++ 2010 REDISTRIBUTABLE INSTALLED to run these executables.
    The zip file can be downloaded from ....
    (Link to file removed)
    Hope this helps

    When you compile certutil there should be a whole raft of other exe and all the dll files you need. the dll files need to be either in c:\windows\system32 or in the same folder as certutil.exe.
    Hope this helps.

  • Ie4unit.exe "Per-User Initialization Utility" crashing on first login of a new profile

    Hello,
    I am getting an error whenever I log onto my servers via RDP as per below:
    Faulting application name: ie4uinit.exe, version: 11.0.9600.17207, time stamp: 0x53a22332
    Faulting module name: KERNELBASE.dll, version: 6.1.7601.18409, time stamp: 0x5315a05a
    Exception code: 0xc0000005
    Fault offset: 0x0000000000001a93
    Faulting process id: 0x2120
    Faulting application start time: 0x01cfe289d12e2d0e
    Faulting application path: C:\Windows\System32\ie4uinit.exe
    Faulting module path: C:\Windows\system32\KERNELBASE.dll
    Report Id: 0fb3b222-4e7d-11e4-b476-005056910008
    My server is running Internet Explorer 11. This has only started happening in the past fortnight.
    It only happens on the first login of a user where the profile is initalized. If I move on from the error and log out / back in the error does not re-occur.
    If I remove the user profile from the server so it has to recreate it the error happens again.
    Screenshot below.
    Any ideas or suggestions that might be causing this?
    My first thoughts are perhaps something under my group policy settings for IE is not compatible with IE11 and causes this issue..?

    "C:\Windows\System32\ie4uinit.exe" -UserIconConfig
    Any insight on what this switch actually does and why it would crash?
    Just from the name.  Do you have any customization in that area?
    An alternative/supplement to running ProcMon that you could use here is  DependencyWalker  for its Profiler feature.  That would give you a trace of calls up to the crash. 
    ProcMon is coarser and depends on how optimized a program is that is being traced.  Hopefully ie4uinit.exe  won't be too optimized and so then could give you some good clues about what was going on using Registry and File access events.  ProcMon
    used to give us a simple way of getting a pseudo Stack Back Trace for the crashing thread but lately it seems the WER gets into the act in ways that I haven't figured out yet, so no longer as simple to analyze from there.  That's why a dump would probably
    be useful too.
    Robert Aldwinckle

  • Prerequisiteinstaller.exe error - unable to install Application Server Role, Web Server (IIS) Role

    Windows Server 2012 R2 running on Hyper-V VM.  File services, App server & IIS roles installed
    SQL Server 2012 installed
    Tried:
    kb 2765260 method 1 which is kb 2771431 which ends with "not applicable to computer"
    kb 2765260 method 2 with no effect (this was power shell commands for PC's connected to the internet)
    One post suggested "aspnet_regii - enable -i" but my OS doesn't have aspnet_regii on it (not sure what that implies)
    One post suggested ServerManagerCmd.exe needed to be installed which sounds true as shown below (but where do I find this exe?)
    There are some errors in the log file,  I only included the portions where the errors are listed.  The initial lines are at the top of the log file, then I skipped to the section where the other errors were.  I can include the whole log if
    it becomes necessary.
    9:47:11 Processor architecture is (9)
    9:47:11 Reading the following string value/name...
    9:47:11 Common Startup
    9:47:11 from the following registry location...
    9:47:11 SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
    9:47:11 The value is...
    9:47:11 C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
    9:47:11 Trying to remove the startup task if there is any.
    9:47:11 C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SharePointServerPreparationToolStartup_0FF1CE14-0000-0000-0000-000000000000.cmd
    9:47:11 Error: Startup task doesn't exist. This is not a continuation after a restart.
    9:47:11 Locating the following command line arguments file:
    9:47:11 E:\PrerequisiteInstaller.Arguments.txt
    9:47:11 Error: This file does not exist
    9:47:11 Details of the current operating system:
    9:47:11 Check whether the following prerequisite is installed:
    9:47:11 Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)
    9:47:11 Reading the following DWORD value/name...
    9:47:11 IsInstalled
    9:47:11 from the following registry location...
    9:47:11 SOFTWARE\Wow6432Node\Microsoft\Updates\AppFabric 1.1 for Windows Server\KB2671763
    9:47:17 Beginning download/installation
    9:47:17 Created thread for installer
    9:47:17 "C:\Windows\system32\ServerManagerCmd.exe" -inputpath "C:\Users\ADMINI~1\AppData\Local\Temp\1\PreE0DB.tmp.XML"
    9:47:17 Error: Unable to install (2)
    9:47:17 Error: [In HRESULT format] (-2147024894)
    9:47:17 Last return code (2)
    9:47:17 Reading the following DWORD value/name...
    9:47:17 Flags
    9:47:17 from the following registry location...
    9:47:17 SOFTWARE\Microsoft\Updates\UpdateExeVolatile
    9:47:17 Reading the following string value/name...
    9:47:17 PendingFileRenameOperations
    9:47:17 from the following registry location...
    9:47:17 SYSTEM\CurrentControlSet\Control\Session Manager
    9:47:17 Reading the following registry location...
    9:47:17 SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
    9:47:17 Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.
    9:47:17 Last return code (2)
    9:47:17 Options for further diagnostics: 1. Look up the return code value 2. Download the prerequisite manually and verify size downloaded by the prerequisite installer. 3. Install the prerequisite manually from the given location without any command line options.
    9:47:17 Cannot retry
    I'm presuming the first 2 errors are OK and just indicate optional startup modes for prerequisiteinstaller.exe
    The 2nd set of errors seems more serious.  I don't see ServerManagerCmd.exe on my PC that's listed in the error
    I don't understand the last error which I'm supposing triggered the listed error even though there are other errors in the log.
    Many of the existing posts don't match the configuration I'm using, and the ones that do match didn't seem to provide a usable answer.  Any help is appreciated.  Do these problems exist using Sever 2012 Standard?  I will try that, but would
    like to resolve the issue here with R2.
    Thanks.
    Best Regards,
    Alan

    ServerManagerCMD.exe is a deprecated utility and (as far as I know) is only found on Server 2008 versions, so I'm surprised it's needed for the preinstaller.  Are you trying to install SharePoint 2010?
    Running this page through Google Translate should give you an clearer idea on getting this installed.
    http://blog.hand-net.com/sharepoint/2010-06-10-error-lors-de-linstallation-des-office-web-apps-2010-sur-windows-7.htm
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Document upload sapftp.exe

    I am calling BAPI_DOCUMENT_CREATE2 via RFC connection.
    The upload document (original) works with SAP GUI installed on the client.
    But it fails with the message "I::001 Connect to SAP gateway or RFC server failed" when SAP GUI is not installed.
    How can I setup SAPFTP.exe on client without having to install SAPGUI ? What DLLs / software is required for SAPFTP.exe to work standalone?
    Thanks.

    Document upload sapftp.exe

  • Rwrun60.exe - only with complete Report Builder Installation

    Hello,
    what has to be installed in order to run rwrun60.exe
    in a "standalone" modus. does a complete report builder
    environment has to be installed ? or can rwrun60.exe
    somehow run on its own ?
    Thank you
    Thorsten Lorenz

    I think you have to install complete report builder. If you install only report runtime it causes problems while running reports.

  • Flex builder 3.0.1 check sum

    Today I download flex builder 3.0.1 (FB3_win.exe windows
    version standalone ), when use md5sum check the file, It not same
    as the adobe's page (Windows: 5685090ac5f2a514075e7a7bd7ba1eb0), my
    checksum is (963d2a6fee8f9fc3fd496d1e69de093a FB3_win.exe),and I
    redownload the FB3_win.exe now checksum is
    (9d85401cfb42792278e84403fc565cbf FB3_win.exe).
    now I don't know which one is the correct,anyone can tell me
    the checksum of FB3_win.exe which download from
    http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3email
    now i searched form google,it sames
    5685090ac5f2a514075e7a7bd7ba1eb0 is flex builder 3.0,not 3.0.1.
    look at
    http://blogs.adobe.com/flex/2008/02/its_on_flex_30_and_adobe_air_1.html
    btw ,i use two download file , this two file both can install
    and not report any error,and i also run and debug two sample
    application ,it seems ok.but now i am confused totally

    Adobe Newsbot hopes that the following resources helps you.
    NewsBot is experimental and any feedback (reply to this post) on
    its utility will be appreciated:
    Flex 3 - Creating your first Flex AIR application in Flex
    Builder:
    If you haven't already done so, download and install Flex
    Builder 3. For more information, see Setting up the Flex 3 SDK.
    Contents
    Link:
    http://livedocs.adobe.com/flex/3/html/FBHelloWord_1.html
    Adobe - Flex 3:
    Try Flex Builder 3 free for 60 days. ... Alert This content
    requires Flash. Download Flash Player now · Get Adobe
    Flash Player
    Link:
    http://www.adobe.com/products/flex/
    Flex 3 - Creating modules in Flex Builder:
    The following steps describe how to create a new module in
    Flex Builder. ... (This can result in smaller download sizes for
    your SWF files.
    Link:
    http://livedocs.adobe.com/flex/3/html/creating_modules_2.html
    Adobe - Flex Builder: Features:
    Flex Builder 3 is now available in Standard and Professional
    editions. ... Flex Builder 3 is a powerful Eclipse based IDE that
    includes editors for MXML,
    Link:
    http://www.adobe.com/products/flex/features/flex_builder/
    Flex 3 - About Flex Builder projects:
    In addition to Flex projects, Flex Builder provides a basic
    project type called ... where AIR developers can publish AIR
    applications for users to download.
    Link:
    http://livedocs.adobe.com/flex/3/html/projects_2.html
    Disclaimer: This response is generated automatically by the
    Adobe NewsBot based on Adobe
    Community
    Engine.

  • EXECUTE permission denied on object 'xp_sqlagent_enum_jobs'

    Hello.  I am running SQL 2005 SP2 (9.0.3282) on a Windows 2003 SP2 Enterprise server.  I have three users that I have assigned the three SQL Server Agent roles within the msdb system database so that they may manage jobs that they own.  Recently they started seeing this error:
    The EXECUTE permission was denied on the object 'xp_sqlagent_enum_jobs', dartabase 'mssqlsystemresource', schema 'sys'. (Microsoft SQL Server, Error: 229)
    I have other servers that have SQL server configured the same where we are not seeing the errors.
    Any assistance would be greatly appreciated.
    Thanks.
    Kris

     
    After you move the msdb database, you may receive the following error message:
    Error 229: EXECUTE permission denied on object 'ObjectName', database 'master', owner 'dbo'.
    This problem occurs because the ownership chain has been broken. The database owners for the msdb database and for the master database are not the same. In this case, the ownership of the msdb database had been changed. To work around this problem, run the following Transact-SQL statements. You can do this by using the Osql.exe command-line utility (SQL Server 7.0 and SQL Server 2000) or the Sqlcmd.exe command-line utility (SQL Server 2005):
    USE MSDB Go EXEC sp_changedbowner 'sa' Go
    http://support.microsoft.com/kb/224071
    INF: Object Ownership Chain Checking Across Databases Depends on the Login That Is Mapped to the Object Owners| Sankar Reddy | http://sankarreddy.spaces.live.com/ |

  • How to re-read a 2 GB transaction log archived

    I've archived with the backup utility the transaction log of my R/3 system cause we had space problems. Now the file backed-up has a size of 2 GB. I need to read it but I can't open because it's too big. Is there any utility or way to read a so big LOG file? Is there any particular function between the database tools I can use to do it?
    Thanx
    Sonya

    Hello,
    you cannot check the free space from outside the SQL Server as you can't open the actual log file as it is locked by SQL Server. If you want to get the information about free log space you can run the SQL command:
    dbcc sqlperf(logspace)
    If you want to get the information within a bat file you can use the osql utillity from SQL Server:
    @echo off
    osql -E -Q"dbcc sqlperf(logspace)"
    The -E paramter connects you with a trusted Windows connection to the server. If you hae a named instance you have to specify the -S<Instancename> paramter as well. See in SQL Server Books Online for the complete syntax for the osql.exe utility.
    Best regards
      Clas

  • Stuck without a way back in...

    Greetings all -
    I am a newbie to the SAP world and I have a major problem on my hands.  My company has recently took over a program with a devlopment SAP system in place (SOLMAN and IDES) running on SQL.  The problem is the previous admin did not leave any of the administrator accounts (SAP*) in the hands of the customer. 
    Is there a way to recover access via the SQL tables?  We urgently need in ASAP.
    Any suggestions?
    Wes

    Dear Wes,
    I recommend you look at this thread
    Lost password for SAP* and DDIC
    You will also need to check the value for the profile parameter login/no_automatic_user_sapstar. You can check this parameter in transaction RZ11 and adjust the parameter in RZ10 if required. A restart is required after changing this parameter
    You can use the command line utility OSQL.EXE or SQLCMD.EXE if you are using SQL 2005.
    It is strongly recommended not to alter data in the SAP database by using database tools such as OSQL.  This is one of the very few occasions where you have no choice.
    Goodluck and reply to this post if you have any more questions.
    Thanks
    N.P.C

  • IGS install for J2EE WAS 2004 on windows platform

    Ok i've tried several ways to get this to work and I've followed the installation instructions as well as a lot of forum posts.
    First off. The IGS folder does not show up beneath the \usr\sap\J2E\JCxx install for my box. I downloaded the IGS stand alone version because it had the install.exe. I tried utilizing the non-standalone version but could never seem to get the service started.
    I still need to configure a RFC (forgive my lack of SAP knowledge) on the SAP BW system that will publish data to my server that hosts the IGS service. However, having said that I would still think the service on my box should start.
    The startup file does not currently include a section for IGS so i'll add that (this i did before in the non-standalone) and give it a go. I'm running the Web AS locally on my box and I selected Stand Alone as the install type for the IGS and I chose 1 RFC listener and 1 HTTP listener.
    I setup the program id, RFC Host (message server on the BW system i'm pulling the data from), and gateway service (sapgw00).
    There is a lot of information on the forums in regards to the IGS installation and i've exhuasted most paths with no luck. If anyone can give me a hand i'd greatly appreciate it.
    julian

    I did run through the stand alone install like i said.
    The part of the stand alone install that is a bit confusing is the Section that asks for the following:
    Program ID:
    RFC-HOST:
    Gateway:
    For program ID i followed the documentation and used IGS.P<machineName>
    For RFC-HOST i pulled the message server name from the the SAP Login pad. That is basically just the machine name of the system that will provide data for the Graph.
    For gateway i used: sapgw<instance Number>
    After doing the stand alone installation will the service then run separately? How can I tell that it is running?
    For those who are new to SAP (as i am) the notes that you are often pointed to can be looked up here:
    https://websmp108.sap-ag.de/notes
    julian

  • Export DB for Unicode conversion by SAPInst for distributed System

    Hi,
    In a distributed SAP system (CI and DB on separate host),
    (1) I run SAPInst to export DB for unicode conversion via system copy option in DB host. After the parameter input up to General Unload settings e.g. Unicode Target system ? Yes, Parallel import/export ? No
    The following warning/error occurred and drive K:\usr\sap\MD3 is located at CI host.
    How to solve it?
    WARNING 2007-09-04 22:53:39
    Execution of the command "K:\JDKRoot\bin\java.exe -classpath K:\usr\sap\MD3\SYS\global\sltools\sharedlib\launcher.jar -showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain
    ebpshd01/sapmnt/MD3/SYS/global/security/lib/tools;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comsl.ut.infoprovider_lib.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comsl.ut.manager.offline.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/antlr.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/exception.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/jddi.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/logging.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/offlineconfiguration.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/opensqlsta.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comtcsdtcvlimpl.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/SDMutil.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/SLUtil.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/base.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/util.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/sqlserver.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/spy.jar -export -type=keydb "-expfile=D:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/DISTRIBUTED/AS/EXPDB/usages_data.xml" -log=UTL_load_usages.log -sid=MD3 -dsn=jdbc/pool/MD3 -ssprops=K:/usr/sap/MD3/SYS/global/security/data/SecStore.properties -ssk=K:/usr/sap/MD3/SYS/global/security/data/SecStore.key" finished with return code 1. Output:
    java version "1.4.2_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_12-b03, mixed mode)
    java.lang.NoClassDefFoundError: com/sap/engine/offline/OfflineToolStart
    ERROR 2007-09-04 22:53:39
    CJS-30074  Execution of UTL tool 'K:\JDKRoot\bin\java.exe -classpath K:\usr\sap\MD3\SYS\global\sltools\sharedlib\launcher.jar -showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain
    ebpshd01/sapmnt/MD3/SYS/global/security/lib/tools;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comsl.ut.infoprovider_lib.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comsl.ut.manager.offline.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/antlr.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/exception.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/jddi.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/logging.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/offlineconfiguration.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/opensqlsta.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comtcsdtcvlimpl.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/SDMutil.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/SLUtil.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/base.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/util.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/sqlserver.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/spy.jar -export -type=keydb "-expfile=D:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/DISTRIBUTED/AS/EXPDB/usages_data.xml" -log=UTL_load_usages.log -sid=MD3 -dsn=jdbc/pool/MD3 -ssprops=K:/usr/sap/MD3/SYS/global/security/data/SecStore.properties -ssk=K:/usr/sap/MD3/SYS/global/security/data/SecStore.key' aborts with return code 1.<br>Check 'UTL_load_usages.log' and 'D:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/DISTRIBUTED/AS/EXPDB/UTL.java.log' for more information.
    ERROR 2007-09-04 22:53:39
    FCO-00011  The step getUsageTypes with step key |NW_Export|ind|ind|ind|ind|0|0|NW_Java_Export_Dialog|ind|ind|ind|ind|5|0|getUsageTypes was executed with status ERROR .
    (2) I run Table Splitting Preparation  in CI host by SAPInst before using DB export option, there are some files generated under the respective folder of sapinst_instdir. Will these files in CI be used when running SAPinst in DB host for DB export option? Is it required to move these files to DB host ? which is the target location if necessary ?
    Regards,
    Ricky Chan

    === Reformated it and added further information ===
    Hi,
    In a <b>distributed</b> (CI and DB on separate host) SAP system NW 7.0 ABAP+JAVA usage type MI ,
    (1) I run SAPInst to <b>export DB for unicode conversion via system copy option</b> in <u>DB host</u>. After the parameter input screen up to <u>"General Unload settings"</u> e.g. Unicode Target system ? Yes, Parallel import/export ? No
    The following warning/error occurred and drive K:\usr\sap\MD3 is <b>only located at CI host. No such folder in DB host as no SAP instance was installed in it</b>.
    ============ sapins_dev.log ============
    WARNING 2007-09-04 22:53:39 Execution of the command "K:\JDKRoot\bin\java.exe -classpath K:\usr\sap\MD3\SYS\global\sltools\sharedlib\launcher.jar -showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain
    ebpshd01/sapmnt/MD3/SYS/global/security/lib/tools;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comsl.ut.infoprovider_lib.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comsl.ut.manager.offline.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/antlr.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/exception.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/jddi.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/logging.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/offlineconfiguration.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/opensqlsta.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comtcsdtcvlimpl.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/SDMutil.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/SLUtil.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/base.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/util.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/sqlserver.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/spy.jar -export -type=keydb "-expfile=D:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/DISTRIBUTED/AS/EXPDB/usages_data.xml" -log=UTL_load_usages.log -sid=MD3 -dsn=jdbc/pool/MD3 -ssprops=K:/usr/sap/MD3/SYS/global/security/data/SecStore.properties -ssk=K:/usr/sap/MD3/SYS/global/security/data/SecStore.key" finished with return code 1. Output: java version "1.4.2_12" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03) Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_12-b03, mixed mode) java.lang.NoClassDefFoundError: com/sap/engine/offline/OfflineToolStart
    ERROR 2007-09-04 22:53:39 CJS-30074 Execution of UTL tool 'K:\JDKRoot\bin\java.exe -classpath K:\usr\sap\MD3\SYS\global\sltools\sharedlib\launcher.jar -showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain
    ebpshd01/sapmnt/MD3/SYS/global/security/lib/tools;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comsl.ut.infoprovider_lib.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comsl.ut.manager.offline.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/antlr.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/exception.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/jddi.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/logging.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/offlineconfiguration.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/opensqlsta.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comtcsdtcvlimpl.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/SDMutil.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/SLUtil.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/base.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/util.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/sqlserver.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/spy.jar -export -type=keydb "-expfile=D:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/DISTRIBUTED/AS/EXPDB/usages_data.xml" -log=UTL_load_usages.log -sid=MD3 -dsn=jdbc/pool/MD3 -ssprops=K:/usr/sap/MD3/SYS/global/security/data/SecStore.properties -ssk=K:/usr/sap/MD3/SYS/global/security/data/SecStore.key' aborts with return code 1.
    Check 'UTL_load_usages.log' and 'D:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/DISTRIBUTED/AS/EXPDB/UTL.java.log' for more information.
    ERROR 2007-09-04 22:53:39 FCO-00011 The step getUsageTypes with step key |NW_Export|ind|ind|ind|ind|0|0|NW_Java_Export_Dialog|ind|ind|ind|ind|5|0|getUsageTypes was executed with status ERROR .
    ============
    The content of file UTL.java.log:
    java version "1.4.2_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_12-b03, mixed mode)
    java.lang.NoClassDefFoundError: com/sap/engine/offline/OfflineToolStart
    =============
    File 'UTL_load_usages.log' does not exist in the sapinst_dir folder.
    (2) I run Table Splitting Preparation in CI host by SAPInst before using DB export option, there are some files generated under the respective folder of sapinst_instdir.
    Will these files in CI be used automatically when running SAPinst in DB host for DB export option?
    Is it required to move these files to DB host manually? Which is the target location if necessary ?
    (3) Any guide with detail on the preparation of tool or files in a standalone DB host prior to Export DB from it with SAPInst.
    Regards,
    Ricky Chan

  • Error in Import Java Dump phase

    Hi
    I am trying to install netweaver 2004s on windows 2003 server with MSSQL as the database
    All the installation steps went fine until the IMPORT JAVADUMP PHASE.
    The error says "cannot connect to the DB" in this phase.
    Please help me in this regard ASAP. Below is the error.
    INFO 2009-03-31 17:50:31
    Output of C:\j2sdk1.4.2_12\bin\java.exe -classpath "C:\Program Files\sapinst_instdir\NW04S\SYSTEM\MSS\CENTRAL\AS\install\sharedlib\launcher.jar" -showversion -Xmx512m com.sap.engine.offline.OfflineToolStart com.sap.inst.jload.Jload "C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/lib/iaik_jce.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/jload.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/antlr.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/exception.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/jddi.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/logging.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/offlineconfiguration.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/opensqlsta.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar;D:/usr/sap/EP1/SYS/exe/uc/NTI386/mssjdbc/base.jar;D:/usr/sap/EP1/SYS/exe/uc/NTI386/mssjdbc/util.jar;D:/usr/sap/EP1/SYS/exe/uc/NTI386/mssjdbc/sqlserver.jar;D:/usr/sap/EP1/SYS/exe/uc/NTI386/mssjdbc/spy.jar" -sec EP1,jdbc/pool/EP1,
    dixie/sapmnt/EP1/SYS/global/security/data/SecStore.properties,
    dixie/sapmnt/EP1/SYS/global/security/data/SecStore.key -dataDir "D:/nw dump/javacomp\JAVA_EXPORT\JDMP" -job "C:\Program Files\sapinst_instdir\NW04S\SYSTEM\MSS\CENTRAL\AS\IMPORT.XML" -log jload.log is written to the logfile C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/jload.java.log.
    WARNING 2009-03-31 17:50:47
    Execution of the command "C:\j2sdk1.4.2_12\bin\java.exe -classpath "C:\Program Files\sapinst_instdir\NW04S\SYSTEM\MSS\CENTRAL\AS\install\sharedlib\launcher.jar" -showversion -Xmx512m com.sap.engine.offline.OfflineToolStart com.sap.inst.jload.Jload "C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/lib/iaik_jce.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/jload.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/antlr.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/exception.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/jddi.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/logging.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/offlineconfiguration.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/opensqlsta.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar;D:/usr/sap/EP1/SYS/exe/uc/NTI386/mssjdbc/base.jar;D:/usr/sap/EP1/SYS/exe/uc/NTI386/mssjdbc/util.jar;D:/usr/sap/EP1/SYS/exe/uc/NTI386/mssjdbc/sqlserver.jar;D:/usr/sap/EP1/SYS/exe/uc/NTI386/mssjdbc/spy.jar" -sec EP1,jdbc/pool/EP1,
    dixie/sapmnt/EP1/SYS/global/security/data/SecStore.properties,
    dixie/sapmnt/EP1/SYS/global/security/data/SecStore.key -dataDir "D:/nw dump/javacomp\JAVA_EXPORT\JDMP" -job "C:\Program Files\sapinst_instdir\NW04S\SYSTEM\MSS\CENTRAL\AS\IMPORT.XML" -log jload.log" finished with return code 1. Output:
    java version "1.4.2_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
    Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
    31-Mar-2009 17:50:32 com.sap.inst.jload.Jload main
    INFO: Jload -sec EP1,jdbc/pool/EP1,
    dixie/sapmnt/EP1/SYS/global/security/data/SecStore.properties,
    dixie/sapmnt/EP1/SYS/global/security/data/SecStore.key -dataDir D:/nw dump/javacomp\JAVA_EXPORT\JDMP -job C:\Program Files\sapinst_instdir\NW04S\SYSTEM\MSS\CENTRAL\AS\IMPORT.XML -log jload.log
    31-Mar-2009 17:50:47 com.sap.inst.jload.Jload main
    SEVERE: couldn't connect to DB
    31-Mar-2009 17:50:47 com.sap.inst.jload.Jload logStackTrace
    SEVERE: java.sql.SQLException: [NWMss][SQLServer JDBC Driver][NWMss][SQLServer JDBC Driver]The requested instance is either invalid or not running.
         at com.sap.nwmss.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseConnection.connect(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseConnection.open(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseDriver.connect(Unknown Source)
         at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.createConnection(OpenSQLDataSourceImpl.java:522)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection(OpenSQLDataSourceImpl.java:276)
         at com.sap.inst.jload.db.DBConnection.connectViaSecureStore(DBConnection.java:105)
         at com.sap.inst.jload.db.DBConnection.connect(DBConnection.java:149)
         at com.sap.inst.jload.Jload.main(Jload.java:580)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    ERROR 2009-03-31 17:50:47
    CJS-30049  <html>Execution of JLoad tool 'C:\j2sdk1.4.2_12\bin\java.exe -classpath "C:\Program Files\sapinst_instdir\NW04S\SYSTEM\MSS\CENTRAL\AS\install\sharedlib\launcher.jar" -showversion -Xmx512m com.sap.engine.offline.OfflineToolStart com.sap.inst.jload.Jload "C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/lib/iaik_jce.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/jload.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/antlr.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/exception.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/jddi.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/logging.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/offlineconfiguration.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/opensqlsta.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar;D:/usr/sap/EP1/SYS/exe/uc/NTI386/mssjdbc/base.jar;D:/usr/sap/EP1/SYS/exe/uc/NTI386/mssjdbc/util.jar;D:/usr/sap/EP1/SYS/exe/uc/NTI386/mssjdbc/sqlserver.jar;D:/usr/sap/EP1/SYS/exe/uc/NTI386/mssjdbc/spy.jar" -sec EP1,jdbc/pool/EP1,
    dixie/sapmnt/EP1/SYS/global/security/data/SecStore.properties,
    dixie/sapmnt/EP1/SYS/global/security/data/SecStore.key -dataDir "D:/nw dump/javacomp\JAVA_EXPORT\JDMP" -job "C:\Program Files\sapinst_instdir\NW04S\SYSTEM\MSS\CENTRAL\AS\IMPORT.XML" -log jload.log' aborts with return code 1.<br>SOLUTION: Check 'jload.log' and 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/jload.java.log' for more information.</html>
    ERROR 2009-03-31 17:50:47
    FCO-00011  The step importJavaDump with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_Jload|ind|ind|ind|ind|9|0|importJavaDump was executed with status ERROR .

    Hi,
    The above error says
    SOLUTION: Check 'jload.log' and 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/jload.java.log' for more information.
    Have a look @ the post in the below section
      Expert Forums  » SAP NetWeaver  » SAP NetWeaver Administrator
    Thread: Error - installing Net Weaver 2004s SR2
    Can you please post the jload.java.log here
    Let us know if you have any issues,
    Regards,
    Ravi

Maybe you are looking for