Loading the correct parser

I have a web service that parses some XML and takes advantage of some features new to java 1.5. My problem is when I deploy the service to axis, tomcat wants to use the xerces parser which will throw a java.lang.reflect.InvocationTargetException. If I remove the -Djava.endorsed.dirs option from the tomcat script, my service will work just fine but this obviously breaks other things that depend on the libraries in the endorsed dir (even though those same libs are available in the classpath). My question is what can I put in my code to tell the jvm to use the native xml parsers and not the apache parsers? Thanks!
--Brice                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

I solved this problem by removing the -Djava.endorsed.dir options from catalina.sh and added xercesImpl.jar and xml-apis.jar to the CLASSPATH variable in catalina.sh. Putting xercesImpl.jar and xml-apis.jar in common/lib or shared/lib doesn't work, you will still get 'no class def found'. It would still be nice to know how to do this in my code instead of messing with tomcat.

Similar Messages

  • I cant up load the correct size image for my cover

    I cant up load the correct size image for my cover...please help

    Hello tiffgill,
    I recommend reviewing the following guidelines for page images for iTunes U:
    When creating your provider art for your iTunes 11 and iOS 6 or later provider page, keep the following in mind:
    Only submit artwork you can legally share.
    Provider art must be JPEG or PNG with appropriate file extensions (.jpg, .png).
    iTunes U Public Site Manager only supports RGB color profiles.
    Artwork must be at least 3200 pixels in width and 600 pixels in height with a minimum resolution of 72 dpi, with a maximum file size of 5MB.
    You can upload a single piece of art that iTunes U Public Site Manager can use across all platforms and devices (see sample below). If you upload a single piece of art you must also:
    Make sure that any text or logo is in the center of the artwork, in the Text/Logo Safe Area.
    The Minimum View is 994 x 600 pixels. Texts or logos should not exceed the Minimum View of 994 pixels and should not exceed 400 pixels in height.
    Ensure that you do not include any text or logos in the Tag Area, as this area is needed for iTunes-related tags. The Tag Area is part of the Minimum View and 200 pixels in height from bottom of the artwork.
    For more information and the iTunes Design Specifications, see https://itunesconnect.apple.com/itc/docs/itunes-design-specs.html.
    You can find the full article here:
    Understanding provider page image guidelines
    http://sitemanager.itunes.apple.com/help/AboutYourProviderPage/chapter_5_section _3.html#//apple_ref/doc/uid/iTUPSM-CH5-SW2
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Premiere Pro Refuses to Load the Correct Clip.

    Oh man, Premiere has been hosing my projects with extreme prejudice and causing me to seriously question my sanity.
    Here's what's going on.
    I open an existing project and scrub through a sequence only to find that certain clips in the sequence seem to be random crap from other clips and not what I'd put there originally...
    After closer inspection I've learned that what's actually happening is PPro is for some reason loading the wrong clips.
    For example if I go to my video directory in Windows Explorer I can see by the thumbnail that the clips 00026.MTS and 00027.MTS are clearly different videos. I can futher confirm this by opening and playing them in windows media player.
    PPro Refuses to believe it, however. It will allow me to import them and show them as two seperate files. But both clips in premiere show a thumbnail from 00026.MTS. And in both the preview, and sequence views it shows the video from 00026.MTS regardless of which I use. As far as it's concerned those two are the same video 00026.MTS.
    I've tried rebooting.
    I've tried running chkdsk (found no errors).
    I've tried moving all the projects to a brand new drive.
    I've tried deleteting my Media Cache and Media DB.
    I've tried making the video offline then re-linking to it.
    I've tried right clicking and replacing the media.
    I've tried creating a brand new project and importing just the problem clips.
    I've tried enabling and disabling GPU Accelerated Playback.
    I've even tried unstalling and re-installing CS5.
    I've tried going back to CS4 (I was running CS4 for a year, as I upgraded my projects I saved seperate CS4 & CS5 versions of each) Both projects are hosed in both applications.
    I've pulled older versions of the projects from backup (that I know for a fact were good) and they open hosed as well.
    I have found no way to resolve the issue.
    I have 3 other projects exhibiting similar behavior with other clips. It's ruined any chance I have at re-rendering previous projects and stopped cold some of my new ones.
    Bonus. It's driving me insane.
    Is any one else experiencing this? Is there anything I can do? :-(

    Jim> Looking at the file sizes in explorer you appear to be correct! All files that trigger weirdness are 1.9 gb exactly in size with the clip following being much shorter.
    Stripping away the camera metadata will allow me to preserve my previous projects as they are.
    But for current and future projects I definitely will be using the Media browser as my method of import as Jeff suggests. Allowing me to keep the camera metadata and not have my projects magically fall apart at a future date. :-)
    Makes one wonder why right-click importing of MTS files is allowed at all when camera metadata is present.
    I certainly had no idea I was doing anything wrong until several months later when projects I'd long since completed were (until now) inexplicably busted.
    Thanks guys. Never thought I'd say this but I miss tape.

  • Loading the correct constructor from an init file...

    by reading lines like that:
    Apple 10 rgb000100255
    Apple 20 rgb255150255
    from an "init.txt" file
    but i get an IllegalArgumentException
    when it tries to find the correct constructor based
    on the paramTypes array, which contains the
    types of the parameters of the appropriate constructor
    it seems that the error has to do with the unwrapping
    of the class of the primitive types(Integer class in
    my program)
    any suggestion is welcome,
    thanks
    here's the complete code,
    feel free to try it
    (don't forget the "init.txt" file)
    import java.io.*;
    import java.util.*;
    import java.awt.*;
    import java.lang.reflect.*;
    class FruitMgr
         ArrayList fruits;
         public
         FruitMgr(String name)
              fruits = new ArrayList(4);
              InitFileLoader init = new InitFileLoader("init.txt");
              init.load();
              init.close();
              return;
         public String
         toString()
              String str = "";
              for(int i = 0; i < fruits.size(); i++)
                   str += fruits.get(i) + "\n";
              return str;
         private class InitFileLoader
              private String filename;
              private BufferedReader br;
              private String line;
              private int linenumber;
              private char separator;
              private boolean eof;
              private Class clazz;
              private Class[] paramTypes;
              private Object[] initArgs;
              public
              InitFileLoader(String name)
                   filename = name;
                   separator = ' ';
                   linenumber = 0;
                   eof = true;
                   try
                        br = new BufferedReader(new FileReader(filename));
                        eof = false;
                   catch(IOException e)
                        error("Opening file \"" + filename + "\"");
                   /*getLine();
                   while(!eof)
                        System.out.println(line);
                        String s;
                        while((s = getNextWord()) != "")
                             System.out.println("*" + s);
                        getLine();
                   return;
              public void
              getLine()
                   try
                        line = br.readLine();
                   catch(IOException e)
                        error("Couldn't read line " + linenumber + " of file \"" + filename + "\"");
                   if(line != null )
                        eof = false;
                        linenumber++;
                   else
                        eof = true;
                   return;
              public String
              getNextWord()
                   String word;
                   if(line.indexOf(separator) != -1)
                        word = line.substring(0, line.indexOf(separator));
                        line = line.substring(line.indexOf(separator) + 1);
                        return word;
                   else if(line.indexOf(separator) == -1 && line != "")
                        word = line;
                        line = "";
                        return word;
                   else
                        return "";
              public int
              getNumberOfArgs()
                   int numOfArgs = 0;
                   for(int i = 0; i < line.length(); i++ )
                        if(line.charAt(i) == separator)
                             numOfArgs++;
                   return numOfArgs;
              public void
              load()
                   getLine();
                   int numOfArgs = getNumberOfArgs();
                   while(!eof)
                        System.out.println(line);
                        String clazzname = getNextWord();
                        try
                             clazz = Class.forName(clazzname);
                        catch(ClassNotFoundException e)
                             error("Class " + clazzname + " not found");
                        initArgs = new Object[numOfArgs];
                        paramTypes = new Class[numOfArgs];
                        int j = 0;
                        String arg;
                        while((arg = getNextWord()) != "")
                             //System.out.println("*" + arg);
                             if(Character.isDigit(arg.charAt(0)))
                                  int n = Integer.parseInt(arg);
                                  initArgs[j] = new Integer(n);
                                  paramTypes[j] = initArgs[j].getClass();
                                  System.out.println("+++" + paramTypes[j]);
                                  j++;
                             else if(arg.startsWith("rgb"))
                                  int len = 3;
                                  arg = arg.substring(len, arg.length());
                                  int red = Integer.parseInt(arg.substring(0, len));
                                  arg = arg.substring(len, arg.length());
                                  int green = Integer.parseInt(arg.substring(0, len));
                                  arg = arg.substring(len, arg.length());
                                  int blue = Integer.parseInt(arg.substring(0, len));
                                  initArgs[j] = new Color(red, green, blue);
                                  paramTypes[j] = initArgs[j].getClass();
                                  System.out.println("+++" + paramTypes[j]);
                                  j++;
                        try
                             Constructor con[] = clazz.getConstructors();
                             for(int i = 0; i < Array.getLength(paramTypes); i++)
                                  System.out.println("****" + paramTypes);
                             for( int k = 0; k < Array.getLength((Object)con); k++ )
                                  Object o = con[2].newInstance(initArgs);
                                  System.out.println("****" + o);
                                  fruits.add(o);
                             /* preferred way */
                             /*Constructor con = clazz.getConstructor(paramTypes);
                             Object o = con.newInstance(initArgs);
                             System.out.println("****" + o);
                             fruits.add(o);*/
                        catch(InstantiationException e)
                             error("Instantiation");
                        catch(IllegalAccessException e)
                             error("IllegalAccess");
                        catch(IllegalArgumentException e)
                             error("IllegalArgument");
                        catch(InvocationTargetException e)
                             error("InvocationTarget");
                        /*catch(NoSuchMethodException e)
                             error("NoSuchMethod");
                        initArgs = null;
                        paramTypes = null;
                        getLine();
                   return;
              public void
              close()
                   try
                        br.close();
                   catch(IOException e)
                        error("Closing file \"" + filename + "\"");
                   return;
              private void
              error(String message)
                   System.err.println("Exception occured : " + message);
                   return;
    class Fruit
         String name;
         int weight;
         public
         Fruit()
              name = "Fruit";
              weight = 1;
              return;
         public
         Fruit(int kilos)
              this();
              weight = kilos;
              return;
         public int
         getWeight()
              return weight;
         public String
         toString()
              return name + " " + weight;
    class Apple extends Fruit
         Color col;
         public
         Apple()
              super();
              name = "Apple";
              col = Color.red;
         public
         Apple(Color c)
              super();
              name = "Apple";
              col = c;
         public
         Apple(int kilos, Color c)
              super(kilos);
              name = "Apple";
              col = c;
         public Color
         getColor()
              return col;
         public String
         toString()
              return name + " " + weight + " " + col;
    class Foo
         public static void main( String[] args )
              FruitMgr fmgr2 = new FruitMgr("init.txt");
              /*Apple a = new Apple();
              Constructor cc[] = a.getClass().getConstructors();
              for(int i = 0; i < Array.getLength(cc); i++)
                   Class c[] = cc[i].getParameterTypes();
                   System.out.println(cc[i]);
                   for(int j = 0; j < Array.getLength(c); j++)
                        System.out.println("\t" + c[j]);
              return;

    http://www.adtmag.com/java/article.asp?id=4276&mon=8&yr=2001

  • Plug-in not loading the correct library

    Hello,
    I am writing a plug-in for a program and I am using eclipse as an ide. My plug-in uses other .jar files as extra libraries and 1 of those libraries is also used by the program I am writing the plug-in for. The difference is that I am using a newer version of that library. When I run the plug-in inside eclipse I have no problem what so ever, but when I create a .jar file (using the fatJar plug-in for eclipse (http://fjep.sourceforge.net/) )of my plug-in with all the libraries (.jar files) inside of that jar file I get a java.lang.NoClassDefFoundError. Because I only get an error with that class I thought the plug-in was loading the wrong library (I think it was loading the library of the main program and not the library I have added to the jar file.)To do some testing i set the classpath in the manifest to point to where my main jar file is, but that didn�t work. Does anyone know how to resolve this problem ?

    It appears to be unsupported - but I don't know why. Generally when this happens it's because the person who coded it was rather sloppy with the code somewhere. Generally you can get away with some shortcuts (apparently...) when writing VST's, but there are a few apps that are absolute sticklers for obeying the rules to the letter - and Audition is notoriously one of them. So if some from the site work, and others don't, then perhaps asking the creator of them might get you somewhere...

  • Setting up boot WIM... but having trouble setting up the correct NIC driver

    I'm trying to setup a network boot with Windows Deployment Services. Pretty straightforward (http://technet.microsoft.com/en-us/library/cc766320.aspx). Problem though is the OOTB Vista & Win2k8 boot.wim file don't include the necessary driver for the NIC card (Intel 82567LM Gigabit NIC). So I'm following these steps outlined here in the MSFT KB (http://support.microsoft.com/kb/923834) but seems I'm not loading the correct driver. I looked in my w500 Vista x64 install that has a working NIC to get the working NIC INF file, but that didn't work. Anyone successfully done this? I'm sure some of the bigger organizations have... just having trouble creating a boot.wim (or modifying the one I've got) to add the correct NIC driver to continue with a PXE boot.
    AC
    ============
    ThinkPad w520 | Intel i7 2.5Ghz | 2x 512GB Crucial SSD | 16GB | NVIDIA GeForce Quadro 2000M 2GB | 6.9 Windows Exp Index
    Ultrabay DVD + modular Ultrabay 256GB Crucial SSD SATA
    Win7 Ultimate x64 | Windows Server 2008 R2 | Win8 Release Preview
    ThinkPad x200s | Core2 Duo 1.86 | 256GB Crucial SSD | 4GB | Intel Mobile Chipset Video | 3.4 Windows Exp. Index
    Win7 Ultimate x64 | Windows Server 2008 R2

    Thanks... I got that far as the boot loader is x86... but I'm trying to figure out which specific INF rather than load all of them as its a manual process.
    AC
    ============
    ThinkPad w520 | Intel i7 2.5Ghz | 2x 512GB Crucial SSD | 16GB | NVIDIA GeForce Quadro 2000M 2GB | 6.9 Windows Exp Index
    Ultrabay DVD + modular Ultrabay 256GB Crucial SSD SATA
    Win7 Ultimate x64 | Windows Server 2008 R2 | Win8 Release Preview
    ThinkPad x200s | Core2 Duo 1.86 | 256GB Crucial SSD | 4GB | Intel Mobile Chipset Video | 3.4 Windows Exp. Index
    Win7 Ultimate x64 | Windows Server 2008 R2

  • [Solved] Problem with Xorg, unable to load the right keymap

    Hi, people,
    I recently installed arch on a desktop, but there is a problem installing X: for whatever reason, Xorg seems unable to load the correct keymap (fr-latin9) and instead, loads the default one.
    I can see what seems to be the problem in the Xorg logs, but I actually absolutely don't know how to solve it. Here my /var/log/Xorg.0.log
    root@kgentoo keikoz # cat /mnt/tmp/var/log/Xorg.0.log
    [ 9.900]
    X.Org X Server 1.12.4
    Release Date: 2012-08-27
    [ 9.900] X Protocol Version 11, Revision 0
    [ 9.900] Build Operating System: Linux 3.4.8-1-ARCH x86_64
    [ 9.900] Current Operating System: Linux kdesktop 3.4.9-1-ARCH #1 SMP PREEMPT Wed Aug 15 18:59:31 CEST 2012 x86_64
    [ 9.901] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=7d2d3ed4-6903-4845-b70d-9462f52f4329 ro quiet
    [ 9.901] Build Date: 27 August 2012 08:04:39AM
    [ 9.901]
    [ 9.901] Current version of pixman: 0.26.2
    [ 9.901] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 9.901] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 9.901] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Sep 26 16:32:35 2012
    [ 9.950] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 9.967] (==) No Layout section. Using the first Screen section.
    [ 9.967] (==) No screen section available. Using defaults.
    [ 9.967] (**) |-->Screen "Default Screen Section" (0)
    [ 9.967] (**) | |-->Monitor "<default monitor>"
    [ 9.969] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 9.969] (==) Automatically adding devices
    [ 9.969] (==) Automatically enabling devices
    [ 10.002] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 10.002] Entry deleted from font path.
    [ 10.006] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 10.007] Entry deleted from font path.
    [ 10.007] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 10.007] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 10.007] Entry deleted from font path.
    [ 10.007] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 10.007] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/
    [ 10.007] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 10.007] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 10.007] (II) Loader magic: 0x7c8b00
    [ 10.007] (II) Module ABI versions:
    [ 10.007] X.Org ANSI C Emulation: 0.4
    [ 10.007] X.Org Video Driver: 12.1
    [ 10.007] X.Org XInput driver : 16.0
    [ 10.007] X.Org Server Extension : 6.0
    [ 10.008] (--) PCI:*(0:3:0:0) 10de:0141:107d:200d rev 162, Mem @ 0xcc000000/67108864, 0xd0000000/268435456, 0xcb000000/16777216, BIOS @ 0x????????/131072
    [ 10.008] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 10.008] (II) LoadModule: "extmod"
    [ 10.018] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 10.033] (II) Module extmod: vendor="X.Org Foundation"
    [ 10.033] compiled for 1.12.4, module version = 1.0.0
    [ 10.033] Module class: X.Org Server Extension
    [ 10.033] ABI class: X.Org Server Extension, version 6.0
    [ 10.033] (II) Loading extension MIT-SCREEN-SAVER
    [ 10.033] (II) Loading extension XFree86-VidModeExtension
    [ 10.033] (II) Loading extension XFree86-DGA
    [ 10.033] (II) Loading extension DPMS
    [ 10.033] (II) Loading extension XVideo
    [ 10.033] (II) Loading extension XVideo-MotionCompensation
    [ 10.033] (II) Loading extension X-Resource
    [ 10.033] (II) LoadModule: "dbe"
    [ 10.033] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 10.034] (II) Module dbe: vendor="X.Org Foundation"
    [ 10.034] compiled for 1.12.4, module version = 1.0.0
    [ 10.034] Module class: X.Org Server Extension
    [ 10.034] ABI class: X.Org Server Extension, version 6.0
    [ 10.034] (II) Loading extension DOUBLE-BUFFER
    [ 10.034] (II) LoadModule: "glx"
    [ 10.034] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 11.016] (II) Module glx: vendor="NVIDIA Corporation"
    [ 11.016] compiled for 4.0.2, module version = 1.0.0
    [ 11.016] Module class: X.Org Server Extension
    [ 11.016] (II) NVIDIA GLX Module 304.37 Wed Aug 8 20:16:03 PDT 2012
    [ 11.016] (II) Loading extension GLX
    [ 11.016] (II) LoadModule: "record"
    [ 11.016] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 11.026] (II) Module record: vendor="X.Org Foundation"
    [ 11.026] compiled for 1.12.4, module version = 1.13.0
    [ 11.026] Module class: X.Org Server Extension
    [ 11.026] ABI class: X.Org Server Extension, version 6.0
    [ 11.026] (II) Loading extension RECORD
    [ 11.026] (II) LoadModule: "dri"
    [ 11.026] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 11.049] (II) Module dri: vendor="X.Org Foundation"
    [ 11.049] compiled for 1.12.4, module version = 1.0.0
    [ 11.049] ABI class: X.Org Server Extension, version 6.0
    [ 11.049] (II) Loading extension XFree86-DRI
    [ 11.049] (II) LoadModule: "dri2"
    [ 11.050] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 11.050] (II) Module dri2: vendor="X.Org Foundation"
    [ 11.050] compiled for 1.12.4, module version = 1.2.0
    [ 11.050] ABI class: X.Org Server Extension, version 6.0
    [ 11.050] (II) Loading extension DRI2
    [ 11.051] (==) Matched nouveau as autoconfigured driver 0
    [ 11.051] (==) Matched nvidia as autoconfigured driver 1
    [ 11.051] (==) Matched nv as autoconfigured driver 2
    [ 11.051] (==) Matched vesa as autoconfigured driver 3
    [ 11.051] (==) Matched fbdev as autoconfigured driver 4
    [ 11.051] (==) Assigned the driver to the xf86ConfigLayout
    [ 11.051] (II) LoadModule: "nouveau"
    [ 11.059] (WW) Warning, couldn't open module nouveau
    [ 11.059] (II) UnloadModule: "nouveau"
    [ 11.059] (II) Unloading nouveau
    [ 11.059] (EE) Failed to load module "nouveau" (module does not exist, 0)
    [ 11.059] (II) LoadModule: "nvidia"
    [ 11.060] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 11.274] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 11.274] compiled for 4.0.2, module version = 1.0.0
    [ 11.274] Module class: X.Org Video Driver
    [ 11.300] (II) LoadModule: "nv"
    [ 11.301] (WW) Warning, couldn't open module nv
    [ 11.301] (II) UnloadModule: "nv"
    [ 11.301] (II) Unloading nv
    [ 11.301] (EE) Failed to load module "nv" (module does not exist, 0)
    [ 11.301] (II) LoadModule: "vesa"
    [ 11.301] (WW) Warning, couldn't open module vesa
    [ 11.301] (II) UnloadModule: "vesa"
    [ 11.301] (II) Unloading vesa
    [ 11.301] (EE) Failed to load module "vesa" (module does not exist, 0)
    [ 11.301] (II) LoadModule: "fbdev"
    [ 11.302] (WW) Warning, couldn't open module fbdev
    [ 11.302] (II) UnloadModule: "fbdev"
    [ 11.302] (II) Unloading fbdev
    [ 11.302] (EE) Failed to load module "fbdev" (module does not exist, 0)
    [ 11.302] (II) NVIDIA dlloader X Driver 304.37 Wed Aug 8 19:54:47 PDT 2012
    [ 11.302] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 11.303] (++) using VT number 7
    [ 11.317] (II) Loading sub module "fb"
    [ 11.317] (II) LoadModule: "fb"
    [ 11.317] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 11.330] (II) Module fb: vendor="X.Org Foundation"
    [ 11.330] compiled for 1.12.4, module version = 1.0.0
    [ 11.330] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 11.330] (II) Loading sub module "wfb"
    [ 11.330] (II) LoadModule: "wfb"
    [ 11.331] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 11.347] (II) Module wfb: vendor="X.Org Foundation"
    [ 11.347] compiled for 1.12.4, module version = 1.0.0
    [ 11.347] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 11.347] (II) Loading sub module "ramdac"
    [ 11.347] (II) LoadModule: "ramdac"
    [ 11.347] (II) Module "ramdac" already built-in
    [ 11.366] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 11.366] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
    [ 11.366] (==) NVIDIA(0): RGB weight 888
    [ 11.366] (==) NVIDIA(0): Default visual is TrueColor
    [ 11.366] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 11.367] (**) NVIDIA(0): Enabling 2D acceleration
    [ 13.308] (II) NVIDIA(GPU-0): Display (BenQ FP93GX (DFP-0)) does not support NVIDIA 3D
    [ 13.308] (II) NVIDIA(GPU-0): Vision stereo.
    [ 13.311] (II) NVIDIA(0): NVIDIA GPU GeForce 6600 (NV43) at PCI:3:0:0 (GPU-0)
    [ 13.312] (--) NVIDIA(0): Memory: 262144 kBytes
    [ 13.312] (--) NVIDIA(0): VideoBIOS: 05.43.02.64.68
    [ 13.312] (II) NVIDIA(0): Detected PCI Express Link width: 16X
    [ 13.312] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
    [ 13.312] (--) NVIDIA(0): Valid display device(s) on GeForce 6600 at PCI:3:0:0
    [ 13.312] (--) NVIDIA(0): CRT-0
    [ 13.312] (--) NVIDIA(0): CRT-1
    [ 13.312] (--) NVIDIA(0): TV-0
    [ 13.312] (--) NVIDIA(0): BenQ FP93GX (DFP-0) (connected)
    [ 13.312] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
    [ 13.312] (--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
    [ 13.312] (--) NVIDIA(0): TV-0: 400.0 MHz maximum pixel clock
    [ 13.312] (--) NVIDIA(0): TV encoder: (null)
    [ 13.312] (--) NVIDIA(0): BenQ FP93GX (DFP-0): 155.0 MHz maximum pixel clock
    [ 13.312] (--) NVIDIA(0): BenQ FP93GX (DFP-0): Internal Single Link TMDS
    [ 13.312] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
    [ 13.312] (**) NVIDIA(0): device BenQ FP93GX (DFP-0) (Using EDID frequencies has
    [ 13.312] (**) NVIDIA(0): been enabled on all display devices.)
    [ 13.312] (==) NVIDIA(0):
    [ 13.312] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
    [ 13.312] (==) NVIDIA(0): will be used as the requested mode.
    [ 13.312] (==) NVIDIA(0):
    [ 13.312] (II) NVIDIA(0): Validated MetaModes:
    [ 13.313] (II) NVIDIA(0): "DFP-0:nvidia-auto-select"
    [ 13.313] (II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
    [ 13.314] (WW) NVIDIA(0): Unable to support custom viewPortOut 1280 x 720 +0 +152
    [ 13.328] (--) NVIDIA(0): DPI set to (85, 86); computed from "UseEdidDpi" X config
    [ 13.328] (--) NVIDIA(0): option
    [ 13.328] (--) Depth 24 pixmap format is 32 bpp
    [ 13.338] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
    [ 13.338] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
    [ 13.338] (II) NVIDIA(0): configuration option may not be set correctly. When the
    [ 13.338] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
    [ 13.338] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
    [ 13.338] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
    [ 13.338] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
    [ 13.338] (II) NVIDIA(0): Config Options in the README.
    [ 13.338] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
    [ 13.486] (II) Loading extension NV-GLX
    [ 13.541] (==) NVIDIA(0): Disabling shared memory pixmaps
    [ 13.541] (==) NVIDIA(0): Backing store disabled
    [ 13.541] (==) NVIDIA(0): Silken mouse enabled
    [ 13.541] (==) NVIDIA(0): DPMS enabled
    [ 13.542] (II) Loading extension NV-CONTROL
    [ 13.542] (II) Loading extension XINERAMA
    [ 13.542] (II) Loading sub module "dri2"
    [ 13.542] (II) LoadModule: "dri2"
    [ 13.542] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 13.542] (II) Module dri2: vendor="X.Org Foundation"
    [ 13.542] compiled for 1.12.4, module version = 1.2.0
    [ 13.542] ABI class: X.Org Server Extension, version 6.0
    [ 13.542] (II) NVIDIA(0): [DRI2] Setup complete
    [ 13.542] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
    [ 13.543] (--) RandR disabled
    [ 13.543] (II) Initializing built-in extension Generic Event Extension
    [ 13.543] (II) Initializing built-in extension SHAPE
    [ 13.543] (II) Initializing built-in extension MIT-SHM
    [ 13.543] (II) Initializing built-in extension XInputExtension
    [ 13.543] (II) Initializing built-in extension XTEST
    [ 13.543] (II) Initializing built-in extension BIG-REQUESTS
    [ 13.543] (II) Initializing built-in extension SYNC
    [ 13.543] (II) Initializing built-in extension XKEYBOARD
    [ 13.543] (II) Initializing built-in extension XC-MISC
    [ 13.543] (II) Initializing built-in extension SECURITY
    [ 13.543] (II) Initializing built-in extension XINERAMA
    [ 13.543] (II) Initializing built-in extension XFIXES
    [ 13.543] (II) Initializing built-in extension RENDER
    [ 13.543] (II) Initializing built-in extension RANDR
    [ 13.543] (II) Initializing built-in extension COMPOSITE
    [ 13.543] (II) Initializing built-in extension DAMAGE
    [ 13.547] (II) Initializing extension GLX
    [ 14.003] (II) config/udev: Adding input device Power Button (/dev/input/event3)
    [ 14.003] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 14.003] (II) LoadModule: "evdev"
    [ 14.004] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 14.022] (II) Module evdev: vendor="X.Org Foundation"
    [ 14.022] compiled for 1.12.3.901, module version = 2.7.3
    [ 14.022] Module class: X.Org XInput Driver
    [ 14.022] ABI class: X.Org XInput driver, version 16.0
    [ 14.023] (II) Using input driver 'evdev' for 'Power Button'
    [ 14.023] (**) Power Button: always reports core events
    [ 14.023] (**) evdev: Power Button: Device: "/dev/input/event3"
    [ 14.023] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 14.023] (--) evdev: Power Button: Found keys
    [ 14.023] (II) evdev: Power Button: Configuring as keyboard
    [ 14.023] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
    [ 14.023] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
    [ 14.023] (**) Option "xkb_rules" "evdev"
    [ 14.023] (**) Option "xkb_model" "evdev"
    [ 14.023] (**) Option "xkb_layout" "fr"
    [ 14.023] (**) Option "xkb_variant" "latin-9"
    [ 14.076] (EE) Error loading keymap /var/lib/xkb/server-0.xkm
    [ 14.076] (EE) XKB: Failed to load keymap. Loading default keymap instead.
    [ 14.121] (II) config/udev: Adding input device Power Button (/dev/input/event2)
    [ 14.121] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 14.121] (II) Using input driver 'evdev' for 'Power Button'
    [ 14.121] (**) Power Button: always reports core events
    [ 14.121] (**) evdev: Power Button: Device: "/dev/input/event2"
    [ 14.121] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 14.121] (--) evdev: Power Button: Found keys
    [ 14.121] (II) evdev: Power Button: Configuring as keyboard
    [ 14.121] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2/event2"
    [ 14.121] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
    [ 14.121] (**) Option "xkb_rules" "evdev"
    [ 14.121] (**) Option "xkb_model" "evdev"
    [ 14.121] (**) Option "xkb_layout" "fr"
    [ 14.121] (**) Option "xkb_variant" "latin-9"
    [ 14.122] (II) config/udev: Adding input device Genius Multimedia Keyboard (/dev/input/event0)
    [ 14.122] (**) Genius Multimedia Keyboard: Applying InputClass "evdev keyboard catchall"
    [ 14.122] (II) Using input driver 'evdev' for 'Genius Multimedia Keyboard'
    [ 14.122] (**) Genius Multimedia Keyboard: always reports core events
    [ 14.122] (**) evdev: Genius Multimedia Keyboard: Device: "/dev/input/event0"
    [ 14.122] (--) evdev: Genius Multimedia Keyboard: Vendor 0x458 Product 0x708
    [ 14.122] (--) evdev: Genius Multimedia Keyboard: Found keys
    [ 14.122] (II) evdev: Genius Multimedia Keyboard: Configuring as keyboard
    [ 14.122] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/input/input0/event0"
    [ 14.122] (II) XINPUT: Adding extended input device "Genius Multimedia Keyboard" (type: KEYBOARD, id 8)
    [ 14.122] (**) Option "xkb_rules" "evdev"
    [ 14.122] (**) Option "xkb_model" "evdev"
    [ 14.122] (**) Option "xkb_layout" "fr"
    [ 14.122] (**) Option "xkb_variant" "latin-9"
    [ 14.123] (II) config/udev: Adding input device Genius Multimedia Keyboard (/dev/input/event1)
    [ 14.123] (**) Genius Multimedia Keyboard: Applying InputClass "evdev keyboard catchall"
    [ 14.123] (II) Using input driver 'evdev' for 'Genius Multimedia Keyboard'
    [ 14.123] (**) Genius Multimedia Keyboard: always reports core events
    [ 14.123] (**) evdev: Genius Multimedia Keyboard: Device: "/dev/input/event1"
    [ 14.123] (--) evdev: Genius Multimedia Keyboard: Vendor 0x458 Product 0x708
    [ 14.124] (--) evdev: Genius Multimedia Keyboard: Found keys
    [ 14.124] (II) evdev: Genius Multimedia Keyboard: Configuring as keyboard
    [ 14.124] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.1/input/input1/event1"
    [ 14.124] (II) XINPUT: Adding extended input device "Genius Multimedia Keyboard" (type: KEYBOARD, id 9)
    [ 14.124] (**) Option "xkb_rules" "evdev"
    [ 14.124] (**) Option "xkb_model" "evdev"
    [ 14.124] (**) Option "xkb_layout" "fr"
    [ 14.124] (**) Option "xkb_variant" "latin-9"
    [ 14.125] (II) config/udev: Adding input device ImExPS/2 Logitech Explorer Mouse (/dev/input/event5)
    [ 14.125] (**) ImExPS/2 Logitech Explorer Mouse: Applying InputClass "evdev pointer catchall"
    [ 14.125] (II) Using input driver 'evdev' for 'ImExPS/2 Logitech Explorer Mouse'
    [ 14.125] (**) ImExPS/2 Logitech Explorer Mouse: always reports core events
    [ 14.125] (**) evdev: ImExPS/2 Logitech Explorer Mouse: Device: "/dev/input/event5"
    [ 14.125] (--) evdev: ImExPS/2 Logitech Explorer Mouse: Vendor 0x2 Product 0x6
    [ 14.125] (--) evdev: ImExPS/2 Logitech Explorer Mouse: Found 9 mouse buttons
    [ 14.125] (--) evdev: ImExPS/2 Logitech Explorer Mouse: Found scroll wheel(s)
    [ 14.125] (--) evdev: ImExPS/2 Logitech Explorer Mouse: Found relative axes
    [ 14.125] (--) evdev: ImExPS/2 Logitech Explorer Mouse: Found x and y relative axes
    [ 14.125] (II) evdev: ImExPS/2 Logitech Explorer Mouse: Configuring as mouse
    [ 14.125] (II) evdev: ImExPS/2 Logitech Explorer Mouse: Adding scrollwheel support
    [ 14.125] (**) evdev: ImExPS/2 Logitech Explorer Mouse: YAxisMapping: buttons 4 and 5
    [ 14.125] (**) evdev: ImExPS/2 Logitech Explorer Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 14.125] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input5/event5"
    [ 14.125] (II) XINPUT: Adding extended input device "ImExPS/2 Logitech Explorer Mouse" (type: MOUSE, id 10)
    [ 14.137] (II) evdev: ImExPS/2 Logitech Explorer Mouse: initialized for relative axes.
    [ 14.137] (**) ImExPS/2 Logitech Explorer Mouse: (accel) keeping acceleration scheme 1
    [ 14.137] (**) ImExPS/2 Logitech Explorer Mouse: (accel) acceleration profile 0
    [ 14.137] (**) ImExPS/2 Logitech Explorer Mouse: (accel) acceleration factor: 2.000
    [ 14.137] (**) ImExPS/2 Logitech Explorer Mouse: (accel) acceleration threshold: 4
    [ 14.138] (II) config/udev: Adding input device ImExPS/2 Logitech Explorer Mouse (/dev/input/mouse0)
    [ 14.138] (II) No input driver specified, ignoring this device.
    [ 14.138] (II) This device may have been added with another device file.
    [ 14.138] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
    [ 14.138] (II) No input driver specified, ignoring this device.
    [ 14.138] (II) This device may have been added with another device file.
    [ 14.305] (II) NVIDIA(GPU-0): Display (BenQ FP93GX (DFP-0)) does not support NVIDIA 3D
    [ 14.306] (II) NVIDIA(GPU-0): Vision stereo.
    [ 14.306] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
    [ 14.306] (**) NVIDIA(0): device BenQ FP93GX (DFP-0) (Using EDID frequencies has
    [ 14.306] (**) NVIDIA(0): been enabled on all display devices.)
    [ 19.774] (II) NVIDIA(GPU-0): Display (BenQ FP93GX (DFP-0)) does not support NVIDIA 3D
    [ 19.774] (II) NVIDIA(GPU-0): Vision stereo.
    [ 19.774] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
    [ 19.774] (**) NVIDIA(0): device BenQ FP93GX (DFP-0) (Using EDID frequencies has
    [ 19.774] (**) NVIDIA(0): been enabled on all display devices.)
    [ 41.273] (II) evdev: Power Button: Close
    [ 41.273] (II) UnloadModule: "evdev"
    [ 41.290] (II) evdev: Power Button: Close
    [ 41.290] (II) UnloadModule: "evdev"
    [ 41.293] (II) evdev: Genius Multimedia Keyboard: Close
    [ 41.293] (II) UnloadModule: "evdev"
    [ 41.300] (II) evdev: Genius Multimedia Keyboard: Close
    [ 41.300] (II) UnloadModule: "evdev"
    [ 41.303] (II) evdev: ImExPS/2 Logitech Explorer Mouse: Close
    [ 41.303] (II) UnloadModule: "evdev"
    [ 41.793] Server terminated successfully (0). Closing log file.
    The error appear to be where it says
    [ 14.076] (EE) Error loading keymap /var/lib/xkb/server-0.xkm
    [ 14.076] (EE) XKB: Failed to load keymap. Loading default keymap instead.
    This file (server-0.xkm) actually does not exist on the system, BUT: it also does not exist on my others Arch installations and it works fine, without errors.
    By the way: here is the keyboard-entry in the /etc/X11/xorg.conf.d/10-evdev.conf
    Section "InputClass"
    Identifier "evdev keyboard catchall"
    MatchIsKeyboard "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    Option "XkbLayout" "fr"
    Option "XkbVariant" "latin-9"
    EndSection
    Et voilà. Can somebody help ?
    Last edited by kero (2012-09-27 17:39:38)

    Probably because "latin-9" doesn't exist?
    # nano /usr/share/X11/xkb/symbols/fr
    xkb_symbols "latin9" {
    include "latin"
    include "nbsp(level3)"
    name[Group1]="French (legacy, alternative)";
    key <TLDE> { [ oe, OE, leftdoublequotemark, rightdoublequotemark ] };
    key <AE01> { [ ampersand, 1, dead_acute, periodcentered ] };
    key <AE02> { [ eacute, 2, asciitilde, Eacute ] };
    Try it without the dash (without the "-").
    And don't forget to mark it as solved (by editing the first post).

  • Excel, PowerView error in SharePoint 2013: "An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the data source."

    I've installed SQL Server 2012 SP1 + SP server 2012 + SSRS and PowerPivot add-in.
    I also configured excel services correctly. Everything works fine but the powerview doesn't work!
    While I open an excel workbook consist of a PowerView report an error occurs: "An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions
    to access the data source."
    error detail: 
    <detail><ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsCannotRetrieveModel</ErrorCode><HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="http://www.microsoft.com/sql/reportingservices">An
    error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the data source.</Message><HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0</HelpLink><ProductName
    xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">11.0.3128.0</ProductVersion><ProductLocaleId
    xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation
    xmlns="http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message msrs:ErrorCode="rsCannotRetrieveModel" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the
    data source.</Message><MoreInformation><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message msrs:ErrorCode="rsErrorOpeningConnection" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsErrorOpeningConnection&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">Cannot create a connection to data source 'EntityDataSource'.</Message><MoreInformation><Source></Source><Message>For more information about this error navigate
    to the report server on the local server machine, or enable remote errors</Message></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>
    Please help me to solve this issue. I don't know if uploading the excel workbook is enough or maybe It needed to connect to another data source.
    I Appreciate in advance.

    Hi Ali.y,
    Based on the current error message, the error can be related to the
    Claims to Windows Token Service (C2WTS) and is an expected error under certain conditions. To verify the issue, please check the aspects below:
         1. The C2WTS Windows service and C2WTS SharePoint service are both running.
         2. Check the SQL Server Browser service is running on the machine that has the PowerPivot instance of SSAS.
         3. Check the domain. You're signing into SharePoint with a user account in some domain (call it Domain A).  When Domain A is equal to Domain B which SharePoint server itself is located (they're the same domain), or Domain
    A trusts Domain B.
    In addition, the error may be caused by Kerberos authentication issue due to missing SPN. In order to make the Kerberos authentication work, you need to configure the Analysis Services to run under a domain account, and register the SPNs for the Analysis
    Services server.
    To create the SPN for the Analysis Services server that is running under a domain account, run the following commands at a command prompt:
    • Setspn.exe -S MSOLAPSvc.3/Fully_Qualified_domainName OLAP_Service_Startup_Account
    Note: Fully_Qualified_domainName is a placeholder for the FQDN.
    • Setspn.exe -S MSOLAPSvc.3/serverHostName OLAP_Service_Startup_Account
    For more information, please see:
    How to configure SQL Reporting Services 2012 in SharePoint Server 2010 / 2013 for Kerberos authentication
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • How can I load the selected XML File (Selected from a Listview) into the correct Textboxes?

    Right, so I have a windowsform with lots of Textboxes, where the user can type in Information, and then hit "Save", once its saved it goes into a sortof XML Format 
    <?xml version="1.0" encoding="utf-8"?>
    <!--Database-->
    <Case>
      <Person>l<Driver></Driver><License-Holder></License-Holder><Address></Address><Phone></Phone><Date-of-Birth></Date-of-Birth><Registration></Registration>
    Like that.
    Now, on my Startup Form (The main form) there is a Listview that I gave the name Objectlist1. This list displays ANY file located in a specific folder on my computer. This is also where the Saved files appear.
    The list also updates every 5th second so after you save it appears quickly.
    Now, the Files are saved using the content or Value of the first Textbox:
    Dim XmlWrt As XmlWriter = XmlWriter.Create("C:\Users\USER\Desktop\TESTFOLDER\" + Firsttextbox.Text, settings)
    So it appears in the folder and on the list with the value inserted in the first Textbox.
    My problem comes when I want to load this back (Or reverse the function if you will)
    Where I can go to the Objectlist1/Listview, either doubleclick a file or Mark a file, and hit my button "Retrieve"
    I want the Form where you could input all the values to show - which it does
    And the information from the XML/File saved to appear where it once was typed or inserted.
    Here is an example of the code used to save the values from the Textboxes;
    Private Sub Savebutton_Click(sender As Object, e As EventArgs) Handles Savebutton.Click
            If IO.File.Exists(Pholderbox.Text) = False Then
                Dim settings As New XmlWriterSettings()
                settings.Indent = True
                Dim XmlWrt As XmlWriter = XmlWriter.Create("C:\Users\USER\Desktop\TESTFOLDER\" + Pholderbox.Text, settings)
                With XmlWrt
                    ' Write the Xml declaration.
                    .WriteStartDocument()
                    ' CLIENT
                    ' Write a comment.
                    .WriteComment("Database")
                    ' Write the root element.
                    .WriteStartElement("Case")
                    ' Start our first person.
                    .WriteStartElement("Person")
                    .WriteString(Textbox1.Text)
                    ' The person nodes.
                    .WriteStartElement("Driver")
                    .WriteString(Textbox2.Text)
                    .WriteEndElement()
    I've tried multiple codesamples but they all give either "XML Not found" or such Overloads.
    This is the current code I used when trying to make it work
    Private Function ReadSettingsXML(ByVal path As String) As MySettings # On Debug It marks here and tells me it wasn't found.
            Dim thisSettingsInfo As New MySettings
            If My.Computer.FileSystem.FileExists(Objectlist1.SelectedItems.ToString) Then
                Dim settingsInfo = XElement.Load(Objectlist1.SelectedItems.ToString)
                If settingsInfo IsNot Nothing Then
                    For Each mainGroup As XElement In settingsInfo.Elements
                        If mainGroup.Name = "<Database>" AndAlso mainGroup.HasElements Then
                            For Each subGroup As XElement In mainGroup.Elements
                                If subGroup.Name = "<Person>" Then
                                    thisSettingsInfo.Textbox1 = subGroup.Value
                                ElseIf subGroup.Name = "<Driver>" Then
                                    thisSettingsInfo.Textbox2 = subGroup.Value
                                ElseIf subGroup.Name = "<Address>" Then
                                    thisSettingsInfo.Textbox3 = subGroup.Value
                                End If
                            Next
                        End If
                    Next
                Else
                    thisSettingsInfo = Nothing
                    Throw New Exception("The settings XML file is corrupt and cannot be read.")
                End If
            Else
                thisSettingsInfo = Nothing
                Throw New Exception("The settings XML file could not be located.")
            End If
            Return thisSettingsInfo
        End Function
        Private Sub LoadXML_Click(sender As Object, e As EventArgs) Handles LoadXML.Click
            Dim settings As New MySettings
            settings = ReadSettingsXML(Objectlist1.SelectedItems.ToString)
            If settings IsNot Nothing Then
                Dim sb As New System.Text.StringBuilder
                With settings
                    Caseworker.Textbox1.Text = .Person
                    Caseworker.Textbox2.Text = .Driver
                    Caseworker.Textbox3.Text = .Address
                End With
            End If
        End Sub
    Also, the "Caseworker" is the form where all the textboxes are located.
    Been stuck on this for two working days, so any help is highly appreciated 
    Codesamples are also highly welcome so I can see what the heck you did and find and answer to my problems.

    I found a code that might be close to what I'm looking, but as of this code used here, it looks for a static document that already exist and is located in the code.
    See this one here, checks for the XML file, and since I can't link one program to 1 file, when its gonna have and use 100's of files.
            If (IO.File.Exists("MyXML.xml")) Then
                Same here with the static document.
                Dim document As XmlReader = New XmlTextReader("MyXML.xml")
                While (document.Read())
                    Dim type = document.NodeType
                    'if node type was element
                    If (type = XmlNodeType.Element) Then
                        If (document.Name = "FirstName") Then
                            TextBox1.Text = document.ReadInnerXml.ToString()
                        End If
                        If (document.Name = "LastName") Then
                            TextBox2.Text = document.ReadInnerXml.ToString()
                        End If
                    End If
                End While
    Am I at least close here, people? 
    Can anyone help with the now critical issue I got?
    I basically need to change these two;
     If (IO.File.Exists("MyXML.xml")) Then
                Same here with the static document.
                Dim document As XmlReader = New XmlTextReader("MyXML.xml")
    To whatever value, so they read from the file SELECTED in my Listview
    Cos the program saves files according to the info inserted in textboxes, so it can have whatever name you can think of, I need the program to "find and load" that file, once its selected, and then once I hit Retrieve or LOAD or whatever button, it
    injects the info from the File to the correct Textboxes.
    And I think this will work to get the info in the right boxes;
     If (document.Name = "FirstName") Then
                            TextBox1.Text = document.ReadInnerXml.ToString()
                        End If
                        If (document.Name = "LastName") Then
                            TextBox2.Text = document.ReadInnerXml.ToString()
    Any good advise? I'm stranded here.

  • How can I fix the Runtime Error R6034 so that I can correctly install iTunes on my PC ? I get a notice that states ' An application has made an attempt to load the C runtime library incorrectly - Please contact the application's support team for more info

    How can I fix the Runtime Error R6034 so that I can correctly install iTunes on my PC ? I get a notice that states ' An application has made an attempt to load the C runtime library incorrectly - Please contact the application's support team for more info

    Hey Debbiered1,
    Follow the steps in this link to resolve the issue:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    When you uninstall, the items you uninstall and the order in which you do so are particularly important:
    Use the Control Panel to uninstall iTunes and related software components in the following order and then restart your computer:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Important: Uninstalling these components in a different order, or only uninstalling some of these components may have unintended affects.
    Let us know if following that article and uninstalling those components in that order helped the situation.
    Welcome to Apple Support Communities!
    Take care,
    Delgadoh

  • HT201210 iTunes update 11.1.4 produces an error message R6034 "An applicaton has made an attempt to load the C runtime library incorrectly" When that error is acknowledged, a second windows error 1114 "error 7" displays "iTunes was not installed correctly

    iTunes update 11.1.4 produces an error message R6034 "An applicaton has made an attempt to load the C runtime library incorrectly" When that error is acknowledged, a second windows error 1114 "error 7" displays "iTunes was not installed correctly".  I also tried to downloadiTunes 11.1.4 at th Apple website and that did not work either-It stalled with an erro message that stated the "mobile service" would  not open HELP!

    Hi Doug! I was having the same problem but after reading a lot of answers I found the solution. First of all you need unistall ALL THE SOFTWARE OF APPLE from your computer, I mean BONJOUR, QUICKTIME, ITUNES, APPLE SOFTWARE UPDATE, APPLE MOBILE DEVICE SUPPORT and the other one that is from compatibility with apps of apple, after that you must verify if this folders are removed if they don't then remove it:
    C:\Program Files\Bonjour
    C:\Program Files\Common Files\Apple\
    C:\Program Files\iTunes\
    C:\Program Files\iPod\ 
    If you have a 64-bit version of Windows, you'll need to confirm that the following folders have been removed: 
    C:\Program Files (x86)\Bonjour
    C:\Program Files (x86)\Common Files\Apple\
    C:\Program Files (x86)\iTunes\
    C:\Program Files (x86)\iPod\
    Then if you have ccleaner you can use it to clean all registers left, then reboot and try to install iTunes 11.1.4 again as administrator... That works for me, I hope that helps you too...

  • JAVAMAP-Sax Parser ...............Linkage error when loading the class.

    Dear all,
    Do we have any extra things to execute the Java mapping using the Sax Parser?
    When I am executing the interface mapping ,I am getting the" Linkage error when loading the class" error.
    Kindly let me know your personnel maildId so that I can mail you the screen shots.
    Thanks,
    Srinivasa

    Dear sunil,
    Find the File.
    Source:
    <MTO_FTP_MAT_DETAILS>
    <MATDETAILS>
    <MAKTX>
    <MATNR>
    <WERKS>
    <LABST>
    <MEINS>
    <PERCNT>
    TARGET
    MTI_FTP_MAT_DETAILS
    <MATDETAILS>
    <MAKTX>
    <MATNR>
    <WERKS>
    <LABST>
    <MEINS>
    <PERCNT>
    Source:
    <MTO_FTP_MAT_DETAILS>
    <MATDETAILS>
    <MAKTX>
    <MATNR>
    <WERKS>
    <LABST>
    <MEINS>
    <PERCNT>
    TARGET
    MTI_FTP_MAT_DETAILS
    <MATDETAILS>
    <MAKTX>
    <MATNR>
    <WERKS>
    <LABST>
    <MEINS>
    <PERCNT>
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    import org.xml.sax.Attributes;
    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.DefaultHandler;
    import com.sap.aii.mapping.api.StreamTransformation;
    class Echo {
    public static OutputStream out;
    public class myEcho extends DefaultHandler implements StreamTransformation {
    private Map map;
    public void setParameter(Map param) {
    map = param;
    public void execute(InputStream in, OutputStream out) {
    DefaultHandler handler = this;
    SAXParserFactory factory = SAXParserFactory.newInstance();
    try {
    SAXParser saxParser = factory.newSAXParser();
    Echo.out = out;
    saxParser.parse(in, handler);
    } catch (Throwable t) {
    t.printStackTrace();
    public void startDocument() throws SAXException {
    try {
    Echo.out.write("<?xml version='1.0' encoding='UTF-8'?>".getBytes());
    } catch (IOException e) {
    e.notify();
    public void endDocument() throws SAXException {
    try {
    Echo.out.flush();
    } catch (IOException e) {
    throw new SAXException("I/O error", e);
    public void startElement(String namespaceURI, String sName, // simple name
    String qName, // qualified name
    Attributes attrs) throws SAXException {
    String eName = sName; // element name
    if ("".equals(eName))
    eName = qName; // not namespace-aware
    if ("ns0:MTO_SAP_MAT_DETAILS".equals(qName)) {
    try {
    Echo.out.write(("<MTI_FTP_MAT_DETAILS>").getBytes());
    } catch (Exception e) {
    e.printStackTrace();
    } else {
    try {
    Echo.out.write(("<" + qName + ">").getBytes());
    } catch (Exception e) {
    e.printStackTrace();
    public void endElement(String namespaceURI, String sName, // simple name
    String qName // qualified name
    ) throws SAXException {
    String eName = sName; // element name
    if ("".equals(eName))
    eName = qName; // not namespace-aware
    if ("ns0:MTO_SAP_MAT_DETAILS".equals(qName)) {
    try {
    Echo.out.write(("</MTI_FTP_MAT_DETAILS>").getBytes());
    } catch (Exception e) {
    e.printStackTrace();
    } else {
    try {
    Echo.out.write(("</" + qName + ">").getBytes());
    } catch (Exception e) {
    e.printStackTrace();
    public void characters(char buf[], int offset, int len)
    throws SAXException {
    String s = new String(buf, offset, len);
    try {
    Echo.out.write(s.getBytes());
    } catch (Exception e) {
    e.printStackTrace();

  • After load the pdf in this program, what commands must follow to make the correction (edit),

    if you use
    http://www.doc2pdf.net/
    you can convert doc >> pdf.
    I did try with some samples of files but, in some pages where a subheading is in eg page45, in pdf moved to page44, well to modify the pdf so is exact alignment like doc I must use ACROBAT? Well, conversions from this site must done non-restrict modify the pdf? well since I have Acrobat Pro 9, after load the pdf in this program, what commands must follow to make the correction (edit), and save the file?

    Unfortunately, for your endeavor, PDF is not a file format that supports edit-layout-format activities such as are in word processors.
    Not an "issue" - rather, it reflects what PDF was/is designed to be.
    While minor editing ("touchups") are possible extensive editing of PDF content is not.
    What you appear to have encounterd with the process used to convert something to PDF is something that happens rather too often.
    That is, many non-Adobe PDF creation processes to not provide "proper" PDF.
    Which is to say PDF built to the Adobe PDF References or, now, the ISO Standard for PDF (32000-1:2008).
    As you have Acrobat Pro perhaps using it to convert the document's authoring file to PDF via print to Distiller or via Adobe PDFMaker is something to consider. These convert to PDF per the PDF References/ISO Standard.
    Be well...

  • WHEN I IMPORT MEDIA FROM MY CAMCORDER TO iMovie it doesn't load up in the order of the way it was recorded and i have to piece the movie in the correct order when i make tmy project!

    WHEN I IMPORT MEDIA FROM MY CAMCORDER TO iMovie it doesn't load up in the order of the way it was recorded and i have to piece the movie in the correct order when i make tmy project!

    You might try restarting your device, your router and your Apple TV.

  • After loading the new OS now my songs do not play correctly. Titles are wrong on songs and it just doesn't play certain songs in random play or even if you select them individually. What's up? Kind of frustrating!!!

    After loading the new OS my songs do not play correctly, is anyone else having this issue? Titles are wrong on songs and it just doesn’t play certain songs in random play or even if you select them individually. What’s up? Kind of frustrating!!!

    I had the same issue.  In fact I posted it yesterday, but didn't get any replies.  I physically synched my phone to PC iTunes.  on the PC, under the phone/music tab, I unchecked the synch music box and then the apply button to remove all of the music from my phone.  Then once that synch finished, I went back and selected all music, and synch music and apply to put it back on to the phone.  So far, I haven't had an issue again, but I also haven't listened very long.  Hope this helps!

Maybe you are looking for