I am having trouble accessing a secret from an Azure key vault. I suspect the problem is that I don't adequately understand the terminology, so the arguments I'm supplying to various API calls are wrong. Here's the basic code I'm using: protected async Task<string> GetCommunityKeyAsync( UserConfiguration user ) { var [...] read more
I am trying to use Selenium to enter SQL code into a Code Mirror textbox. I'll use the site http://www.gudusoft.com/sqlflow/#/ as an example for the purposes of this question. My Problem: I am unable to submit MSSQL SQL code into the code text box if the code contains a carriage [...] read more
I have a bit of a problem using Microsoft.Azure.Cosmos version 3.2.0, upon running await this.Container.CreateItemAsync<LogEntity>(logEntity, new PartitionKey("anythingIPutHere")); it throws > Microsoft.Azure.Cosmos.CosmosException HResult=0x80131500 > Message=Response status code does not indicate success: 400 Substatus: 1001 > Reason: (Message: {"Errors":["PartitionKey extracted from document doesn't > match the one specified in the header"]} but [...] read more
When I try run/debug an app in the emulator I get this error: Can't start the Windows Phone Emulator. The Windows Phone Emulator couldn't start because the hypervisor isn't running. The likely cause is that hardware-assisted virtualization isn't turned on. Check your PC's BIOS and make sure that hardware-assisted virtualization [...] read more
I am developing asp.net core 3.1 GraphQL based APIs. I used the below reference article to setup automatic DI configuration in the API layer and have used the nuget package : NetCore.AutoRegisterDi https://www.thereformedprogrammer.net/asp-net-core-fast-and-automatic-dependency-injection-setup/ Here goes the code details: Code: Startup.cs: public virtual void ConfigureServices(IServiceCollection services) => services .AddGraphQLResolvers() .AddProjectRepositories(); ProjectServiceCollectionExtensions.cs [...] read more
I'm able to install SSAS and SSRS for VS2019 but the big problem is that the SSIS fails in installation and also i cannot know the error because it mentionned unknown error result: 0x80131500 i have tried to uninstall vs2019 and reinstall it's still doing the same action that's my [...] read more
I am trying to deserializ a json file which contains hebrew words. I am useing .net core. this is part of my json: { "MandatoryWords": { "select": { "sql": "select", "oracle": "select", "Hebrew": [ "בחר", "הצג" ] }, "from": { "sql": "from", "oracle": "from", "Hebrew": [ "מ", "מתוך", "של" ] [...] read more
I upgraded my project from dotNetCore 2.2 to 3.0 two weeks ago. Now I want to add a Webservice to it. I am using Visual Studio 2019 But I got this error when I clicked on Microsoft WCF Web Service Reference Provider None of the suggestions about Microsoft WCF Web [...] read more
I'm new to using SignalR and having troubles trying to inject IHubContext into a class. I get an exception as shown below when I try to run the code. It errors out on the line where I try to inject TimerEventHandler in startup.cs Here is the code: public class TimerEventHandler [...] read more
I couldn't find an answer to this strange phenomena, I really hope someone can help... I'm using IronPython 2.7.9 to run python code from .NET 4.5 C# code (on Visual Studio 2017 Proffesional), and getting this exception: Microsoft.Scripting.SyntaxErrorException: 'unexpected token '='' on the line that imports from matplotlib in the [...] read more
I am attempting to install SSDT v15.6.0 into an existing Visual Studio Team Explorer 2017 instance. When I run the SSDT installer, I can select Visual Studio Team Explorer 2017 from this list of existing Visual Studio instances. If I do not choose a any options (other than the required [...] read more
I am getting an annoying error which is preventing me from downloading any app on windows 10 Enterprise Build 14393.1884. The exact error is: "Try that again.Page could not be loaded. Please try again later." Code: 0x80131500 What I've tried: * Running the wsreset.exe to reset the windows store. * [...] read more
I've been working on a schema that needs to reference several other schema files and basically working in jsonschemavalidator.net and then copying bits back to a github repo. Today I arrived on a working version that I saved, you can see the schema and the data has a fail for [...] read more
I get an error when deserializing a dictionary with value tuple keys. I think it converts the tuple into a string then is unable to deserialize it back as a key: Newtonsoft.Json.JsonSerializationException HResult=0x80131500 Message=Could not convert string '(1, 2)' to dictionary key type 'System.ValueTuple`2[System.Int32,System.Int32]'. Create a TypeConverter to convert from [...] read more
new to NHibernate (and Hibernate for that matter), and I'm struggling with a composite key problem. Here's a simplified version of part of the database design. table_a +---------------------+ | * a_id varcha (10) | table_z | label varchar(50) | +----------------------+ | +<----------------+ * a_id varchar(10) | +---------------------+ +----------| * b_id [...] read more
ENVIRONMENT 1. Pythonnet version: 2.4.0.dev0, installed from Master 2. Python version: Python 3.6.6, Anaconda 3 3. Operating System: Window 10, 64 bit 4. Using virtual studio 2017 Community DETAILS I had virtual environment set up. 1) pip list (py36) C:\Users\User\Desktop>pip list Package Version --------------- ---------- certifi 2018.8.13 click 6.7 cycler [...] read more
I'm attempting to send email using G Suite's SMTP relay service. Using C#, my code snippet looks like this: string message = "<em>It's great to use HTML in mail!!</em>" var client = new SmtpClient("smtp.gmail.com", 587); client.UseDefaultCredentials = false; client.Credentials = new NetworkCredential(_senderEmailAddress, _senderPassword); client.EnableSsl = true; client.Send(message); However, this results [...] read more
Uninstalling Visual Studio Enterprise results in the following error: 048c:0012][2021-01-01T21:52:35] Error 0x80131500: Unexpected character encountered while parsing value: $. Path ''. at Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader) at Microsoft.VisualStudio.Setup.Serialization.ModelSerializer`1.Deserialize(TextReader reader) at Microsoft.VisualStudio.Setup.Cache.DirectoryRepository.GetPackage(IPackageIdentity [...] read more
I have iText7 functions which I am using, right now, I am trying to encrypt my PDF file using a certificate in .pfx format with password. The thing is, the function cannot read .pfx because it does not provide the password as shown below using System.IO; using iText.Kernel.Pdf; using Org.BouncyCastle.X509; [...] read more
I have already connected d365 CRM online with the .net core console app using client id, clients secret, and organization URI. But it is throwing an error on connecting with on-prem. here is the error. Microsoft.PowerPlatform.Dataverse.Client.Utils.DataverseConnectionException HResult=0x80131500 Message=Failed to connect to Dataverse Source=Microsoft.PowerPlatform.Dataverse.Client StackTrace: at Microsoft.PowerPlatform.Dataverse.Client.ServiceClient.CreateServiceConnection(Object externalOrgServiceProxy, AuthenticationType requestedAuthType, String [...] read more
I am making a project with simple login and signup functionality and I configured my Startup.cs file which is as follows : // This method gets called by the runtime. Use this method to add services to the container. public void ConfigureServices(IServiceCollection services) { /* Add Services */ services.AddServiceExtensions(); /* [...] read more
I have myExe472.exe that calls myNet472 dll that calls a mystandard2 dll ( i.e standard2.0) which uses entityframeworkcore This works fine. However when I try and use myNet472 in a different .exe (a Dev Express xaf module.win project) I get an error System.Exception HResult=0x80131500 Message=VivUniversalController Load line 20 System.TypeInitializationException: The [...] read more
I would like to deserialize this json file. The json file has the following pattern that repeats itself: { "Province": { "District": { "Sector": { "Cell": [ "Village1", "Village2", "Village3", "Village4" ] } } } } I am using the following code to read and deserialized the json using System; [...] read more
This is my whole code of web api method which is creating team and i am consuming this method in client. I have tested this post method via /api/Team/insertTeam and it's adding new team in database but giving error while cunsuming with httpclient/ [HttpPost] [Route("insertTeam")] public int insertTeam(Team team) { [...] read more
I used the application permission flow for autentication, with API persmissions User.ReadWrite.All I want to update/synchronize profile images from our users with images that are stored in a seperate database. For debugging purpose i retrieve the image from the datebase in a "old-skool" windows-forms picture box. The image will then [...] read more
Using YamlDotNet, I'm trying to deserialize a yaml file with a nested object graph into a set of custom .net types. This works if I set the tree property to a simple PopulationBasicNode, but when I use the PopulationAndNode as shown in the example, a YamlException is thrown: > No [...] read more
I am trying to upgrade my web app from ASP.NET Core 2.2 to 3.1 (the .net core 2.2 web app has no compile error or runtime error). But got the following runtime exception (The code can be built without compile error): Autofac.Core.DependencyResolutionException HResult=0x80131500 Message=An exception was thrown while activating Microsoft.AspNetCore.Session.DistributedSessionStore. [...] read more
I'm running the below C# code : Excel.Workbook s_workbook = sApp.Workbooks.Open(s_file); Excel._Worksheet s_ws = s_workbook.Worksheets[1]; string strst = s_ws.Cells[17][1].Value.ToString(); But I get this error when setting the variable strst in the last line in my above code: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException HResult=0x80131500 Message=Cannot perform runtime binding on a null reference Source=<Cannot evaluate the [...] read more
I am trying to add vertices (and eventually edges) to a local Cosmos DB graph using the Gremlin console. I've been following this tutorial. However, whenever I try to add a vertex, I get an error about the partition key. My query: g.addV('person').property('firstName', 'Thomas').property('lastName', 'Andersen').property('age', 44).property('userid', 1).property('pk', 'pk') The error: [...] read more
I updated my old azure webjob code to package to 3.03 and then it is just not working. I managed to fix all compile-time errors, but when running locally, it throws this error: Microsoft.Azure.WebJobs.Host.Indexers.FunctionIndexingException HResult=0x80131500 Message=Error indexing method 'MvQueueProcessorV2.ProcessMVRequest' Source=Microsoft.Azure.WebJobs.Host StackTrace: at Microsoft.Azure.WebJobs.Host.RecoverableException.TryRecover(ILogger logger) in C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Exceptions\RecoverableException.cs:line 81 at FE.Toolkit.MvPaaS.WebJob.Program.<Main>(String[] args) [...] read more
Firstly I should say I'm historically a VB.Net hobbyist programmer so please be gentle with me around C#! I have a .NET 4.8 windows service self hosting a SignalR Hub in my app that works well (thanks to great example by Rick Strahl). I want to migrate this service to [...] read more
When trying to use the magnifing glasson one of my DataSet or DataTable in my .Net Core 3.1 WPF Project I get a System.IO.FileLoadException with following text: > Could not load file or assembly 'DataSetVisualizer.DebuggeeSide, > Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. General > Exception (0x80131500) Stack trace: at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, [...] read more
i am trying to run a piece of code in python which uses Cosmos DB from Microsoft Azure. I am currently using gremlinpython 3.2.6 and the latest version of Cosmos (default on microsoft azure) but there seems to be some compatibility issues between the two. When i run my code [...] read more
I am consuming a third party API which I cannot change that sometimes returns a standard JSON structure and at other times, it does not. I suspect the reason is that the data in the 3rd party application is optional within the UI. If the data were present, it would [...] read more
I developed a WPF Application for a customer. I developed it on Visual Studio 2019 with .NET Framework 4.7.2 on Windows 10. The customer have different OS, like Windows 7 SP 1: the problem is this OS. When I run the application on Windows 7, everything works fine, but on [...] read more
I am using a library in Python called trendln I am trying to call it through C# form. For that I have used Pythonnet Python.Runtime.Dll. My Python version is 3.7.8. In python, it was easy to fetch the function using: mins, maxs = trendln.calc_support_resistance(h) where h = hist[-1000:].Close. Similarly, I [...] read more
I am having problems getting this code to work. It seems that the CSharpScript.EvaluateAsync will not understand the Linq 'Select' command even though I think I am adding the proper references to the ScriptOptions. The goal here is to use the EvaluateAsync to run string based Linq queries. Thanks for [...] read more
While following this guide to setup a new AzureAD app, I encountered this error after finishing the 3rd page: System.AggregateException HResult=0x80131500 Message=Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: Microsoft.Identity.Web.ITokenAcquisition Lifetime: Scoped ImplementationType: Microsoft.Identity.Web.TokenAcquisition': Unable to resolve service for type 'Microsoft.Identity.Web.TokenCacheProviders.IMsalTokenCacheProvider' while attempting [...] read more
I am relatively new to gRPC service. I am trying to deploy a Net core gRPC service into Linux docker container and accessing it from locally from VS console app. I want to keep things as simple as possible thus the docker file is identical to a Net core gRPC [...] read more
I have followed the link Decrypting an encrypted office 365 email using MIP SDK using MIP SDK(1.6.113) to decrypt an rpmsg successfully when the users and application are in the same Azure AD environment. If I try to decrypt an rpmsg that was sent from an MS 365 Personal account, [...] read more
The web application I am testing requires confirmation when deleting a record. I have created a test to enter in a valid reason for deleting this record. The code to do this is as follows: DeleteFieldButton. Click(); WaitMethods.WaitForElementToBeDisplayed(RemovalReason, 20); RemovalReason .Click(); RemovalReason .Clear(); RemovalReason .SendKeys("Automated Test - Delete Field"); The [...] read more
I get the following error when Updating a user using Microsoft Graph Beta. Permissions should not be an issue as I'm using the following permissions: user.readwrite.all, directory.readwrite.all. Also, HireDate is of type DateTimeOffSet that I'm getting by converting local DateTime to DateTimeOffSet. So, that should not be an issue either. [...] read more
Anyone run into this error? How do I resolve, not getting much guidance from cdata or snowflake. > Error: 0x0 at ADI_PRODUCT, CData Snowflake Source: Get data error: Retrieved > Chunk#0 Timeout. Error: 0xC0047062 at ADI_PRODUCT, CData Snowflake Source > [279]: System.Exception: Get data error: Retrieved Chunk#0 Timeout. at > [...] read more
Environment : * Pythonnet version: 2.3.0, installed with pip in Amaconda3 * Python version: 3.6.6 using with Anaconda * Visual Studio 2017 Community * Operating System: Windows 7, 64 bit I am running Visbrain module by Pythonnet. I had create a virtual environment named py36 in Anaconda 3. Anaconda 3 [...] read more
Why i am getting this error?: OpenQA.Selenium.NoSuchElementException: 'no such element: Unable to locate element: {"method":"css selector","selector":"#gbqfq"} This is the code i am using to open the browser and search for a given word in google search: IWebDriver driver = new ChromeDriver(); driver.Navigate().GoToUrl("http://google.com"); IWebElement element = driver.FindElement(By.Id("gbqfq")); element.SendKeys("APPLES"); // Get the [...] read more
I have Windows 10 Build 1809 and use my Microsoft account to log in to my laptop. No sure when this started to happen. It's been probably about a month or so now. Whenever I opened Microsoft Store, it asked me to "Try that again" or "Check your connection" with [...] read more
So recently, i have reinstalled windows, and now i have windows 10, i did some optimization, and installed some of my games, and apps, then i installed Visual Studio Community 2019, then i decided to create a new game, since i was bored, but when i tried to load the [...] read more
I am trying Apache ignite, but I could not put the object data. The server is a single node in Java. The client is a thin client in .NET(C#). This version is Server OS:Ubuntu 18.04 JAVA:openjdk version 11.0.11 ignite:2.10.0 Client OS:Windows 10 .NET:.NET Framework 4.6.2 ignite:2.10.0 (Nuget) When the client [...] read more
I've made a simple API to interface with a SQL server and I have been able to use Postman and my web browser to access it, but when I go to access it from a console application, I am unable to do so. All I want to do in the [...] read more
I am using Automapper to map models in my web app. I use this Automapper method: protected virtual IEnumerable<TDto> Map(IEnumerable<TModel> models) { return Mapper.Map<IEnumerable<TDto>>(models, MappingOptions); } And I use it in my own method like this: protected override IList<EngineAssembly> GetChildren(Engine parent) { return parent.EngineParts; } var parent = Session.Get<TParent>(parentId); if [...] read more
I have this exception: Emgu.CV.Util.CvException: OpenCV: layer_rows - 2 * min_margin > 0 Here is my sample code: static void SampleFunction() { string model = @"sample model image location"; string observed = @"sample observed image location"; Emgu.CV.Image<Emgu.CV.Structure.Gray, byte> modelImage = new Emgu.CV.Image<Emgu.CV.Structure.Gray, byte>(model); Emgu.CV.Image<Emgu.CV.Structure.Gray, byte> observedImage = new Emgu.CV.Image<Emgu.CV.Structure.Gray, byte>(observed); [...] read more
I have a problem while loading nested objects from the DB (inserting them works fine): public class Audio { public Guid Id { get; } public string Path { get; } public Audio(Guid id, string path) { Id = id; Path = path; } } public class Sound { public [...] read more
Much like the question raised here I get "Failed to query the data" when calling GetModelviewMetadataAsync from the .net API. The stack trace is Autodesk.Forge.Client.ApiException HResult=0x80131500 Message=Error calling GetModelviewMetadata: {"diagnostic":"Failed to query the data."} Source=Autodesk.Forge StackTrace: at Autodesk.Forge.DerivativesApi.<GetModelviewMetadataAsyncWithHttpInfo>d__38.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Autodesk.Forge.DerivativesApi.<GetModelviewMetadataAsync>d__37.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [...] read more
I have recently tried compressing and unzipping files using the NuGet "Squid-Box.SevenZipSharp" However I can't compress them, the error probably comes from the dll library. I have tried downloading 7zip in 32 bit and 64 bit, using both .dll but the error is the same, I can't think of anything [...] read more
I'm using Visual Studio Community 2019 and coding in C#If I create a Windows Forms App either on an existing solution or in a new one it opens IntelliSense, loads the file and then this error message appears: "IntelliSense finished initializing, but an error ocurred when attempting to load the [...] read more
I'm using below code to create Azure container. string cs = System.Configuration.ConfigurationManager.AppSettings["StorageConnectionString"]; CloudStorageAccount storageAccount = CloudStorageAccount.Parse(cs); blobClient = storageAccount.CreateCloudBlobClient(); CloudBlobContainer con1 = CreateContainer("container1", false); But I am getting following error while creating Container in Azure: Microsoft.WindowsAzure.Storage.StorageException HResult=0x80131500 Message=The remote server returned an error: (400) Bad Request. Source=Microsoft.WindowsAzure.Storage Note: I have [...] read more
I defined a super-simple talbe: .create table dummy (textfield: string) I can properly execute an inline ingest command from Query panel: .ingest inline into table dummy <| 'from query panel' But I can't using .NET sdk: using Kusto.Data; using Kusto.Data.Common; using Kusto.Data.Net.Client; using System; class Program { static void Main(string[] [...] read more
I have a helper class wrapped around Nest to interact with Elastic Search. This method takes a BlockingCollection and is used to perform bulk operations. An IndexDocument looks like: public class IndexDocument { public string ID { get; set; } // ID of the record in ElasticSearch public IndexFile File [...] read more
To deal with our automation testing execution, we are using the solution Moon from Aerokube. We have a Kubernetes cluster and execute our automated tests on Kubernetes pods. When we trigger a specific scenario from Azure DevOps on Moon, we face a problem when we want to upload a zip [...] read more
> This is the method where I am requesting post request but I am getting > following error Basically I am consuming post method in the client side code > ** > 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`1.GetResultCore(Boolean waitCompletionNotification) at [...] read more
When trying to install Visual Studio 2017 Community I got the error: Couldn't download 'Microsoft.VisualStudio.WCF.DiagnosticPack.Msi.msi' Error 0x80096004 there is a problem verifying the signature of a certificate. Windows 10 Pro Version: 20h2 OS build: 19042.804 Visual Studio 2017 Community version: 15.9.33 VS 2017 Community return error [https://i.stack.imgur.com/spng7.png] click to enlarge [...] read more
I've implemented a simple gRPC service in net5 similar to the GreeterService in the project template. The service works fine when using IIS LocalHost but the client throws this exception when calling the remote server: Grpc.Core.RpcException HResult=0x80131500 Message=Status(StatusCode="Internal", Detail="Request protocol 'HTTP/1.1' is not supported.") I thought Grpc used HTTP/2 by [...] read more
Background My C# code hasn't been touched in a long time (1 year+), suddenly I get the following error when connecting to our Progress server: Progress.Open4GL.Exceptions.Open4GLException HResult=0x80131500 Message=Object is no longer available for use. (7260) Source=Progress.o4glrt StackTrace: at Progress.Open4GL.Proxy.OpenAppObject.RunProc(String procName, ParamArray paramArray) at My.Service.Progress.LoadStuff.<Handle>d__2.MoveNext() in C:\MyRepo\My.Service.Progress\LoadStuff.cs:line 34 This is called [...] read more
I am trying to load a sprite image file (xnb) and it just cannot find the file. I have tried setting a custom root directory, I have tried just putting the file in the content and it still cant find it. This is my code. using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using [...] read more
I am trying to figure out how to resolve for a generic service without registering the type. I need to do this at runtime as there are too many different types that will need to be passed to this service and several others. I used RegisterAssemblyTypes to register several services. [...] read more
I have a 5 objects nested json file. In nutshell, the json file has the following pattern: { "Object1": { "Object2": { "Object3": { "Object4": [ "Object5", "Object5", "Object5" ] } } } } Edit: Previously I had inconsistent naming. I have revised the names to reflect the comments that [...] read more
everyone. I had written a C# project which reads/writes to the google sheet, and it works fine. Recently I had replaced my desktop machine, so moved my program into it. When I started my program, I got the following error. Google.Apis.Auth.OAuth2.Responses.TokenResponseException HResult=0x80131500 Message=Error:"invalid_grant", Description:"Invalid JWT: Token must be a short-lived [...] read more
I get a Modelvalidation exception in all models claiming the key is not defined. But keys are defined nicely in EDMX file generated with the command "Update Model from Database", and when I check properties the Entity Keys are all defined. The code is in Framework 4.5 with EF 6.0. [...] read more
i created an external table to fetch Parquet data from ADLS which throws below error. Query execution has resulted in error (0x80131500): Partial query failure: 0x80131500 (message: 'Input parquet file is ill-formed and cannot be processed: 'not a Parquet file (size too small)'.: ', details: 'Source: Kusto.Common.Svc [0]Kusto.Common.Svc.Exceptions.IngestionSourceParquetReaderException: Input parquet [...] read more
I keep getting the following error when I try to connect to an SSH server (in this case the SSH server is the iDRAC on a Dell server): Renci.SshNet.Common.SshAuthenticationException HResult=0x80131500 Message=No suitable authentication method found to complete authentication (publickey,keyboard-interactive). Everything I have found references SCP, but I am not using [...] read more
So I have a management application where a user can add a product to the database through the API. The functions in the API work fine because I have tested this with postman. However, I am probably uploading it incorrectly to the Web API, and I don't know why. The [...] read more
Here is the code: dynamic hist = tick.history("max", true); Getting the following error: Python.Runtime.PythonException HResult=0x80131500 Message=AttributeError : 'bool' object has no attribute 'lower' Source=Python.Runtime StackTrace: [' File "C:\\Python37\\lib\\site-packages\\yfinance\\base.py", line 135, in history\n params["interval"] = interval.lower()\n'] at Python.Runtime.PyObject.Invoke(PyTuple args, PyDict kw) at Python.Runtime.PyObject.InvokeMethod(String name, PyTuple args, PyDict kw) at Python.Runtime.PyObject.TryInvokeMember(InvokeMemberBinder binder, [...] read more
The JSON is: {"date":13,"day":5,"hours":19,"minutes":6,"month":10,"nanos":0,"seconds":41,"time":1605265601000,"timezoneOffset":-480,"year":120} When I try to Convert to DateTime, I encountered the following error: > Newtonsoft.Json.JsonReaderException HResult=0x80131500 Message=Unexpected > character encountered while parsing value: {. Path '', line 1, position 1. > Source=Newtonsoft.Json StackTrace: at > Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType) at > Newtonsoft.Json.JsonTextReader.ReadAsDateTime() at > Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader > reader, JsonContract contract, [...] read more
I am trying to port this python web client to C# .NET Core 3.1. I'm running on Windows 10x64 (build 19041). The linked github project contains a (secure) test web server sandbox you can develop against together with some client and server test self-cert certificates. I am not very familiar [...] read more
I am trying to read and update a single file in my repository using Octokit.Net. The particular file I am trying to read/update is about 2.1MB in size so when I attempt to read this file using the following code... var currentFileText = ""; var contents = await client.Repository.Content.GetAllContentsByRef("jkears", "NextWare.ProductPortal", [...] read more
I am trying to generate an SaS token to download a blob from Azure Blob Storage. After generating the token and attempting to download I am met with the following error: Azure.RequestFailedException HResult=0x80131500 Message=Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including [...] read more
I've downloaded the Saxon API (actually the dotnet one). I've taken the EE sample application, compiled it and run it. Some of it required the licence to be present, and I have a license file, which seemed to make it work. I wanted to use xsl:import-schema in my xslt, and [...] read more
I have a local AD Forest that is replicated to an AAD Tenant via AADConnect. All seems OK there, the locals users get replicated up to the Azure AD instance without issue. I have a Win10 Desktop joined to the local domain, that is running A C# test app using [...] read more
Can someone please help me with the following error: Azure.RequestFailedException HResult=0x80131500 Message=Service request failed. Status: 401 (Unauthorized) Content: {"error":{"code":"Unauthorized","message":"AKV10032: Invalid issuer. Expected one of https://sts.windows.net/db8e2ba9-95c1-4fbb-b558-6bf8bb1d2981/, https://sts.windows.net/f8cdef31-a31e-4b4a-93e4-5f571e91255a/, https://sts.windows.net/e2d54eb5-3869-4f70-8578-dee5fc7331f4/, found https://sts.windows.net/6e51e1ad-c54b-4b39-b598-0ffe9ae68fef/."}} This is my code: protected string CreateVendorApiServerSecret(string name, string secret) { var client = new SecretClient(new Uri(KeyvaultUri), new DefaultAzureCredential()); var secret [...] read more
I am working POC of API to store/retrieve some sensitive information to/from SQL database. API uses EF core for DB operations. I have configured the column level encryption with Azure KeyVault provider. Master key is getting generated in KeyVault. EF Configuration Reference https://entityframeworkcore.com/knowledge-base/60420382/ef-core-decryption-of-sql-column-level-encryption I need to use managed identity to [...] read more
i'm trying to use CSVHelper inside my project. I created that files: * JobApplicationMap.cs * JobApplicationModel.cs * ICsvParserService.cs * CsvParserService.cs * JobApplicationCSV.cs * Constants.cs But after executing the JobApplicationCSV.WriteCSV method i'm getting a CSVHelper Exception: > System.Exception HResult=0x80131500 Nachricht = Header with name 'Company' was > not found. If you [...] read more
I'm attempting to take this example that shows how to render Razor templates to string so that i can use them for rich email templates. https://github.com/aspnet/Entropy/tree/master/samples/Mvc.RenderViewToString I've updated code based on this repo that describes how to update the example to .NET Core 3.1 https://github.com/scottsauber/RazorHtmlEmails I've altered it slightly because [...] read more
I'm trying to pass EF Core Dbcontext to my BackgroundService through dependency injection but somehow cannot get the hang of it. Can someone tell me what I'm doing wrong and how to do it right/better/easier/another way (not cumbersome if possible)? I'm using services.AddDbContext<MyDbContext> to add the DbContext in HostBuilder, then [...] read more
This error only occurs on one out of the three Hololenses we have available here, and it also only appears to be only on my PC. Error DEP6200: Bootstrapping failed. Device cannot be found. SmartDeviceException - Deployment failed because no device was detected. Make sure a device is connected and [...] read more
I want to install the onnxruntime package using the python plugin from the Azure Data Explorer. I followed the instructions from this site https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/pythonplugin?pivots=azuredataexplorer. However, i dont get it to work properly. It always tells me "ImportError: cannot import name 'get_all_providers'" Here is my kusto statement from the Azure Data [...] read more
I am running the SPARQL query in dotNetRDF C#, and getting this error: VDS.RDF.Query.RdfQueryTimeoutException HResult=0x80131500 Message=Query Execution Time exceeded the Timeout of 180000ms; query aborted after 366471ms Source=dotNetRDF Whereas the same query performance on Apache Jena and Python(rdflib) is 25.60 sec and 179.94 sec, respectively. So, is there any way [...] read more
I have created a custom model binder for my webhook. When I subscribe to the webhook the validation works correctly, but when it receives a ResourceWriteSuccessEvent or a ResourceDeleteSuccessEvent type I get the following error when passing the json string into the eventGridSubscriber.DeserializeEventGridEvents method, Newtonsoft.Json.JsonReaderException HResult=0x80131500 Message=Error reading string. Unexpected [...] read more
I have tested linkedmdb-18-05-2009-dump.nt on Java Apache Jena, but on dotNetRDF throwing an exception as VDS.RDF.Parsing.RdfParseException HResult=0x80131500 Message=Invalid URI encountered, see inner exception for details Source=dotNetRDF StackTrace: at VDS.RDF.Parsing.NTriplesParser.TryParseUri(TokenisingParserContext context, String uri) at VDS.RDF.Parsing.NTriplesParser.TryParseTriple(TokenisingParserContext context) at VDS.RDF.Parsing.NTriplesParser.Parse(TokenisingParserContext context) at VDS.RDF.Parsing.NTriplesParser.Load(IRdfHandler handler, TextReader input) at ConsoleApp2_RDFWALKTHROUGH.Program.Main(String[] args) in This exception was [...] read more
I'm forcing with Cef Sharp problem which I cannot resolve. My browser executes some code, then the function OnLoadingStateChanged checks for some condition. If condition is true then browser and all whole program should be end. The problem is that the browser instance run on thread (threadid 6) and my [...] read more
I am trying to do a simple search, using NEST for customers given specific customer locations. The POCOS are: class Customer { public int CustomerId { get; set; } public string CustomerName { get; set; } public string FirstName { get; set; } public string LastName { get; set; } [...] read more
I'm creating a simple app that changes vacation settings for multiple g-suite users. Currently, I'm creating GoogleCredential and GmailService objects per mailbox, like so: var credentials = GoogleCredential.FromFile(FileName).CreateScoped(Scopes).CreateWithUser(User); var gmailService = new GmailService( new BaseClientService.Initializer() { ApplicationName = ApplicationName, HttpClientInitializer = credentials }); var x = gmailService.Users.GetProfile(User); var y = [...] read more
I'm looking to parse this JSON and I've had nothing but problems. The link to the JSON is here. I'm trying to access the "href" field. While writing this up, I realized that that the data field is actually an array so that is part of my problem. class Program [...] read more
we are using Azure Active Directory for our company. We have an internal web project with Asp.Net Core 3. We are using a React as a frontend. The user is able to login with his AAD Credentials and the React app gets a token. The Token should be used to [...] read more
I am using bitcoinlib to communicate with bitcoin-qt This is the code i tried: Dim BitcoinService As Services.RpcServices.RpcService.IRpcService = New Services.Coins.Bitcoin.BitcoinService("http://localhost:8332", "Username", "Password", "wallet password", 200) for getblocktemplate this is the call Dim seg As JToken = "{""rules"": [""segwit""]}" RichTextBox5.Text = BitcoinService.GetBlockTemplate(seg).PreviousBlockHash It gives me this error BitcoinLib.ExceptionHandling.Rpc.RpcInternalServerErrorException HResult=0x80131500 Message=JSON [...] read more
* I'm trying to get access token within sandbox environment. * I've a VB.NET application and referenced DocuSign.eSign.dll * I examined docusign C# code examples and could not get them run in vb.net This is the first approach I tried: Dim ac As ApiClient = New ApiClient() Dim privateKeyStream() As [...] read more
Trying to customize asp.net core 3.1 identity with adding a field to IdentityUser and override a method in SignInManager & Getting this exception in project startup System.AggregateException HResult=0x80131500 Message=Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory`1[id1.AxUser] Lifetime: Scoped ImplementationType: Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory`1[id1.AxUser]': Unable to [...] read more
I have downloaded the dotnet core v1.1.7 SDK from https://dotnet.microsoft.com/download/dotnet/1.1 for Ubuntu. I have followed the steps listed in (https://docs.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual) here, including verifying all dependencies are installed which they are shown to have be installed DOTNET_FILE=<your archive > export DOTNET_ROOT=$HOME/dotnet mkdir -p "$DOTNET_ROOT" && tar zxf "$DOTNET_FILE" -C "$DOTNET_ROOT" export [...] read more
I am new in C# and trying to run a simple driver.Naviage().GoToUrl("http://www.google.com"); with selenium and C# but I am keep getting "command line server for the IE driver has stopped working" error. And on my Script I am getting error "OpenQA.selenium.WebDriverExcption: 'cannot start the driver service on http://localhost:55459/'. complete error: [...] read more
I am encoutering this error with my Automapper. I have no idea where should fix this. Here is the error details > AutoMapper.AutoMapperMappingException HResult=0x80131500 > Message=Missing type map configuration or unsupported mapping. > Source= StackTrace: Here is the startup.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AutoMapper; using [...] read more