Find the path of a string using methods

Dear Gurus ,
I have the path "
filestltrv\sap\mauals\text.xls' and i want using Methods in ABAP  to find the path '"
filestltrv\sap\mauals\'.
I suppose using loops and with finding '\' i will do it .
Is any other Way ????
Thanks a lot !!!!

Hello,
The FM: SO_SPLIT_FILE_AND_PATH is what you are looking for.
BR,
Suhas

Similar Messages

  • How do I find the path to a TestStand sequence file using LabVIEW

    My LabVIEW application launches a bunch of teststand sequences, provided it has the complete path to each of them. I want to make it more flexible by providing it just the name of the TestStand sequence so that it will go and find the path to the sequence by searching a directory structure. TestStand has a neat FindFile() function that can do this, but I need to do this from within LabVIEW. Is there a way to do it?

    There are a few ways to do this depending on how you are getting the sequence files.  If you are calling the GetSequenceFileEx method, you can just pass the GetSeqFile_FindFile (0x20) flag in the SequenceFileFlags property.  If you are using the ApplicationMgr.OpenSequenceFile method, this is automatically done for you.
    If you want to use the FindFile function in general, you can use the Engine.FindFile method.
    Allen P.
    NI

  • The system cannot find the path specified - Problems

    I am having an issue that I am hoping someone can help figure out for me.
    I am currently learning Java, and am working with the Beginning Programming with Java for Dummies book second edition. I have downloaded and am running the Java 6 program and am using the JCreator 3.5Pro that was recommended to run the Practice files for the Dummies book.
    I have the practice files here:
    C/Program Files/Xinox Software/JCreatorV3/My Projects
    While trying to compile one of the practice files, I get this error message:
    --------------------Configuration: MyNewProject - JDK version 1.6.0_21 <Default> - <Default>--------------------
    javac: file not found: src_mynewproject.txt (The system cannot find the path specified)
    Process completed.
    **When I try to execute, I get this error message:**
    --------------------Configuration: MyNewProject - JDK version 1.6.0_21 <Default> - <Default>--------------------
    java.lang.NoClassDefFoundError: EchoLine
    Caused by: java.lang.ClassNotFoundException: EchoLine
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Could not find the main class: EchoLine. Program will exit.
    Exception in thread "main"
    Process completed.
    When I set up the new file, and the new class, I confirmed the file path.
    I know most people will ask if I am absolutely certain I put in the code in properly, and yes I did. It was a matter of copying word for word, and punctuation. I did it 100% correctly. About 12 times. I have NO idea what this means, but I would REALLY REALLY appreciate any help on this.
    Please keep in mind, I am slightly clueless, and really need to have any help dumbed down a bit. Lol.
    As a side note, this isn't my first project, and I haven't had this problem before now.
    thanks in advance. =)

    So I wanted to clarify what I've done a bit more since I decided to redownload the dummies programs for the program and try again.
    I will try to list my steps in order of what I did and see if I've gone wrong somewhere along the line.
    I downloaded my project files from here: http://ca.dummies.com/store/product/Beginning-Programming-with-Java-For-Dummies-2nd-Edition.productCd-0764588745,navId-322469,descCd-DOWNLOAD.html
    I unzipped them this time here: C:\Program Files\Java\jdk1.6.0_21\MyProjects\
    I opened JCreator 3.5 and starting fresh, with all previous projects deleted and clicked on "Open Workspace". I chose "MyWorkspace.jcw". Right clicked MyWorkspace and chose "Add new Project" and then chose "Empty Project". As per the books instruction for the first project, I named it "MyFirstProject". My file path was: C:\Program Files\Java\jdk1.6.0_21\MyProjects\MyFirstProject. Which is where I upzipped the files. I added it to current workspace and clicked finish.
    I then added a new class. As per the books instructions, I right clicked "MyFirstProject" and selected Add New Class. For the name, I used MyFirstJavaClass, which is what the book told me to do. My locations are the exact same as above. and I clicked on Generate new Method, as it told me to. Which it doesn't in the next few lessons, so I know this has nothing to do with it. For that and a few other reasons. Lol.
    I clicked on Finish.
    All I had to do was replace a single line of code. Not type it all in this time.
    Here is what shows up on the screen:
    class MyFirstJavaClass {
         * Method main
         * @param args
         public static void main(String[] args) {
              // TODO: Add your code here
    I need to change the : // TODO: Add your code here
    with the line:
    System.out.println.("Chocolate, royalties, sleep");
    When I do this, and compile project, I get this:
    --------------------Configuration: MyFirstProject - JDK version 1.6.0_21 <Default> - <Default>--------------------
    javac: file not found: src_myfirstproject.txt (The system cannot find the path specified)
    Process completed.
    AGAIN! But it worked a few days ago.
    And when I execute, I get this:
    --------------------Configuration: MyFirstProject - JDK version 1.6.0_21 <Default> - <Default>--------------------
    java.lang.NoClassDefFoundError: MyFirstJavaClass
    Caused by: java.lang.ClassNotFoundException: MyFirstJavaClass
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Could not find the main class: MyFirstJavaClass. Program will exit.
    Exception in thread "main"
    Process completed.
    I really hope the extra info helps someone help me!
    thank you!
    Edited by: MissPamela on Jul 19, 2010 3:23 PM

  • PrintOutputController::ExportEx - The system cannot find the path specified

    I just converted our code from using an older Crystal Reports API for creating PDFs and print jobs (ExportToDisk() and PrintToPrinter()) to using the RAS methods.  Now, when calling PrintOutputController::ExportEx(), occassionally the code generates an exception.
    Our log file contains the following lines:
        calling ExportEx()...
    ERROR:  caught Exception in CreateReport():
          name: COMException
          message: The system cannot find the path specified.
        creating new ReportDocument
        loading template: d:
    dev
    sources
    video
    nextlink
    Reports
    singlemeeting.rpt...  done
        sleeping for 5 seconds...
        retrying export/print...
        exporting to:
    mako\export\confirmations
    1138551.pdf... 
        entering createPDF():
    mako\export\confirmations
    1138551.pdf...
        calling ExportEx()...
    ERROR:  caught Exception in CreateReport():
          name: CrystalReportsException
          message: The report filename was empty.
    Here's the snippet of code that is occassionally generating the exception:
    void
    NReportFaxServiceImpl::createPDF(
        ReportDocument^ rpt,
        String^ destinationString)
    ...", destinationString);
        CrystalDecisions::ReportAppServer::ReportDefModel::ExportOptions^ exportOpts(gcnew CrystalDecisions::ReportAppServer::ReportDefModel::ExportOptions());
        // Set the ExportFormatType to PDF...
        exportOpts->ExportFormatType = CrystalDecisions::ReportAppServer::ReportDefModel::CrReportExportFormatEnum::crReportExportFormatPDF;
        Console::Write("    calling ExportEx()...");
        // This creates the report as a ByteArray that we will write to disk.
        CrystalDecisions::ReportAppServer::CommonObjectModel::ByteArray ^ byteArray = rpt->ReportClientDocument->PrintOutputController->ExportEx(exportOpts);
        Console::WriteLine("done.");
        cli::array<unsigned char, 1>^ oByte = byteArray->DetachArray();
        // Create the File...
        Console::Write("    creating the PDF file...");
        System::IO::File::Create(destinationString, Convert::ToInt32(oByte->Length))->Close();
        Console::Write("writing the PDF file...");
        System::IO::File::OpenWrite(destinationString)->Write(oByte, 0, Convert::ToInt32(oByte->Length));
        Console::Write("calling SetAttributes()...");
        System::IO::File::SetAttributes(destinationString, System::IO::FileAttributes::Directory);
        Console::WriteLine("done");
        GC::Collect();
    We're running Crystal Reports 2008 SP4 on a Windows 2003 server (virtual server).

    The only thing I can suggest is to try to add some additional logging to your application to see if you can see a pattern of which report/parameters are being used when this error is thrown.

  • Windows 7 Backup "The System cannot find the path specified" - Error Code 0x80070003

    I'm having severe problems backing up my own machine to a share on our
    FILE-SERVER as \\FILE-SERVER\Backup\
    I have already backed up another PC successfully using exactly the same settings I have used on my own PC. So I presume it is nothing to do with the
    FILE-SERVER or the Backup settings.  It has to be something to do with what I'm trying to backup from my machine.
    First some background.
     This exercise all began when the Windows Server 2008 r2
    O/S fell over on one of our Servers. I tried reinstalling the O/S several times, without success. In the end I grabbed another drive and re-built the O/S. I then had problems promoting it to a Domain Controller on the network.
     In the end I renamed the Server from FILESERVER
    to FILE-SERVER.
    We routinely share four folders on what is now
    FILE-SERVER:
    \\FILE-SERVER\Backup
    - a Folder where backups from all other machines are written, so that they will be backed up with the Server
    \\FILE-SERVER\Company
    - holds all our Company data
    \\FILE-SERVER\GEM
    - this is the application folder for our own database
    \\FILE-SERVER\Install
    - holds all Install files for the software we use
    These are all held on a RAID 1 Array that is separate from the System Disk that fell over.
    Prior to the Server falling over, I had Backup working fine on my machine. 
    On my Notebook PC I had made these shared folders 'Available Offline', so that I still had everything available to me when I was out of the office. They were
    of course shared as \\FILESERVER\... not \\FILE-SERVER\...
    Having got the Server up and going again, I began to get the Backups from the Windows 7 Client PC's going again.
     I started with a Desktop, which of course did not have any Offline Files.
     That proved relatively straight-forward.
    I then started with my machine. Initially I did not make the above shared folders 'Available Offline'. I set up my Backup using exactly the same settings that
    had worked OK on the desktop machine. But when I ran the backup I got:
    The System cannot find the path specified, Error Code 0x80070003
    I tried all sorts of things to get it to work:
    I restored the system to the earliest point possible,
    I ran chkdsk,
    I defragged the drive
    All to no avail, so I tried backing up:
    with and without a system image,
    reducing the backup to a single folder, 
    a single Folder with only one .txt file in it, 
    making the Folders 'Available Offline' again.
    Nothing made any difference.
     In the end I looked in the Sync Center to look at the Offline Files Folder.
     Under Mapped Network Drives I discovered I still had the Files and Folders from
    \\FILESERVER.  In their Shortcut Menu 'Always Available Offline' was greyed out. So I deleted the Offline Copies. This deleted the Files in the Folders but not the Folders.
    Since I could find no way of deleting the old Mapped Network Drives, I decided I'd painted myself into a corner by renaming the Server.
     So I bit the bullet and re-installed my Notebook too.  This did get rid of the unwanted old Mapped Network Drives - BUT NOT THE ERROR!!
    I’ve been through all the troubleshooting procedures in: 
    http://social.technet.microsoft.com/Forums/windows/en-US/629597bb-7be0-455c-b81e-a149472d3f9b/windows-7-backup-the-system-cannot-find-the-path-specified-error-0x80070003?forum=w7itprogeneral
    Method 1
    It had none of the symptoms reported in  
    http://support.microsoft.com/kb/973455 
    but I scanned for ‘reparse’ points anyway.  Found several “Junction Points” but none that were “Mounted Volumes”, just ordinary ‘File Folders’.
    Method 2
    Check a drive for errors. 
    Looked at: 
    http://windows.microsoft.com/en-us/windows7/Check-a-drive-for-errors
    Checked
    both boxes.  I closed machine down, to check for errors when it re-started. 
    It didn’t seem to find anything. 
    I say seem, because I did not actually see it finishing checking the empty space, but stages 1-4 found no problems and Windows 7 restarted normally. 
    It did detect 66 ‘Reparse’ Points, which is more than it found when I scanned for them earlier. 
    Method 3
    Yes, I am an administrator or my own machine and, as such, I have ‘Full Access’.
    I downloaded an ran the Process Monitor, filtering for Process Name “Wbengine.exe”, but did dot get a single event. 
    So I’m not sure what’s going on.
    HELP - I'm out of ideas!
    I have a WORD Document that documents all the Settings I've used on both the Server and the Clients, together with the reasoning behind those settings, but
    I cannot find a way of uploading it.

    I am having the exact same problem with Windows 7 Professional. Out of the blue, this issue just started a few months ago when running my monthly Windows Backup where I have used a USB drive for the last 3 years, and never ever had this issue before. Most
    of the solutions listed on the Microsoft websites and answers deal with
    "Restore" functions, not the
    "Backup" itself. I have 3 folders being skipped during the backup.
    So I went and changed the Backup from "let Microsoft choose files, directories, etc" to "Let me choose". I included the files and folders that were being skipped, and ran the "Backup" again, and got the same error message,
    but the files that were skipped the first time were "Backed up" finally. This issue is somehow related to my "Libraries"?
    The 3 backup problems are:
    Backup encountered a problem while backing up file C:\Windows\System32\config\systemprofile\My Audio Books\Audio Book Recordings. Error:(The system cannot find the path specified. (0x80070003))
    Backup encountered a problem while backing up file C:\Windows\System32\config\systemprofile\My Audio Books\Audio Book CD Label-Cover Art. Error:(The system cannot find the path specified. (0x80070003))
    Backup encountered a problem while backing up file C:\Windows\System32\config\systemprofile\My Audio Books\Audio Book MP3 Tag Art. Error:(The system cannot find the path specified. (0x80070003))
    Did a "checkdisk" - no problems. Ran a program to fix registry - no problems. All updates up to date. I guess I could eliminate these folders from the Backup folders in the
    Library, and just choose them under the "Users" locations, and be done with it. But I really want to understand this, and fix it. This is within Windows 7 and may be related to Windows Media Player or
    some recent Windows update.  Thanks.

  • The system cannot find the path specified.---- Error code:-2147467259 Error code name:failed

    Friends,
                I'm facing below issue while accessing a crystal report. I heard it might be an access issue. But i'm able to access a report within a same folder.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException : The system cannot find the path specified.---- Error code:-2147467259 Error code name:failed
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    Any suggestions would be very helpful.
    Thanks in Advance,
    Bharath

    Apply trace on RAS and look for errors in the RAS logs at the same timestamp.
    These errors come for various errors and tracing RAS would give us a better idea.
    It might hapen that you observe these errors for reports which takes more than the RAS timeout to export the reports.
    Post getting the RAS logs you can try below steps if we see timeout errors in RAS logs.
    Copy clientSDKOptions.xml file from <BO install path>\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib to the machine where your app is running Open clientSDKOptions.xml and change CORBARequestTimeOut from 600000 to a value large enough to allow the report to render, for instance 1200000. Default value is 600000 (10 minutes)
    Specify the location of the clientSDKOptions.xml file at run-time. In your JSP or Java files, use the Java method setProperty from the System class. Set the system property indicated by the ras.config key to the specified directory as: system.setProperty("ras.config","c:\temp"). This function call specifies that the clientSDKOptions.xml file in c:\temp is to be used for locating RAS servers.
    Thanks,
    Prithvi

  • How 2 get the path of a file Using jsp

    how 2 get the path of a file Using jsp
    i have tried getPath...but i'm geting the error
    The method getPath(String) is undefined for the type HttpServletRequest
    any idea how 2 get the path of a file

    You need ServletContext#getRealPath().
    API documentation: http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)

  • Load Report Failed : The System cannot find the path specified

    Hi,
    I have a .Net windows application and I'm using crystal report in that. Application is published in CITRIX. If I login as Administrator user, reports are generating fine.
    But for any other user i'm getting following error while trying to open crystal report
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text **************
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80004005): The system cannot find the path specified.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at castlegate.frmFormB.frmFormB_Load(Object sender, EventArgs e) in C:\MyFolder\My Projects\castlegate_with_setup\castlegate\frmFormB.vb:line 401
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
       at System.Windows.Forms.Control.set_Visible(Boolean value)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.RunDialog(Form form)
       at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
       at System.Windows.Forms.Form.ShowDialog()
       at castlegate.frmViewEnquiry.btnPrint_Click(Object sender, EventArgs e) in C:\MyFolder\My Projects\castlegate_with_setup\castlegate\frmViewEnquiry.vb:line 340
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Expecting solution to above issue
    Regards
    NistPS

    Hi,
    See the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/Rules%20of%20Engagement]
    What version of Crystal Reports are you using?
    Visual studio version you have?
    Have you applied any servcie pack?
    Is this on your development computer or on a deployed computer?
    If on a deployed system, how was the CR runtime installed to that system?
    Regards,
    Shweta

  • Load report Failed, COMExpection: System cannot find the path specified

    Interesting problem:
    I have an application that runs on a web server (currently running it as simple test application to make solving this easier). We use a BO XI report to load data from the DB via a stored proc, then run an ExportToStream to get CSV data to return to the caller.
    It all works well as long as I run the application under the NT Account logged into the Box (W2k3, R2). But when using a different account (it's a domain admin account), it fails with the following error:
    System.Exception: Load report Failed. ---> System.Runtime.InteropServices.COMException (0x80004005): The system cannot find the path specified.
    at CrystalDecisions.ReportAppServer.ClienDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
    at CyrstalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod).
    The report is located on a file drive the openMethod is OpenReportByTempCopy. The Temp directory for the user (landes) exists on the box, all things seem to be in place.
    Anybody know that path is specified and how to overcome this?
    Thanks

    Will it be possible to check this registry key: HKEY_LOCAL_MACINE\SOFTWARE\Suite 11or11.5\Report Application Server\InprocServer\LocalConnectionMgr and verify if the ConnectionDirectoryPath is set to something like C:\ ?
    If not, set to C:\ and see how it goes after running your app.
    Cheers
    Alphonse

  • Fatal Error: The system cannot find the path specified. WSUS

    Hi,
    WSUS post installation failed with the below error log. Any Suggestions pls. 
    2015-02-04 09:47:03  Postinstall started
    2015-02-04 09:47:03  Detected role services: Api, UI, WidDatabase, Services
    2015-02-04 09:47:03  Start: LoadSettingsFromParameters
    2015-02-04 09:47:03  Content local is: True
    2015-02-04 09:47:03  Content directory is: D:\WSUS
    2015-02-04 09:47:03  SQL instname is: 
    2015-02-04 09:47:03  End: LoadSettingsFromParameters
    2015-02-04 09:47:03  Start: Run
    2015-02-04 09:47:03  Fetching WsusAdministratorsSid from registry store
    2015-02-04 09:47:03  Value is S-1-5-21-738919999-2738570043-745769279-1003
    2015-02-04 09:47:03  Fetching WsusReportersSid from registry store
    2015-02-04 09:47:03  Value is S-1-5-21-738919999-2738570043-745769279-1004
    2015-02-04 09:47:04  Configuring content directory...
    2015-02-04 09:47:04  Configuring groups...
    2015-02-04 09:47:04  Starting group configuration for WSUS Administrators...
    2015-02-04 09:47:04  Found group in regsitry, attempting to use it...
    2015-02-04 09:47:20  Writing group to registry...
    2015-02-04 09:47:20  Finished group creation
    2015-02-04 09:47:20  Starting group configuration for WSUS Reporters...
    2015-02-04 09:47:20  Found group in regsitry, attempting to use it...
    2015-02-04 09:47:20  Writing group to registry...
    2015-02-04 09:47:20  Finished group creation
    2015-02-04 09:47:20  Configuring permissions...
    2015-02-04 09:47:20  Fetching content directory...
    2015-02-04 09:47:20  Fetching ContentDir from registry store
    2015-02-04 09:47:20  Value is D:\WSUS
    2015-02-04 09:47:20  Fetching group SIDs...
    2015-02-04 09:47:20  Fetching WsusAdministratorsSid from registry store
    2015-02-04 09:47:20  Value is S-1-5-21-738919999-2738570043-745769279-1003
    2015-02-04 09:47:20  Fetching WsusReportersSid from registry store
    2015-02-04 09:47:20  Value is S-1-5-21-738919999-2738570043-745769279-1004
    2015-02-04 09:47:20  Creating group principals...
    2015-02-04 09:47:20  Granting directory permissions...
    2015-02-04 09:47:20  Granting permissions on content directory...
    2015-02-04 09:47:20  Granting registry permissions...
    2015-02-04 09:47:20  Granting registry permissions...
    2015-02-04 09:47:20  Granting registry permissions...
    2015-02-04 09:47:20  Configuring shares...
    2015-02-04 09:47:20  Configuring network shares...
    2015-02-04 09:47:20  Fetching content directory...
    2015-02-04 09:47:20  Fetching ContentDir from registry store
    2015-02-04 09:47:20  Value is D:\WSUS
    2015-02-04 09:47:20  Fetching WSUS admin SID...
    2015-02-04 09:47:20  Fetching WsusAdministratorsSid from registry store
    2015-02-04 09:47:20  Value is S-1-5-21-738919999-2738570043-745769279-1003
    2015-02-04 09:47:20  Content directory is local, creating content shares...
    2015-02-04 09:47:20  Creating share "UpdateServicesPackages" with path "D:\WSUS\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications) published
    on this WSUS system."
    2015-02-04 09:47:20  Deleting existing share...
    2015-02-04 09:47:20  Creating share...
    2015-02-04 09:47:20  Share successfully created
    2015-02-04 09:47:20  Creating share "WsusContent" with path "D:\WSUS\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
    2015-02-04 09:47:20  Deleting existing share...
    2015-02-04 09:47:20  Creating share...
    2015-02-04 09:47:20  Share successfully created
    2015-02-04 09:47:20  Creating share "WSUSTemp" with path "C:\Program Files\Update Services\LogFiles\WSUSTemp" and description "A network share used by Local Publishing from a Remote WSUS Console Instance."
    2015-02-04 09:47:20  Deleting existing share...
    2015-02-04 09:47:20  Creating share...
    2015-02-04 09:47:20  Share successfully created
    2015-02-04 09:47:20  Finished creating content shares
    2015-02-04 09:47:20  Stopping service WSUSService
    2015-02-04 09:47:20  Stopping service W3SVC
    2015-02-04 09:47:21  Configuring WID database...
    2015-02-04 09:47:21  Configuring the database...
    2015-02-04 09:47:21  Establishing DB connection...
    2015-02-04 09:47:21  Checking to see if database exists...
    2015-02-04 09:47:21  Database exists
    2015-02-04 09:47:21  Switching database to single user mode...
    2015-02-04 09:47:24  Loading install type query...
    2015-02-04 09:47:24  DECLARE @currentDBVersion       int
    DECLARE @scriptMajorVersion     int = (9600)
    DECLARE @scriptMinorVersion     int = (16384)
    DECLARE @databaseMajorVersion   int 
    DECLARE @databaseMinorVersion   int 
    DECLARE @databaseBuildNumber    nvarchar(10)
    IF NOT EXISTS(SELECT * FROM sys.databases WHERE name='SUSDB')
    BEGIN
        SELECT 1
    END
    ELSE
    BEGIN
        SET @currentDBVersion = (SELECT SchemaVersion FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
        SET @databaseBuildNumber = (SELECT BuildNumber FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
        DECLARE @delimiterPosition INT = CHARINDEX('.', @databaseBuildNumber)
        IF (@delimiterPosition = 0)
        BEGIN
            RAISERROR('Invalid schema version number', 16, 1) with nowait
            return 
        END 
        SET @databaseMajorVersion = SUBSTRING(@databaseBuildNumber, 1, @delimiterPosition - 1)
        SET @databaseMinorVersion = SUBSTRING(@databaseBuildNumber, (@delimiterPosition + 1), (10 - @delimiterPosition))
        IF @currentDBVersion < 926
        BEGIN
            SELECT 3
        END
        ELSE
        BEGIN
            IF (@scriptMajorVersion > @databaseMajorVersion OR
               (@scriptMajorVersion = @databaseMajorVersion AND @scriptMinorVersion > @databaseMinorVersion))
            BEGIN
                SELECT 2
            END
            ELSE IF (@scriptMajorVersion = @databaseMajorVersion AND
                     @scriptMinorVersion = @databaseMinorVersion)
            BEGIN
                SELECT 0
            END
            ELSE
            BEGIN
                SELECT 4
            END
        END
    END
    2015-02-04 09:47:24  Install type is: Reinstall
    2015-02-04 09:47:24  Creating logins...
    2015-02-04 09:47:24  Fetching account info for S-1-5-20
    2015-02-04 09:47:24  Found principal
    2015-02-04 09:47:24  Found account
    2015-02-04 09:47:24  Got binary SID
    2015-02-04 09:47:24  Fetching WsusAdministratorsSid from registry store
    2015-02-04 09:47:24  Value is S-1-5-21-738919999-2738570043-745769279-1003
    2015-02-04 09:47:24  Fetching account info for S-1-5-21-738919999-2738570043-745769279-1003
    2015-02-04 09:47:24  Found principal
    2015-02-04 09:47:24  Found account
    2015-02-04 09:47:24  Got binary SID
    2015-02-04 09:47:24  Setting content location...
    2015-02-04 09:47:24  Fetching ContentDir from registry store
    2015-02-04 09:47:24  Value is D:\WSUS
    2015-02-04 09:47:24  Swtching DB to multi-user mode......
    2015-02-04 09:47:25  Finished setting multi-user mode
    2015-02-04 09:47:25  Writing DB settings to registry...
    2015-02-04 09:47:25  Marking PostInstall done for UpdateServices-WidDatabase in the registry...
    2015-02-04 09:47:25  Starting service W3SVC
    2015-02-04 09:47:25  Configuring IIS...
    2015-02-04 09:47:25  Start: ConfigureWebsite
    2015-02-04 09:47:25  System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
       at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_AdsObject()
       at System.DirectoryServices.PropertyValueCollection.PopulateList()
       at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
       at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
       at Microsoft.UpdateServices.Administration.UseCustomWebSite..ctor()
       at Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
       at Microsoft.UpdateServices.Administration.PostInstall.Run()
       at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
    Syed

    Hi Syed,
    >>2015-02-04 09:47:25  Configuring IIS...
         2015-02-04 09:47:25  Start: ConfigureWebsite
         2015-02-04 09:47:25  System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
    According to the log, WSUS post install can not configure the website successfully.
    Have you change any default setting in IIS? If there is no other website running on the IIS, please try to reinstall the IIS role.
    Best Regards.
    Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • BOXI3.1: Error during migration -The system cannot find the path specified

    Hi,
    I'm trying to migrate my reporting server from BOXIR2 to BOXI3.1.
    I have a Java App which uses the SDK to generate reports hosted on BOE.
    I have updated the SDK and when i attempt to generate a very simple test report, i get this error:
    The system cannot find the path specified.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: The system cannot find the path specified.
    ---- Error code:-2147467259 Error code name:failed
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    When i stepped through the codes, it occurred at this line:
    ByteArrayInputStream aiStream = (ByteArrayInputStream)rptDoc.getPrintOutputController().export(exportOptions);
    Does anyone know the cause of the issue? Some guide on what to check will also be helpful! Thanks!

    Hi Aasavari,
    We are running BOXI3.1 SP4.
    For debugging purpose, I created a small program with your suggestion to remove exportOptions.
    My report is called "testReportName" and it is created in "CMC > Folders > testFolderName":
    IEnterpriseSession enterpriseSession;
    IInfoStore infoStore;
    IReportAppFactory rptAppFactory;
    IInfoObjects oInfoObjects;
    int reportFolderSI_ID;
    String reportFolder = "testFolderName";
    String reportName = "testReportName";
    String paramVal = "2012-01-31";
    try {
         enterpriseSession  = CrystalEnterprise.getSessionMgr().logon(boUser, boPwd, boAPSName, boAuthType);
         //Get the InfoStore service from Crystal Enterprise
         infoStore = (IInfoStore)enterpriseSession.getService("InfoStore",com.crystaldecisions.enterprise.ocaframework.ServiceNames.OCA_I_IINFO_STORE);
    } catch (SDKException e) {
         System.out.println(e.message());
    try {
         //Get the Report Application Factory service from Crystal Enterprise
         rptAppFactory = (IReportAppFactory)enterpriseSession.getService("RASReportFactory");
         String parentFolderQuery = "SELECT * FROM CI_INFOOBJECTS WHERE " +
         "SI_PARENT_FOLDER=0 and SI_PROGID='CrystalEnterprise.Folder' and " +
         "SI_NAME= '"+reportFolder +"' ORDER BY SI_NAME";
         IInfoObjects parentFolderInfoObjects = infoStore.query(parentFolderQuery);
         reportFolderSI_ID = ((IInfoObject)parentFolderInfoObjects.get(0)).getID();
         // Retrieve the report by name and its reportFolder from Crystal Enterprise
         oInfoObjects = infoStore.query("Select * From CI_INFOOBJECTS Where SI_NAME='"+reportFolder+"' AND SI_PARENT_FOLDER="+reportFolderSI_ID);
         oInfoObjects = infoStore.query("Select * From CI_INFOOBJECTS Where SI_NAME='"+reportName+"' AND SI_PARENT_FOLDER='"+((IInfoObject)oInfoObjects.get(0)).getID()+"'");
         IInfoObject infoObject = (IInfoObject)oInfoObjects.get(0);
         //Open the report into a Report Document object
         ReportClientDocument rptDoc = rptAppFactory.openDocument(infoObject,0, Locale.ENGLISH);
         //Refresh tables
         IConnectionInfo connectionInfo;
         util.setJdbc_url(ap.getParameterString("URL"));
         util.setJdbc_driver(ap.getParameterString("driver"));
         util.setJdbc_user(ap.getParameterString("user"));
         util.setJdbc_pwd(ap.getParameterString("password"));
         util.setJdbc_database(ap.getParameterString("database"));
         connectionInfo = util.getJdbcConnectionInfo(util.getJdbcPropertyBag());
         int replaceParams = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB;
         ConnectionInfos connectionInfos = rptDoc.getDatabaseController().getConnectionInfos(null);
         for (ConnectionInfo oldConnectionInfo:((Collection<ConnectionInfo>)connectionInfos))
              rptDoc.getDatabaseController().replaceConnection(oldConnectionInfo, connectionInfo, null, replaceParams);               
         //Get Params
         Fields mainRptParameterFields = rptDoc.getDataDefController().getDataDefinition().getParameterFields();
         String params = new String();
         for(Object parameterField : mainRptParameterFields){
              String paramName = ((ParameterField)parameterField).getName();
              if(parameterField != null)
                   if(((ParameterField)parameterField).getType() == FieldValueType.dateField)
                        rptDoc.getDataDefController().getParameterFieldController().setCurrentValue("", paramName,java.sql.Date.valueOf(paramVal));
                   else if (((ParameterField)parameterField).getType() == FieldValueType.dateTimeField){
                        //Stored Procs uses Datetime
                        java.util.Date datetime = (Date)reportDate_df.parse(paramVal);
                        rptDoc.getDataDefController().getParameterFieldController().setCurrentValue("",paramName, datetime);
                   else
                        rptDoc.getDataDefController().getParameterFieldController().setCurrentValue("", paramName, paramVal);
         ByteArrayInputStream aiStream = (ByteArrayInputStream)rptDoc.getPrintOutputController().export(ReportExportFormat.PDF);
         rptDoc.close();
    I ran this against BOXIR2 and BOXI3.1, BOXI3.1 will still throw error at
    ByteArrayInputStream aiStream = (ByteArrayInputStream)rptDoc.getPrintOutputController().export(ReportExportFormat.PDF);
    Another question, will CI_INFOOBJECTS table be created in the DB during installation of BOXI?

  • Java.io.FileNotFoundException: The system cannot find the path specified

    hi all.
    have this problem
    i have a jsp with the codes as follows:
    try{
    File f=new File("C:/Program Files/Apache Group/Tomcat 4.1/webapps/iiso/account.xml");
    FileWriter fw=new FileWriter(f,false);
    XMLConverter xmlc=new XMLConverter();
    String msg=xmlc.ConvertToXML("account");
    fw.write(msg);
    fw.flush();
    System.out.println("file printed");
    }catch(IOException ioe)
    System.out.println(ioe);
    }it works prefectly on my comp but however when i posted it up on the dev server
    which is running on tomcat 4.0
    i got this error:
    java.io.FileNotFoundException: P:\Program Files\Apache Tomcat 4.0\webapps\IISOelearn\account.xml (The system cannot find the path specified)
    the dev server is running on P drive.
    tried installing tomcat 4.0 on my com and the code runs well.
    could there be other sources tt i miss out causing the error?
    many thanx in advance!
    =)

    Most probably the server has a different path setup from you.
    Instead of hardcoding the full file path into your app, you should have the following
    ServletContext application = getServletConfig().getServletContext();
    String fileName = application.getRealPath("/account.xml");
    File f = new File(fileName);The method ServletContext.getRealPath takes a WEBSITE relative link, and turns it into a real location on disk.
    This makes your code completely independant of what machine it is installed on.
    Cheers,
    evnafets

  • [COMException (0x80004005): The system cannot find the path specified.

    VS2008 and Crystal reports on 2003 Server running IIF.
    When I try to use the buttons, Print or Export to PDF, we get the following error:
    A little background, we have move all the crystal reports to what we call a report loader where the loader treverses the SQL tables and inserts the correct connection string to the SQL data server.  Before doing the move, the Export worked but the printing did not work.
    After the change now neither Export or Print works.  Sames error message.
    Stack Trace:
    COMException (0x80004005): The system cannot find the path specified.
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +87
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +279
    CrystalReportsException: Load report failed.
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +342
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +868
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +73
       CrystalDecisions.ReportSource.NonHTTPCachedReportSource.GetReport(RequestContext context, Boolean bAddToCacheWhenCreated) +648
       CrystalDecisions.ReportSource.LocalReportSourceBase.GetReportInfo(RequestContext reqContext) +73
       CrystalDecisions.Web.ReportAgentBase.GetReportInfo() +1045
       CrystalDecisions.Web.ReportAgentBase.get_IsLogOnInfoUsingIntegratedSecurity() +50
       CrystalDecisions.Web.ReportAgentBase.FillReportState(RequestContext request) +53
       CrystalDecisions.Web.CrystalReportViewer.OnExport() +1097
       CrystalDecisions.Web.CrystalReportViewer.RaisePostBackEvent(String eventArgument) +59
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +177
       System.Web.UI.Page.ProcessRequestMain

    Hi, Craig;
    It sounds like you are running into this issue: [CitrixDrive|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313337333933383338%7D.do]
    You do not say which version of Crystal Reports you are using, so the registry key may be different for whichever version you have.
    Regards,
    Jonathan

  • SelectTransport: creating directory failed: Win32Exception: root of directory to create not found: The system cannot find the path specified. [0x00000003]

    USMT is failing with error 71 for all users in a specific office when backing up to a specific share:
    COMPUTERNAME\Guest, administrator: No, interactive: Yes, logged on: No, has profile: No
    DOMAIN\USERNAME, administrator: Yes, interactive: Yes, logged on: Yes, has profile: Yes
    COMPUTERNAME\Administrator, administrator: Yes, interactive: Yes, logged on: No, has profile: Yes
    2014-10-31 12:52:37, Status [0x000000] Activity: 'MIGACTIVITY_TRANSPORT_SELECTION'
    2014-10-31 12:52:37, Info [0x000000] Processing the settings store
    2014-10-31 12:52:37, Error [0x000000] SelectTransport: creating directory \\san.f.q.d.n\share$\username\BACKUP\USERNAME\USMT failed: Win32Exception: root of directory to create not found: The system cannot find the path specified. [0x00000003] class UnBCL::DirectoryInfo *__cdecl UnBCL::Directory::CreateDir(const class UnBCL::String *)[gle=0x00000005]
    2014-10-31 12:52:37, Info [0x000000] Failed.[gle=0x00000091]
    2014-10-31 12:52:37, Info [0x000000] A Windows Win32 API error occurred
    Windows error 3 description: The system cannot find the path specified.[gle=0x00000091]
    2014-10-31 12:52:37, Info [0x000000] Windows Error 3 description: The system cannot find the path specified.
    2014-10-31 12:52:37, Info [0x000000] USMT Completed at 2014/10/31:12:52:37.861[gle=0x00000091]
    2014-10-31 12:52:37, Info [0x000000] Entering MigShutdown method
    2014-10-31 12:52:37, Info [0x080000] COutOfProcPluginFactory::FreeSurrogateHost: Shutdown in progress.
    2014-10-31 12:52:37, Info [0x0803e5] Not unmapping HKLM\ELAM; it is not mapped
    2014-10-31 12:52:37, Info [0x0803e6] Removing mapping for HKLM
    2014-10-31 12:52:37, Info [0x0803e7] Successfully unmapped HKLM
    2014-10-31 12:52:37, Info [0x0803e6] Removing mapping for HKU
    2014-10-31 12:52:37, Info [0x0803e7] Successfully unmapped HKU
    2014-10-31 12:52:37, Info [0x080487] Destroying OS analysis service
    2014-10-31 12:52:37, Info [0x080488] Destroyed OS analysis service
    2014-10-31 12:52:37, Info [0x000000] Leaving MigShutdown method
    2014-10-31 12:52:37, Info [0x000000] ----------------------------------- USMT ERROR SUMMARY -----------------------------------
    2014-10-31 12:52:37, Info [0x000000] * USMT error code 71:
    2014-10-31 12:52:37, Info [0x000000] +-----------------------------------------------------------------------------------------
    2014-10-31 12:52:37, Info [0x000000] | A Windows Win32 API error occurred
    2014-10-31 12:52:37, Info [0x000000] | Windows error 3 description: The system cannot find the path specified.
    2014-10-31 12:52:37, Info [0x000000] +-----------------------------------------------------------------------------------------
    As the user in question, when I browse \\san.f.q.d.n\share$\username, the BACKUP directory exists, but there are no sub directories.
    I manually created the sub directories, USERNAME\USMT - so the full path now exists: \\san.f.q.d.n\share$\username\BACKUP\USERNAME\USMT
    I re-ran USMT but the process returned the same error.
    If I specify other shares not on san.f.q.d.n but on san1.f.q.d.n or server.f.q.d.n or even workstation.f.q.d.n, it works fine.
    Can someone provide guidance on how to troubleshoot this further?

    In Windows, setting the Environmental Variable sometimes DOES NOT WORK.
    The -Djava.io.tmpdir=C:\temp setting must be made in the server properties of the oc4j in order for it to work.
    Jae

  • How do I find the path (source) of a document in mavericks?

    how do I find the path (source) of a document in mavericks?

    See if you can find the file using this program
    EasyFind – Spotlight Replacement

Maybe you are looking for