System.Windows.Markup.XamlParseException

Bei mir lässt sich Adobe Digital Editions 4.03 (mit Frameworkversion: v4.0.30319) unter Win XP nicht starten:
Im Event Log erscheint System.Windows.Markup.XamlParseException.
Anwendung: DigitalEditions.exe
Frameworkversion: v4.0.30319
Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
Ausnahmeinformationen: System.Windows.Markup.XamlParseException
Stapel:
   bei System.Windows.Markup.XamlReader.RewrapException(System.Exception, System.Xaml.IXamlLineInfo, System.Uri)
   bei System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)
   bei System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)
   bei System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)
   bei System.Windows.Application.LoadComponent(System.Object, System.Uri)
   bei DE.MainWindow.InitializeComponent()
   bei DE.MainWindow..ctor()
   bei DE.App.OnStartup(System.Windows.StartupEventArgs)
   bei System.Windows.Application.<.ctor>b__1(System.Object)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
   bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
   bei System.Threading.ExecutionContext.runTryCode(System.Object)
   bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)
   bei System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   bei System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   bei System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   bei System.Windows.Threading.DispatcherOperation.Invoke()
   bei System.Windows.Threading.Dispatcher.ProcessQueue()
   bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   bei MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   bei System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriorit y, System.TimeSpan, System.Delegate, System.Object, Int32)
   bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   bei MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   bei System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFram e)
   bei System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
   bei System.Windows.Application.RunDispatcher(System.Object)
   bei System.Windows.Application.RunInternal(System.Windows.Window)
   bei System.Windows.Application.Run(System.Windows.Window)
   bei DE.App.Main()

Hello Amit Ravindra Pawar,
The exception message " at ADODB._Connection.Open(String ConnectionString, String UserID, String Password, Int32 Options)" is important to you. So the error message "Provider cannot be found. It may not be properly installed." has
already indicated that the provider is not found problem.
So can you check whether your database related engine installed without problem on that machine?
Best regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • My operating system windows XP not working with photoshop cloud, why not?

    I need to add 2 more licences for photoshop cloud and I'm being told my operating system windows XP does not work with Photoshop cloud. We already have 2 pcs using it in our office so why not?
    Please help
    Roy

    Do you have the latest version of iTunes?  If not, get it at:
    http://www.apple.com/itunes

  • Photosmart C8100 operating system Windows 7 - no error message - no changes

    Paper comes out with folded upper right corner.
    Happens about 99% of the time. 
    Using H/P paper - both ink jet paper and premium photo with same results
    Have followed video directions provided by H/P - no change
    Have cleaned inside as much as possible with compressed air and hand vac.
    See no paper scraps in path.  Rollers seem soft and clean.
    Anyone seen anything like this?

    I could not even get to that window, I was able to select repair or complete install but when I chose repair, a message came up saying I couldnt repair that version of windows. It is the same disk I used for installation and it is in perfect condition.
    Original HD configuration that was working was:
    Slot 1 - original apple 250gb hd with System OS X 10.6.8
    Slot 2 - 1tb hd formatted for OSX for storage
    Slot 3 - 1tb hd with System Windows XP SP3
    Slot 4 - 1tb hd with System Windows 7 64bit
    HD configuration when that I changed:
    Slot 1 - original apple 250gb disk was copied over to Slot 3
    Slot 2 - unchanged 1tb hd formatted for OS X storage
    Slot 3 - erased hd, reformatted and copied files over from hd in slot 1 using Disk Utility
    Slot 4 - unchanged, Windows 7 64bit Ultimate installed now not booting
    I have tried swapping the Windows 7 hd to each hd slot and rebooting (a Mac Pro gets really heavy after doing that 3 times!). Using startup manager, the windows boot option is unavailable. I can still boot into OS X in each placement without issues. I can go to System Preferences>Startup Disk and can see the Windows 7 option and select it. However even if I restart the computer from Startup Disk with Windows 7 selected, it will go to a black screen and say enter CD.
    In case this helps, I had to purchase an original Windows 7 64bit ultimate and then create a new bootable system disk to install on this computer. I tried system repair from both disks and it did not work.
    Im beginning to think that reinstallation is unavoidable, but still hoping that I can find a solution first. The actual installation isnt the major issue, it shouldnt take more than an hour to reinstall and update the video drivers. Its the installation of the programs and having to redo all of the settings on the 4 major programs that I am using that will literally take days. Oh man, somebody must know the answer!!
    Thanks again for the response, I truly appreciate the help

  • "Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, windows can only be installed to GPT disks." Error

    Hey Im getting the following error when trying to install windows from a USB. 
    "Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, windows can only be installed to GPT disks."
    I installed the windows 8 (64bit) iso using boot camp to a usb.  I was able to do this after changing the info.plist to allow me to place the iso on the usb.  After I make the partition and start the install, I get the above error.  I formatted the partition in the installation but I keep getting this error.  I've repreated the entire process but i keep getting this errror and the disk utility says my partition is a Windows NT File System (NTFS) so im not sure what's going on.  If you can help me that would be greatly appreciated

    I am having the same problem. Windows is trying to install. It identifies the various partitions but says that I cannot install Windows on the Boot Camp partition or any other. I select Drive options (advanced) and Format the Boot Camp drive, but it makes no difference.
    This is the Windows error:
    Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks.
    Windows cannot be installed to this disk. This computer's hardware may not support booting to this disk. Ensure that the disk's controller is enabled in the computer BIOS menu.
    I am not sure what Csound1 is suggesting with that post above. There are some involved suggestions over here <https://discussions.apple.com/message/23548999#23548999> about using Disk Utility to delete the Boot Camp partition and create new ones - is that the idea?

  • Windows cannot be installed to this disk 0. The selected disk has an MBR partition table. On EFI system, Windows can only be installed on GPT disks

    Hi All,
    I have been trying real hard to install Windows 8 on my Macbook Pro early 2011 model. I followed the instruction given by Bootcamp word to word, all things went very smoothly untill I was asked Windows Setup Instaled to selct the Hard drive. Here's the error:
    "Windows cannot be installed to this disk 0. The selected disk has an MBR partition table. On EFI system, Windows can only be installed on GPT disks...."
    Let me know guys what should I do?
    Thanks,
    Attiqe

    You have started the Windows 8 installer in EFI mode, and you don't have to start in EFI mode on a Mac because your Mac emulates a BIOS and a MBR partition table in order to install Windows in non-EFI mode.
    To start the Windows installer, hold the Option (Alt) key while your computer is starting and have a look at all the boot options you have. You should see two with a DVD above and they must be named "Windows" and "EFI Boot". Choose the option with "Windows" and follow the steps to install Windows. Note that you have to format the "BOOTCAMP" partition from the installer to be able to install Windows.
    If you are trying to install Windows from a USB drive, note that your computer isn't compatible to do it

  • Can you download a 32 bit installer for photoshop elements 12 to install on a 64 bit system (windows 7)

    can you download a 32 bit installer for Photoshop elements 12 to install on a 64 bit system (windows 7). Thanks in advance

    yes, if you follow all 7 steps you can directly download a trial here:  Adobe Photoshop Elements 12 Direct Download Links, Premiere too | ProDesignTools
    and activate with your serial number.
    if you have a problem starting the download, you didn't follow all 7 steps, or your browser does not accept cookies. 
    the most common problem is caused by failing to meticulously follow steps 1,2 and/or 3 (which adds a cookie to your system enabling you to download the correct version from adobe.com). 
    failure to obtain that cookie results in an error page being displayed after clicking a link on prodesigntools.com or initiates the download of an incorrect (eg, current) version.

  • Opening an operating system window from Forms

    An old feature from SQL*Forms was that you could open an Operating System Window by pressing a function key (or combination of keys)
    I think this is still available in Oracle Forms 10g, but I can't remember which function key to press.
    Can anyone help? I know that the function keys can vary across systems, so that I'm looking for is the default key (or keystrokes). I don't think it matters which versions of software are being used, but in case it does, the setup is:
    Oracle Forms: 10gR2
    Client PC: Windows XP
    Client Browser: Internet Expolorer 6
    Application Server: 10GR2 on Windows Server 2003
    Database Server: 10gR2 on Windows Server 2003
    The database has the ORAFORMS$OSC role granted to PUBLIC, and the "<OSC>" flag is showing in the Forms Console.
    Control-K gives a list of the function keys, but doesn't list anything for opening a DOS window:
    As far as I know, frmweb.res has not been altered, but it doesn't list an option for opening an OS window anyway.
    This is not about the HOST command.
    Thanks, Martin

    Hi michaeltowse,
    This is indeed something more complicated. Let me give you
    some details about the project:
    This project is to be initially created in Adobe Captivate.
    It consists of the main menu that is to be created in Flash (menu
    1); sub-menus, which are to be created in Captivate (menu 2); and
    menus of sub-menus, which are to be created in Captivate as well
    (menu 3). Now, the part where I need help on is the part that goes
    from sub-menus (menu 2) to menus of sub-menus (menu 3). When any
    option is to be selected from the sub-menu (menu 2), a new window
    is suppose to pop-up (menu 3) that is suppose to be in Flash. This
    new window is suppose to be a new Flash window and is not suppose
    to be opened in a browser, but it's suppose to be opened in another
    Flash window (SWF window). This whole entire project is to be
    executed via an embedded Flash executable. Thus all the .SWF files
    that were created in either Captivate or Flash are to be tied
    together via a Flash executable. I was told in Captivate's Forum
    that this may be done via ActionScript in Flash and I'm wondering
    whether that is that case. Please tell me if my project makes
    sense.
    Thank you.

  • Business system is not seen in new business system window

    A Business system has been created by admin in SLD
    now when I try to declare the same BS as business system(manually .. new >  assign busines system), I dont see it in create business system window...
    please help

    try refresh "clear sld cache" from Environment tab in ID

  • Error: The Operating system Windows Vista Version 6.1 is not supported

    While installing Oracle Database 'win64_11gR1_database_11070' on Windows Server 2008 R2,x64, I get this error during Product specific pre-requisite checks:
    "The Operating system Windows Vista Version 6.1 is not supported. Install the recommended service pack"
    Edited by: aa100 on 16-Jun-2010 09:04

    What's not clear with this message? Windows 2008 R2 requires 11gR2:
    http://www.oracle.com/technology/software/products/database/oracle11g/112010_win64soft.html
    Werner

  • Operating System(Windows 7) got corrupted ..!

    Hi all,
    Can someone please help me with my laptop issue ???
    My Laptop Details :
    Product name         :  HP Pavilion dv6 Notebook PC
    Operating System :  Windows 7 Home Premium
    RAM                             :  6GB
    Processor                  :  Intel(R) Core(TM) i3 CPU [email protected](2400MHz)
    Purchase                   :  Decemeber, 2010.
    My Laptop problem :
    My HP-laptop got infected with "virus" ( it says like found 38 virus).
    And because of this virus attack , I was NOT able to open any application , for example say if i try to open "notepad" - then throws a message like " unable to open notepad application, though infected with virus".
    So with this , i can confirm that my laptop was NOT allowing me to open anything because infected with virus.
    Now i have 2 options to go further :
    1) Remove virus , using antivirus removal software ( This i don't have , so NOT attempting to use)
    2) Recover thru recovery option.
    When i purchased this laptop , the laptop contains recovery partition within the laptop , so it's a built-in option.
    Though i was NOT interested to keep that recovery partition in my laptop, I just burned recovery manager into 7 DVDs, and then deleted the partition.
    With this my laptop contains drives like :
     C: drive --> this contains OS related stuff
    D: drive --> this contains my general stuff like songs , movies , etc
    System drive --> 199MB ( not sure what thid contains )
    Now coming to original problem/issue -
    I have planned to use recovery DVDs , to recover to factory state.
    Started with 1st DVD , it went upto 18% and then asked me to insert 2nd DVD.. and this went upto 30%.. now again asked me to insert 3rd DVD.
    With 3rd DVD.. it went upto 40% , and then stopped responding. Nearly I've waited for about 3 hrs.. but NO use.. it's still hanged at 40% only.
    So with 3rd DVD , it got hanged or stopped.
    My doubt - not sure whether my 3rd DVD got corrupted or not , but i don't think so.. because 3rd DVD worked for atleast 10%..
    Finally , I was struck here...
    Not sure what's my next step
    Please help me what I have to do now, like  what steps to take... etc
    How to recover?
    Thanks
    Kiran

    Hi,
    Lets start with your providing the complete product name or product number. 
    HP has produced and brought to market perhaps more than 10,000 models of notebooks and desktop PCs over the years. It is difficult to help you if we don't know which one you own and which operating system is installed.
    Method #1: If the notebook will boot into Windows you can retrieve your Product Number by pressing Fn + Esc key. You can also read the Service Tag (if present) attached to the bottom of your notebook\netbook.
    Method #2:
    Remove the battery and look in the compartment where the battery was installed. You should see a printed part number and a product name. Please post one or both of them (with all alphanumeric characters here). If you live outside of North America, it helps us if you post the country of purchase.
    Were you using an antivirus product (free or paid) when this issue happened?
    What was the brand and product name of the Antivirus product?
    Best regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • How to create a window with its own window border other than the local system window border?

    How to create a window with its own window border other than the local system window border?
    For example, a border: a black line with a width 1 and then a transparent line with a width 5. Further inner, it is the content pane.
    In JavaSE, there seems to have the paintComponent() method for the JFrame to realize the effect.

    Not sure why your code is doing that. I usually use an ObjectProperty<Point2D> to hold the initial coordinates of the mouse press, and set it to null on a mouse release. That seems to avoid the dragging being confused by mouse interaction with other nodes.
    import javafx.application.Application;
    import javafx.application.Platform;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.collections.FXCollections;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.geometry.Point2D;
    import javafx.geometry.Pos;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ChoiceBox;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.AnchorPane;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.VBox;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    import javafx.stage.StageStyle;
    import javafx.stage.Window;
    public class CustomBorderExample extends Application {
      @Override
      public void start(Stage primaryStage) {
      AnchorPane root = new AnchorPane();
      root.setStyle("-fx-border-color: black; -fx-border-width: 1px; ");
      enableDragging(root);
      StackPane mainContainer = new StackPane();
        AnchorPane.setTopAnchor(mainContainer, 5.0);
        AnchorPane.setLeftAnchor(mainContainer, 5.0);
        AnchorPane.setRightAnchor(mainContainer, 5.0);
        AnchorPane.setBottomAnchor(mainContainer, 5.0);
      mainContainer.setStyle("-fx-background-color: aliceblue;");
      root.getChildren().add(mainContainer);
      primaryStage.initStyle(StageStyle.TRANSPARENT);
      final ChoiceBox<String> choiceBox = new ChoiceBox<>(FXCollections.observableArrayList("Item 1", "Item 2", "Item 3"));
      final Button closeButton = new Button("Close");
      VBox vbox = new VBox(10);
      vbox.setAlignment(Pos.CENTER);
      vbox.getChildren().addAll(choiceBox, closeButton);
      mainContainer.getChildren().add(vbox);
        closeButton.setOnAction(new EventHandler<ActionEvent>() {
          @Override
          public void handle(ActionEvent event) {
            Platform.exit();
      primaryStage.setScene(new Scene(root,  300, 200, Color.TRANSPARENT));
      primaryStage.show();
      private void enableDragging(final Node n) {
       final ObjectProperty<Point2D> mouseAnchor = new SimpleObjectProperty<>(null);
       n.addEventHandler(MouseEvent.MOUSE_PRESSED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            mouseAnchor.set(new Point2D(event.getX(), event.getY()));
       n.addEventHandler(MouseEvent.MOUSE_RELEASED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            mouseAnchor.set(null);
       n.addEventHandler(MouseEvent.MOUSE_DRAGGED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            Point2D anchor = mouseAnchor.get();
            Scene scene = n.getScene();
            Window window = null ;
            if (scene != null) {
              window = scene.getWindow();
            if (anchor != null && window != null) {
              double deltaX = event.getX()-anchor.getX();
              double deltaY = event.getY()-anchor.getY();
              window.setX(window.getX()+deltaX);
              window.setY(window.getY()+deltaY);
      public static void main(String[] args) {
      launch(args);

  • The specified module could not be found. (Exception from HRESULT: 0x8007007E) (System.Windows.Forms)

    Hi All,
    I have existing SSAS project. Previously it was working but now its showing following error:
    The specified module could not be found. (Exception from HRESULT: 0x8007007E) (System.Windows.Forms)
    Please provide the solution.
    Thanks & Regards,
    Vivek Singh

    Hi Vivek,
    According to your description, you are experiencing the error "The specified module could not be found. (Exception from HRESULT: 0x8007007E) (System.Windows.Forms)" when opening the SQL Server Analysis Services project that can be opened
    without any problems, right?
    Based on my research, the issue is caused by that some .dll files in your SSAS instance are corrupt. In your scenario, can you open other SSAS project? Please download the Adventure Works for SQL Server 2012 sample project and check if
    you can open it or not.
    https://msftdbprodsamples.codeplex.com/releases/view/55330
    Besides, here are some similar issue with your, please see:
    https://social.technet.microsoft.com/Forums/en-US/29e3cef1-4699-4710-9aa5-d56cf4a279c5/the-specified-module-could-not-be-found-exception-from-hresult-0x8007007e-systemwindowsforms?forum=sqlanalysisservices
    https://social.technet.microsoft.com/Forums/en-US/b2faae67-19af-4f50-88c6-5a427556df3e/error-encountered-when-creating-new-integration-services-project-0x8007007e?forum=sqlintegrationservices
    Regards,
    Charlie Liao
    TechNet Community Support

  • The up down arrows on the side of my Hotmail email list do not function, nor does clicking the space above and below the slider bar. These functions work in all other cases. It began with Firefox 3.6 upgrade. Firefox version: 3.6 Operating system: Windows

    The up down arrows on the side of my Hotmail email list do not function, nor does clicking the space above and below the slider bar. These functions work in all other cases. It began with Firefox 3.6 upgrade.
    Firefox version: 3.6 Operating system: Windows XP
    == This happened ==
    Every time Firefox opened
    == After upgrade to Firefox 3.6

    See https://bugzilla.mozilla.org/show_bug.cgi?id=511075 - The arrows of the scrollbars don´t work in hotmail
    Should be fixed in the next release Firefox 3.6.4

  • Problems with the System.Windows.Forms.Timer

    Hi All,
    Could some one help me please? I'm having a problem using the System.Windows.Forms.Timer inside an ItemEvent, the timer event just doesn't works...give a look in my code:
    private System.Windows.Forms.Timer myTimer = new System.Windows.Forms.Timer();
    if (pVal.FormUID.Equals("FrmTimer") && pVal.ItemUID.Equals("btnStartTimer") && (pVal.Before_Action.Equals(true)) && (pVal.EventType.Equals(SAPbouiCOM.BoEventTypes.et_CLICK)))
                myTimer .Interval = 1000;
                myTimer .Enabled = true;
                myTimer .Tick += new EventHandler(myTimer _Tick);
    void myTimer _Tick(object sender, EventArgs e)
                SBO_Application.MessageBox("Timer: " + DateTime.Now, 1, "OK", "", "");
    does someone have already tried to use the timer inside an itemevent, or could suggest another solution?
    thanks a lot...

    Hi Bruno,
    Unfortunately you cannot use a Forms.Timer without using a windows form (ie not a SBO form). Have you looked at the other 2 timer objects in .Net, the System.Timer.Timer and System.Threading.Timer? Here's a link to a web page that goes through the differences between each one:
    http://msdn.microsoft.com/msdnmag/issues/04/02/TimersinNET/
    Kind Regards,
    Owen

  • System.Windows.Forms.SaveFileDialog not working under Windows 2008 R2 Server

    I am using Windows Server 2008 R2 (64-bit) that is been virtualized with Hyper-V and it is being used as a "Remote Desktop Server".
    I am trying to use this PowerShell code that will open a "Save-File-Dialog" box to select the PDF file and send it to my "batch" file for scanning.  This code works great on my Windows Vista machine and my Windows 7 32-bit machine
    but I cannot get it to work on the "Windows 2008 R2 Server (64-bit)".  It will not come up with any window at all and it will not produce any errors at all, so I can't exactly google for this issue.  I am using PowerShell 2.0 from 2009.
    Any ideas?  I tried it from an Admin account and a regular domain users and neither worked at all, no errors, no window, no nothing.
    *** Update ***
        I took Out-Null out and I received this...
      GAC    Version        Location
    True   v2.0.50727     C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
    I then checked the path and the DLL file was in there and it had read and execute permissions for Domain users and Administrators and the window still won't pop up... 
    Here is the entire code in question.....
    # Uses the dot net assembly to give the users a Save-File-Dialog box so they can decide where to put the pdf file
    Function Get-SaveFile($initialDirectory){
    [System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | Out-Null
    $SaveFileDialog = New-Object System.Windows.Forms.SaveFileDialog
    $SaveFileDialog.initialDirectory = $initialDirectory
    $SaveFileDialog.filter = "PDF files (*.pdf)| *.pdf"
    $SaveFileDialog.ShowDialog() | Out-Null
    $SaveFileDialog.filename
    # open dialog box to select the .nessuss file.
    $OutputFile = Get-SaveFile
    # User selected where they want to put the scanned.pdf file and it will automatically set it to .pdf for them
    start-process Scan $OutputFile

    I ran the code you have in your function on a Windows 2008 Standard server, and it seems to be hanging on the line
    $SaveFileDialog.ShowDialog()
    | Out-Null
    It just sits there and nothing happens, but if I run it on my Windows 7 machines, it runs without any issues. So it seems like the dialog opened, but behind the scenes, and is waiting on the user, but since it doesn't open, the user can't do anything.
    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
    Don't Retire Technet

Maybe you are looking for