[
https://issues.apache.org/jira/browse/TINKERPOP-1952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16453632#comment-16453632
]
Florian Hockmann commented on TINKERPOP-1952:
---------------------------------------------
Thanks for clarifying [~KaiWalter]. However, a bit more information would be
good to find the issue here. In your linked SO post, you just mentioned in a
comment that you are now getting a {{NullReferenceException}}. Here, you are
just talking about an {{AggregateException}}. So do you actually have two
different problems?
And regarding the {{AggregateException}}: It should contain {{InnerExceptions}}
that would be good to know. Having a sample application is definitely helpful
for debugging, but which line exactly causes the exception there and with which
input?
> using Gremlin.Net in .NET Framework 4.71 console app causes "Could not load
> file or assembly 'System.Reflection.TypeExtensions, Version=4.0.0.0..."
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TINKERPOP-1952
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1952
> Project: TinkerPop
> Issue Type: Bug
> Components: dotnet
> Affects Versions: 3.3.2
> Environment: Windows Server 2016 1607
> Reporter: Kai Walter
> Priority: Major
>
> I wanted to use Gremlin.Net in Azure Functions and stumbled over [this
> problem|https://stackoverflow.com/questions/49923888/could-not-load-file-or-assembly-system-reflection-typeextensions-version-4-0-0].
> When downloading and running the sample
> https://github.com/Azure-Samples/azure-cosmos-db-graph-gremlindotnet-getting-started
> on my machine I run into this error:
> System.AggregateException
> HResult=0x80131500
> Message=One or more errors occurred.
> Source=mscorlib
> StackTrace:
> at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean
> includeTaskCanceledExceptions)
> at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout,
> CancellationToken cancellationToken)
> at System.Threading.Tasks.Task.Wait()
> at GremlinNetSample.Program.Main(String[] args) in
> C:\Users\Y1WLE\src\Microsoft\azure-cosmos-db-graph-gremlindotnet-getting-started\GremlinNetSample\Program.cs:line
> 65
> Inner Exception 1:
> {color:red}*WebSocketException: The server returned status code '200' when
> status code '101' was expected.*{color}
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)