SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Exception while creating new report

Last post 09-18-2008 7:57 AM by Peter Forstmeier. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 11-21-2007 7:40 PM

    • jose.mira
    • Not Ranked
    • Joined on 11-21-2007
    • Leiria, Portugal
    • Posts 3

    Exception while creating new report

    Downloaded version: SharpDevelopReports_2.2.0.229_Bin.zip

    File -> New -> Selected 'SharpDevelop Reports' -> Clicked 'Create' -> Exception! 

     SharpDevelop Version : 2.2.0.2585
    .NET Version         : 2.0.50727.1433
    OS Version           : Microsoft Windows NT 5.1.2600 Service Pack 2
    Current culture      : Portuguese (Portugal) (pt-PT)
    Current UI language  : en
    Working Set Memory   : 35504kb
    GC Heap Memory       : 5463kb

    Exception thrown:
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'ICSharpCode.SharpDevelop, Version=2.1.0.2376, Culture=neutral, PublicKeyToken=f829da5c02be14ee' or one of its dependencies. O sistema não conseguiu localizar o ficheiro especificado.
    File name: 'ICSharpCode.SharpDevelop, Version=2.1.0.2376, Culture=neutral, PublicKeyToken=f829da5c02be14ee'
       at SharpQuery.Gui.TreeView.SharpQueryTree..ctor()
       at ICSharpCode.Reports.Addin.ReportWizard.PullModelPanel.InitializeComponent()
       at ICSharpCode.Reports.Addin.ReportWizard.PullModelPanel..ctor()

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

       --- End of inner exception stack trace ---
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
       at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[ args, CultureInfo culture, Object[ activationAttributes)
       at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[ args, CultureInfo culture, Object[ activationAttributes)
       at ICSharpCode.Core.Runtime.CreateInstance(String instance)
       at ICSharpCode.Core.AddIn.CreateObject(String className)
       at ICSharpCode.SharpDevelop.DefaultDialogPanelDescriptor.get_DialogPanel()
       at ICSharpCode.SharpDevelop.Gui.WizardDialog.AddNodes(Object customizer, IEnumerable`1 dialogPanelDescriptors)
       at ICSharpCode.SharpDevelop.Gui.WizardDialog..ctor(String title, Object customizer, String treePath)
       at ICSharpCode.Reports.Addin.ReportWizard.CreateReport.Run()
       at ICSharpCode.Reports.Addin.ReportDisplayBinding.CreateContentForLanguage(String languageName, String content)
       at ICSharpCode.SharpDevelop.FileService.NewFile(String defaultName, String language, String content)
       at ICSharpCode.SharpDevelop.Gui.NewFileDialog.SaveFile(FileDescriptionTemplate newfile, String content, Byte[ binaryContent)
       at ICSharpCode.SharpDevelop.Gui.NewFileDialog.OpenEvent(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    Filed under:
  • 11-21-2007 7:48 PM In reply to

    Re: Exception while creating new report

    This was fixed in SharpDevelop 2.2.1. 

    Daniel Grunwald
  • 11-22-2007 10:31 AM In reply to

    • jose.mira
    • Not Ranked
    • Joined on 11-21-2007
    • Leiria, Portugal
    • Posts 3

    Re: Exception while creating new report

     Hi,

    the problem is that I'm using the standalone version of SharpDevelop Reports... 

  • 11-26-2007 7:53 AM In reply to

    Re: Exception while creating new report

    Hi Jose,

    did you use the newest download for #Reporting?

    Peter

  • 11-26-2007 10:41 AM In reply to

    • jose.mira
    • Not Ranked
    • Joined on 11-21-2007
    • Leiria, Portugal
    • Posts 3

    Re: Exception while creating new report

     Well, I downloaded it from http://sourceforge.net/project/showfiles.php?group_id=17610&package_id=221059&release_id=519321, but I did not notice the link to the build server.

    The version located at the build server (2.2.0.293) doesn't throw an exception when creating a new report.

     Thank you for the help.

     

    José Mira 

  • 09-13-2008 7:02 PM In reply to

    Re: Exception while creating new report

    Hi, I receive a very similar error. (Vista, SD3.0.0.3537, SDR 2.2.0.229, .Net FW 3.5 SP1 installed, .Net 2.0 SDK installed) I'd like to know if you have found a solution for this problem or not? I really would like to try it out. Any solutions? Many thanks, --csegyud My Error message: ------------------------- SharpDevelop Version : 2.2.0.2585 .NET Version : 2.0.50727.3053 OS Version : Microsoft Windows NT 6.0.6001 Service Pack 1 Current culture : Hungarian (Hungary) (hu-HU) Current UI language : en-US Working Set Memory : 46716kb GC Heap Memory : 5743kb Exception thrown: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'ICSharpCode.SharpDevelop, Version=2.1.0.2376, Culture=neutral, PublicKeyToken=f829da5c02be14ee' or one of its dependencies. The system cannot find the file specified. File name: 'ICSharpCode.SharpDevelop, Version=2.1.0.2376, Culture=neutral, PublicKeyToken=f829da5c02be14ee' at SharpQuery.Gui.TreeView.SharpQueryTree..ctor() at ICSharpCode.Reports.Addin.ReportWizard.PullModelPanel.InitializeComponent() at ICSharpCode.Reports.Addin.ReportWizard.PullModelPanel..ctor() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. --- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[ args, CultureInfo culture, Object[ activationAttributes) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[ args, CultureInfo culture, Object[ activationAttributes) at ICSharpCode.Core.AddIn.CreateObject(String className) at ICSharpCode.SharpDevelop.DefaultDialogPanelDescriptor.get_DialogPanel() at ICSharpCode.SharpDevelop.Gui.WizardDialog.AddNodes(Object customizer, IEnumerable`1 dialogPanelDescriptors) at ICSharpCode.SharpDevelop.Gui.WizardDialog..ctor(String title, Object customizer, String treePath) at ICSharpCode.Reports.Addin.ReportWizard.CreateReport.Run() at ICSharpCode.Reports.Addin.ReportDisplayBinding.CreateContentForLanguage(String languageName, String content) at ICSharpCode.SharpDevelop.FileService.NewFile(String defaultName, String language, String content) at ICSharpCode.SharpDevelop.Gui.NewFileDialog.SaveFile(FileDescriptionTemplate newfile, String content, Byte[ binaryContent) at ICSharpCode.SharpDevelop.Gui.NewFileDialog.OpenEvent(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.PerformClick() at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData) at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData) at System.Windows.Forms.Control.PreProcessMessage(Message& msg) at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg) at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
  • 09-18-2008 7:57 AM In reply to

    Re: Exception while creating new report

    Hi,

    please use the newest ref.

    svn://sharpdevelop.net/sharpreport/branches/designer3.0

     Peter

Page 1 of 1 (7 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.