Error with publishing my ASP.net website - asp.net

solved.
My solution: Build -> clean -> rebuild
I got host for my website and now I'm trying to upload the website's files via VS2017 using 'publish' feature of VS. I setup the connection with the host properly (Validate connection went successful..). But as the VS tries to upload my files it says:
Unable to add 'Content/homePage.css' to the Web site. Unable to parse server response to PASV command.
This error message is shown for each file in my website. The above is just an example to such message. I'm using FTP publish method. My host is 000webhost
diagnostic log:
15/07/2018 08:56:08
System.AggregateException: One or more errors occurred. ---> System.Exception: Publish failed due to build errors. Check the error list for more details.
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Web.Publish.PublishService.VsWebProjectPublish.<>c__DisplayClass40_0.<PublishAsync>b__2()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.ApplicationCapabilities.Publish.ViewModel.ProfileSelectorViewModel.<RunPublishTaskAsync>d__88.MoveNext()
---> (Inner Exception #0) System.Exception: Publish failed due to build errors. Check the error list for more details.<---
===================

Related

How do I fix a "block context" error in 2sxc?

I am running DNN v9.11.0 with 2sxc 13.12.1 LTS and have encountered the following error:
Block context required but not known. It was not attached.
The error comes from a custom app that I wrote that has a dropdown whose values come from a query called CountryQuery.
The particular page where the error occurs is a form that has 6 dropdowns on it. I am presuming that some particular combination of dropdowns causes this problem. Unfortunately, after trying to reproduce the error, I am finding nothing. I could find no combination of dropdown values that would cause the error. I only find it in the logs after several days of use by visitors to the website. So I'm stumped.
I'd like to fix the problem but I don't know where to start. I am appending the error below:
AbsoluteURL:/api/2sxc/app/auto/query/CountryQuery
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:97146555-e1e2-49de-8445-c10e686077c1
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:BrTk2LCX6s4U2MnLCNGNgkIuE9M=
Message:Block context required but not known. It was not attached.
StackTrace:
at ToSic.Sxc.Context.ContextResolver.BlockRequired() in C:\Projects\2sxc\V13\2sxc\Src\Sxc\ToSic.Sxc\Context\ContextResolver.cs:line 35
at ToSic.Sxc.WebApi.App.AppQueryControllerReal.QueryPost(String name, QueryParameters more, Nullable1 appId, String stream, Boolean includeGuid) in C:\Projects\2sxc\V13\2sxc\Src\Sxc\ToSic.Sxc.WebApi\App\AppQueryControllerReal.cs:line 54 at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Tracing.ITraceWriterExtensions.d__171.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__171.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ExceptionFilterResult.d__6.MoveNext()
InnerMessage:
InnerStackTrace:
Source:ToSic.Sxc
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Server Name: DNN4LESS11
My app appears to work properly for all the values I have tested. Obviously, visitors to the website are trying some combination that is causing trouble. I have had no reports of the website not working properly.
The Content Block is the "record" which says "here I show the template so-and-so and it will use the data so-and-so". Check out the docs: https://docs.2sxc.org/basics/cms/content-blocks/index.html
DNN will add a module to the page and in the module settings it will store the app-id and the content-block guid to find the stuff to show. Docs: https://docs.2sxc.org/basics/cms/content-blocks/content-blocks-in-dnn.html
One more thing: When you add an app, it doesn't actually store the app-id/content-block yet, because once it does that it's "final" so the user can't switch to another app any more. So it doesn't get "finalized" until the the user starts editing data on the newly-added-app.
If 2sxc can't find the content block, I guess one of these things are off:
The data in DNN pointing to the app/content-block is missing
The data in DNN pointing to the app/content-block is defect
For unknown reasons, the content-block was deleted (which is super uncommon, as they are never deleted)
You could see the exact values used in Insights.
But my gut feeling is that it's DNN Search. My guess is you have some module added to the page without "finalizing" and DNN search tries to index it. This is super likely because when you see Portal = -1 in the log, it's usually triggered by search.

Error while remove migration and update database entity framework core Exception while reading from stream

I am working in dotnet core web api using restful service with entity framework code first approach. I am running one migration and when I run the migration using add-migration command then I get build succeeded but then when I try to update-database or rollback the migration using remove-migration I get the below error:
PM> remove-migration
Build started...
Build succeeded.
Npgsql.NpgsqlException (0x80004005): Exception while reading from stream
---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.
at Npgsql.NpgsqlReadBuffer.<>c__DisplayClass34_0.<<Ensure>g__EnsureLong|0>d.MoveNext()
at Npgsql.NpgsqlReadBuffer.<>c__DisplayClass34_0.<<Ensure>g__EnsureLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Npgsql.NpgsqlConnector.<>c__DisplayClass160_0.<<DoReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Npgsql.NpgsqlConnector.Authenticate(String username, NpgsqlTimeout timeout, Boolean async)
at Npgsql.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnection.<>c__DisplayClass32_0.<<Open>g__OpenLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Npgsql.NpgsqlConnection.Open()
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlDatabaseCreator.Exists()
at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.Exists()
at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.GetAppliedMigrations()
at Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolder.RemoveMigration(String projectDir, String rootNamespace, Boolean force, String language)
at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.RemoveMigration(String contextType, Boolean force)
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.RemoveMigrationImpl(String contextType, Boolean force)
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.RemoveMigration.<>c__DisplayClass0_0.<.ctor>b__0()
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0()
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
Exception while reading from stream
This is resolved. I had a Factory class in which the connection string was not updated to my local database. There it was pointing to dev and my secret.json was pointing to localhost.

VSTS Build agent issues in step 'Publish Artifact: drop'

We are seeing inconsistent failures in our vsts builds. These showed up out of nowhere.
The agent runs on-prem. When using the hosted build agent we don't see any issues.
On consecutive builds, a lot of retries are needed. Usually the build fails, but sometimes it doesn't.
Multiple build definitions in different projects are affected
We are trying to find the root cause, any help diagnosing this issue would be much appreciated!
Here's the relevant version information:
[2017-04-25 07:25:58Z INFO AgentProcess] Agent is built for Windows - win7-x64.
[2017-04-25 07:25:58Z INFO AgentProcess] RuntimeInformation: Microsoft Windows 6.3.9600 .
[2017-04-25 07:25:58Z INFO AgentProcess] Version: 2.111.1
Here is an excerpt from the logs:
017-04-25T07:28:14.1561247Z ##[section]Starting: Publish Artifact: drop
2017-04-25T07:28:14.1561247Z ==============================================================================
2017-04-25T07:28:14.1561247Z Task : Publish Build Artifacts
2017-04-25T07:28:14.1561247Z Description : Publish Build artifacts to the server or a file share
2017-04-25T07:28:14.1561247Z Version : 1.0.40
2017-04-25T07:28:14.1561247Z Author : Microsoft Corporation
2017-04-25T07:28:14.1561247Z Help : More Information
2017-04-25T07:28:14.1561247Z ==============================================================================
2017-04-25T07:28:15.0779877Z ##[section]Async Command Start: Upload Artifact
2017-04-25T07:28:15.0779877Z Uploading 8 files
2017-04-25T07:28:20.1111153Z Total file: 8 ---- Processed file: 7 (87%)
2017-04-25T07:28:30.2611071Z Total file: 8 ---- Processed file: 7 (87%)
2017-04-25T07:28:35.3611234Z Fail to upload 'E:\Build\agents\scully_work\4\a\Project.Name.Web.zip' due to 'An error occurred while sending the request.'.
2017-04-25T07:28:35.3611234Z System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: The connection with the server was terminated abnormally
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.WinHttpHandler.d__101.MoveNext()
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.HttpClient.d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.VisualStudio.Services.FileContainer.Client.FileContainerHttpClient.d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at Microsoft.VisualStudio.Services.FileContainer.Client.FileContainerHttpClient.<UploadFileAsync>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.Worker.Build.FileContainerServer.<UploadAsync>d__14.MoveNext()
2017-04-25T07:28:35.3611234Z Detail upload trace for file that fail to upload: drop/Project.Name.Web.zip
2017-04-25T07:28:35.3611234Z Begin chunking upload file 'drop/Project.Name.Web.zip', chunk size '4194304 Bytes', total chunks '3'.
2017-04-25T07:28:35.3611234Z Attempt '1' for uploading chunk '1' of file 'drop/Project.Name.Web.zip'.
2017-04-25T07:28:35.3611234Z Generate new HttpRequest for uploading file 'drop/Project.Name.Web.zip', chunk '1' of '3'.
2017-04-25T07:28:35.3611234Z Start uploading file 'drop/Project.Name.Web.zip' to server, chunk '1'.
2017-04-25T07:28:35.3611234Z Chunk '1' attempt '1' of file 'drop/Project.Name.Web.zip' fail to send request to server. Error: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: The connection with the server was terminated abnormally
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.WinHttpHandler.<StartRequest>d__101.MoveNext()
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.VisualStudio.Services.FileContainer.Client.FileContainerHttpClient.d__17.MoveNext().
2017-04-25T07:28:35.3611234Z Backoff 5.16 seconds before attempt '2' chunk '1'
Update:
Updated agent to latest stable, and issue still exists:
[2017-04-25 08:33:04Z INFO AgentProcess] Agent is built for Windows - win7-x64.
[2017-04-25 08:33:04Z INFO AgentProcess] RuntimeInformation: Microsoft Windows 6.3.9600 .
[2017-04-25 08:33:04Z INFO AgentProcess] Version: 2.115.0
That typically means that there's networking issues somewhere between your agent and the service where you're getting interruptions.
Starting with the 2.x agent we aggressively try to handle network conditions. We break each file into chunks (4MB), open an http stream and pipe that file chunk to the service. Each file chunk is given a long time (10 min)
We have retries per chunk and backoff retrying.
Backoff 5.16 seconds before attempt '2' chunk '1'
Then if we're still unable to upload a chunk even with retries, we put that file into a retry queue for one more pass.
So as you can see, we try really hard.
The more networking interruptions and the larger a file increase the odds. Also if upload speeds are severely slow it could fail to upload chunks in time (4mb in 10 min is a long time) but in your case, it looks like the stream / network is getting interrupted.
You should check the networking. Something is getting interrupted between your machine and the service.
One more experiment to try is a private agent on an private cloud VM (like azure). That gives you a faster cloud network on upload but also the control of a private agent (install the software you want, incremental source and packaging etc...).
Are you seeing the retries I am describing? I'm also forwarding this to our agent dev. I'll edit if there's anything else to add.

ASP.NET VNEXT DNU Restore error

Every time I try to perform a package restore in visual studio, I get the error below. I also get the same error when using the samples from github with the command prompt i.e (
C:\Users\xxxxxx\Documents\GitHub\aspnet\samples\1.0.0-beta4\HelloMvc dnu restore)
I set my execution environment to use the following dnx -dnvm use 1.0.0-beta4 -r clr -arch x86 -p
I have tried deleting the packages from .dnx/packages and have tried replacing the runtimes, but nothing seems to work.
This may be a result of installing visual studio 2015 RC over the CTP 6; however, I have tried uninstalling and re-installing visual studio multiple times.
Any help would be appreciated.
Writing lock file C:\Users\xxxxxx\Documents\Visual Studio 2015\Projects\test3\src\test3\project.lock.json
----------
System.MissingMethodException: **Method not found: 'Newtonsoft.Json.Linq.JValue Newtonsoft.Json.Linq.JValue.CreateNull()'.**
at Microsoft.Framework.Runtime.DependencyManagement.LockFileFormat.WriteString(String item)
at Microsoft.Framework.Runtime.DependencyManagement.LockFileFormat.WriteArray[TItem](IEnumerable`1 items, Func`2 writeItem)
at Microsoft.Framework.Runtime.DependencyManagement.LockFileFormat.WriteProjectFileDependencyGroup(ProjectFileDependencyGroup frameworkInfo)
at Microsoft.Framework.Runtime.DependencyManagement.LockFileFormat.WriteObject[TItem](IEnumerable`1 items, Func`2 writeItem)
at Microsoft.Framework.Runtime.DependencyManagement.LockFileFormat.WriteLockFile(LockFile lockFile)
at Microsoft.Framework.Runtime.DependencyManagement.LockFileFormat.Write(Stream stream, LockFile lockFile)
at Microsoft.Framework.Runtime.DependencyManagement.LockFileFormat.Write(String filePath, LockFile lockFile)
at Microsoft.Framework.PackageManager.RestoreCommand.WriteLockFile(String projectLockFilePath, Project project, List`1 graphItems, PackageRepository repository, IEnumerable`1 frameworks)
at Microsoft.Framework.PackageManager.RestoreCommand.<RestoreForProject>d__74.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.RestoreCommand.<>c__DisplayClass73_0.<<ExecuteCommand>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.RestoreCommand.<ExecuteCommand>d__73.MoveNext()
----------
Restore failed
Method not found: 'Newtonsoft.Json.Linq.JValue Newtonsoft.Json.Linq.JValue.CreateNull()'.
Found the issue: Newtonsoft.json.dll verion 6.0.3 does not contain the CreateNull method. Added version 6.0.8 to the GAC and everything worked.

OrangeBits extension for WebMatrix may have caused a crash and has been disabled

I'm getting the following error every time I open WebMatrix with the OrangeBits extension installed:
The "OrangeBits" extension may have caused a crash and has been disabled. We recommend contacting the extension owner for assistance.
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> Ionic.Zip.ZipException: The file C:\USERS\NAME\APPDATA\LOCAL\MICROSOFT\WEBMATRIX\EXTENSIONS\30\OrangeBits\Tools\bin\cake already exists.
at Ionic.Zip.ZipEntry.CheckExtractExistingFile(String baseDir, String targetFileName)
at Ionic.Zip.ZipEntry.InternalExtract(String baseDir, Stream outstream, String password)
at Ionic.Zip.ZipEntry.Extract(String baseDirectory)
at OrangeBits.OrangeBits.<>c__DisplayClass17.<UnpackModules>b__15()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) Ionic.Zip.ZipException: The file C:\USERS\NAME\APPDATA\LOCAL\MICROSOFT\WEBMATRIX\EXTENSIONS\30\OrangeBits\Tools\bin\cake already exists.
at Ionic.Zip.ZipEntry.CheckExtractExistingFile(String baseDir, String targetFileName)
at Ionic.Zip.ZipEntry.InternalExtract(String baseDir, Stream outstream, String password)
at Ionic.Zip.ZipEntry.Extract(String baseDirectory)
at OrangeBits.OrangeBits.<>c__DisplayClass17.<UnpackModules>b__15()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
Referencing Justin Beckwith's answer here
Resolving this issue was as simple as navigating to:
C:\USERS\NAME\APPDATA\LOCAL\MICROSOFT\WEBMATRIX\EXTENSIONS\30\OrangeBits\Tools
And deleting modules.zip

Resources