Backup/Restore - File Source Not Found

I'm having trouble restoring a .bak file while moving it from laptop A to laptop B. First, on A, I backed up the 'Staging' db, creating the Staging.bak file which I transferred to laptop B. I restored (or thought I did) the .bak on B but it doesn't show
up on my list  of B's Databases even after refreshing and restarting SQL Server.
Second, I then tried with T-SQL as below and got the error shown. I'm specifying a path with '\Program Files' and the error msg refers to 'Program Files (x86)' which, on my machine, doesn't have the subdir's listed in the err msg. Those dir's are part of the
\Program Files path (and this is also the 'Data Path' listed in SQL Server Config Mgr).  I'm running SQL Server 2014 Express on Windows 8.1.
RESTORE DATABASE Staging
FROM DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\Backup\Staging.bak' ;
Msg 5133, Level 16, State 1, Line 1
Directory lookup for the file "C:\Program Files (x86)\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\DATA\Staging.mdf" failed with the operating system error 3(The system cannot find the path specified.).
Msg 3156, Level 16, State 3, Line 1
File 'Staging' cannot be restored to 'C:\Program Files (x86)\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\DATA\Staging.mdf'. Use WITH MOVE to identify a valid location for the file.
Msg 5133, Level 16, State 1, Line 1
Directory lookup for the file "C:\Program Files (x86)\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\DATA\Staging_log.ldf" failed with the operating system error 3(The system cannot find the path specified.).
Msg 3156, Level 16, State 3, Line 1
File 'Staging_log' cannot be restored to 'C:\Program Files (x86)\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\DATA\Staging_log.ldf'. Use WITH MOVE to identify a valid location for the file.
Msg 3119, Level 16, State 1, Line 1
Problems were identified while planning for the RESTORE statement. Previous messages provide details.
Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.

When you take a backup all information including the file path(.mdf/ldf) is included as part of the backup. As you found out if you just run restore database it will try to restore to the exact same location(C:\Program Files (x86)\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\DATA\).
Looks like you dont have this path(C:\Program Files (x86)\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\DATA\) on target server where you are performing this restore.
To know the files and locations from backup file, you can use RESTORE FILELISTONLY option allows you to see a list of the files that were backed up and their original path.  So for example if you have a full backup you will see all of the data files
(mdf) and the log file (ldf) and their path.
RESTORE FILELISTONLY FROM DISK = 'C:\AdventureWorks.BAK' WITH FILE = 1
The result set would like the following.  The things that are helpful here include the LogicalName and PhysicalName.
ColumnName
Value
Value
LogicalName
AdventureWorks_Data
AdventureWorks_Log
PhysicalName
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Data.mdf
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Log.ldf
So as suggested please use WITH MOVE option while restore to provide the valid path.

Similar Messages

  • File data source not found with guest login???

    Hello everybody,
    i'm working with BIP 10.1.3.2.1 on Win2003/Tomcat.
    Everytime if i call a report with a file data source directly via url or in the gui via guest login i get the following error message: "File data source not found: <file data source name>".
    If i use a login in the gui which have the explizit permision to use this data source then there is no problem. Well at this point u might say then use this account, but - if i call a similar report with a database data source directly via url or guest login in the gui everything works fine. So, where is the point? Any ideas?
    Best regards
    Ralf Kanis

    Hi guys,
    I'm running into exactly the same issue. The problem seems to occur only when the report being accessed by guest is a file data source. The only other option I could think of is setting up SSO for BIP and the application issuing the URL to the report.
    Could'nt find anything else in the documentation or known issues list that might fix this without having to setup Single Sign On. Any further luck with your investigation? I'd appreciate any feedback.
    Thanks
    Jonathan Cruz

  • Error message: Could not complete your request because the file was not found.

    Tonight tried to open images in Photoshop CC 2014. Could not open any. Received the message "Could not complete your request because the file was not found."
    I installed latest updates yesterday. Today not working. Can anyone assist?

    Well, then you do want your layered file back and the nice thing about Macs, Time Machine does keep hourly backups on your Mac. You should be able to enter Time Machine and restore that file.
    I had hoped opening your file in another app might relase it so you could open it in PS.
    Gene

  • Debugger: 'Source Not Found"

    I have a simple WebDyn Pro application that works fine on my local J2EE engine, but would like to see the execution of one of my methods in debug mode.
    I setup my break points and run the application in debug mode and start executing the program line by line on my local J2EE engine. The first few lines work fine, but then I get a "Source Not Found" error for the <b>Node.class</b>
    The full error is message is:
    <b>The source attachment does not contain the source for the file Node.class. You can change the source attachment by clicking Change Attached Source Below</b>
    Clicking on the "Change Attached Source" button shows the following location variable path:
    <b>WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_progmodel.jar</b>
    and below that, the full path is shown
    <b>C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.tc.webdynpro.runtime\lib\_webdynpro_progmodel.jar
    </b>
    I have do have the <b>_webdynpro_progmodel.jar</b> file in the above mentioned folder, so why am I getting this error?
    Thanks in adavnce,
    Stefan

    Maksim,
    Im wondering if there is a way I can avoid having to go through the node class(and others) when I am debugging.
    I would like to only have to go through my own classes and skip the rest. I tried the step filter, but that did not help. I have the following in my filter configurartion
    com.ibm.*
    com.sap.*
    com.sun.*
    java.*
    javax.*
    org.omg.*
    sun.*
    sunw.*
    java.lang.ClassLoader
    Thanks again,
    Stefan

  • Source Not Found Error while Debugging

    Hello,
    I get annoying Errors while debugging a midlet. I reinstalled all programms an created a new midlet suite + midlet but the error is still there and the Midlet doesnt start.
    i got Eclipse Version: 3.2.2, Eclipse ME 1.6.6, the newest WTK 2.5 and java.vm.version=1.6.0-b105.
    I configured everything like www.eclipseme.org says it would be correct.
    Running a Midlet works fine.
    The bug opens an Helper.class file which says:
    Class File Editor: Source not found: "The Jar of this classfile belongs to the container J2ME library [ Sun Java (TM) Wireless Toolkit 2.5 for CLDC/MediaControl]. To configure the source attachment, go directly to the corresponding configuration page (For example for JRE go to 'Installed JRE#s page in references).
    Any clou how to fix this?? I need to debug my midlet :-/
    THANKS!
    Byby
    pako

    Hi,
    I just had the same problem and navigated to this page here in hope for a solution...
    However I've solved the problem now. On Eclipse, do the following.
    1) Right-click on the added Jar-file (which is producing the problem)
    2) On the popup-menu choose "Build Path" and "Configure Build Path..."
    3) On the opening preference window, click the checkbox of the Jar
    This is probably necessary because the jar has to be exported such that the simulator is able to execute it.
    Greets,
    Juri
    http://juri-strumpflohner.blogspot.com

  • CS6 photoshop message 'could not load the fast core routines module because the file was not found'

    my CS6 photoshop is giving me the message 'could not load the fast core routines module because the file was not found'. this started happening after i used a trial of photoshop CC and decided not to stay with it.  my photoshop is part of my CS6 suite and i am only getting this message with photoshop, my ilustrator keeps working just fine..... does anyone know how to fix it? thanks.

    I did a search on my system and found the Photoshop has a fastcore plug-in.  Creative Cloud includes a subscription version of CS6 version 13.1.2.   I do not know if you installed that or not.  The cc un-install may have done something.  You may need to use Adobe Cleaner then Install The Perpetual CS6 version of Photoshop  CS6 version 13.0.6 Mac or Photoshop  CS6 version 13.0.1.3 PC and not the subscription CS6 extended version 13.1.2.  Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6   If you need to download the CS6 installer Download CS6 products.
    You may also be able to recover your cs6 using an old system backup
    fastcore.8bx on my system...

  • Error 1311 source not found

    All Basis,
    Any idea on this,
    When tyring to open a Excel from SAP, the Error 1311 source not found  throws up.

    hello folks,
    I have Windows XP home Firefox v1.0.6.
    removed old java in Add/Remove programs.
    cleared the "Temporary Internet Files" folder that contained C:\Documents and Settings\Greg\Local Settings\Temporary Internet Files\Content.IE5.
    tried to load jre-1_5_0_04-windows-i586-p-iftw.exe for the third time, and the install still hangs up.
    J2SE Runtime Environment 5.0 Update Installer Information : Error 1311. Scource file not found: C:\Documents and Settings\Greg\Local Settings\Temporary Internet Files\Content.IE5\2XFKL4VY\je150000[1].cab. Verify that the file exists and that you can access it.
    and,
    Error 1311. Scource file not found: C:\Documents and Settings\Greg\Local Settings\Temporary Internet Files\Content.IE5\EEIDPHGA\jp150040[1].cab. Verify that the file exists and that you can access it.
    here's the thing, I cannot surf to "Content.IE5" folder in my "Local Settings\Temporary Internet Files" folder, but I can plug in the directory in the address bar of Windows Explorer & see the "Content.IE5" folder.
    I do not see "je150000[1].cab" or "je150000[1].cab" in there.
    Am I using the wrong program to fresh install Java for Firefox in XP?
    Is there something wrong with my operating system?
    monitoring this thread.....
    thanx.

  • Source not found: The source attachment does not contain the source........

    Source not found: The source attachment does not contain the source for the file ClassLoader.Class
    Hey,
    I'm running eclipse Version: 3.2.2 Build id: M20070212-1330, on a Vista Home Premium Toshiba laptop. Everything was working fine before i installed the Java JDK 5 and JDK 6. Now all of sudden when i try to run one my programs that worked in the past i get the following error:
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Exception in thread "main"
    I'm not sure where to go from here...I've looked up a few articles that mention going into some system.ini files...etc... to make sure the variable are ok but i feel like i'm getting in over my head.
    Thanks in advance for your thoughts,
    Struggling to Run

    Ok...after I thought everything was going well enough.... problems are arising.
    Here's where I'm at and that will include how i got a "nano" error. After a lot of late night messing around I ended up installing a few important component that seem to have done some good. Firstly i installed j2sdk-1_4_2_18-windows-i586-p and ended up with a few good things. Windows was happy when i changed the path variables in the environment setting to point to the newly created c:\program files\java\j2re1.4.2_18\bin folder. This allowed me to start up eclipse properly and use some functions in CMD. In CMD when i use the command java -version it reads Java version 1_.4_.2_1_8. Next i installed the j2sdk-1_4_2_13 jre 1.6.0 environment and ended up with a new folder in C:\Program Files\Java\jre1.6.0 as well.
    with the two environments installed i thought i was ready fro the next step.
    I got started on eclipse and now that it was opening i was feeling good. Next i opened window --> preferences --> java --> installed jre's and i started adding things like crazy. My current list of comprised of many things which I'm certain should all be there at this point so I'll list them:
    j2sdk1.4.2_13 - C:\j2sdk1.4.2_13
    j2re1.4.2_18 - C:\Program Files\Java\j2re1.4.2_18
    j2sdk1.4.2_18 - C:\j2sdk1.4.2_18\jre
    j2sdk1.6.0 - C:\Program Files\Java\jre1.6.0
    jdk1.6.0 - C:\Program Files\Java\jdk1.6.0
    I've set the preferred jre to be set to jdk1.6.0 - C:\Program Files\Java\jdk1.6.0 and it seems to work for all of my programs that do not have the input.scanner. However for the projects that do have this method i get a few different errors:
    1___________
    java.lang.NoClassDefFoundError: couponCounter/CouponCounter
    Exception in thread "main"
    2__________
    Exception in thread "main" java.lang.Error: Unresolved compilation problem:
         Syntax error, insert "}" to complete ClassBody
         at BensCalculator.main(BensCalculator.java:112)
    Now i feel like the second error is lying to me because i know that bit of code is written properly.... i believe it is related to a problem not locating the proper classes.
    Anyhow I'm still pushing along but some help at this point would be much appreciated. It's very weird some things with the scanner are working now..... I don't know I'm not totally convinced yet everything is OK.
    Thank you

  • Org.apache.tomcat.TcpConnection source not found error.

    Hi,
    When I tried to remotely debug a servlet with Sun's J2EEServer, instead of stopping at the breakpoint the Jdev31 stopped at this line:
    //JDeveloper API Decompiler STUB ...
    and when I pressed F8 a messagebox appeared:
    org.apache.tomcat.TcpConnection source not found.
    I think that I have missed someting installing the JDev.
    Your prompt help is higly appreciated,
    Reza

    Hi,
    I just had the same problem and navigated to this page here in hope for a solution...
    However I've solved the problem now. On Eclipse, do the following.
    1) Right-click on the added Jar-file (which is producing the problem)
    2) On the popup-menu choose "Build Path" and "Configure Build Path..."
    3) On the opening preference window, click the checkbox of the Jar
    This is probably necessary because the jar has to be exported such that the simulator is able to execute it.
    Greets,
    Juri
    http://juri-strumpflohner.blogspot.com

  • Does anyone know what to do after the IOS 5 update when it wont sync your music or apps or even register with itunes saying device is not connected/ the required file is not found?

    My iphone after the update to IOS 5 (which i had problems updating first anyway) wont even register with itunes saying its still half way through a restore when its not i have already restored it 4 times but still wont sync music or apps or finish restoring my phone because it always comes up device is not connected or the required file is not found?
    Any ideas?? ive gone the 02 shop and they just said to keep trying to restore it but its really not solving anything.

    Unfortunately yes, though technology would never move on if it kept to older standards and did not strive to do more.
    The app store always gives you the option to use a previous version of the app IF it is available for your device.
    Sorry but you are stuck without new hardware.
    PJRS

  • Import iTunes Media Library, some files were not found problem

    Hi guys,
    I am trying to restore my music library info via importing from iTunes Media Library xml file I backed up. During import, iTunes gave me error message box saying that some files were not found and therefore won't get imported. After it's done, I checked the iTune and I noticed many of the music files did not get imported at all, even their locations are correct. Is it because iTunes stopped importing at the first entry that it found its location not existed and therefore skipped the rest all along? Even later ones might be valid. Is this the case?
    Is there an easy way to find out what those entries are? So perhaps I could go and edit them directly in the xml file. The message box did not give much information
    Any help would be really appreciated,
    Thanks alot
    Windows XP Pro
      Windows XP Pro  

    Hi Chris
    I have now experimented a little more and discovered that although Time Capsule (TC) is showing in Finder as a Shared Drive at laptop startup (and showing a status of a connected user, me) it is not actually 'mounted' in the true sense of the word i.e. the unmount/eject symbol is not showing next to it nor either of the drives connected to the TC. By clicking on either of the 2 drives (i.e. the TC 'Data' disk or the TC USB-connected drive) the status changes to show the dismount symbol on both the selected drive and the TC in the Finder side bar. Launching iTunes after this intervention works every time as per your advice. Not the Apple 'it just works' that I have come to expect and appreciate but at least I now understand how to make it work reliably..........many thanks and I hope Apple just makes it work sometine in the future

  • Cannot inherit backups as sudo tmutil not found in terminal

    I get a "sudo: tmutil: command not found" message on terminal when I am trying to inherit backups as per the fantastic instructions on the website by pondini. What does it mean and how can I correct it?
    My old backups on time machine are not highlighted on time machine so cannot restore them. This is either because I have restored the OS or repaired the external HD used for backups.

    Lets' see....The thread is titled "Cannot inherit backups as sudo tmutil not found in terminal".
    The OP just replied "Any idea what would be equivalent for 10.6.8 to inherit backups? Or is it even possible to do so for 10.6.8?"
    The question was asked in the post right before mone. I should have highlighted that, I guess. Sorry.
    To answer your second comment, I DID "go to the website" and looked for information. Including finding this thread.
    DId not find an answer.
    For anyone out there looking for an actual answer beyond "go find it yourself", the fact is that you CANNOT reconnect a backup in SL. THIS asnwered my question and I hope it helps others looking for the same.

  • Report Generation Toolkit (Word) : How to use correctly bookmark and cross-reference without "Error! Reference source not found"

    Hi,
    I try to generate a report using a template. In my template I use some cross-reference to refer to one bookmark. For exemple in the first page I created a bookmark for my name and in the header I created a cross-reference refer to my name. The problems is when I run my VI the bookmark actualise perfectly but the cross-reference refer to the bookmark can't actualise with the same value and generates an error : "Error! Reference source not found".
    Can somebody help me please!
    Nki
    Solved!
    Go to Solution.
    Attachments:
    01.jpg ‏72 KB

    Hi,
    When i create the word template, the bookmaks and the cross-reference referred to the bookmark update correctely. The problem is when I try to change the bookmark using "report generation from template vi" the bookmark change but not the cross-reference and the error generated is "Error! Reference source not found". 
    I make coople reasherch and i think they have no solution for this because : "if the text in a heading referred to in a cross-reference is revised, the cross-reference to the heading may no longer work" (http://office.microsoft.com/en-us/word-help/troubleshoot-cross-references-HP005189368.aspx).
    To "resolved" this problem I create an other bookmark in the template who have the same value white the principle bookmark.   
    I use Labview 2011 and Micosoft office 2010.

  • Error in setting up debugging: Source not found for Catalina.createStartDigester() line: 280

    I am trying to set up the development environment using Portal (5.0.4), Eclipse and Tomcat-4.1.30-LE. I've set up Eclipse according to the instruction of "Debugging portal source code: Eclipse".
    I got the following error when I select "Run | Debug" in Eclipse and Tomcat won't start.
    Source not found for Catalina.createStartDigester() line: 280
    Has anyone seen this before? How do fix it?

    maybe this is just because there is no source code for the JCO Classes. I don't think SAP ships JCO Classes with source Infos for debugging.
    In debugging i would suggest just not to step into the JCO Methods.
    franz

  • Getting authorization error message: Required file was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permissions cannot be changed.

    I have recently purchased this MacBook used and am trying to authorize it on the iTunes Store but even after uninstalling iTunes and re-installing it with a fresh copy I'm getting this error message: "The required file was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permissions cannot be changed."  And I have no idea of where or how to fix this issue.  Any help or suggestions will be greatly appreciated.  I even tried to deauthorize this computer and got the same error message.  HELP!

    I used Terminal to change the permissions on the folder in question.  I followed the instructions in this article:
    iTunes: Missing folder or incorrect permissions may prevent authorization
    In my case, the folder was there, so I needed the command to change permissions on the folder, not to create one.   I was hesitant to use Terminal b/c I know that if I made an error I could wipe out my hard drive or render my computer unusable.  So to be SURE I didn't make an error, I carefully copied the command from that page and *pasted* it into Terminal.  Also, before I could do anything in Terminal, I had to go change my admin password (it had been a blank password before and that's not acceptable for making changes in Terminal).  I was just super careful when entering my password or doing anything else while Terminal was open (making sure I didn't accidently hit the spacebar or another key, etc.)  And it fixed the problem right away.
    What was confusing for me was that the iTunes error message said to change permissions in the FINDER, which is what I was trying to do.  It didn't mention Terminal.  What would really be helpful is if Apple included a link to a page like this in their error message.

Maybe you are looking for

  • The server was unable to process your log in request. Please check with your server administrator.

    I have this error when trying to log in the web administration. I have a problem with my AD, so it is unavailable, i think for this i can´t login. Can I log in the administration console by using another password or user not vinculated to the domain?

  • The mousepad on my laptop wont work the cursor wont appear

    I had been using a plug in mouse on my laptop, when unplugged it to use my mouse pad on the laptop it would work the curser would not show up and I could not right or left click. It was working fine before have I done something like switch it off? ca

  • Impossible to pair my Smartband with a Samsung S3

    Hello, I've recieved my smartband yesterday, and i went from excited to mad. I'm running android 4.4.2 on my samsung galaxy S3 (which have a 4.0 LBE support). I've downloaded Lifelog / SmartConnect and Smartband applications yesterday, so they're all

  • Problem in WEblogic10.3 EJB transaction rollbacked

    Hi, I was using a web application which was working on weblogic 8.1.3. Now we are trying to move this application to weblogic10.3. But i am getting following error message on the log. application seems working fine. but weblogic console is running en

  • CAn I use MSI Tv-Out card with my ASUS

    Asus has no optional Tv-out card or sth like that.(I'm using the ob GF2MX) Can I use the MSI tv-out card with my Asus a7n266-vm or it is just for MSI nforces. Here in Turkey it is 17US$+VAT.Is is high or normal?