我有一个在 Net 3.5 中运行的 Web 服务(我知道,它太旧了),我将它迁移到 Net 4.6。我在本地完成了迁移,但当我在服务器中部署 Web 服务时,我收到 500.19 错误。我查看了日志事件、跟踪、web.config……但我搞不清楚。你能帮我吗?请向我询问您需要的任何额外信息,如日志、跟踪、规范、web.config……非常感谢
请求追踪失败
<failedRequest url="https://webservices.XXXXXXXX.com:443/PRoject/Project.svc/get/?number=12345678"
siteId="1570333581"
appPoolId="webservices_apppool"
processId="2644"
verb="GET"
authenticationType="NOT_AVAILABLE" activityId="{80000054-0000-F100-B63F-84710C7967BB}"
failureReason="STATUS_CODE"
statusCode="500.19"
triggerStatusCode="500.19"
timeTaken="0"
xmlns:freb="http://schemas.microsoft.com/win/2006/06/iis/freb"
>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
<EventID>0</EventID>
<Version>1</Version>
<Level>0</Level>
<Opcode>1</Opcode>
<Keywords>0x0</Keywords>
<TimeCreated SystemTime="2023-05-31T11:54:31.713Z"/>
<Correlation ActivityID="{80000054-0000-F100-B63F-84710C7967BB}"/>
<Execution ProcessID="2644" ThreadID="3212"/>
<Computer>hostname</Computer>
</System>
<EventData>
<Data Name="ContextId">{80000054-0000-F100-B63F-84710C7967BB}</Data>
<Data Name="SiteId">1570333581</Data>
<Data Name="AppPoolId">webservices_apppool</Data>
<Data Name="ConnId">1610612819</Data>
<Data Name="RawConnId">0</Data>
<Data Name="RequestURL">https://webservices.XXXXX.com:443/Project/Project.svc/get/?number=12345678</Data>
<Data Name="RequestVerb">GET</Data>
</EventData>
<RenderingInfo Culture="en-US">
<Opcode>GENERAL_REQUEST_START</Opcode>
</RenderingInfo>
<ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
<EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
</ExtendedTracingInfo>
</Event>