Telerik Forums
JustDecompile Forum
8 answers
629 views

I have a problem where my Just decompile can never connect to the servers.

please advise?

 

Error below:

Cannot connect to JustDecompile server.
Please, check your internet connection.
The request channel timed out while waiting for a reply after 00:00:13.8077585. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.

master
Top achievements
Rank 1
Iron
 answered on 24 Sep 2021
2 answers
202 views

 without using build-in plugin finder/installer since it's always failed to connected

 

thanks

n/a
Top achievements
Rank 1
Iron
 answered on 28 Jul 2021
4 answers
55 views
When I decompile code for one of the method I am getting below error. Can someone please guide what can be done to resolve that ?

 

// Current member / type
: System.Threading.Tasks.Task`1<System.Boolean> TPluginRegistrator.Registrator::AuhorizeAndStoreTokens()
// File path: sample.exe
//
// Product version: 2019.1.118.0
// Exception in: System.Threading.Tasks.Task<System.Boolean> AuhorizeAndStoreTokens()
//
// Specified method is not supported.
//    at Telerik.JustDecompiler.Common.Extensions.(TypeReference ‹, TypeReference& ‚) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Common\Extensions.cs:line 113
//    at ž..(Expression –, TypeReference& ) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Steps\FixBinaryExpressionsStep.cs:line 240
//    at ž..•(BinaryExpression –) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Steps\FixBinaryExpressionsStep.cs:line 221
//    at †”.‰Ÿ.—š(ICodeNode ) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Ast\BaseCodeTransformer.cs:line 97
//    at †”.‰Ÿ.Visit(ICodeNode ) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Ast\BaseCodeTransformer.cs:line 276
//    at ž..•(BinaryExpression –) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Steps\FixBinaryExpressionsStep.cs:line 75
//    at †”.‰Ÿ.—š(ICodeNode ) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Ast\BaseCodeTransformer.cs:line 97
//    at †”.‰Ÿ.Visit(ICodeNode ) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Ast\BaseCodeTransformer.cs:line 276
//    at ž..œ(DecompilationContext ™, •Ÿ €–) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Steps\FixBinaryExpressionsStep.cs:line 44
//    at Telerik.JustDecompiler.Decompiler.ExpressionDecompilerStep.œ(DecompilationContext Ž, •Ÿ €–) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Decompiler\ExpressionDecompilerStep.cs:line 91
//    at ‚–.™“.(MethodBody €–, •Ÿ Ÿ, ILanguage ) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Decompiler\DecompilationPipeline.cs:line 88
//    at ‚–.™“.‹(MethodBody €–, ILanguage ) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Decompiler\DecompilationPipeline.cs:line 70
//    at Telerik.JustDecompiler.Decompiler.Extensions.“(MethodBody €–, DecompilationContext †, Œ Ÿ“, Func`2 ”, DecompilationContext& ”“) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Decompiler\Extensions.cs:line 104
//    at Telerik.JustDecompiler.Decompiler.Extensions.”(MethodBody €–, DecompilationContext †, ‡& ‡) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Decompiler\Extensions.cs:line 150
//    at ž.Ž.Ž() in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Steps\RebuildAsyncStatementsStep.cs:line 148
//    at ž.Ž.Match() in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Steps\RebuildAsyncStatementsStep.cs:line 57
//    at ž.Ž.œ(DecompilationContext ™, •Ÿ €–) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Steps\RebuildAsyncStatementsStep.cs:line 31
//    at ‚–.™“.(MethodBody €–, •Ÿ Ÿ, ILanguage ) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Decompiler\DecompilationPipeline.cs:line 88
//    at ‚–.™“.‹(MethodBody €–, ILanguage ) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Decompiler\DecompilationPipeline.cs:line 70
//    at Telerik.JustDecompiler.Decompiler.Extensions.›“(™“ œ“, ILanguage , MethodBody €–, DecompilationContext& ™) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Decompiler\Extensions.cs:line 95
//    at Telerik.JustDecompiler.Decompiler.Extensions.š“(MethodBody €–, ILanguage , DecompilationContext& ™,  œ–) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Decompiler\Extensions.cs:line 58
//    at ——.ƒ˜.—(ILanguage , MethodDefinition €,  œ–) in C:\DeveloperTooling_JD_Agent1\_work\15\s\OpenSource\Cecil.Decompiler\Decompiler\WriterContextServices\BaseWriterContextService.cs:line 117
//
// mailto: JustDecompilePublicFeedback@telerik.com
Nick Iliev
Telerik team
 answered on 08 May 2021
1 answer
47 views

Hi,

When I am decompiling my .NET Framework DLL using tool it for some method it generated below code and it gives error. 

Why it is providing d__12 ? and it gives error in many method which converted similar as below. 

            TicketeHttpClient.< GetPluginData > d__12 variable = null;
            AsyncTaskMethodBuilder<TPluginJson> asyncTaskMethodBuilder = AsyncTaskMethodBuilder<TPluginJson>.Create();
            asyncTaskMethodBuilder.Start < TicketeHttpClient.< GetPluginData > d__12 > (ref variable);
            return asyncTaskMethodBuilder.Task;

Please advice what went wrong in this case and how to resolve the problem.

Nick Iliev
Telerik team
 answered on 08 May 2021
5 answers
681 views

I am trying to unlock a spreadsheet DLL that I locked up with LockXLSRuntime.dll.   For some reason this DLL will not decompile.  JustDecompile does not give any indication what is invalid about the DLL. The attached file is a .rar with the

Any help would be appreciated. 

Thank you.

Richard

Nick Iliev
Telerik team
 answered on 11 Mar 2021
3 answers
2.0K+ views
I just downloaded the product, because i have an in house application with lost code.  I tried to drag-n-drop the EXE, MDB and even DLL's and they all say "is not currently supported".  I'm not sure what I am suppose to do to make this work.
Nick Iliev
Telerik team
 answered on 19 Feb 2021
3 answers
234 views
Hi guys,

I'm interested in trying out this tool. At my work however, my dev environment does not have Internet connection and therefore I cannot install this tool. Is there anything I can do to try this tool out at work?

Thanks,
Bernado
Nick Iliev
Telerik team
 answered on 23 Dec 2020
1 answer
103 views

Even though I use the product daily, I haven't seen updates for a few years. The JustDecompile Engine on GitHub was last touched in 2018. Has this product reached End of Life? Will it not be maintained anymore?

Nick Iliev
Telerik team
 answered on 22 Dec 2020
2 answers
1.4K+ views
I downloaded the De4Dot project from GitHub and tried to build it Visual Studio 2017 but got many errors.  It looks like it is supposed to produce a Console APP  with a number of Class Libraries. I was wondering if there was a place to download the built De4Dot solution (EXE and DLLs)? Thanks.
Nick Iliev
Telerik team
 answered on 16 Dec 2020
1 answer
98 views

Hi,

I lost the source code of an ASP.Net Core project due to a corrupted operating system and HP backup recovery falsely stating that it backs up content of the documents folder without mentioning that only certain file types are backed up. I used DotPeek to recover a lot of code but some classes could not be decompiled. Those same classes are also having problems with Just Decompile. Usually these classes use a lot of lambda expressions.

Here is an example of a customized Login model that returns an error saying "JustDecompile was unable to locate the assembly where attribute parameters types are defined. Generating parameters values is impossible." This error was proceeded by a prompt when decompiling that asked for the location of some assembly, but I hit skip and when opening the LoginModel I am no longer prompted to give the location. 

When I copy the output into Visual Studio 2019 I get a bunch of errors for things like base.get_HttpContext() or base.get_Url() which were not in the source code. DotPeek made the same mistake so I would have to go and manually change those to whatever method I was using to get the current HttpContext, Url, RouteData, etc.

Here is the output:

using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.CSharp.RuntimeBinder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Runtime.CompilerServices;
using System.Text.Encodings.Web;
using System.Threading.Tasks;

namespace PostAlmostAnything.Areas.Identity.Pages.Account
{
    [AllowAnonymous]
    public class LoginModel : PageModel
    {
        private readonly UserManager<IdentityUser> _userManager;

        private readonly SignInManager<IdentityUser> _signInManager;

        private readonly ILogger<LoginModel> _logger;

        private readonly IEmailSender _emailSender;

        private readonly IConfiguration configuration;

        private readonly IHttpClientFactory _httpClientFactory;

        [TempData]
        public string ErrorMessage
        {
            get;
            set;
        }

        public IList<AuthenticationScheme> ExternalLogins
        {
            get;
            set;
        }

        [BindProperty]
        public LoginModel.InputModel Input
        {
            get;
            set;
        }

        public string ReturnUrl
        {
            get;
            set;
        }

        public LoginModel(SignInManager<IdentityUser> signInManager, ILogger<LoginModel> logger, UserManager<IdentityUser> userManager, IEmailSender emailSender, IConfiguration configuration, IHttpClientFactory httpClientFactory)
        {
            this._userManager = userManager;
            this._signInManager = signInManager;
            this._emailSender = emailSender;
            this._logger = logger;
            this.configuration = configuration;
            this._httpClientFactory = httpClientFactory;
        }

        public async Task OnGetAsync(string returnUrl = null)
        {
            if (!string.IsNullOrEmpty(this.ErrorMessage))
            {
                base.get_ModelState().AddModelError(string.Empty, this.ErrorMessage);
            }
            string str = returnUrl;
            if (str == null)
            {
                str = base.get_Url().Content("~/");
            }
            returnUrl = str;
            await AuthenticationHttpContextExtensions.SignOutAsync(base.get_HttpContext(), IdentityConstants.ExternalScheme);
            IEnumerable<AuthenticationScheme> externalAuthenticationSchemesAsync = await this._signInManager.GetExternalAuthenticationSchemesAsync();
            this.ExternalLogins = Enumerable.ToList<AuthenticationScheme>(externalAuthenticationSchemesAsync);
            externalAuthenticationSchemesAsync = null;
            this.ReturnUrl = returnUrl;
        }

        public async Task<IActionResult> OnPostAsync(string returnUrl = null)
        {
            LoginModel.<OnPostAsync>d__25 variable = null;
            AsyncTaskMethodBuilder<IActionResult> asyncTaskMethodBuilder = AsyncTaskMethodBuilder<IActionResult>.Create();
            asyncTaskMethodBuilder.Start<LoginModel.<OnPostAsync>d__25>(ref variable);
            return asyncTaskMethodBuilder.get_Task();
        }

        public async Task<IActionResult> OnPostSendVerificationEmailAsync()
        {
            IActionResult actionResult;
            if (base.get_ModelState().get_IsValid())
            {
                IdentityUser identityUser = await this._userManager.FindByNameAsync(this.Input.UserName);
                IdentityUser identityUser1 = identityUser;
                identityUser = null;
                if (identityUser1 == null)
                {
                    base.get_ModelState().AddModelError(string.Empty, "Verification email sent. Please check your email.");
                }
                string userIdAsync = await this._userManager.GetUserIdAsync(identityUser1);
                string str = userIdAsync;
                userIdAsync = null;
                string emailAsync = await this._userManager.GetEmailAsync(identityUser1);
                string str1 = emailAsync;
                emailAsync = null;
                string str2 = await this._userManager.GenerateEmailConfirmationTokenAsync(identityUser1);
                string str3 = str2;
                str2 = null;
                string str4 = UrlHelperExtensions.Page(base.get_Url(), "/Account/ConfirmEmail", null, new { userId = str, code = str3 }, base.get_Request().get_Scheme());
                await this._emailSender.SendEmailAsync(str1, "Confirm your email", string.Concat("Please confirm your account by <a href='", HtmlEncoder.get_Default().Encode(str4), "'>clicking here</a>."));
                base.get_ModelState().AddModelError(string.Empty, "Verification email sent. Please check your email.");
                actionResult = this.Page();
            }
            else
            {
                actionResult = this.Page();
            }
            return actionResult;
        }

        public class InputModel
        {
            [DataType(,)]    // JustDecompile was unable to locate the assembly where attribute parameters types are defined. Generating parameters values is impossible.
            [Required]
            public string Password
            {
                get;
                set;
            }

            [Display(Name="Remember me?")]
            public bool RememberMe
            {
                get;
                set;
            }

            [Display(Name="Login Name")]
            [Required]
            public string UserName
            {
                get;
                set;
            }

            public InputModel()
            {
            }
        }
    }
}

Nick Iliev
Telerik team
 answered on 17 Jul 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
JG
Top achievements
Rank 2
Iron
ixen
Top achievements
Rank 1
Iron
Iron
Iron
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Jana
Top achievements
Rank 2
Iron
Iron
Iron
Roland
Top achievements
Rank 1
Veteran
Iron
Top users last month
JG
Top achievements
Rank 2
Iron
ixen
Top achievements
Rank 1
Iron
Iron
Iron
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Jana
Top achievements
Rank 2
Iron
Iron
Iron
Roland
Top achievements
Rank 1
Veteran
Iron