Open Closed

Account module error (abp is not defined) #341


User avatar
0
rajasekhard2015 created

Hi, After upgrading my solution 2.8.0 to 3.0.5 i am getting below error for Account Module.

  • ABP Framework version: v3.0.5
  • UI type: MVC
  • **Tiered (MVC) : ** yes


10 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    hi,

    did you add migrations? also see the logs in web folder

  • User Avatar
    0
    rajasekhard2015 created

    Yes I have added the migrations.

    application working in debug and release mode.

    after deploying the application in the cloud its's showing above error.

  • User Avatar
    0
    alper created
    Support Team Director

    can you check the Logs in your web folder? seems like ASP.NET Core Runtime is missing on the prod server.

  • User Avatar
    0
    rajasekhard2015 created

    only account module not working. after login evrything working fine.

  • User Avatar
    0
    alper created
    Support Team Director

    Check that this URL is loading successfully

    https://yourdomain.com/Abp/ServiceProxyScript

  • User Avatar
    0
    rajasekhard2015 created

    2020-08-11 10:11:40.613 +00:00 [INF] Completed: Setting status of inactive sessions... 2020-08-11 10:11:40.616 +00:00 [INF] Request starting HTTP/1.1 GET https://domain/Account/Login
    2020-08-11 10:11:40.627 +00:00 [INF] Executing endpoint '/Account/Login' 2020-08-11 10:11:40.628 +00:00 [INF] Route matched with {page = "/Account/Login", action = "", controller = "", area = ""}. Executing page /Account/Login 2020-08-11 10:11:40.636 +00:00 [INF] Executing handler method Volo.Abp.Account.Public.Web.Pages.Account.LoginModel.OnGetAsync - ModelState is "Valid" 2020-08-11 10:11:40.638 +00:00 [INF] Executed handler method OnGetAsync, returned result . 2020-08-11 10:11:40.640 +00:00 [INF] Executing an implicit handler method - ModelState is "Valid" 2020-08-11 10:11:40.642 +00:00 [INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult. 2020-08-11 10:11:40.708 +00:00 [INF] Executed page /Account/Login in 78.1705ms 2020-08-11 10:11:40.714 +00:00 [INF] Executed endpoint '/Account/Login' 2020-08-11 10:11:40.715 +00:00 [INF] Request finished in 99.3678ms 200 text/html; charset=utf-8 2020-08-11 10:11:41.209 +00:00 [INF] Request starting HTTP/1.1 GET https://domain/Abp/ApplicationConfigurationScript
    2020-08-11 10:11:41.214 +00:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)' 2020-08-11 10:11:41.219 +00:00 [INF] Route matched with {area = "Abp", action = "Get", controller = "AbpApplicationConfigurationScript", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Get() on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController (Volo.Abp.AspNetCore.Mvc). 2020-08-11 10:11:41.233 +00:00 [INF] Authorization was successful. 2020-08-11 10:11:41.239 +00:00 [INF] Authorization was successful. 2020-08-11 10:11:41.241 +00:00 [INF] Authorization was successful. 2020-08-11 10:11:41.242 +00:00 [INF] Request starting HTTP/1.1 GET https://domain/Abp/ServiceProxyScript
    2020-08-11 10:11:41.251 +00:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)' 2020-08-11 10:11:41.253 +00:00 [INF] Route matched with {area = "Abp", action = "GetAll", controller = "AbpServiceProxyScript", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult GetAll(Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel) on controller Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController (Volo.Abp.AspNetCore.Mvc). 2020-08-11 10:11:41.289 +00:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2020-08-11 10:11:41.292 +00:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) in 38.4914ms 2020-08-11 10:11:41.293 +00:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)' 2020-08-11 10:11:41.294 +00:00 [INF] Request finished in 52.2982ms 200 application/javascript

    these are my logs in logs folder

  • User Avatar
    0
    rajasekhard2015 created

  • User Avatar
    0
    rajasekhard2015 created

    https://yourdomain.com/Abp/ServiceProxyScript

    successfully loading

  • User Avatar
    0
    alper created
    Support Team Director

    I'm checking your website but these URLs don't work

    • https://xsensetage.azurewebsites.net/Abp/ServiceProxyScript
    • https://xsensetage.azurewebsites.net/Abp/ApplicationConfiguration

    See the correct one => https://commercial.abp.io/Abp/ServiceProxyScript

    I guess an Azure related problem.

  • User Avatar
    0
    alper created
    Support Team Director

    closed due to inactivity...

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11