Replacing library Location using Jdapi ??? SUCCESS

Hi,
we want to replace physical directory names by only the name of pll attached to forms and menus.
(eg : C:\directory\mypll.pll replaced by mypll)
to be able to use the forms_path.
Using Jdapi the first problem is that whith FormModule.open() the library is not found of course.
Is there a way to trap this exception like the forms migration assistant does
ERROR opening myform.fmb :oracle.forms.jdapi.JdapiException: FRM-10102: Imposs. attacher biblio PL/SQL C:\directory\mypll.pll : risque de perte d'attachement en cas d'enreg. de module.???
And than reattach the pll trapped by the exception?
Last point, there is method getLibraryLocation which give the physical path to the pll, but there is no setLibraryLocation method that will be usefull in our case.
Is there a way to achieve that ?
Thanks
JeanYves
Message was edited by:
JeanYves
Message was edited by:
JeanYves
Message was edited by:
JeanYves
Message was edited by:
JeanYves

Hi Christian,
Thank you very much for your answer !
when using the wrong working direcotry, the library attachment gets lost when saving the form.The problem is that the fmb and pll are in about 20 different dir. And the lib are attached by relative path from a starting directory (that was working fine in 6i C/S windows mode) :
C:\app\startdir and then the fmb and pll are in C:\app\startdir C:\app\dir1 C:\app\dir2 etc. So one fmb in dir1 can have an attached library like ..\startdir\st.pll and another ..\dir2\dir2.pll.
What we wanted to do is to regroup they by file type directory (fmb pll mmb rdf ) because the forms path will be too long. And that's why we lost the attachment.
I made some tests with frmf2xml but the attachment is also lost.
So we went back to the initial structure with all the directories.
I made a test frmf2xml starting from C:\app\dir1 and when i convert an fmb then the attachment was not lost.
In the tag AttachedLibrary the LibrayLocation was ..\dir2\dir2.pll.
I will see this morning with our java developer to make appropriate changes (i.e: CurrLib.setStringProperty(JdapiTypes.LIBRARY_LOCATION_PTID, "mypll")
and test it.
Thanks again for your help !
JeanYves

Similar Messages

  • Unsupported library locations

    Our company implemented a folder redirection of My Documents to the network.
    When Libraries> Documents is selected, an Info bar appear saying" Some library features are unavailable due to unsupported library locations".
    When I click on the locations where I can add/remove, the "default saved location" which is the redirected "My Documents" to server path, below that it says
    unsupported. Also there is second path which is "Public Documents" path is C:\Users\Public\Documents showing
    unresponsive.
    When I have to attach a file from a lotus notes program by going to LIbraries>double click Documents, it hangs the application and the whole windows explorer.
    Thanks in advanced.

    Hi Zneb16,
    When your computer is in domain, you are required to enable off-line folders and cache all of the file to your local drive. If you are not, you will get that message.
    Please refer to following articles to try:
    http://technicians-blog.kingcomputer.com.au/windows-7-some-library-features-are-unavailable-due-to-unsupported-library-locations-using-network-drive/
    http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/7abe5e13-b253-4f92-bb62-f022e5f52ab7
    Best regards,
    Karen Hu

  • Detach library using Jdapi

    Hi,
    I am using JDAPI to detach libraries from the forms(10g). I am using the following code to detach library. The system run successfully without error but the libraries were not detached and it is still attached in the forms.
    private static void destroyLibrarys(FormModule formModule){
    JdapiIterator formAttachedLibraries = formModule.getAttachedLibraries();
    while (formAttachedLibraries.hasNext()){
    AttachedLibrary formAttachedLibrary = (AttachedLibrary)formAttachedLibraries.next();
    System.out.println("Library: " + formAttachedLibrary.getName());
    formAttachedLibrary.destroy();
    Has anyone faced such problem and resolved it? Please help me in this issue.
    Regds,
    Nandakumar

    Hi Nandakumar,
    i faced the same problem and got the following solution, not very pretty but working. First i count the libraries to instantiate a string array, then write the names of the libraries to the array. For each element in the array i refresh the iterator for the AttachedLibraries after destroying one library. I used this method to change the library names to lowercase and to replace some libraries in the migration process.
    The String switchLibrary is of format oldPllName:newPllName, oldPllName:newPllName; you may ignore this.
    * Get a list of all attached libraries
    * Destroy the attached library and attach it again with new name
    * @param fmb - FormModule we are working on
    private void reAttachLibraries(FormModule fmb) {
    writeLogln("");
    writeLogln("Attach libraries");
    String switchLibrary = getMigrationProperties().getProperty("migration.process.plsqllibrary.switch");
    String[] switches = null;
    String[] oldPll = null;
    String[] newPll = null;
    if (!isNullOrEmpty(switchLibrary)) {
    switches = switchLibrary.split(",");
    oldPll = new String[switches.length];
    newPll = new String[switches.length];
    for (int i = 0; i < switches.length; i++) {
    String[] tmpArray = switches[i].split(":");
    oldPll[i] = tmpArray[0].toLowerCase();
    newPll[i] = tmpArray[1].toLowerCase();
    JdapiIterator attLibItr = fmb.getAttachedLibraries();
    int libCounter = 0;
    while (attLibItr.hasNext()) {
    AttachedLibrary lib = (AttachedLibrary)attLibItr.next();
    libCounter++;
    attLibItr = fmb.getAttachedLibraries();
    String[] libNames = new String[libCounter];
    libCounter = 0;
    while (attLibItr.hasNext()) {
    AttachedLibrary lib = (AttachedLibrary)attLibItr.next();
    String attLibName = lib.getName().toLowerCase();
    if (!isNullOrEmpty(switchLibrary)) {
    for (int i = 0; i < oldPll.length; i++) {
    if (attLibName.equals(oldPll[i])) {
    attLibName = newPll[i];
    writeLogln("Library "+oldPll[i]+" replaced with "+attLibName);
    libNames[libCounter] = attLibName;
    libCounter++;
    for (int i = 0; i < libNames.length; i++) {
    attLibItr = fmb.getAttachedLibraries();
    AttachedLibrary lib = (AttachedLibrary)attLibItr.next();
    lib.destroy();
    for (int i = 0; i < libNames.length; i++) {
    AttachedLibrary lib = new AttachedLibrary(fmb, libNames[i]);
    writeLogln("Attached Library: "+libNames[i]);
    regards Perry

  • Using JDAPI to reattach PLL Library/Libraries

    Hi
    I am attempting to change the libraries attached to some forms, to convert the names to lowercase as part of a Unix deployment project.
    I am using the standard code posted on Metalink. The Forms were Designer-generated as Forms 4.5 originally and have been upgraded to Forms 9.0.4.0.19. I am using the JDK in the Developer Suite Oracle Home. The Forms are in a different directory to the Libraries, but all the directories are in the FORMS90_PATH set both in the Registry and as a cmd.exe environment variable.
    I have two problems:
    1) If I attempt to just list the libraries attached to the Form, with something like:
         FormModule fmd;
         fmd=FormModule.open(args[0]);
         System.out.println("Processing module " + fmd.getName() + "...");
         JdapiIterator all_libs = fmd.getAttachedLibraries();
         while (all_libs.hasNext())
              AttachedLibrary lib = (AttachedLibrary)all_libs.next();
              System.out.println("Attached Library = " + lib.getName());
         fmd.destroy();
    This returns:
         Processing module MODULE...
         Attached Library = OFG4TEL
         Attached Library = OFG4MES
         Attached Library = OFG4BSL
         Attached Library = OFGMES
    Unfortunately, I know that there are more libraries than this. The Form is attached to a single module library (called MODULE.pll), which is attached to an application-level library, which is then attached to the Designer-libraries (OFG4*).
    Does anyone know why this code lists the Designer libraries, but not the others?
    If you convert the FMB to XML, it also has only the Designer-libraries, but opening the Form in Form Builder shows the full list.
    2) I attempted to remove all the libraries from the Form by adding a lib.destroy(); into the loop above and a fmd.save(args[0]); after it. When I run this the loop terminates after the first iteration. It doesn't report any errors, but it doesn't actually remove the module library either. It is doing something though, because if you reopen the Form in Form Builder the module and application library attachments have been lost and just the Designer ones remain?
    I don't really want to update all the modules by hand, and any assistance would be greatly appreciated.
    FWIW I also tried converting the FMBs to XML using the IFF2XML90 batch file, and then doing a search & replace on the XML file before converting back into a Form using IFXML2F90.bat. This doesn't work either because it also loses the module and application library attachments as described above, possibly because these batch files are using JDAPI internally and JDAPI doesn't like my Forms!
    Thanks
    Roger

    I sincerely hope that you have found a solution by now....
    It is a strange situation that you describe.
    I think you might have found that the OFG-libraries are actually in a different directory from where you expected them to be found by JDAPI. Have you used lib.getLibraryLocation()?
    The next step would have entail trying to find out where this different path was set, and why JDAPI uses that setting, instead of the settings in registry and batchfile.
    Just some thoughts.
    Greetings!
    Remco

  • Library path problem using JDAPI

    HI,
    Under Windows XP, I am trying to attach library to forms using JDAPI. But the path also gets hardcoded in this case. When I move the forms to Linux and try to open the forms, it says library not found.
    Can anyone help me in this regard ?
    I would highly appreciate immediate help.
    Thanks & Regds,
    Nandakumar

    Its home directory does not contain files .profile,.bashrc,.bash_historySo feel free to create it manually.
    I have added LD_PATH_LIBRARY in file /etc/init.d/oracle-xe This not much well but all work. Of course it didn't help. Because you set it for root (again) and this setting is ignored because su command (in that script) uses oracle's enviroment settings.
    So create .bash_profile in /home/oracle (oracle's home) and set the enviroment in that file.

  • Which is better with a NAS: using Sharing or Library location?

    So I've got my brand new NAS up and running (Netgear ReadyNAS 104).
    It has a Music folder with an iTunes server so I can use it as a Shared Library.
    But I can also point my iTunes to the NAS and use the library directly from the NAS.
    So which is better? Using the NAS as a Shared Library or use the NAS as the primary Library?
    I want multiple devices (primarily Apple devices, but perhaps also a Windows laptop) to be able to use the media.
    What about library management? Like when ripping an audio CD. When I use the NAS as a shared library, do I need to manually copy the CD to the NAS iTunes share and have iTunes re-scan?

    Well... I downloaded LibreOffice and Writer2ePub and openned my Atlantis doc in it and converted to epub file. The good news is it didn't cost a dime.
    The bad news is one image is now tiny which is odd because it was 600 dpi so I would think it could be displayed larger, not smaller but maybe the epub conversion downsizes a higher res image (some are 300dpi).
    The cover image shows up in iBook as a wide and short image. The cover itself is tiny and then it just fills in black for the rest of the screen width. I used a large, high res image.
    Then there was something with the TOC. It created a good TOC but then there's another page with a none hypertext version and a big rectangle error message and the TOC only shows about half of the chapters.
    There was some advice on the internet about centering images in iBook. It seems that iBook doesn't recognize text justification coded in a document. So you have to embed another element on the same line as the image (html stuff) and give it a center alignment tag. I haven't done any html ebook stuff so I may not be explaining that the best way possible.
    So, I'm going to take another look at my iBook Author version and see if I can live with that. If not I'll probably try Pages although I don't know what other problems I'll run into. Fun, fun, fun

  • How To:  Change iTunes media library location/folder

    *PLEASE READ THIS ENTIRE POST BEFORE ATTEMPTING THIS PROCESS. IT’S NOT ROCKET SCIENCE, BUT IT IS FAIRLY INVOLVED AND ENTAILS SOME RISK. THERE ARE SOME WARNINGS AT THE END.*
    ||
    REQUIREMENT
    Move iTunes media (music, videos, podcasts) to another folder and update the iTunes library to reference all the media from that new folder.
    ||
    Example cases: Move iTunes media from C:\ drive to D:\ drive; Change iTunes folder name from Music to Media.
    ||
    Note:
    Special action is only necessary if the +Keep iTunes Media folder organized+ option is not selected. If this option is selected, iTunes will move media to the new location when the +iTunes Media folder location+ is changed. More info can be found here: http://support.apple.com/kb/ht1449
    ||
    ||
    PROBLEM
    When the location of iTunes media files changes (files are moved, folder name/drive letter changes), iTunes cannot automatically locate these files. iTunes entries can be updated to point to the new location one at a time or by deleting all entries and re-adding all files. Updating one at a time is time consuming, and deleting and re-adding causes a large amount of metadata (play count, date added, rating, etc) to be lost.
    ||
    ||
    SOLUTION
    The iTunes library can be exported to an XML file, modified, and re-imported.
    ||
    Process:
    - *Backup the iTunes library data:* Make sure iTunes is closed, and then backup the folder containing all the iTunes library data. This can normally be found in +<user-folder>\My Music\iTunes+ for Windows, or in /Users/<username>/Music/iTunes for Mac. The +iTunes Media+ and +Mobile Applications+ folders can be excluded from the backup since they will not be affected by this process. If this process does not work for some reason and you need to restore the previous state of your iTunes library, you’ll need to use this backup as the source for restoring.
    - *Move iTunes media files to new location:* This may be changing which drive is used to store iTunes media files, renaming a folder, or whatever. This can be done for the whole library or for only part of it.
    - *Export the iTunes library:* In iTunes, select File -> Library -> Export Library... and save the file somewhere for editing (Desktop is a good location).
    - *Open Library.xml in a decent text editor:* Notepad is not recommended, since Library.xml can be very large. Some free options include PSPad, Notepad++, Smultron, and Text Wrangler.
    - *Update Library.xml:* Locate the files that have changed location and update their path accordingly. The XML file has the metadata for each file labeled with XML tags. The file location is denoted by <key>Location</key>. If the whole library is being moved, a find/replace on the whole file is recommended. Once a file is located in Library.xml that needs to be updated, copy the part of the string that has changed starting with <key>Location</key>. Use that as the find parameter, and enter the replace parameter in the same format. Include as much of the string as possible to prevent unintentional replaces. Save and close the file when done.
    - - - Example: Find: <key>Location</key><string>file://localhost/C:/Data/iTunes/
    Replace: <key>Location</key><string>file://localhost/D:/Data/iTunes/
    - - - Note 1: This step may require adjustment to match your situation. You may want to count how many files need to be updated and make sure that the find/replace only changes that many or edit them by hand if the location of all files have not been changed. It shouldn’t be difficult, but it may require some thought.
    - - - Note 2: Music, TV Shows, Movies, and Podcasts are stored in this file, so make sure to account for all media types. If the location of all types didn’t change, the find/replace strings will need to take that into account.
    - *Remove all modified media entries from iTunes:* For any of the files that are being moved, the associated metadata must be removed from iTunes to avoid having duplicates in iTunes. This can be done by selecting all entries in iTunes that will be modified, right-clicking the entries, and choosing “Delete”. After confirming that you want to remove the selected item from your iTunes library, make sure to choose to keep the file in the iTunes Media folder if prompted.
    - *Import Library.xml:* Import the modified Library.xml by selecting File -> Library -> Import Playlist... and selecting the modified Library.xml in the file open dialog that appears. Depending on the size of the iTunes Library, this could take a while (10 minutes or more).
    - *Test results:* Locate a file in iTunes that has been moved, right-click on the file, and choose “Get Info”. The “Location:” field should indicate the new location of the file. Close the Info dialog and try to play the file. If the file plays, the process was successful.
    ||
    ||
    _*DISCLAIMERS/ADDITIONAL NOTES*_
    - I tried this out a couple of times, and it worked fine for me. I can’t guarantee it will work for everyone, but I thought I’d share since I couldn’t find instructions for this situation anywhere else.
    - If the process fails, you SHOULD be able move the iTunes media files back to their old location and restore the backed up iTunes library data to the iTunes folder to restore your previous configuration.
    - I wouldn’t recommend attempting this if you don’t feel comfortable with backing up your iTunes library data and editing the XML file.
    - I don’t know if this process will preserve whether videos and podcasts have been played or if it will preserve the play position where items were last paused.
    - If you are moving all of your iTunes media files, you’ll want to update the “iTunes Media folder location” under the “Advanced” tab in preferences. This appears to be the folder that iTunes will use for some of its basic operations, such as storing synced audio notes, Podcasts, and the “Automatically Add to iTunes” folder.
    - This process duplicates playlists, probably because you are importing your entire library again. I just deleted the duplicates when I was done.

    If all the media is on one drive and you're not letting iTunes manage it then you can achieve the "portable" status simply by moving the library files high enough up the tree, i.e. the root of the drive if necessary, letting iTunes know where the nominal iTunes media folder is and then moving the library to the new drive keeping the relative paths from the library files to each distinct set of media folders unchanged. Personally I don't like iTunes cutting my file & folder names short, but the advantages of a portable library mean that I'm quite happy to organise my media inside the iTunes Media folder, albeit largly on my own terms. Indeed all my non-iTunes multimedia is now also organised in the same folders. The only media files iTunes organises, temporarlily, are rips & downloads apart from active Podcasts whose folder names I leave unchanged. Everything else gets sorted just the way I want it - full length filenames, different character replacements, folder art etc. I used to do it by hand, deleting, tweaking & reimporting, but these days I use a custom script which does it all automatically - renaming files just as I want and reconnecting iTunes to the newly moved file so that no iTunes-only metadata is lost.
    There are similar XML-editing how-tos elsewhere on the web, I just wanted to make the point that there may still sometimes be a way to achieve the desired result which isn't quite as complicated but nevertheless leaves the user fully in control of their file structure.
    Anyway, at least you took the trouble to find a method that works for you first. There are sadly too many tales of woe on these boards from people who've moved all their files around first only to discover that they've broken their libraries and can't work out how to undo the damage.
    tt2

  • Register and unregister locations using ombplus script

    hi
    how to register and unregister the locations using ombplus scripts.
    any help would be appreciated.
    thanks,
    Keka

    The deployment script I have posted previously to copy a project mdl over to a new repository for local deployment includes creating a control center, making it the default for your project, creating the locations, assigning them to the control center, and registering them.
    Re: importing mappings using OMBPLUS
    To unregister a location, first you want to undeploy anything deployed from it to avoid dangling references int he repository, and then unregister the location.
    I do that in the following drop_project script that we use to delete an old copy of the project before importing the new version.
    #get db connection info
    source c:\\omb\\owb_config.tcl
    #get standard library
    source c:\\omb\\omb_library.tcl
    # PVCS Version Information
    #/* $Workfile:   ers_owb_drop_project.tcl  $ $Revision:   2.1  $ */
    #/* $Author:   michael.broughton  $
    #/* $Date:   03 Apr 2008 13:43:02  $ */
    #  Connect to repos
    # Commit anything from previous work, otherwise OMBDISCONNECT will fail out.
    exec_omb OMBCOMMIT
    # If already connected, disconnect first.
    set print [exec_omb OMBDISCONNECT]
      # Test if message is "OMB01001: Not connected to repository." or "Disconnected."
      # any other message is a showstopper!
    if [string match Disconn* $print ]  {
       log_msg LOG "Success Disconnecting from previous repository...."
    } else {
       # We expect an OMB01001 error for trying to disconnect when not connected
       if [string match OMB01001* $print ] {
          log_msg LOG "Disconnect unneccessary. Not currently connected...."
       } else {
          log_msg ERROR "Error Disconnecting from previous repository....Exiting process."
          log_msg ERROR "$print"
          #exit
    set print [exec_omb OMBCONNECT $OWB_DEG_USER/$OWB_DEG_PASS@$OWB_DEG_HOST:$OWB_DEG_PORT:$OWB_DEG_SRVC USE REPOSITORY '$OWB_DEG_REPOS']
    if [omb_error $print] {
        log_msg ERROR "Unable to connect to repository."
        log_msg ERROR "$print" "1"
        log_msg ERROR "Exiting Script.............."
        return
    } else {
        log_msg LOG "Connected to Repository"   
    return
    # Connect to project
    set print [exec_omb OMBCC '$PROJECT_TO_DROP_NAME']
    if [omb_error $print] {
       log_msg LOG "Project $PROJECT_TO_DROP_NAME does not exist. No Cleanup Required...."
       exec_omb OMBDISCONNECT CONTROL_CENTER
       exec_omb OMBDISCONNECT
       return
    } else {
       log_msg LOG "Verified project $PROJECT_TO_DROP_NAME exists"
       exec_omb OMBCC '..'
    # Exporting MDL Backup of Project
    set print [exec_omb OMBEXPORT TO MDL_FILE '$EXPORT_FILE_PATH/$EXPORT_FILE_NAME' FROM PROJECT NAMES '$PROJECT_TO_DROP_NAME' OUTPUT LOG TO '$EXPORT_LOG_PATH/$EXPORT_LOG_NAME' ]
    if [omb_error $print] {
       #We expect to get warnings due to differences in Control center names etc,
       if {[string match OMB05105* $print]} {
          log_msg LOG "MDL File $EXPORT_FILE_NAME exported with warnings"
       } else {
           log_msg ERROR "Unable to import $EXPORT_FILE_PATH/$EXPORT_FILE_NAME. "
           log_msg ERROR "$print"
           log_msg ERROR "Exiting Script.............."
           exec_omb OMBROLLBACK
           return
    } else {
       log_msg LOG "MDL File $EXPORT_FILE_NAME exported with no warnings.............."
    exec_omb OMBCOMMIT
    # Validate to Control Center
    set lst [OMBLIST CONTROL_CENTERS]
    if [string match *$CONTROL_CENTER_NAME* lst] {
       log_msg LOG "Verify Control Center $CONTROL_CENTER_NAME Exists."
       log_msg LOG "Setting Passwords to enable de-registration"
       log_msg LOG "Connecting to Control Center $CONTROL_CENTER_NAME"
       set print [exec_omb OMBCONNECT CONTROL_CENTER USE '$DATA_LOCATION_PASS' ]
       if [omb_error $print] {
          log_msg ERROR "Unable to connect to Control Center $CONTROL_CENTER_NAME"
          log_msg ERROR "$print"
          log_msg ERROR "Exiting Script.............."
          exec_omb OMBROLLBACK
          return
       exec_omb OMBCOMMIT
       log_msg LOG "Deleting Existing Mappings."
       set print [exec_omb OMBALTER LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (PASSWORD) VALUES ('$DATA_LOCATION_PASS')]
       exec_omb OMBCOMMIT
       exec_omb OMBCC '$ORA_MODULE_NAME'
       set mapList [ OMBLIST MAPPINGS ]
       foreach mapName $mapList {
          log_msg LOG "Un-Deploying: $mapName"
          set print [ exec_omb OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN' ADD ACTION 'MAPPING_DEPLOY' SET PROPERTIES (OPERATION) VALUES ('DROP') SET REFERENCE MAPPING '$mapName' ]
          if [omb_error $print] {
             exit_failure "Unable to create Deployment plan for '$mapName'"
          set print [ exec_omb OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN' ]
          if [omb_error $print] {
             exit_failure "Error on execute of Deployment plan for '$mapName'"
          exec_omb OMBDROP DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN'
          exec_omb OMBCOMMIT
      exec_omb OMBCC '..'
      exec_omb OMBCC '..'
       log_msg LOG "Un-Registering Code Location."
       set print [exec_omb OMBUNREGISTER LOCATION '$DATA_LOCATION_NAME']
       if [omb_error $print] {
          log_msg ERROR "Unable to register Location $DATA_LOCATION_NAME"
          log_msg ERROR "$print"
          log_msg ERROR "Exiting Script.............."
          exec_omb OMBROLLBACK
          return
       exec_omb OMBCOMMIT
    } else {
       log_msg LOG "Control Center $CONTROL_CENTER_NAME does not exist - unable to de-register locations."
    # Dropping project
    exec_omb OMBDISCONNECT CONTROL_CENTER
    log_msg LOG "Renaming project $PROJECT_TO_DROP_NAME to $PROJECT_TO_DROP_NEWNAME ...."
    set print [exec_omb OMBALTER PROJECT '$PROJECT_TO_DROP_NAME' RENAME TO '$PROJECT_TO_DROP_NEWNAME']
    if [omb_error $print] {
       log_msg LOG "Failed to drop project $PROJECT_TO_DROP_NAME...."
       log_msg ERROR "$print"
       log_msg ERROR "Exiting Script.............."
    exec_omb OMBDISCONNECTThis script uses the same config and library file given in the other post that I pointed you towards. That is where you will find the definition for exec_omb, for example which is simply a wrapper for OMB+ calls
    Now, note that I don't un-deploy any tables, views, sequences etc. We use Designer as our location of record for the data model metadata so our OWB project never deploys any object metadata except for mappings. Your setup may be different, still this should point you in the right direction.
    Cheers,
    Mike

  • Cannot publish Excel workbook to Sharepoint 2010 : "You can't open this location using this program. Please try a different location"

    I am trying to save an Excel 2010 file to a Sahrepoint 2010 document library but keep getting the error:
    "You can't open this location using this program. Please try a different location"
    Googling this suggests enabling "Desktop Experience" on the server which I have done. Excel Services Application is Started.
    Has anyone come across this and been able to resolve successfully? I am wondering if this is more security related but the security set-up looks fine.
    Any suggestions?
    Thanks

    Hi Sally, thanks for the response.  Problem is the issue occurs with all users not just me.
    On the server-side do you know if the full Office installation must exist for this to work?
    The reason I think it may be security related in some way is that on another server we can access one site collection but not another.  The first site collection shows the various libraries available and the other gives the same error: "You
    can't open this location using this program. Please try a different location".  
    It's proving to be very frustrating!

  • How do I stop Itunes from changing my library location

    Is there just no answer to what should be a simple setting change?? No matter what I do, Itunes insists on changing my library location the instant there's any problem talking to my network share where all of my music is. This is absolutely ridiculous because this is on a laptop and there are times when the network connection is just not up yet, or whatever. Then it takes 10 minutes for me to change it back and let it figure everything out again. Has anyone ever been able to resolve this? I'd rather Itunes just return an error that tells me it can't read my library than to change it on me....

    Have struggled with this issue in the past. In my experience, there is no simple, painless solution. I attempted to transfer my entire internal drive to my new external where there were copies of all the songs in place. Check to see how your library is organized on your network drive. Is it by media content (e.g. separate folders within /users/music/itunes/ folder such as Music, TV Shows, Movies, etc.)? Or are the various media types all lumped within a single iTunes Music Folder? If there is a discrepancy between your internal and external Library configurations iTunes struggles to cope. Can't say why this is  the case, but I found that the only solution was to throoughly uninstall itunes via terminal (or using an app such as 'Amnesia'), reinstalling iTunes, and creating the library from scratch using files that are located on the external/network drive. I'm a moderately savvy programmer and I couldn't for the life of me get iTunes to build my library from an XML playlist that I modified to reflect the changed directory location of the new library on  my external, but if you are more competent and patient than I am I'm convinced that the proper alteration of the Master library build would result in a seamless relocating of you media library as far as itunes is concerned. One last thing, make sure you click the 'I'll Add files myself later' option if you do choose to reinstall itunes just to cover your bases. sorry i can't give you a more helpful response--iTunes is a cruel mistress sometimes.
    but: Used to introduce something contrasting with what has already been mentioned
    More »

  • Can't change itunes library location to external hard drive

    I did have my itunes library location set to an external disk (my time capsule) and this worked great with my macbook pro. However, the macbook pro "died" last week and now I'm trying to set my new replacement imac itunes library to also be the external hard drive. 
    The advance tab on itunes preferences indicates that library location is set as requested however, I can't see any of my music in my itunes window.
    I could of course just copy my music on to my new computer but that'll take ages and I'd rather keep it on the time capsule.
    Many thanks
    Anna

    So the additional step  need to do was make sure the copy files to itunes media folder is unchecked and the go to itunes>files>add to library then select my itunes music folder in my itunes location on the time capsule. Done!
    Answer was found here http://www.macworld.com/article/46248/2005/08/shiftitunes.html

  • How to add Software Library Location in OEM 11g to facilitate patching.

    Hi,
    I'd like to use patching deployment to patch a gold copy oracle home, that is not being actively used.
    I'm tryingt to configure the deployment setup and on the screen where it says.
    Information
    You are adding a Software Library location for the first time. Provisioning Archive (PAR) files in the directories $OMS_ORACLE_HOME/sysman/prov/paf and $OMS_ORACLE_HOME/sysman/admin/deploymentprocedures will be uploaded.
    Add a new Software Library by specifying directory location. In case of multiple Oracle Management Service (OMS) setup, specify normal preferred credentials for each host running OMS.
         * Software Library Directory Location      
    when I enter a location , e.g
    /oracleinstall/software/oemsoftwarelib
    whos persmissions are as follows
    drwx------ 2 oracle oinstall 4096 Feb 23 12:25 oemsoftwarelib
    I get just get the following
    Internal Error has occurred. Check the log file for details.
    does anybody know what the problem might be and which log exactly to look in?
    thanks

    Hi,
    You should look at OMS log/trace files in the .../gc_inst/em/EMGC_OMS<n>/sysman/log directory to get clues on the error.
    Check Support Note 1156825.1, which documents a similar symptom.
    Note that in a multi-OMS environment, the software library location must be readable and writable from all OMS hosts.
    Regards,
    - Loc

  • Changed library location

    I'd like to start by saying that finding an answer to a simple question, something that should have been intuitive and simple to figure out, is, and always has been a struggle here at Apple.com.
    My question: I have moved to a new location and no longer have a desktop computer with attached storage for my libraries (that was a Win 7 machine). I am now using network attached storage for my libraries and files, the same structure (basically copies) as before except NAS now.
    Every file in itunes points to the old desktop computer, how do I clear all references to that computer? I have changed the library location in preferences to point  to the new volume.
    I'm tired of searching and going around in circles for something that should have been in the application help file.
    When I get this figured out will I have to spend days removing duplicates?
    I have a large music library, years ago when I bought new drives I went through this and it took nearly 2 days for iTunes to go through the entire library. And yep, I've now forgot how to do it. It took days on the internet to figure that one out as I recall too.
    Please help!
    MacBook Pro
    15 inch late 2007
    4 GB
    OS x Lion 10.7.5
    iTunes 11.0.3
    Maxtor Central Axis NAS drives
    Library
    //volumes/public/music/mp3
    Thanks in advance,
    Bob

    Take a look at this link for moving your files (did you follow these steps) http://support.apple.com/kb/HT1364
    Also take a look at this link, the important note is if you click the button to keep iTunes media organized http://www.tuaw.com/2012/12/26/how-to-move-your-itunes-library-to-a-nas/

  • IPhoto library Location Question

    Hello Apple Discussion wizards, though this is my first post, i've used this forum extensively and you have all helped me with many problems.
    Anyway, old macbook was killed by humidity, currently on new imac.
    old iphoto library was recovered and loaded to an external. my new iphoto library had around 300 pics, old one had around 12000, all organized by albums and such, so naturally i wanted to move the new iphoto library photos into my old one, and make my old library the default on my new computer.
    essentially, i dragged the files from my old iphoto onto the desktop, held option while i opened iphoto, seleected the old library, then dragged the 300 pics into it.
    now, currently iphoto opens with all my pics. the library location is
    /Users/claycohen/Pictures/iPhotoLibrary1
    everything seems cool, but im worried about the location/permissions of the library
    for example, if i go to change my desktop photo in system prefs, when i browse finder, my iPhotoLibrary1 is greyed out and cant be selected.
    MAIN QUESTION:
    Is there a way to reset my current library to factory location and settings but keep all my albums/photos etc?
    thanks for your help everyone, if that didn't make sense i can try to re explain. to quote thom yorke - i just want "everything in its right place"

    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to check and repair Library permissions.
    Regards
    TD

  • Why does my Music Library Location Keep Reverting to Unwanted Location?

    I recently switched from PC to Mac. My music library is now located on an external HD connected to my Airport Extreme Base Station.
    I've noticed that at random times the location of my music library changes from the external HD to my iTunes Music folder located on my C: drive. I reset the location back to the external HD, I'm prompted to move the files etc. and all is well for a while.
    Keeping an eye on the music library location in the configuration settings, I'll notice the location will switch back to the C: drive for what seems to be no apparent reason. I have all the settings checked regarding Keep Music folder organized, Copy files to iTunes Music folder etc.
    The only thing I've done out of the ordinary recently was point my music library path to a DIFFERENT HD. I have an exact copy of my entire music library on a second HD which I use when I go out of town and can not access my primary music library. When I got home I pointed the library path back to my original HD.
    It works fine for a day or so, but as I mentioned, it seems to randomly switch to my C: drive. Does anyone have any thoughts on what I'm doing, or did, that is causing this?
    Thanks !
    Chuck

    ChuckLD wrote:
    Thanks for the quick reply... Old habbits die hard when you're a life long PC user :- ) When I was refering to the C: drive, I actually meant my MacBook internal hard drive. I'm using OS X 10.5.2.
    No worries. It's just sometimes people don't say what they mean or mean what they think they mean and it can slow down the process. Of course, sometimes I just don't read what people actually wrote.
    I keep my external hard drive connected via the Airport Extreme Base Station, and always keep it connected ( in other words, I see it in the Finder SideBar, and it always says connected ).
    Hmm. That should mean it's "mounted". However, I do have some vague recollection that using an Airport disk was problematic. However, the articles I read on that were back when the Airport Extreme first debuted. I'm not as conversant with using Airport disks as I just use an external USB drive connected to my MacBook. Sorry I don't have more wisdom...

Maybe you are looking for