Please help me! Infopath error - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Please help me! Infopath error

Last post 11-03-2010 12:26 AM by Roane. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 11-02-2010 05:25 AM

    • Roane
    • Not Ranked
    • Joined on 11-02-2010
    • Posts 2

    Please help me! Infopath error

    Hi, I hope that someone can help me!

     I am running Infopath Version 14.1.4536.1000 (32-bit). Once I've loaded the document with Infopath, I click on the "Launch Content" button and I get the following errors:

     

    Error 1:

     Value cannot be null.
    Parameter name: element
       at MS.Internal.Media.VisualTreeUtils.AsNonNullVisual(DependencyObject element, Visual& visual, Visual3D& visual3D)
       at System.Windows.Media.VisualTreeHelper.GetChildrenCount(DependencyObject reference)
       at BedrockContentInputForm.Controls.OneModuleList.GetFrameworkElementByName[T](FrameworkElement referenceElement)
       at BedrockContentInputForm.Controls.OneModuleList.ChangeExpandStateOfItem(Int32 index, Boolean expand)
       at BedrockContentInputForm.Controls.OneModuleList.CollapseAll()
       at BedrockContentInputForm.Controls.OneModuleList.EditForm_SelectionChanged(Object sender, SelectionChangedEventArgs e)
       at System.Windows.Controls.SelectionChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
       at System.Windows.Controls.ListBox.OnSelectionChanged(SelectionChangedEventArgs e)
       at System.Windows.Controls.Primitives.Selector.InvokeSelectionChanged(List`1 unselectedItems, List`1 selectedItems)
       at System.Windows.Controls.Primitives.Selector.SelectionChanger.End()
       at System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(Object item, Boolean assumeInItemsCollection)
       at System.Windows.Controls.Primitives.Selector.OnSelectedIndexChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
       at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)
       at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at System.Windows.Controls.Primitives.Selector.set_SelectedIndex(Int32 value)
       at BedrockContentInputForm.MainWindow.OnContentRendered(EventArgs e)
       at System.Windows.Window.<PostContentRendered>b__2(Object unused)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at System.Windows.Forms.SafeNativeMethods.MessageBox(HandleRef hWnd, String text, String caption, Int32 type)
       at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
       at System.Windows.Forms.MessageBox.Show(String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon)
       at OneModule.OneModuleInfopath.LaunchContentFormButton_OnClick(DocActionEvent actionEvent)
       at Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)

    Error 2:

    Initialise Error
    The input form cannot be opened for the following reason:
    "The type initialiser for 'System.Windows.Media.FontFamily' threw an exception".

     

     

    I know it's really long, but it's very urgent that I sort this problem out. I have spoken to support at MSN and they could not come up with a solution.

     

    Please help me!!! :(

  • 11-02-2010 06:00 AM In reply to

    Re: Please help me! Infopath error

    Hi,

    You're not alone on the web. Lot of person have this error, but for a lot of reasons...

    Can you tell us more about your form. Do you use managed code or is it a classic form?

    With a simple form (that you didn't customize), have you the same error?

    If yes, this is a client machine problem. You can try on other PC and the if it works.. 

     

    RĂ©mi MATAYRON / MVP InfoPath
    Visit my blog : Infopath Blog
  • 11-03-2010 12:26 AM In reply to

    • Roane
    • Not Ranked
    • Joined on 11-02-2010
    • Posts 2

    Re: Please help me! Infopath error

     Hi

     Thank you so much for your response! But I haven't been able to solve the problem using those instructions, as I'm working on Windows 7.

    Is there another suggestion you could make?

    Thanks, I appreciate your help!

     

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.