How can we help you today? How can we help you today?

DevExpress.XtraPrinting not working on SmartAssembly 6.5

I tested embedding dll in old version SmartAssembly 6.2 and everything worked but in new version not working
giorgizek
0

Comments

17 comments

  • Brian Donahue
    Hello,

    Sorry that is not enough information to track down any problem but as I recall, DevExpress components are problematic. If you have any error information at all please pass it on and I'll see if I can reproduce the problem.
    Brian Donahue
    0
  • giorgizek
    i'm trying to use method XtragridView.ExportToXlsx(fileName);
    DevExpress.XtraGrid.v10.2.dll

    in version SmartAssembly version is 6.2 215 is working but in version SmartAssembly 6.5. 1037 is not working
    giorgizek
    0
  • Brian Donahue
    OK, what is the error message and stack trace, if possible?
    Brian Donahue
    0
  • giorgizek
    there is no error. nothing happens.

    I have disabled everything in project settings. just dependencies embedding. but nothing happens.
    giorgizek
    0
  • Brian Donahue
    What's supposed to happen? Is it failing to export?
    Brian Donahue
    0
  • giorgizek
    it supposed to create file and write data into the file
    giorgizek
    0
  • Brian Donahue
    I think some DevExpress components are late-bound and aren't recognized as a dependency. So
    1. Is SmartAssembly embedding the DevExpress stuff (you can see this in the project settings)
    2. If not, you can try this advice from DevExpress: http://devexpress.com/Support/Center/Is ... id=B195350
    Brian Donahue
    0
  • giorgizek
    screen.png

    all dll's are included for export
    giorgizek
    0
  • Brian Donahue
    Maybe there is an exception happening, but DevExpress is catching it? If you're handy with a debugger you can see if that's the case - you can attach Visual Studio debugger to the process and tell it to catch all exceptions (CTRL-ALT-E, select managed exceptions).

    edit: maybe attaching Red Gate's support debugger would be more useful as if it's a binding exception you should get good info on the inner exception.
    Brian Donahue
    0
  • giorgizek
    giorgizek
    0
  • Brian Donahue
    I suspect it's because the XtraPrinting assembly is signed with a strong-naming key and the code is not including the key in the binding. For instance, the debug dump indicates you're trying to load "DevExpress.XtraPrinting.v10.2, Version=10.2.4.0" with no public key token.

    I'll see if I can reproduce this and get back to you.
    Brian Donahue
    0
  • Brian Donahue
    Hello, I sent you a link via email to a patch for SmartAssembly -- did you get that and did the patch work?
    Brian Donahue
    0
  • giorgizek
    I'll try new patch on monday
    giorgizek
    0
  • Brian Donahue
    Hi, Did the patch work? Please let us know, thanks!
    Brian Donahue
    0
  • giorgizek
    yes it's work
    giorgizek
    0
  • Brian Donahue
    Thanks! I hope we can get this fix in the next release later in the week.
    Brian Donahue
    0
  • manlyboy
    SA 6.6.4.95 had no problem exporting an XtraGrid to xls. DevExpress version was 11.2.11 . DevEx dll's were not embedded nor merged.
    manlyboy
    0

Add comment

Please sign in to leave a comment.