Base solution for your next web application
Open Closed

Deploy to IIS #6657


User avatar
0
rnguyen created

Hi,

I download the latest version 6.8 (.net core with Jquery) and try to run the app from IIS but got error 500. I was able to run from VS 2017 no problem but not in IIS. Currently I install the following:

  1. Dotnet-hosting-2.2.3-win
  2. DotNetCore.2.0.8-WindowsHosting

I am using

or can you help me to remote into my PC

Thanks


5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    You can check the logs to see the error message.

  • User Avatar
    0
    rnguyen created

    DEBUG 2019-03-18 22:46:16,198 [1 ] Abp.Modules.AbpModuleManager - Loading Abp modules... DEBUG 2019-03-18 22:46:16,227 [1 ] Abp.Modules.AbpModuleManager - Found 24 ABP modules in total. DEBUG 2019-03-18 22:46:16,258 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Aixem.Web.Startup.AixemWebMvcModule, Aixem.Web.Mvc, Version=6.5.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,261 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Aixem.Web.AixemWebCoreModule, Aixem.Web.Core, Version=6.5.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,262 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Aixem.AixemApplicationModule, Aixem.Application, Version=6.5.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,262 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Aixem.AixemCoreModule, Aixem.Core, Version=6.5.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,262 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,262 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,262 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AbpKernelModule, Abp, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,263 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.Ldap.AbpZeroLdapModule, Abp.Zero.Ldap, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,263 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,263 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetZeroCore.AbpAspNetZeroCoreModule, Abp.AspNetZeroCore, Version=1.2.2.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,264 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.MailKit.AbpMailKitModule, Abp.MailKit, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,264 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Aixem.EntityFrameworkCore.AixemEntityFrameworkCoreModule, Aixem.EntityFrameworkCore, Version=6.5.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,264 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,264 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,265 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,265 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.IdentityServer4.AbpZeroCoreIdentityServerEntityFrameworkCoreModule, Abp.ZeroCore.IdentityServer4.EntityFrameworkCore, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,265 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.IdentityServer4.AbpZeroCoreIdentityServerModule, Abp.ZeroCore.IdentityServer4, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,265 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetZeroCore.Web.AbpAspNetZeroCoreWebModule, Abp.AspNetZeroCore.Web, Version=1.2.2.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,266 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,266 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,266 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,266 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Aixem.Startup.AixemGraphQLModule, Aixem.GraphQL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,266 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Runtime.Caching.Redis.AbpRedisCacheModule, Abp.RedisCache, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,267 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Hangfire.AbpHangfireAspNetCoreModule, Abp.HangFire.AspNetCore, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:16,270 [1 ] Abp.Modules.AbpModuleManager - 24 modules loaded. DEBUG 2019-03-18 22:46:16,355 [1 ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource DEBUG 2019-03-18 22:46:16,356 [1 ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource DEBUG 2019-03-18 22:46:16,356 [1 ] o.Configuration.LanguageManagementConfig - Converted Aixem (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource DEBUG 2019-03-18 22:46:16,356 [1 ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource DEBUG 2019-03-18 22:46:16,808 [1 ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: Aixem.EntityFrameworkCore.AixemDbContext, Aixem.EntityFrameworkCore, Version=6.5.0.0, Culture=neutral, PublicKeyToken=null DEBUG 2019-03-18 22:46:17,598 [1 ] Abp.Localization.LocalizationManager - Initializing 4 localization sources. DEBUG 2019-03-18 22:46:17,636 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: Abp DEBUG 2019-03-18 22:46:17,649 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpZero DEBUG 2019-03-18 22:46:17,683 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: Aixem DEBUG 2019-03-18 22:46:17,688 [1 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpWeb DEBUG 2019-03-18 22:46:17,729 [1 ] Abp.BackgroundJobs.BackgroundJobManager - Start background worker: Abp.BackgroundJobs.BackgroundJobManager DEBUG 2019-03-18 22:46:17,782 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Found 19 classes define auto mapping attributes DEBUG 2019-03-18 22:46:17,782 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Web.Models.TokenAuth.ExternalLoginProviderInfoModel DEBUG 2019-03-18 22:46:17,790 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Friendships.Cache.FriendCacheItem DEBUG 2019-03-18 22:46:17,791 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Dto.OrganizationUnitDto DEBUG 2019-03-18 22:46:17,791 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Dto.RoleDto DEBUG 2019-03-18 22:46:17,791 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Dto.UserDto+RoleDto DEBUG 2019-03-18 22:46:17,791 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Dto.UserDto+OrganizationUnitDto DEBUG 2019-03-18 22:46:17,791 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Web.Views.Shared.Components.TenantChange.TenantChangeViewModel DEBUG 2019-03-18 22:46:17,791 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Web.Models.TenantRegistration.EditionsSelectViewModel DEBUG 2019-03-18 22:46:17,791 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Web.Models.TenantRegistration.TenantRegisterResultViewModel DEBUG 2019-03-18 22:46:17,792 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Web.Areas.App.Models.Users.CreateOrEditUserModalViewModel DEBUG 2019-03-18 22:46:17,792 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Web.Areas.App.Models.Users.UserPermissionsEditViewModel DEBUG 2019-03-18 22:46:17,792 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Web.Areas.App.Models.Tenants.TenantFeaturesEditViewModel DEBUG 2019-03-18 22:46:17,792 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Web.Areas.App.Models.SubscriptionManagement.PaymentResultViewModel DEBUG 2019-03-18 22:46:17,792 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Web.Areas.App.Models.Roles.CreateOrEditRoleModalViewModel DEBUG 2019-03-18 22:46:17,793 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Web.Areas.App.Models.Profile.MySettingsViewModel DEBUG 2019-03-18 22:46:17,793 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Web.Areas.App.Models.OrganizationUnits.EditOrganizationUnitModalViewModel DEBUG 2019-03-18 22:46:17,793 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Web.Areas.App.Models.Languages.CreateOrEditLanguageModalViewModel DEBUG 2019-03-18 22:46:17,793 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Web.Areas.App.Models.Editions.CreateEditionModalViewModel DEBUG 2019-03-18 22:46:17,793 [1 ] Abp.AutoMapper.AbpAutoMapperModule - Aixem.Web.Areas.App.Models.Editions.EditEditionModalViewModel INFO 2019-03-18 22:46:20,775 [1 ] IdentityServer4.Startup - Starting IdentityServer4 version 2.3.2.0 INFO 2019-03-18 22:46:20,883 [1 ] IdentityServer4.Startup - Using the default authentication scheme Identity.Application for IdentityServer INFO 2019-03-18 22:46:21,980 [8 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET http://localhost/
    INFO 2019-03-18 22:46:22,283 [8 ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'Aixem.Web.Controllers.HomeController.Index (Aixem.Web.Mvc)' INFO 2019-03-18 22:46:22,427 [8 ] ore.Mvc.Internal.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing action Aixem.Web.Controllers.HomeController.Index (Aixem.Web.Mvc) INFO 2019-03-18 22:46:22,636 [8 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method Aixem.Web.Controllers.HomeController.Index (Aixem.Web.Mvc) with arguments (, False) - Validation state: Valid INFO 2019-03-18 22:46:22,648 [8 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action method Aixem.Web.Controllers.HomeController.Index (Aixem.Web.Mvc), returned result Microsoft.AspNetCore.Mvc.RedirectToActionResult in 9.9542ms. ERROR 2019-03-18 22:46:22,673 [8 ] Mvc.ExceptionHandling.AbpExceptionFilter - An exception has been raised that is likely due to a transient failure. Consider enabling transient error resiliency by adding 'EnableRetryOnFailure()' to the 'UseSqlServer' call. System.InvalidOperationException: An exception has been raised that is likely due to a transient failure. Consider enabling transient error resiliency by adding 'EnableRetryOnFailure()' to the 'UseSqlServer' call. ---> System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) ---> System.ComponentModel.Win32Exception: No process is on the other end of the pipe --- End of inner exception stack trace --- at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource1 retry) at System.Data.SqlClient.SqlConnection.Open() at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnection(Boolean errorsExpected) at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected) at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransaction(IsolationLevel isolationLevel) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func3 operation, Func3 verifySucceeded) --- End of inner exception stack trace ---

  • User Avatar
    0
    rnguyen created

    Can you remote into my PC ? I really need your help to resolve this issue.

    Thanks

  • User Avatar
    0
    maliming created
    Support Team

    @rnguyen Send your teamviewer information to: [email protected]

  • User Avatar
    0
    maliming created
    Support Team

    Solved the problem after remote.