Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/blackberry/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Azure functions 部署Azure功能时发生中心目录损坏错误_Azure Functions - Fatal编程技术网

Azure functions 部署Azure功能时发生中心目录损坏错误

Azure functions 部署Azure功能时发生中心目录损坏错误,azure-functions,Azure Functions,使用以下azure function Core Tools命令行“func azure functionapp publish”部署azure函数时,我收到以下中央目录损坏错误 有人知道这是什么原因吗 Azure功能核心工具版本为2.7.2254 完整错误文本 上载存档文件时出错(InternalServerError)。 服务器响应:{“消息”:“出现错误”,“异常消息”:“中央目录已损坏”,“异常类型”:“System.IO.InvalidDataException”,“StackTrace

使用以下azure function Core Tools命令行“func azure functionapp publish”部署azure函数时,我收到以下中央目录损坏错误

有人知道这是什么原因吗

Azure功能核心工具版本为2.7.2254

完整错误文本 上载存档文件时出错(InternalServerError)。 服务器响应:{“消息”:“出现错误”,“异常消息”:“中央目录已损坏”,“异常类型”:“System.IO.InvalidDataException”,“StackTrace”:“at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()\r\n at System.IO.Compression.ZipArchive.Init(Stream Stream,ZipArchiveMode,Boolean leaveOpen)\r\n在System.IO.Compression.ZipArchive..ctor(Stream-Stream,ZipArchiveMode,Boolean-leaveOpen,Encoding-entryNameEncoding)处\r\n在System.IO.Compression.ZipFile.Open处(String-archiveFileName,ZipArchiveMode,Encoding-entryNameEncoding)\r\n在Kudu.Services.Deployment.PushDeploymentController.ExtractTriggers处C:\Kudu Files\Private\src\master\Kudu.Services\Deployment\PushDeploymentController.cs:Kudu.Services.Deployment.PushDeploymentController.d_u14.MoveNext()中的第329行\r\n在C:\Kudu Files\Private\src\master\Kudu.Services\Deployment\PushDeploymentController.cs中:第315行\r\n--引发异常的上一个位置的堆栈结束跟踪----\r\n在System.Runtime.CompilerServices.TaskWaiter.ThrowForOnSuccess(任务任务)\r\n位于System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)\r\n位于Kudu.Core.Deployment.FetchDeploymentManager.d_u9.MoveNext()在C:\Kudu Files\Private\src\master\Kudu.Core\Deployment\FetchDeploymentManager.cs中:第235行\r\n--引发异常的上一个位置的堆栈结束跟踪----\r\n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务任务)\r\n在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)\r\n位于Kudu.Core.Deployment.FetchDeploymentManager.c\u\u显示c:\Kudu Files\Private\src\master\Kudu.Core\Deployment\FetchDeploymentManager.cs中的Class8\u 0.d.MoveNext():第115行\r\n--来自引发异常的上一个位置的堆栈结束跟踪---\r\n位于System.Runtime.CompilerServices.TaskWaiter.ThrowForNonSuccess(任务任务)\r\n位于System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务任务)\r\n位于Kudu.Contracts.Infrastructure.LockExtensions.d\u 5
1.MoveNext()在C:\\Kudu Files\\Private\\src\\master\\Kudu.Contracts\\Infrastructure\\LockExtensions.cs中:第100行\r\n--引发异常的上一个位置的堆栈结束跟踪----\r\n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task Task)\r\n位于System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)\r\n位于Kudu.Core.Deployment.FetchDeploymentManager.d_u8.MoveNext()在C:\\Kudu Files\\Private\\src\\master\\Kudu.Core\\Deployment\\FetchDeploymentManager.cs中:第108行\r\n--从引发异常的上一个位置开始的堆栈结束跟踪----\r\n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)\r\n在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)\r\n在System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(任务任务任务)\r\n在Kudu.Services.Deployment.PushDeploymentController.d_12.MoveNext()在C:\\Kudu Files\\Private\\src\\master\\Kudu.Services\\Deployment\\PushDeploymentController.cs中:第221行\r\n--引发异常的上一个位置的堆栈结束跟踪----\r\n在System.Runtime.CompilerServices.TaskWaiter.ThrowForNonSuccess(任务任务)\r\n位于System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)\r\n位于Kudu.Services.Deployment.PushDeploymentController.d_u8.MoveNext()在C:\\Kudu Files\\Private\\src\\master\\Kudu.Services\\Deployment\\PushDeploymentController.cs中:第95行\r\n--引发异常的上一个位置的堆栈结束跟踪----\r\n在System.Runtime.CompilerServices.TaskWaiter.ThrowForNonSuccess(任务任务)\r\n在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)\r\n在System.Threading.Tasks.TaskHelperExtensions.d\u 3
1.MoveNext()\r\n--从引发异常的上一个位置开始的堆栈结束跟踪---\r\n在System.Runtime.CompilerServices.Waiter\n Task.ThrowForOnSuccess(任务任务任务)\r\n位于System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)\r\n位于System.Web.Http.Controllers.ApiControllerActionInvoker.d_u0.MoveNext()\r\n---来自引发异常的上一个位置的堆栈结束跟踪---\r\n位于System.Runtime.CompilerServices.TaskAwaiter.ThrowForOnSuccess(任务任务)\r\n位于System.Web.Http.Filters.ActionFilterAttribute.d\u 5.MoveNext()\r\n--从引发异常的上一个位置开始的堆栈结束跟踪---\r\n位于System.Web.Http.Filters.ActionFilterAttribute.d\u 5.MoveNext()处\r\n---从引发异常的上一个位置开始的堆栈结束跟踪----\r\n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务任务)\r\n在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务任务任务)\r\n在System.Web.Http.Filters.ActionFilterAttribute.d\u 0.MoveNext()\r\n---从引发异常的上一个位置开始的堆栈结束跟踪----\r\n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForOnSuccess(任务任务任务)\r\n在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务任务任务)\r\n在System.Web.Http.Filters.ActionFilterAttribute.d_5.MoveN
func azure functionapp publish yourfunctionappnameonazure --force