Connection string issue
Hi, What kind of file can be inserted, regarding Connection string, into Maui App?
How to fix error code 2147516556 (0x8000808c) in VS 2022
Reference Library uses .NET 8.0, which I configured it as such. Build is successful but Debugger shows below error and program failed to open. The target process exited without raising a CoreCLR started event. Ensure that the target process is…
Taskbar (Shell_TrayWnd) Alignment of items using Win32 API
Currently, I have a problem with changing the alignment of items such as Start Button, Search, Pinned items. I wrote code, which works in a Console Application, but it won't work in a WinUI 3 or UWP Packaged Desktop application because of restrictions…
Unable to cast COM object of type 'Microsoft.Office.Interop.Excel.ApplicationClass'
Hello, I have been developing an application to take a file that has been exported from the web and open it up. I have it working completely for 64 bit office, but I am running into issues trying to get it to work for 32 bit office. Here is the Error I…
![](https://techprofile.blob.core.windows.net/images/7ca689de67ca4855a0ed985ff5add70e.png)
DOTNET sandbox not working
I am trying to take the C# class on Microsoft learn. https://learn.microsoft.com/en-us/training/modules/csharp-write-first/3-how-it-works However the right-side dotnet sandbox refuses to load. It just spins endlessly and renders nothing. Was…
How to fix SystemLoadExecption
Exception has occurred: CLR/System.TypeLoadException An unhandled exception of type 'System.TypeLoadException' occurred in Winappli.dll: 'Could not load type 'Microsoft.Toolkit.Uwp.Notifications.NotificationActivator' from assembly…
How to set mail do not forward with Graph Api?
I want recipients cant forward the mail what I send with graph api .Could you tell me how do it?
Invalid UserName in ASP.NET Core 6
I am working on an ASP.NET Core 6 MVC application that uses ASP.NET Core Identity. When I try to create a new user using the UserManager, I get this error: User name ' ' is invalid, can only contain letters or digits Username do not has any…
How to Read a SharePoint List Using .NET 8?
System.Net.WebException: 'The remote server returned an error: (403) FORBIDDEN.' I am using .NET 8, and I've already tried with GetACSAppOnlyContext but it wouldn't work because I need to access more than 5 SharePoint sites simultaneously. There was…
Issue with Azure Orchestration Function
I am building an Azure Orchestration Function App that has four different functions. The first function is a start task function that removes containers inside a Cosmos DB database. The second function, which I am having a problem with, scans a Cosmos DB…
How to integrate IM application with Office without Lync installed?
I am trying to integrate an IM application with Office 2019 where Lync/Skype for Business is not installed. The official Microsoft doc says : If you are integrating using Office Standard, you need to extract the type library and install it on the…
Not Receiving Typing Activity in Microsoft Bot Framework
Hello, I'm currently working on a bot using the Microsoft Bot Framework and am hosting it on Azure. Everything seems to be working fine, and has been for a while, except when trying to implement live typing indicators when talking with users. I've…
Trouble accessing custom field properties in ObservableCollection
I created an ObservableCollection in my ViewModel and defined a CustomField class that implements INotifyPropertyChanged. However, when I try to access the properties of the CustomField model in the view, I get an error saying that the members cannot be…
How to Host the Firestore Identity File Securely?
I am working on a WPF project with C#, and I am using Firebase Firestore for which I need to host the identity JSON file on disk. However, I want to ensure that users cannot access this file or the Firestore services using the information inside it. What…
System.IO.Ports only availble on windows, but im using windows - .NET6
So i'm trying to read arduino serial from c#, but it shows me the folowing exeption when i try to open the port: System.PlatformNotSupportedException: 'System.IO.Ports is currently only supported on Windows I am currently using windows 11. Also i tried…
![](https://techprofile.blob.core.windows.net/images/5Tfdo_H4skON-ypM_QItZw.png?8DC973)
Visual studio compiler error
have this problem: I can't run the code, it says: The "ResolveAppHosts" task was not given a value for the required parameter "RuntimeGraphPath". I don't know what I can do, please help me .NET version 6.0, C#
TripleDes problem in .Net
I use TripleDes to encrypt/decrypt. I have a program in the .Net Framework version and in the .Net version. According to the code I show, in .NetFw it returns an object "System.Security.Cryptography.CryptoAPITransform" to TDes_ICryptoTransform…
Timer Function returns 404 on consumption plan. cronjob but http fn invokes ok
Timer function returns 404 from both postman and Az Portal test/run. Http function executes from Postman and from Az Portal test/run, OK. App is deployed from GitHub Action. I have used Restart and Refresh but cron job does not fire. Publishing model:…
Selecting text across the elements
I am working on a UWP app where i will get the text content and their respective X and Y coordinates. I need to render this text in UI in the respective coordinates, I have achieved this through canvas panel and text block but here i face another…
Regex.Matches return no duplicates?
Hello Dim blah As MatchCollection = Regex.Matches(text, "([a-zA-Z0-9_-.]+)@([a-zA-Z0-9_-.]+).([a-zA-Z]{2,9})", RegexOptions.CultureInvariant Or RegexOptions.IgnoreCase Or RegexOptions.Multiline) How may I force Regex.Matches not to return…