DevExpress.XtraPrinting not working on SmartAssembly 6.5

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, melvyn.harbour, dom.smith

DevExpress.XtraPrinting not working on SmartAssembly 6.5

Postby giorgizek » Fri Dec 23, 2011 9:33 am

I tested embedding dll in old version SmartAssembly 6.2 and everything worked but in new version not working
giorgizek
 
Posts: 8
Joined: Fri Dec 23, 2011 9:28 am

Postby Brian Donahue » Tue Dec 27, 2011 3:56 pm

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
 
Posts: 6669
Joined: Mon Aug 23, 2004 10:48 am

Postby giorgizek » Fri Dec 30, 2011 7:37 am

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
 
Posts: 8
Joined: Fri Dec 23, 2011 9:28 am

Postby Brian Donahue » Fri Dec 30, 2011 10:02 am

OK, what is the error message and stack trace, if possible?
Brian Donahue
 
Posts: 6669
Joined: Mon Aug 23, 2004 10:48 am

Postby giorgizek » Fri Dec 30, 2011 10:43 am

there is no error. nothing happens.

I have disabled everything in project settings. just dependencies embedding. but nothing happens.
giorgizek
 
Posts: 8
Joined: Fri Dec 23, 2011 9:28 am

Postby Brian Donahue » Fri Dec 30, 2011 11:39 am

What's supposed to happen? Is it failing to export?
Brian Donahue
 
Posts: 6669
Joined: Mon Aug 23, 2004 10:48 am

Postby giorgizek » Fri Dec 30, 2011 11:41 am

it supposed to create file and write data into the file
giorgizek
 
Posts: 8
Joined: Fri Dec 23, 2011 9:28 am

Postby Brian Donahue » Fri Dec 30, 2011 11:58 am

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
 
Posts: 6669
Joined: Mon Aug 23, 2004 10:48 am

Postby giorgizek » Fri Dec 30, 2011 12:13 pm

Image

all dll's are included for export
giorgizek
 
Posts: 8
Joined: Fri Dec 23, 2011 9:28 am

Postby Brian Donahue » Fri Dec 30, 2011 2:44 pm

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
 
Posts: 6669
Joined: Mon Aug 23, 2004 10:48 am

Postby giorgizek » Wed Jan 04, 2012 11:26 am

giorgizek
 
Posts: 8
Joined: Fri Dec 23, 2011 9:28 am

Postby Brian Donahue » Wed Jan 04, 2012 12:17 pm

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
 
Posts: 6669
Joined: Mon Aug 23, 2004 10:48 am

Postby Brian Donahue » Fri Jan 06, 2012 1:32 pm

Hello, I sent you a link via email to a patch for SmartAssembly -- did you get that and did the patch work?
Brian Donahue
 
Posts: 6669
Joined: Mon Aug 23, 2004 10:48 am

Postby giorgizek » Fri Jan 06, 2012 1:37 pm

I'll try new patch on monday
giorgizek
 
Posts: 8
Joined: Fri Dec 23, 2011 9:28 am

Postby Brian Donahue » Tue Jan 10, 2012 3:18 pm

Hi, Did the patch work? Please let us know, thanks!
Brian Donahue
 
Posts: 6669
Joined: Mon Aug 23, 2004 10:48 am

Next

Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 1 guest