简体   繁体   English

尝试运行项目时出错。 该地址对此上下文无效

[英]Error while trying to run project. The address is not valid for this context

I have 64x console application in VS 2013. When I've tried to run x64 application in debug mode, I've got a message: 我在VS 2013中有64x控制台应用程序。当我尝试在调试模式下运行x64应用程序时,出现一条消息:

Error while trying to run project: Unable to start program [PathToMyApplication].
The address is not valid for this context.

For 32x application it worsk fine. 对于32x应用程序,它可以正常工作。 Reinstall VS 2013 did't help. 重新安装VS 2013没有帮助。 What can I do? 我能做什么?

My error message is similar when starting the project: 启动项目时,我的错误消息类似:

"Error while trying to run project: Unable to start program 'C:\\Project\\StrictAny\\PrensentationLayer\\bin\\PPEREM.exe' “尝试运行项目时出错:无法启动程序'C:\\ Project \\ StrictAny \\ PrensentationLayer \\ bin \\ PPEREM.exe”

The address is not valid for this context " 该地址对此上下文无效”

I solved the problem by switching [Solution Explorer=>Solution Properties=>Active config=>Debug|AnyCUP] to "Debug|x86" 我通过将[Solution Explorer => Solution Properties => Active config => Debug | AnyCUP]切换为“ Debug | x86”来解决了问题

Then the application proceeds in starting. 然后应用程序开始启动。

hope this helps anyone. 希望这对任何人有帮助。

问题出在嗅探器软件“ SearchInformAgent”上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 尝试运行 my.Net Core MVC 项目时出错。 我能做些什么? - Error trying to run my .Net Core MVC Project. What can I do? 尝试在VS 2012中运行项目时出错 - Error while trying to run project in VS 2012 尝试运行项目时出错:访问被拒绝 - Error while trying to run project: Access is denied 套接字错误请求的地址在其上下文中无效 - Socket Error The requested address is not valid in its context 尝试运行项目时出错:模块应包含程序集清单 - Error while trying to run project:The module was expected to contain an assembly manifest WCF Tcp绑定“请求的地址在其上下文中无效”错误 - WCF Tcp Binding “The requested address is not valid in its context” Error XAML 岛,尝试发布 WPF 项目时总是出错。 有同样问题的人多吗? - XAML Islands, Always get an error trying to publish the WPF Project. More people having the same issue? HttpListener:请求的地址在此上下文中无效 - HttpListener: The requested address is not valid in this context SocketException:请求的地址在上下文中无效 - SocketException: The requested address is not valid in the context 尝试在调试模式下运行项目时出错,但如果我运行EXE文件则有效 - Error while trying to run project in debug mode, but works if I run the EXE file
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM