简体   繁体   中英

Could not run WCF debug mode in visual studio 2017 community version

When I try to run WCF debug mode in Visual studio 2017, I get the following errors in events viewer :

The Module DLL 'C:\\Program Files (x86)\\IIS Express\\Asp.Net Core Module\\V2\\aspnetcorev2.dll' could not be loaded due to a configuration problem. The current configuration only supports loading images built for a x86 processor architecture. The data field contains the error number. To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, see http://go.microsoft.com/fwlink/?LinkId=29349 .

And by that I couldn't launch my service.

Thank for all of your suggestion. I had done to resolve this by add comment 2 line of the file ".vs\\config\\applicationhost.config"

<!--  <add name="AspNetCoreModule" image="%IIS_BIN%\aspnetcore.dll" />
            <add name="AspNetCoreModuleV2" image="%IIS_BIN%\Asp.Net Core Module\V2\aspnetcorev2.dll" /> -->

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM