Instantiating module File could not be added at URL - Sandbox solution

I have a feature in a Sandbox solution in SharePoint 2010 that provisions pages into the Pages library.  It looks like this:
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Module Name="Pages" Path="Pages" Url="Pages" RootWebOnly="TRUE" >
<File Url="Benefit.aspx" Path="Benefit.aspx" Type="GhostableInLibrary" IgnoreIfAlreadyExists="FALSE">
<Property Name="Title" Value="Step 1: What is the benefit?" />
<Property Name="BrowserTitle" Value="Step 1: What is the benefit?" />
<Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/BlankPageLayout.aspx, Core Blank Page" />
</File>
This works fine most of the time but if the page is checked out and I deactivate and reactivate the sandbox solution, I get the following error message in the logs:
Instantiating module "Pages": File could not be added at URL "Benefit.aspx":
If I discard the check out and try again it works.
Anyone got any ideas?
Caroline

The file Benefit.aspx looks like this:
<%@ Page Inherits="Microsoft.SharePoint.Publishing.TemplateRedirectionPage,Microsoft.SharePoint.Publishing,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %>
<%@ Reference VirtualPath="~TemplatePageUrl" %>
<%@ Reference VirtualPath="~masterurl/custom.master" %>
Caroline

Similar Messages

  • My itunes says "file could not be added because it could not be found" how to fix it

    I just lost my hard drive on my computer because it crashed. I know have a new computer and added my ipod files back on my itunes; however it's been saying the files cannot be found. help!

    Most likely you installed a newer version of iTunes in your new PC.
    This is the support link to point iTunes to the correct location of your music files. or you can also move your files to the latest iTunes default location.
    http://support.apple.com/kb/HT1364
    The older version of iTunes folder is in My Documents\My Music\iTunes\iTunes Music
    but from iTunes 9 it is My Documents\My Music\iTunes\iTunes Media
    Good Luck!

  • PE 5.0.2 - Could not load the FastCore Routines module because the file could not be found.

    The "view and organize photos" mode seems to work just fine, but when I attempt to open the "edit and enhance photos" mode, I get an error box with this message: "Could not load the FastCore Routines module because the file could not be found", and then it shuts down after I click ok. I have installed the 5.0.2 patch and have uninstalled and reinstalled the program, to no avail. I had no firewall running when installing the program, nor do I own the program "Clean Sweep". What can I do?
    Thanks for any help
    OS = Windows Vista.

    CANNOT LOAD FASTCORE ROUTINES, MMX CORE ROUTINES,
               MULTIPROCESSOR SUPPORT NOT FOUND
              SUCCESSFULLY REPAIRED - STEP BY STEP
    I made the repair for Elements 5 on an XP version Operating System PC by doing this:
    I went to....
    Start / All Programs / Accessories / Windows Explorer
    and selected.....
    My Computer / C:
    which is my drive with its operating system where Photoshop is installed.
    I then clicked....
    Documents and Settings  
    Then - in each - of the three icons I found.....
    All Users, Default User, and Owner
    I went into....
    Application Data / Adobe / Photoshop Elements
    In that last file I removed ALL the contents.... IN EACH !
    After rebooting, my Photoshop Elements 5 started to work.
    I think with research and all I invested five hours. May this save you 4 1/2.
    I was paranoid and put the contents of each file into a new file I identified
    clearly in case it I have to replace one of the parts out in the future.
    I hope this is of help to some future reader.
    Other comments here seem to indicate that this solution has
    worked in version 4 and up and fixed early versions of Vista.
    This appears to be a common problem after a drive repair or partitioning.
    Why they can't just tell us this is a mystery to me.
    -- Bon Courage! --
                                      Ken

  • 'The song "xyz" could not be used because the original file could not be found.

    I am quite new to iTunes so please excuse me if the questions seem daft 
    I have recently changed my default iTunes Media folder location from my local C:\ drive to my home network storage device
    (my PC is permanently mapped to this NAS storgae drive)
    Now When I go to play a song in itunes I get the message 'The song "xyz" could not be used because the original file could not be found. Would you like to locate it"
    Looking in the new iTunes Media folder, I can see the following folders and they are mostly empty:
    Automatically Add to iTunes
    Downloads
    Mobile Applications
    Music
    Note that I have music that I bought from iTunes and music from other sources \ given to me by friends
    Questions:
    (1) How do I get all my music back into this new iTunes Media folder?
    (2) Exactly which files contain my music? (I ask because we have 2 or 3 libraries that I wish to consolidate into 1 master Library for us all)
    If I know exactly which files are required I can delete any other files cluttering up my storage and PC

    Changing the media folder path tells iTunes where to put new media that is ripper or purchased. It may offer to consolidate to the new location when you make the edit, if not iTunes will expect existing content to remain on the original path.
    The "missing file" error happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, one of its parent folders, or the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to Get Info, then click No when asked to try to locate the track. (Due to a bug in iTunes 12 you currently have to say No twice!) Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, a folder renamed, or a drive letter has changed, it should be possible to reverse the actions. If the difference between the two paths is an additional Music folder in one path then this is a layout issue. I can explain further if that is the case.
    In some cases iTunes may be able to repair itself if you go through the same steps with Get Info but this time click Locate and browse to the lost track. It may then offer to attempt to automatically fix other broken links.
    If another application like Windows Media Player has moved/renamed the files then the chances are that subtle differences in naming strategies will make it hard to restore the media to the precise path that iTunes is expecting. In such cases, as long as the missing files can be found somewhere, you should be able to use my FindTracks script to reconnect them to iTunes. See this post for an explanation of how it works.
    For more background on the typical layout of the iTunes library see Make a split library portable.
    1) It depends on exactly what you have done to break things.
    2) Your media files are where you put them, or where iTunes copies them to when they are added to the library. If multiple libraries use the same set of media folders there can be problems if edits in one library cause content to be moved as the other libraries will no longer see those tracks on the original path, and won't know to look in a new one.
    tt2

  • When selecting a song to play in iTunes, I get an error message indicating the song could not be used because the original file could not be found.  Would you like to locate it.  I have no idea where to look since the library hold all my files.

    When selecting a song to play from iTunes library, I continually get an error message indicating the original file could not be found.  Then asks, would you like to locate it?  Does anyone know how to fix this?   I'm not even able to play the songs I purchased due to this error message.  Any ideas how to remedy this problem? 
    Thanks

    It would help to have more background about your iTunes collection such as if you keep it on an external drive, or if you have moved or renamed anything recently.  iTunes is very sensitive to you renaming or moving files or folders involved with your media.  iTunes only keeps a reference to where a media file is located  and then goes to look for it when you try to play it. If you have changed things since it was added to itunes then it's like me sending you to look for a friend in my addressbook but that friend has moved.
    The other possibility is your computer is starting to lose files.  Again, the computer uses a reference database to tell it where on the drive to look for a file. If that database gets corrupt then it starts losing files.  Use Dsk Utility's first aid to verify your hard drive.

  • I recently transferred my itunes library to an external hard drive. Now I get the error message 'the original file could not be found. Could you like to locate it' when i try to open songs. My iPod syncs ok.

    I recently tranferred my iTunes library to an external hard drive. Now I cannot open songs and get the error message ' The song "***" could not not be used because the original file could not be found. Would you like to locate it'. This applies to all 9742 songs!!. My iPod still syncs ok, but I can't play songs on the PC. Can anyone please help.

    It would help to have more background about your iTunes collection such as if you keep it on an external drive, or if you have moved or renamed anything recently.  iTunes is very sensitive to you renaming or moving files or folders involved with your media.  iTunes only keeps a reference to where a media file is located  and then goes to look for it when you try to play it. If you have changed things since it was added to itunes then it's like me sending you to look for a friend in my addressbook but that friend has moved.
    The other possibility is your computer is starting to lose files.  Again, the computer uses a reference database to tell it where on the drive to look for a file. If that database gets corrupt then it starts losing files.  Use Dsk Utility's first aid to verify your hard drive.

  • I have a new computer that downloaded all of my playlist. but i cannot play all songs. i get a error that say "the song could not be used because the original file could not be found. would you like to locate it? but it does not help to resolve.

    i installed itunes to my new computer and transfered all my playlist from the older computer. the software came with the new computer hp link up. the problem
    comes in where i want to play a certain song on a playlist and this error pops up "the song could not be used because the original file could not be found.
    would you like to locate it? which is of no help.
    is there a solution to this problem?

    The file path for these songs IS NOT correct per your iTunes Library file. 
    See: http://dougscripts.com/itunes/scripts/ss.php?sp=listmias  for an Applescript to locate these files for re-adding.

  • Less destructive fix for the "original file could not be found" issue

    +(Note: this is mostly a copy of the post I just submitted in reply to http://discussions.apple.com/message.jspa?messageID=6785594#6785594)+
    Most solutions to the "The song xxx could not be used because the original file could not be found. Would you like to locate it?" issue involve deleting iTunes library files, deleting-then-re-importing everything from iTunes, and other destructive techniques. I found an easier fix for this, but it might be (a) specific to libraries on a network drive (NAS) or (b) specific to me. YMMV, but give it a try. This was on a Mac, so a Windows solution might exist with the same technique. Please post here and let me know if this works for you!
    After some investigating and trial-and-error, I discovered that if I viewed a list of songs in Finder, iTunes could find the files again. For example:
    *Double click on a song in iTunes and get the "original file could not be found..." error. Do not say 'Yes' to locating it.
    *Open Finder and locate that Folder of songs
    *Double-click on another song from that album. It should work.
    So, my fix: *run a command that lists/touches every file in your iTunes music folder.*
    For Macs:
    *Open Terminal
    *Run this: *ls -R /Path/To/Your/iTunes\ Music \Folder/* (note how you 'escape' spaces in the folder name with back-slashes).
    Windows:
    *Start - Run - cmd
    *Run this: dir /s \Path\To\Your\"iTunes Music Folder" (note that you escape spaces by quoting the dir name.)
    My NAS is named "VAULT" so my command was "ls -R /Volumes/VAULT/My\ Music/" You will see the files being listed at light speed -- ignore this. It will run for a while, depending on how many files you have, about 30 seconds for me. After executing this I could listen to any music file in iTunes!
    But, every time I lost my connection to my NAS, such as waking from sleep mode, I had to run it again. So I created an Automator application and a Apple Script to run it from within iTunes so I can run it any time I need to. If you don't want to do that, just run the command I specified. If you want to download my Automator app, or see instructions on how to create your own, check out my blog post: http://40withegg.com/2008/3/8/mac-attack-making-itunes-find-those-original-files -especially-on-a-nas
    With any luck, my post will be *completely unnecessary* soon because Apple will find a real solution to this.

    Jeffe hello,
    I have seen more problems created by the consolidate command than I have ever seen fix things... I'm not saying it does not work but what it does do and what it does not is very hard to work out for most and major problems are the result...
    to sort your problem do this...
    1. Open your iTunes folder in the Home Music folder and make a backup copy of the iTunes Library file and put on the desktop.
    2. Start iTunes and in the Library sort on the Heading 'Date added' ... you may need to install it... control/click on heading-bar and select from popup menu.
    3. When you have sorted scroll to half way and you will see the songs are split evenly... select the ones you want to remove with a shift/click and hit delete key... say no about move to trash for now.
    4. Check that everything is as you want it... if so carry on... if not come back and tell me what happened.
    5. Quit iTunes and put the iTunes Library file in the iTunes folder in a safe place like your Documents folder... drag the copy from desktop and put it in the iTunes folder.
    6. Check the name is correct on the 'copy' edit it to be iTunes Library.
    7. Start iTunes by double/clicking on the file and go through steps 2 & 3 again but this time when you delete say yes about move to trash... don't empty it yet 1st check that all is OK with your library.
    You can edit the good files that you are left with but the addition of '01' in the name will not have any adverse effect on them at all... editing with an Applescript is very easy.
    take care Jeffe and let's know how you get on or if you run into any unforeseen problems ... TP

  • The profile could not be added to the device.

    Hi,
    I have deployed multiple ipads in my company.
    I have uploaded a profile with the iphone configuration utility on two ipads with no problem.
    The third ipad returns this error message "The profile could not be added to the device."
    I have tried resetting the ipad with no success.
    I have seen an archived discussion that said :
    "I had the same issue (and have already bugged it). I was able to restore function by deleting ~/Library/Caches and com.apple.iPhoneConfigurationUtility.plist. I also deleted the files in ~/Library/MobileDevice/Devices, which correspond to the iPhones I had connected to the iPCU...
    Obviously, make sure iPCU is quit before following the above steps. Good Luck!"
    I have tried locating the file but it doesn't exist.
    Anyone out there knows how to fix this ?
    Thanks !

    I had the same issue (and have already bugged it). I was able to restore function by deleting ~/Library/Caches and com.apple.iPhoneConfigurationUtility.plist. I also deleted the files in ~/Library/MobileDevice/Devices, which correspond to the iPhones I had connected to the iPCU...
    Obviously, make sure iPCU is quit before following the above steps. Good Luck!

  • "original file could not be found" help needed please

    Hello and help...please
    i have a new laptop, so i saved my itunes music library to an external drive to transfer it to the new machine. I uploaded to itunes with the simple 'add folder' option and all my songs appeared in itunes everything is great i thought.
    However, every single song i click on to play comes up with
    "the song "insert title here" could not be used because the original file could not be found. would you like to locate it?"
    I have searched long and hard through the itunes help etc and found nothing.
    can anyone help me? please?
    many thanks for taking the time
    phill

    for windows version, you have to check the "Copy files to iTunes Music folder when adding to library" in preference pane. then every time you add songs to your library iTunes will copy the original files to your iTunes library folder so you don't have to worry about the original files missing or moved.

  • Song could not be used because file could not be found

    I recently had to purchase a new computer which came with the new Windows Vista. I had Windows XP before and from that computer I backed up ITunes on external hard drive. I have authorized this computer and installed Itunes and added the music back to folder. I can see all the music but I cannot play them due to the error song could not be used. I am having problems with the IPod and need to hook it up to computer to reset it. I am afraid it will mess up. What do I need to do? How can I get the music to play in library and if I hook up IPod will it mess it up more? Thanks for any help!!

    I'm an Apple N00B and would be nice to see this answered (by Apple or someone that knows whats going on) - I realize this is a public forum, but in Googling "song could not be used because file could not be found" you (and me!) are not the only ones having this problem -
    My situation is, that I BOUGHT a song from iTunes last night, it synched to my iPod OK - but in going thru iTunes today, I see the bang "!" next to the song... and not knowing all the icons yet for iTunes - it gives me that error - Saying it can't locate the song - would you (me) like to find it? - Yes, I BOUGHT it so would be nice to HAVE...
    Point being, it IS on my iPod Classic - but is not on my PC??? How is this possible -
    Furthermore - Since I bought it - and obviously I have it on my iPod now, but somehow is now "lost" on my PC (iTunes folder shows empty - for that song) - You'd think that either iTunes would be SMART enough to pull it from my iPod and save it to the folder (as the Album art shows in iTunes too???!) - Or that iTunes home page would recognize the "sale" and the "missing" song, and re-download it?? W-T-F Apple?
    FWIW, for grins, I went back and tried to re-download the missing song - and was eager to SELL it to me again...
    Again, I'm new to Apple and iTunes - so maybe there's a quick and easy fix for this - Yeah yeah - call me a Windows idiot - but suspect I'm not alone with this problem... or that it's not just a Windows issue -
    Any thoughts?
    TIA -
    MFX
    Message was edited by: MalteseFalconX

  • Uploading Firmware Ops Sys Adm - Error encountered: The file could not be downloaded

    Trying to upload the file using 8.6.2 of the CUCM Ops Sys Admin login.  I am using a remote SFTP.  I downloaded the firmware from the support section of the web.  File:  cmterm-7911_7906-sccp.8-5-2.cop.sgn
    The Install/upgrade process finds the file then says..  Accessing the upgrade file, please wait
    The Error Encounted: file could not be downloaded.  a
    There must be a log file somewhere.  Any ideas? 
    Thanks!

    Hi
    Well - in that case I would take the easy option :-)
    When you download the firmware, download the zip version. It may say 'for CUCM 4.x' or something similar.
    Basically unzip it, then upload each of the files in the zip to the TFTP server manually through OS admin and then restart TFTP from serviceability.
    Then you can apply it to a test phone and update the device defaults page when you are ready.
    That way you can try different versions of firmware without adding lots of non-removable references to cop.sgn files to the system's installed options list.
    Aaron

  • After upgrade, iTunes complaints with "original file could not be found"

    After upgrading to 8.2.0.23, a large number of songs now have a ! in them and if I try to play them, iTunes will say with "The song xxx could not be used because the original file could not be found." This has happened to me before but never to this large number of files.
    If it were only a handful of songs it wouldn't be an issue because iTunes allows me to locate it manually, which for first time, iTunes opens the dialog in the directory where the file is. I can click on the mp3 file and that's it. Problem is that from the on, the dialog opens in the same directory as the first song, which makes it very hard to navigate to the directory where the second song is (unless it's the same album of course). Multiply that by 1000 and it's an impossible task.
    I've found that the problem is neither the itl file nor the xml file. I already tried the previous itl file and the problem persists.
    After comparing the files that are OK with those missing in the .xml file, I found that iTunes is somehow messing up the location tag for files with underscores in the filename. For example, 01_mysong.mp3 gets replaced to 01%20-%20mysong.mp3 in the location tag in the xml file. If use iTunes to locate the file, which as I mentioned above fixes the issue, the location tag gets updated to the correct filename and a bunch of hex numbers get added to the comments tag.
    Now, if I exit iTunes and change the location tag to the correct filename in the xml file with a text editor, iTunes magically messes up the tag again when it comes up.
    I tried unchecking the "Keep iTunes Music folder organized" but that didn't help.
    At first I thought it was an issue with the comments tag and that only mp3 files downloaded from Amazon had the problems. It seems that ALL those songs have the problem but there are a few other songs I got from the iTunes store that are also messed up.
    I have not moved any songs at all, this just happened all by itself after upgrading.
    I also tried re-adding the folders where all the Amazon mp3 files are, but this created duplicate entries in the library. Unfortunately, even though the new entries do play, they don't have ratings or play count.
    Is there any way I could fix this without losing my ratings and play counts and without having to manually fix every song one by one?
    I'll appreciate any hint you can provide.
    Thanks

    I have the same problem except almost every song I bought from Itunes has this problem. Not only that, but somehow some of the music, about $125 worth has been deleted form my 3 back up discs. This is only happening with my purchases and not any songs I uploaded from cd. How on earth did this happen, and how did it wipe clean 3 different back ups? I have found some of the music where it belongs, but like I said some of them are gone, gone, gone. I run three different back ups and they are on 24/7. Where is all of this music? I still have it on my ipod, but it will not load back into itunes the way purchases used to. Some of the music is purchased straight to my ipod touch, but shouldn't i be able to reload them into itunes? I spent 3 hours going 1 song at a time reloading them from their original location. But I cannot locate about $125 worth of music that I purchased from itunes. I have 6 macs in my family and preach the good news to all who will listen about hows macs are flawless. Now I have egg all over my face and have thrown away a nice sum of money on missing music. Please help!

  • Message in Develop "The File Could Not be Opened"

    My photos are in an external 500 gig hard drive. I am using a new iMac. In Lightroom when I go to the develop module and select an image I get a message saying The File Could Not Be Opened. I can not do any editing. I can open photos from the hard drive in other programs and edit them but not in the Develop module of Lightroom. I have 1.2 version. I have had this happen before when for some reason the computer could not find the external hard drive. But it is finding it fine.
    Gerald

    Read Computer Darkroom - Locating Missing Files by Ian Lyons under feature articles and essays.
    http://www.computer-darkroom.com/home.htm

  • Identify missing files ("The file could not be opened")

    Hello,
    I purposely deleted photos outside of LR. The photos are still in the catalog. When I attempt to develop a photo in the catalog which I forgot was deleted outside of LR the message "The file could not be opened" appears after a short delay.
    This raises the question of how to identify ALL photos in a collection where the source files have been deleted (or otherwise cannot be found) and to mark those items for deletion from the catalog, and subsequently delete them.
    Basically I want to assure ONLY those photos that exist (on my drive) are in the catalog.
    (I realize there are many instances where on wants to maintain items in a catalog that are archived on other media and not readily available, but that's not what I want here.)
    I have LR 1.1 on WinXP Pro with ample memory and disk space.
    Thanks in advance for all tips and pointers.

    Did you try synchronize folders? Right click on the folder name and select. I haven't done this, but the help says it's supposed to deal with missing files as well as added files.

Maybe you are looking for

  • Windows 7 Printer Sharing

    I have a HP PSC 2410 connected to a computer running windows 7.  Win 7 detected and installed the printer just fine and there are no issues printing.  I have a laptop running XP and I'll be darned if i can get the Win 7 computer to spool print jobs f

  • All my bookmarks and personalized start page are GONE. Where are they and how do I get them back?

    I opened Firefox & was told it had automatically updated to 3.5 (yes that is what it said). ALL my bookmarks, my bookmarks toolbar and my other two toolbars are GONE, my personalized home page is GONE. How do I get them back? VERY frustrated with Fir

  • License Code Adobe Acrobat x Pro

    Hello, Due to getting a new Desktop machine I am trying to install Adobe Acrobat X Pro onto the new machine. The current problem is that I don't have the license code anymore ( I still have Adobe Acrobat X Pro installed on my old machine). I tried to

  • Horizontal Menu Bar not formatting correctly in IE

    I am trying to get my menu bar to properly format in IE. It works fine in Opera, Firefox, and Safari. What I am having problems with is with how the sub menus pop up. In IE they show up above the menu bar instead of below the menu bar. Any help would

  • Way to send records added to Z table to Transport ?

    Hi The functional personnel add records to Z table with SE16 using 'Create Entries' button; then they consult the records, select the records, go to 'Table Entry' menu and 'Transport Entries' option and put the records in a Transport Number for send