小编Vso*_*ape的帖子

ASP.NET 4.5在ASP.NET Core 2.0应用程序下的Azure Web App中作为虚拟应用程序抛出502.5

这是" 在ASP.NET核心Web应用程序下的虚拟目录中以.net 4.6.1运行MVC Web应用程序的重复.是否可能? "但它没有得到解决,OP说他通过创建一个额外的应用程序来解决它.所以我再次发布.

我有一个Azure Web App组织如下:

"site/wwwroot/MyWeb.dll" (ASP.NET Core 2.0)
"site/admin/MyAdmin.dll" (ASP.NET 4.5)
Run Code Online (Sandbox Code Playgroud)

网络运行正常.但是当我尝试访问管理站点时,我收到以下错误

HTTP错误502.5 - 进程失败

以下是".../logFiles/eventlog.xml"的摘录,我认为这是有用的

<Event>
        <System>
            <Provider Name="IIS AspNetCore Module"/>
            <EventID>1000</EventID>
            <Level>1</Level>
            <Task>0</Task>
            <Keywords>Keywords</Keywords>
            <TimeCreated SystemTime="2018-01-04T20:09:05Z"/>
            <EventRecordID>1024919046</EventRecordID>
            <Channel>Application</Channel>
            <Computer>RD00155D77CB9A</Computer>
            <Security/>
        </System>
        <EventData>
            <Data>Application 'MACHINE/WEBROOT/APPHOST/MYAPP/ADMIN' with physical root 'D:\home\site\admin\' failed to start process with commandline 'dotnet .\MyWeb.dll', ErrorCode = '0x80004005 : 80008081.</Data>
        </EventData>
    </Event>
Run Code Online (Sandbox Code Playgroud)

随意询问您可能需要的任何信息.提前致谢!

.net c# asp.net azure asp.net-core

3
推荐指数
1
解决办法
382
查看次数

标签 统计

.net ×1

asp.net ×1

asp.net-core ×1

azure ×1

c# ×1