| Author |
Message |
giorgizek
Joined: 23 Dec 2011 Posts: 8
|
Posted: Fri Dec 23, 2011 9:33 am Post subject: 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 |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Tue Dec 27, 2011 3:56 pm Post subject: |
|
|
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
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
giorgizek
Joined: 23 Dec 2011 Posts: 8
|
Posted: Fri Dec 30, 2011 7:37 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Fri Dec 30, 2011 10:02 am Post subject: |
|
|
OK, what is the error message and stack trace, if possible? _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
giorgizek
Joined: 23 Dec 2011 Posts: 8
|
Posted: Fri Dec 30, 2011 10:43 am Post subject: |
|
|
there is no error. nothing happens.
I have disabled everything in project settings. just dependencies embedding. but nothing happens. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Fri Dec 30, 2011 11:39 am Post subject: |
|
|
What's supposed to happen? Is it failing to export? _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
giorgizek
Joined: 23 Dec 2011 Posts: 8
|
Posted: Fri Dec 30, 2011 11:41 am Post subject: |
|
|
| it supposed to create file and write data into the file |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Fri Dec 30, 2011 11:58 am Post subject: |
|
|
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/Issues/ViewIssue.aspx?issueid=B195350 _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
giorgizek
Joined: 23 Dec 2011 Posts: 8
|
Posted: Fri Dec 30, 2011 12:13 pm Post subject: |
|
|
all dll's are included for export |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Fri Dec 30, 2011 2:44 pm Post subject: |
|
|
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
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
giorgizek
Joined: 23 Dec 2011 Posts: 8
|
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Wed Jan 04, 2012 12:17 pm Post subject: |
|
|
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
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Fri Jan 06, 2012 1:32 pm Post subject: |
|
|
Hello, I sent you a link via email to a patch for SmartAssembly -- did you get that and did the patch work? _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
giorgizek
Joined: 23 Dec 2011 Posts: 8
|
Posted: Fri Jan 06, 2012 1:37 pm Post subject: |
|
|
| I'll try new patch on monday |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Tue Jan 10, 2012 3:18 pm Post subject: |
|
|
Hi, Did the patch work? Please let us know, thanks! _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|