问题标签 [entrypointnotfoundexcept]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
437 浏览

asp.net-web-api - 使用 OWIN 自托管 WebAPI 时出现 EntryPointNotFoundException

我正在尝试通过以下链接使用 OWIN 自托管 Web API

http://www.asp.net/web-api/overview/hosting-aspnet-web-api/use-owin-to-self-host-web-api

但是,在执行下面这行的过程中

我收到EntryPointNotFoundException,因为在程序集中找不到 MyNamespace.SelfHostStartup。

任何帮助,将不胜感激。

谢谢你。

0 投票
0 回答
256 浏览

c# - 为什么尝试启动任务会导致 EntryPointNotFoundException?

在我的应用程序中,我有一个实用程序类,它应该并行执行一系列任务,并提供有关各种任务的成功和时间的报告。

每次我运行它,我都会得到一个 EntryPointNotFoundException。

我能想出的最简单的测试用例会产生这种行为,这非常简单。只是

不使用返回值,并且任何地方都没有自定义类会引发 EntryPointNotFoundException。

显示代码和异常的 VS2015 图像

这是使用 Visual Studio 2015,进程是 64 位的(对于整个应用程序来说,它必须是,在 Windows 7 64 位上运行)。它是一个 .NET 4.5 控制台应用程序。

是什么原因造成的,如何解决?

0 投票
1 回答
431 浏览

azure-storage - Microsoft.Windows.Azurestorage.dll 版本 6.0.0 中的 Sysytem.EntryPointNotFoundException

我正在使用Microsoft.WindowsAzure.Storage.dll6.0.0 版来处理 Azure 表存储。在表中添加新条目时,出现以下错误。

代码行抛出错误:

await this.CloudTable.ExecuteAsync(operation).ConfigureAwait(false);-> // 抛出错误

其中实体的类型为 TableEntity

我引用了以下程序集:

注意:代码在我的本地机器上运行时执行良好,但在我们不拥有的不同环境中运行时抛出上述异常。(不同的机器托管在其他地方,我们也无权访问这些机器)

错误:

错误:System.EntryPointNotFoundException:找不到入口点。#R##N# at Microsoft.WindowsAzure.Storage.Table.ITableEntity.get_PartitionKey()#R##N# at Microsoft.WindowsAzure.Storage.Table.TableOperation.GenerateCMDForOperation (CloudTableClient客户端,CloudTable表,TableRequestOptions modifiedOptions)#R##N#
在 Microsoft.WindowsAzure.Storage.Table.TableOperation.BeginExecute(CloudTableClient 客户端,CloudTable 表,TableRequestOptions requestOptions,OperationContext operationContext,AsyncCallback 回调,对象状态)#R##N# 在 Microsoft.WindowsAzure.Storage.Table.CloudTable.BeginExecute( TableOperation operation, TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, Object state)#R##N# at Microsoft.WindowsAzure.Storage.Table.CloudTable.BeginExecute(TableOperation operation, AsyncCallback callback, Object state)#R##N# at Microsoft.WindowsAzure.Storage.Core.Util.AsyncExtensions.TaskFromApm[T1,TResult](Func 4 beginMethod, Func 2 endMethod, T1 arg1, CancellationToken cancelToken)#R##N# 在 Microsoft.WindowsAzure.Storage.Table.CloudTable。ExecuteAsync(TableOperation operation, CancellationToken cancelToken)#R##N# at Microsoft.WindowsAzure.Storage.Table.CloudTable.ExecuteAsync(TableOperation operation)#R##N# at Microsoft.OnlinePublishing.Retry.TaskRetryer 2.DoAction()# R##N#--- 从先前抛出异常的位置结束堆栈跟踪---#R##N# at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)#R##N# at System .Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)#R##N# at System.Runtime.CompilerServices.ConfiguredTaskAwaitable 1.ConfiguredTaskAwaiter.GetResult()#R##N# at Microsoft.OnlinePublishing.Ingestion.Common.Cache。 CloudTableManager.d__6 1.MoveNext()ExecuteAsync(TableOperation operation)#R##N# at Microsoft.OnlinePublishing.Retry.TaskRetryer 2.DoAction()#R##N#--- 堆栈跟踪从上一个引发异常的位置结束---#R# #N# 在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)#R##N# 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)#R##N# 在 System.Runtime.CompilerServices。 ConfiguredTaskAwaitable 1.ConfiguredTaskAwaiter.GetResult()#R##N# at Microsoft.OnlinePublishing.Ingestion.Common.Cache.CloudTableManager.d__6 1.MoveNext()ExecuteAsync(TableOperation operation)#R##N# at Microsoft.OnlinePublishing.Retry.TaskRetryer 2.DoAction()#R##N#--- 堆栈跟踪从上一个引发异常的位置结束---#R# #N# 在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)#R##N# 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)#R##N# 在 System.Runtime.CompilerServices。 ConfiguredTaskAwaitable 1.ConfiguredTaskAwaiter.GetResult()#R##N# at Microsoft.OnlinePublishing.Ingestion.Common.Cache.CloudTableManager.d__6 1.MoveNext()ThrowForNonSuccess(Task task)#R##N# at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)#R##N# at System.Runtime.CompilerServices.ConfiguredTaskAwaitable 1.ConfiguredTaskAwaiter.GetResult()#R## N# 在 Microsoft.OnlinePublishing.Ingestion.Common.Cache.CloudTableManager.d__6 1.MoveNext()ThrowForNonSuccess(Task task)#R##N# at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)#R##N# at System.Runtime.CompilerServices.ConfiguredTaskAwaitable 1.ConfiguredTaskAwaiter.GetResult()#R## N# 在 Microsoft.OnlinePublishing.Ingestion.Common.Cache.CloudTableManager.d__6 1.MoveNext()

0 投票
1 回答
1300 浏览

c# - 运行 EConnect 示例控制台应用程序时出现 EntryPointNotFoundException

我正在尝试运行 EConnect 示例控制台应用程序,但它在 mscorlib.dll 中不断出现 System.EntryPointNotFoundException。我一生都无法弄清楚为什么要这样做,尤其是因为我过去成功地运行了这个应用程序,但现在突然间它不起作用了。

任何可能导致此问题的想法,或者至少有一些想法如何获得有关该问题的更多信息。我不确定如何捕获异常并显示更多信息,因为异常似乎出现而没有进入 catch 块。

这是我尝试运行的应用程序的代码,我尝试过跟踪它,似乎在这一行周围发生了异常: e.CreateEntity(sConnectionString, sCustomerDocument);

这是调试的输出:

我也多次重新安装了 eConnect,就像我之前所说的,直到今天一切都运行良好,所以我不知道发生了什么。对此的任何帮助将不胜感激。

编辑:好吧,我发现了我的问题,原来我关闭了 Just My Code 调试选项,重新打开它,它又可以工作了

0 投票
0 回答
1409 浏览

c# - 在 C# 中使用 C++ DLL 时出现 EntryPointNotFoundException

当我尝试从 C++ DLL 调用此函数时,我不断收到 System.EntryPointNotFoundException 错误。

我正在使用 VS 2015,这两个项目在同一个解决方案中。C# 项目还引用了 C++ 项目。

DLL 的头文件:

DLL 的类文件:

C# 类我尝试从以下位置调用函数:

谢谢

0 投票
1 回答
165 浏览

visual-studio - Visual Studio xamarin 用模拟器而不是 iphone 形成 iOS entrypointnotfound

在我的 Visual Studio Xamarin Forms iOS 项目中,我正在链接一个使用 Visual Studio Cross C++ 平台构建和部署的本机 (c++) 库。我可以链接并在实际设备上运行(通过 Mac 服务器),但我无法让它通过模拟器工作。如果我使用相同的链接设置构建,构建会失败,无法找到入口点。如果我选择不链接,则构建成功,但在尝试调用本机代码的位置运行时,我得到了 Entrypointnotfoundexception。

0 投票
0 回答
2505 浏览

apache - httpd.exe - 未找到入口点

我安装了xamp,当我启动apache时,它给了我这种错误

point_controlfp_s无法在动态链接库中找到过程入口c:\xampp\apache\bin\httpd.exe

请看这张图片

有没有解决这类问题的办法。如果有解决办法请回答

0 投票
1 回答
870 浏览

c# - 从 C# 访问 C++ 静态方法

假设您有以下 C++ 代码:

我想在我的 C# 项目中使用DllImport

这非常适用于testA,但testB无法抛出 EntryPointNotFoundException。

我可以testB从我的 C# 代码访问吗?如何?

0 投票
1 回答
1455 浏览

c# - C# EntryPointNotFoundException

AT91Boot_Scan在我的 C# 程序中,我正在调用sam-ba.dll. 在此 DLL 的文档中,此函数的签名是void AT91Boot_Scan(char *pDevList)

不幸的是,无论我尝试什么,我都会不断遇到EntryPointNotFoundException错误ArgumentNullException

我的代码如下,我做错了什么?

0 投票
1 回答
339 浏览

c# - Entry point was not found on calling Dispose

I'm unit testing a piece of code that uses a nested using statement. I've changed it to a using statement in a try/finally block. When I try to call the Dispose method in the finally block I get an EntryPointNotFoundException. I've tried a lot of things but I'm not sure how to solve this problem. Here is my code:

How can I solve this issue?