Content
How read excel file and save into database
Hello guys, Is there any tutorial reading excel files and inserting them into a database with a .net core console application? Thanks in advance.

System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.
Hi, Everybody!... I am trying to parse the following XML…
Reinstall .NET Framework
Hello, i have problem with .Net framework, We have Windows Server 2019 and now after start ServerManager or for example azure tool for sync i get error about that i need .NetFramework 4.0 But when i dowload last version from MS and run install i get…
Setting XML Root XMLNS
Hi, Everybody! I need to create a Shipment XML root whose xmlns is the following fictitious XSD URL: http://api.company.com/schemas/api/company-api-vN.xsd. <?xml version="1.0"…
Visual studio 2022 Installation error
Can someone help me? I am getting this warning when I try to install .NET development for visual studio 2022 : Couldn't install Microsoft.VisualStudio.Community.Shared.Msi
Marshal does not contain a definition for GetLastPInvokeError
In Visual Studio 2019 I'm getting complier error CS0117: 'Marshal' does not contain a definition for 'GetLastPInvokeError' My console application project targets .net framework 4.7.2, which should define GetLastPInvokeError according to the docs (.net…
Seeking Assistance for Windows Server 2022 Issue
Dear Community Members, I am currently encountering an issue on my Windows Server 2022 system that requires your expert guidance and assistance. Issue Description: My server has .NET 4.8 features already installed. However, I am facing difficulties while…
.NET Framework 4.8 on Windows Server 2019 - installation failes
I have tried the solutions in other questions regarding installation failures of .NET Framework 4.8, but nothing have helped me so far. The server is fully patched and rebooted. (Note! We use a WSUS but I do not know what updates are allowed or…
Runtime Error 424 when the module was running fine before.
Sub Report() Worksheets("Report").Activate Cells(41, 14).Select Dim baris, kira As Integer Dim Nama, ProperPath, Namafail As String baris = 41 kira = Cells(40, 17).Value Do While baris < kira + 41 Nama = Cells(baris,…

InvalidProgramException in Windows Forms application
Hello, I'm a developer of the desktop .NET Windows Forms application. I faced a strange exception thrown by .NET runtime on a single production PC. On a component initialization phase .NET throws the following: System.InvalidProgramException: Common…
How to fix "This application requires .NET framework: v4.030319
When I boot up my laptop I get an error saying that I need a .NET version to start an application. I get the same error when I try to open discord and Visual Studio. When I go to download the NET framework it tells me that I already have it. I have tried…
upgrading from .net framework 4.5.2 to .net standard 2.0
Hi, I'm trying to upgrade my class libraries from .Net Framework 4.5.2 to .Net Standard 2.0 using Upgrade Assistant. Everytime i does it, it upgrades to the latest version i.e. .Net6 Can I somehow pass an argument to CLI for 2.0? For the time being,…
InvalidOperationException: <Error xmlns=''> was not expected.
Hi, Everybody! I need to deserialize the following XML... <?xml version="1.0" encoding="utf-8"?> <Error> <Message> There is an error in....</Message> </Error> I defined the following…

Cannot add feature of .Net Framwork 3.5 to my Windows Server 2022. Error: 0x80073701
Hello guys! I may need some help after endless googling for couple days. I just couldn't fix the error when adding a new feature of .Net Framework 3.5 to my VM as follows: The features trying to add: .NET Framework 3.5 This virtual machine is a domain…
is win2d equal to direct2d?
is win2d slower than direct2d? https://github.com/microsoft/Win2D

i get this error with ssrs reports using sqLite , entity frame work and .net6
i get this error with ssrs reports using SQLite , entity frame work and .net6
Azure Redis Session State Management
Hello, I am using Microsoft.Web.RedisSessionStateProvider package to connect with redis for session state management. I am following the configuration mentioned in the below doc to connect to redis. …
Server Error in '/' Application Web.config
HI I need this problem solution. If anybody have this solution then pls reply to it. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the…
How to target .NET Framework 4.0 in VS 2022 on Windows 11?
Working on some old projects targeting .NET Framework 4.0. I used VS 2022 to open the solution and was told to install 4.0 targeting pack. I can't find the download link on the dotnet website, nor the installation option in Visual Studio Installer. …
.NET framework version missing
Hallo, I am quite new to VS. I installed the Community version 2022 recently but I cannot run my script. I get the error which I copied here below. I checked in my registry editor and I can see that I have the version 4.8.04084 (even though in the…