How to fix half downloads?
hi there, i was downloading file of 27 GB. after downloading 25 GB it got interrupted and when i am trying to resume, the same message is coming -"that due to tech issue can't be downloaded". On reaching to last moment, it got error. My…
Effective file search solution in UWP
Hi, I need to search for files based on their type, creation date, and size (something like in windows). What are the options for an efficient search? I tried to use the Storage API, but the search is quite slow, in turn, System.IO can access folders…
Run a scheduled job in Azure app service using Quartz.net
Hi, I am using a .Net console app (A) deployed in Azure app service to run a scheduled job using Quartz.net library. The job is configured to execute another .Net console executable (B) during the trigger. But executable(B) randomly stops execution in…
ReadAsStringAsync and ReadAsByteArrayAsync without Cancellationtoken
I use the latest version of VS and C# in a .Net 8 project. I have a function that retrieves the content of a remote file using HttpContent.ReadAsByteArrayAsync() and HttpContent.ReadAsStringAsync(); I can't use the CancellationToken parameter because…
The scriptmain.cs can not be found in the SSIS package
I have a SSIS package with a script task. I can edit this script taks, but when I add a breakpoint in the C# code and I run the package I get an error that the ScriptMain.cs can not be found. I use Visual studio 2022 with data tools 2017 and integration…
Advice on C# code to be triggered during an event
Hello Forum. I am looking for some advice. I am going to write some code to produce a program that waits until a system event happens and then launches., Is this a situation when I should write a PROCESS rather than a piece of code to be compiled into…
![](https://techprofile.blob.core.windows.net/images/9T8x8PikrkuLN7Jg5BNPdw.png?8DC1D1)
![](https://techprofile.blob.core.windows.net/images/9T8x8PikrkuLN7Jg5BNPdw.png?8DC1D1)
Unable to cast COM object of type 'Microsoft.Office.Interop.Excel.ApplicationClass'
Hi I've this C# application which opens excel file and updated another excel file. The application developed in Visual studio 2005 and Office 2016. I've recently uninstalled Office 2016 and installed Office 365. Since then " Unable to cast…
UWP eSimManager download profile fails
Hello, i am trying to use the eSimManager to mange eSim in Windows 11. my code is var result = await _eSim.DownloadProfileMetadataAsync("MY ESIM PROFILE ACTIVATION CODE"); but i get result of "cardGeneralFailure" the eSim…
How to send Mail using azure Entra Id User tenant mail in .NET core programmatically ?
Hi, I have an azure Entra ID Subscription where I have created user and the email with my domain, For example (ABC@abcemi.com) and I tried to send mail programmatically. Here are the steps that I have followed to Send Mail via .NET core code: - …
Connection string issue
Hi, What kind of file can be inserted, regarding Connection string, into Maui App?
Using Xamarin.Google.UserMessagingPlatform with MAUI for presenting a GDPR consent message
I am trying to present a GDPR consent message in a MAUI app using the Xamarin.Google.UserMessagingPlatform NuGet package. I'm targeting Android 34 on .NET 8. I have used both this: https://stackoverflow.com/a/71299843/7360423 and this:…
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…