Particular / ServiceMatrix

Visual Studio integrated modeling tools for NServiceBus [State: Deprecated]
8 stars 9 forks source link

Unexpected error first project creation with Beta 4.7 #282

Closed Petteroe closed 10 years ago

Petteroe commented 10 years ago

[General Info]

Application: ServiceMatrix Version: 2.0.0 Region: Norwegian, Bokmål (Norway) Machine: **** User: Morten Date: 02.04.2014 Time: 12:11

User Explanation:

Morten said "Uninstalled Beta 242, installed Beta 4.7, created new project, stuff blew up"

[Exception Info 1]

Top-level Exception Type: System.Exception Message: NuGet Package NServiceBus.Interfaces cannot be installed (Exception has been thrown by the target of an invocation.). Source: Particular.ServiceMatrix.Automation Stack Trace: at NServiceBusStudio.Automation.Extensions.SolutionExtensions.InstallNuGetPackage(IProject project, IVsPackageInstaller VsPackageInstaller, IStatusBar StatusBar, String packageName, String version) at NServiceBusStudio.Automation.Commands.AddInfrastructureProjectReferences.Execute() at NuPattern.Library.Automation.CommandAutomation.Execute(IDynamicBindingContext context, Boolean withAutomation) at NuPattern.Library.Automation.CommandAutomation.Execute() at NuPattern.Library.Commands.AggregatorCommand.Execute() at NuPattern.Library.Automation.CommandAutomation.Execute(IDynamicBindingContext context, Boolean withAutomation) at NuPattern.Library.Automation.CommandAutomation.Execute() at NuPattern.Library.Automation.EventAutomation.ExecuteCommand() at NuPattern.Library.Automation.EventAutomation.<>cDisplayClassd.ba() at NuPattern.VisualStudio.TraceSourceExtensions.DoShield(ITracer traceSource, Action action, String format, Boolean showUI, String[] args)

Inner Exception 1 Type: System.Reflection.TargetInvocationException Message: Exception has been thrown by the target of an invocation. Source: mscorlib Stack Trace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at NuGet.DataServiceContextWrapper.Execute[T](Type elementType, DataServiceQueryContinuation continuation) at NuGet.DataServiceQueryWrapper1.<GetAll>d__7.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at NuGet.PackageRepositoryExtensions.FindPackagesById(IPackageRepository repository, String packageId) at NuGet.PackageRepositoryExtensions.FindPackage(IPackageRepository repository, String packageId, SemanticVersion version, IPackageConstraintProvider constraintProvider, Boolean allowPrereleaseVersions, Boolean allowUnlisted) at NuGet.AggregateRepository.<>cDisplayClass19.b16(IPackageRepository r) at System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func`2 predicate) at NuGet.AggregateRepository.FindPackage(String packageId, SemanticVersion version) at NuGet.PackageRepositoryExtensions.FindPackage(IPackageRepository repository, String packageId, SemanticVersion version, IPackageConstraintProvider constraintProvider, Boolean allowPrereleaseVersions, Boolean allowUnlisted) at NuGet.PackageHelper.ResolvePackage(IPackageRepository sourceRepository, IPackageRepository localRepository, IPackageConstraintProvider constraintProvider, String packageId, SemanticVersion version, Boolean allowPrereleaseVersions) at NuGet.VisualStudio.VsPackageManager.InstallPackage(IProjectManager projectManager, String packageId, SemanticVersion version, Boolean ignoreDependencies, Boolean allowPrereleaseVersions, Boolean skipAssemblyReferences, ILogger logger) at NuGet.VisualStudio.VsPackageInstaller.InstallPackage(IPackageRepository repository, Project project, String packageId, SemanticVersion version, Boolean ignoreDependencies, Boolean skipAssemblyReferences) at NuGet.VisualStudio.VsPackageInstaller.InstallPackage(String source, Project project, String packageId, SemanticVersion version, Boolean ignoreDependencies) at NuGet.VisualStudio.VsPackageInstaller.InstallPackage(String source, Project project, String packageId, String version, Boolean ignoreDependencies) at NServiceBusStudio.Automation.Extensions.SolutionExtensions.InstallNuGetPackage(IProject project, IVsPackageInstaller VsPackageInstaller, IStatusBar StatusBar, String packageName, String version)

Inner Exception 2 Type: System.Data.Services.Client.DataServiceQueryException Message: An error occurred while processing this request. Source: System.Data.Services.Client Stack Trace: at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents) at System.Data.Services.Client.DataServiceContext.Execute[TElement](Uri requestUri)

Inner Exception 3 Type: System.Data.Services.Client.DataServiceClientException Message: <?xml version="1.0" encoding="utf-8"?>An error occurred while processing this request./m:messageAn error occurred while executing the command definition. See the inner exception for details./m:messageSystem.Data.EntityCommandExecutionException/m:type at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) at System.Data.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues) at System.Data.Objects.ObjectQuery1.GetResults(Nullable1 forMergeOption) at System.Data.Objects.ObjectQuery1.System.Collections.Generic.IEnumerable&lt;T&gt;.GetEnumerator()&#xD; at System.Data.Entity.Infrastructure.DbQuery1.System.Collections.IEnumerable.GetEnumerator() at QueryInterceptor.QueryTranslator1.System.Collections.IEnumerable.GetEnumerator()&#xD; at System.Data.Services.WebUtil.GetRequestEnumerator(IEnumerable enumerable)&#xD; at System.Data.Services.QueryResultInfo.MoveNext()&#xD; at System.Data.Services.DataService1.SerializeResponseBody(RequestDescription description, IDataService dataService, IODataResponseMessage responseMessage) at System.Data.Services.DataService1.HandleRequest()</m:stacktrace><m:internalexception><m:message>Resource ID : 1. The request limit for the database is 180 and has been reached. See 'http://go.microsoft.com/fwlink/?LinkId=267637' for assistance.</m:message><m:type>System.Data.SqlClient.SqlException</m:type><m:stacktrace> at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at Glimpse.Ado.AlternateType.GlimpseDbCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)/m:stacktrace/m:internalexception/m:innererror/m:error Source: System.Data.Services.Client Stack Trace: at System.Data.Services.Client.QueryResult.Execute() at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)


[Assembly Info]

Microsoft.VisualStudio.Shell.11.0, Version=11.0.0.0 System.Windows.Forms, Version=4.0.0.0 NuPattern.Runtime.Extensibility, Version=1.3.23.0 mscorlib, Version=4.0.0.0 Particular.ServiceMatrix.Automation, Version=2.0.0.0 System, Version=4.0.0.0 Microsoft.VisualStudio.Shell.Immutable.10.0, Version=10.0.0.0 System.Core, Version=4.0.0.0 PresentationFramework, Version=4.0.0.0 NuPattern.VisualStudio, Version=1.3.23.0 Microsoft.VisualStudio.ExtensibilityHosting, Version=11.0.0.0 System.Drawing, Version=4.0.0.0 System.ComponentModel.Composition, Version=4.0.0.0 PresentationCore, Version=4.0.0.0 Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0, Version=11.0.0.0 ExceptionReporter.WinForms, Version=2.1.1.0 mscorlib, Version=2.0.0.0 NuPattern.Common, Version=1.3.23.0 Microsoft.VisualStudio.ComponentModelHost, Version=11.0.0.0


[Config Settings]

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

##

[System Info]

Operating System -Microsoft Windows 8.1 Pro --CodeSet = 1252 --CSDVersion = --CurrentTimeZone = 120 --FreePhysicalMemory = 1087904 --OSArchitecture = 64-bit --OSLanguage = 1033 --ServicePackMajorVersion = 0 --ServicePackMinorVersion = 0 --Version = 6.3.9600

Machine -***** --Manufacturer = Microsoft Corporation --Model = Virtual Machine --TotalPhysicalMemory = 3659059200 --UserName =


indualagarsamy commented 10 years ago

I just tried installing ServiceMatrix Beta 4.7 from here: https://github.com/particular/servicematrix/releases And I was able to create a new project.

Can you try again, since the error seems to be when the package was being downloaded from Nuget. And see if that works for you. Or is it consistently failing still?

Petteroe commented 10 years ago

Sorry. This issue was not real. I set up a new VM as a playground for this beta, and I forgot to update Visual Studio to update 4, which among other things meant that I had Nuget Package Manager 2.2 installed. Updating studio and Nuget solved the issue.