Dear visitor, despite the COVID-19 outbreak, our team continues operating at full speed.

Also, here is the form where you can apply for a special discount and we will contact you with possible options. Stay safe and continue achieving your business goals.

Fill the form
Get Free Trial
Get Free Trial

accelerator.dll not working when I decompile the dll

Answered
srinivas asked on January 1, 2020

I am using decompiled version of accelerator.dll in my project to debug an issue. I am getting the below error  in attached SS. Can you please tell me what I am doing wrong. The code is giving the response:
{StatusCode: 200, ReasonPhrase: ‘OK’, Version: 1.1, Content: System.Net.Http.StringContent, Headers:{  Content-Type: application/json; charset=utf-8}}
for request:
{Method: POST, RequestUri: ‘http://localhost:59225/api/accelerator/Handshaking’, Version: 1.1, Content: System.Web.Http.WebHost.HttpControllerHandler+LazyStreamContent, Headers:{  Cache-Control: no-cache  Connection: Keep-Alive  Accept: application/json  Accept-Encoding: gzip  Accept-Encoding: deflate  Accept-Language: en-US  Accept-Language: en; q=0.5  Host: localhost:59225  Referer: http://localhost:59225/  User-Agent: Mozilla/5.0  User-Agent: (Windows NT 10.0; Win64; x64)  User-Agent: AppleWebKit/537.36  User-Agent: (KHTML, like Gecko)  User-Agent: Chrome/70.0.3538.102  User-Agent: Safari/537.36  User-Agent: Edge/18.18362  Origin: http://localhost:59225  X-Requested-With: XMLHttpRequest  Content-Length: 99  Content-Type: application/json; charset=UTF-8}}
Can you please tell me what is going wrong over here?
Thanks,
Srinivas
 
 

Attachments:
ss.png

4 answers

Public
Ian Sadovy Flexmonster January 3, 2020

Hello Srinivas,
 
Thank you for the question.
First of all, please note that we do not recommend decompiling Accelerator DLL. Also, we can not provide support for the decompiled/changed version.
Regarding the issue, we have noticed the old version on the screenshot. Could you please try the latest MVC sample from https://github.com/flexmonster/pivot-accelerator-dll and let us know if the issue remains?
 
Regards,
Ian

Public
srinivas January 3, 2020

Hi Ian,
Thanks for your reply. I will check the new mvc sample.
I don’t have any other option but to debug the dll to check what is exactly being passed in connection string. If I get the connection string then I can check with my sample asp code that uses adomdclient object and pass the same connection string to it to check the output. Is it atleast possible for you to give me the connection string that your accelerator is passing to the adomd client (with effectiveusername embedded in it)
Thanks,
Srinivas

Public
srinivas January 3, 2020

Hi Ian,
I have again decompiled the new dll. I don’t know if it is a bug in the code or what. When I set the effectiveUserName: ‘Test\Test’ in the report, the value I get in the dll is TestTest. If I put the effectiveUserName=Test\\Test, the cube is not getting connected and I get some strange error. Please find the Screenshots. Is this why the impersonation is not taking place correctly?
Can you  please look into it?
Thanks,
Srinivas

Attachments:
ss.docx

Public
Ian Sadovy Flexmonster January 9, 2020

Hello Srinivas,
 
Please find the continuation of the above topic in the following thread: https://www.flexmonster.com/question/how-to-get-the-accelerator-connect-to-the-ssas-cube-using-impersonate-user/
 
Regards,
Ian

Please login or Register to Submit Answer