diff --git a/src/AspNetCoreModuleV2/AspNetCore/Inc/aspnetcore_shim_config.h b/src/AspNetCoreModuleV2/AspNetCore/Inc/aspnetcore_shim_config.h index 3fde28273f..5229f95b79 100644 --- a/src/AspNetCoreModuleV2/AspNetCore/Inc/aspnetcore_shim_config.h +++ b/src/AspNetCoreModuleV2/AspNetCore/Inc/aspnetcore_shim_config.h @@ -38,12 +38,6 @@ public: return &m_struApplicationPhysicalPath; } - STRU* - QueryApplicationPath() - { - return &m_struApplication; - } - STRU* QueryConfigPath() { @@ -83,7 +77,6 @@ private: STRU m_struArguments; STRU m_struProcessPath; - STRU m_struApplication; STRU m_struApplicationPhysicalPath; STRU m_struConfigPath; APP_HOSTING_MODEL m_hostingModel; diff --git a/src/AspNetCoreModuleV2/AspNetCore/src/applicationinfo.cpp b/src/AspNetCoreModuleV2/AspNetCore/src/applicationinfo.cpp index ccbd586f3e..b1bcc464c3 100644 --- a/src/AspNetCoreModuleV2/AspNetCore/src/applicationinfo.cpp +++ b/src/AspNetCoreModuleV2/AspNetCore/src/applicationinfo.cpp @@ -153,7 +153,7 @@ APPLICATION_INFO::UpdateAppOfflineFileHandle() STACK_STRU(strEventMsg, 256); if (SUCCEEDED(strEventMsg.SafeSnwprintf( ASPNETCORE_EVENT_RECYCLE_APPOFFLINE_MSG, - m_pConfiguration->QueryApplicationPath()->QueryStr()))) + m_pConfiguration->QueryApplicationPhysicalPath()->QueryStr()))) { UTILITY::LogEvent(g_hEventLog, EVENTLOG_INFORMATION_TYPE, diff --git a/src/AspNetCoreModuleV2/CommonLib/resources.h b/src/AspNetCoreModuleV2/CommonLib/resources.h index a67f753311..153af6d3d0 100644 --- a/src/AspNetCoreModuleV2/CommonLib/resources.h +++ b/src/AspNetCoreModuleV2/CommonLib/resources.h @@ -8,8 +8,8 @@ #define IDS_INVALID_PROPERTY 1000 #define IDS_SERVER_ERROR 1001 -#define ASPNETCORE_EVENT_PROVIDER L"IIS AspNetCore Module" -#define ASPNETCORE_IISEXPRESS_EVENT_PROVIDER L"IIS Express AspNetCore Module" +#define ASPNETCORE_EVENT_PROVIDER L"IIS AspNetCore Module V2" +#define ASPNETCORE_IISEXPRESS_EVENT_PROVIDER L"IIS Express AspNetCore Module V2" #define ASPNETCORE_EVENT_MSG_BUFFER_SIZE 256 #define ASPNETCORE_EVENT_PROCESS_START_SUCCESS_MSG L"Application '%s' started process '%d' successfully and process '%d' is listening on port '%d'."