GraphClient.cs not found - nuget

I recently installed the Neo4jClient Nuget package on my VB.NET project and when I attempt to create a new graph client (code below) I get a "GraphClient.cs not found" error.
Dim client As New GraphClient(New Uri("http://myGraphServer.myCompany.com:7474/db/data"))
Any suggestions on how to resolve this issue?

That's just something visual studio says when an exception has been thrown and it's trying to take you to the code.
Typically this happens this early on when you don't have the neo4j server running, or you have the wrong address to connect to.
Are you doing a
client.Connect()
call afterwards?

Related

How to resolve Pymongo Runtime Error R6034 in Houdini

I'm working at a visual effects studio in which we use MongoDB/pymongo for our asset management. Our studio is using the SideFX software Houdini.
So far MongoDB has been a pleasure to work with in terms of programming, however whenever we connect to the MongoDB via pymongo from within Houdini, we're getting the following error:
Microsoft Visual C++ Runtime Library - Runtime Error!
Program: C:\houdini\17.5.293\bin\houdini.exe
R6034
An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information.
This error occurs everytime when we import pymongo for the very first time, i.e. in a Python shell within Houdini, which is using Python 2.7. Once we click 'OK' on the error popup (it appears twice after clicking OK for the first time), the error disappears and we're able to connect successfully to the database.
The SideFX support team suggested that pymongo wasn't compiled with Visual Studio 2017, which is the compiler SideFX is using for their software.
Now we've been trying to debug this for a while now to no avail. Here's a rundown of what we tried:
update Windows10 to the latest and greatest
updating pymongo from 3.5.1 to 3.9.0
launching Houdini from different builds (16.5, 17.0, 17.5), we get the error in every version.(We're launching a vanilla Houdini session without any 'PYTHONPATH' or 'PATH' environment variables set)
interestingly enough my colleague imported pymongo into Houdini successfully on his private laptop last night without any errors occurring which leads me to believe that the error might be related to our system settings possibly?
I would love to find out how to get rid of this error message because it is really messing with our current pipeline. Any suggestions/help is welcome and much appreciated.
Please let me know if you need any additional information in order to debug this matter.
Thanks a lot in advance,
Manu
This post here helped me to resolve my issue:
Runtime error R6034 in embedded Python application
What happened is that we have a Python 2.7 install located at C:\Python27 which is being added as an environment variable 'path' in Windows.
Using the Process Explorer, I learned that this folder contains the file 'msvcr90.dll' which is conflicting with Houdini, since Houdini comes with its own Python installation that doesn't contain this dll file.
The solution is simple. When launching Houdini in a custom environment, strip the C:\Python27 from the 'path' environment variable so Houdini only fires up its own Python interpreter.

Angular Live Development Server api requests not found

really confused about this and don't know where to start.
Basically i have generated a new angular project with the "dotnet new angular" command.
Im using a fresh machine, node, npm etc etc are all up to date.
My issue is this template just does not work out of the box. When i run the application, all of the frontend will load however, any requests to the api's etc will 404 stating that it cannot find the url.
Message in Chrome console: "Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment..."
My application runs on a different port everytime I execute the "dotnet run" command. Is this supposed to be the case ? Whichever port is generated, this will be the problematic one.
I have to manually change to port 5001 for anything to function correctly (although this comes with annoying security prompts.)
I am using visual studio code for this project. The funny thing is, if i run this project via visual studio (not code) i get a consistent static port number that will function as intended (this also comes with annoying security prompts) so i have to assume its this random port number that vscode is generating ?
Im honestly not to familiar with this so I could be way off admittedly. Any help or advice would be appreaciated. I'd post code snippets if I knew where to start.
PS, I know that I can of course just not run it with VSCode and just stick to Visual Studio. I'd rather understand the issue than ignore it though.
Thanks, in advance.

Parser Error or Server Error in "/" Application and Error in Web Config

Hi I've been encountering an error in my project. I need to see the changes that I made in my codes but when I run/debug my project there's an error.
Server Error in "/" Application or Parser Error and Error in Web Config
I couldn't know the exact reason why I have this kind of error.
I got my project in Visual Source Safe, I copied it in my local so I also compare the codes or the project that I got from the VSS but the codes are just the same. My colleague also try to run the project in his computer and it's okay. So what could be the problem?
Your actual error is the red line, which shows you don't have the AjaxControlToolkit added to your project. There are a number of solutions in the SO Q Could not load file or assembly 'AjaxControlToolkit' after upgrade to .net 4.0 which could assist you as this is likely not VSS related.

Visual studio 2012 migration (Entity Framework) connection string error

I'm using Visual Studio 2012, EF, trying to update my database using the console but it fails.
I get a message that the connection string is incorrect although in reality it is fine.
Just wanted to share this piece of info to whomever may need it.
If you get a connection string error, and after checking the actual validity of the string you're still stuck having problems with migration, you might want to try and set in the solution as start up project the project that the DB is updated from (and setup the connection string there like it should be).
Apparently VS uses the config file of the start up project.
Hope this helps.

Connecting to TFS with the Cross-platform Command-line Client for Team Foundation Server

Has anyone used the Cross-platform Command-line Client for Team Foundation Server? I am trying to connect and it's basically giving me no response or a vague error every time I try to connect. I have set up the proper paths and it seems to be responding - just not authenticating. The specific error text, when present is: error: "An argument error occurred"
You can make the tool authenticate (and move on to even more annoying errors) by providing a profile file in the ~/.microsoft/.../profiles directory. The easiest way to do this (IMHO) is to install the eclipse plugin and use the GUI to fill in the parameters for establishing a connection to the repository. This will create a profile file, which you can then refer to in the -profile option on the command line tool.