Microsoft.Data.SQLClient 5.2.0 fails to work with .Net 8
I am having issues creating a Class library with C# and .net 8 that uses Microsoft.Data.SQLClient. version 5.2.0 which states that it will run on .net 8 platform. Here is the code for the class library using System.Data; using…
Customizing Layout / Position of RadioButton Without RadioButtonGroup
I want the layout of my app to have several RadioButton(s) that are arranged in very unusual ways, there are other View(s) in the layout that make RadioButtonGroup inappropriate because it would contain many other View(s) and be hard to layout. I am…
How do I set up a new computer to run an executable I have built with Microsoft Visual Studio?
How do I set up a new computer to run an executable I have built with Microsoft Visual Studio? It has been a pain. First we found out that .Net had to be installed. Now I have learned that it is expecting to have all the namespace DLLs on the…
How to fix deployment error "Error occurred in deployment step 'Add Solution'" on Visual Studio
Hi, I'm working on SharePoint 2010 application code on Visual Studio 2010. When I Clean, build and deploy solution getting error since yesterday like: "Error occurred in deployment step 'Add Solution': Failed to call GetTypes on assembly…
Usermanager generate email confirmation token sometimes returns null
Why is it that sometimes the _userManager.GenerateEmailConfirmationTokenAsync(user); returns null. It's very rare to happen but it is happening and I need to know the reason behind it. This is my current configuration for Identity …
Permission denied on executable in Azure Functions (C#, Linux)
I am trying to run packed to a single file ffmpeg on Linux on Azure function: var ffmpeg = $"/home/site/wwwroot/ffmpeg"; var videoPath = Path.GetFullPath($"SampleVideo1.mp4"); var ffmpegCommand = $"{ffmpeg} -i…
How to fix ManagedIdentityIsNotEnabled error in Azure Web App?
I recently deployed my AI RAG system build with Azure AI Studio as a web app. When trying to chat on the app I get: Error code: 400 - {'error': {'requestid': '93caf8bc-7e09-4a2f-8281-4919fd568e77', 'code': 400, 'message': 'Failed to get managed identity…
JAWS or windows narrator not working/announcing localized description of enum bind to combo box for wpf application
Hi, I am using JAWS screen reader / windows narrator on wpf dialog for wpf application. But reader does not says/announce/speaks about description of enum bound to combobox in WPF c# application. Screen reader speaks/announce enumerator rather than…
JAWS or windows narrator not working for label and tooltip for c# wpf application
Hi, I am using JAWS screen reader / windows narrator on wpf dialog for wpf application. But reader does not says about label text and tooltip on hovering on the label. I have used AutomationProperties.Name , AutomationProperties.LabeledBy as per link…
Tab Bar Content Titles Trimmed After Navigating to Custom WebView in .NET MAUI iOS App
I'm encountering an issue in my .NET MAUI application on iOS where the titles in the TabBar's ShellContent are being trimmed or cropped. This issue occurs only after navigating to a page that contains a WebView (referred to as "AppWebView") and…
Error: 535 5.7.139 Authentication unsuccessful SMTP
I have a Windows Form application that sends emails by SMTP. Since last week I have been receiving the following error: 5.7.57 Client not authenticated to send mail. Error: 5.7.57 Client not authenticated to send mail. Error: 535 5.7.139 Authentication…
What associated DLL's need to be included in order for a net6.0 console app to run?
I have created a console app with Microsoft Visual Studio. I have put it into a directory off of my C drive and I have run it from the command line. This is the Release version of the .EXE and not the debug version. One thing I have noticed is that…
Using IDENTITY_INSERT with FK_ChildTable_ParentTable?
Hello, Wrapping SaveChanges with ON and OFF works fine with individual tables. But not in case of a parent-child relationship where a foreign key exists. Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert explicit value for identity column…
How to log in with HTTP POST protocol first and then show the homepage with "WebView" package?
How to log in with HTTP POST protocol first and then show the homepage with "WebView" package? The website needs to log in with HTTP POST protocol first, and then the web will be directed to its homepage. The code shows me logging in…
UWP Windows.System.Launcher.LaunchUriAsync is not opening correctly in browser when the URI supports opening the link in other uwp app and browser.
Hi I'm using Windows.System.Launcher.LaunchUriAsync to open a URI, I'm prompted with a dialogue when the URI can be opened in other uwp app and browser. If chosen browser, it opens the local path - AppData/Local/Microsoft/Windows/INetCache instead of…
UWP How to cancel a file search
I have a code to search for files in a user's selected folder, the file search takes some time and I need to be able to cancel it if the user changes the folder QueryOptions options = new QueryOptions(CommonFileQuery.OrderByName, filesExtensions) {…
using readAllBytes throws "file not accessible error"
I trying to read an encrypted file using the following: and getting access not allowed error. // would prefer to use the following instead of picker" // AuthFile = @"C:\vbscripts\pid.txt"; // if…
c# UWP resource directory DataTemplate with x:DataType not working
HI, using VS2022 UWP c# I am trying to put a DataTemplate into a ResourceDictionary using a x:DataType I get a compile error Severity Code Description Project File Line Suppression State Error The XAML Binary Format (XBF) generator reported syntax…
Error when trying to login using Microsoft Cognitive Services in Public Desktop Client App in Entra External ID tenant
I have an Entra External ID tenant with a registered public desktop app from which I want to call the APIs from an Azure Speech Service resource. Via MSAL I log in like this: var clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"; var tenantId…
How to pass Fast Startup test with a .NET startup app?
Hi, Applications developed using the .Net Framework are consistently flagged as issues in the Fast Startup assessment of the Windows Assessment Toolkit. Is there a way to avoid being flagged as an issue? Thanks. Best regards, Hank