Forum Widgets
Latest Discussions
[Suggestion 1][Allow Language Selection During .NET Installation]
Hi, 1. Context: Currently, when installing the .NET SDK or runtime, multiple language resource folders are automatically included in the installation directory. 2. Problem: Many developers only require a single language, typically English and the additional localization files take up unnecessary disk space and clutter the installation directory. Currently, the installer does not provide an option to select which languages should be installed. Removing these manually is time-consuming and could potentially break application dependencies if done incorrectly. 3. Proposed Solution: Introduce an option in the .NET installer that allows users to select or deselect language packs during installation. This feature could be similar to the "Individual components" selection available in the Visual Studio Installer, where users can choose exactly what they need, ensuring a more streamlined installation. This would help: Reduce disk space usage. Improve installation customization. Provide a cleaner development environment. 4. What do you think about this suggestion ? Thank you for considering this request and I’m happy to provide additional details or insights if needed.R0botJul 11, 2025Copper Contributor75Views1like1CommentDo I need to upgrade Microsoft.AspNetCore.* NuGet packages after upgrading the .NET Runtime?
Hi, I'm encountering an issue with our SCA (Software Composition Analysis) scan, which reports several known vulnerabilities in .NET Core components. Specifically, the scan detects that the following packages are still on version 8.0.0, which are flagged as vulnerable: Microsoft.AspNetCore.Authorization Microsoft.AspNetCore.Components Microsoft.AspNetCore.Http.Connections.Client Microsoft.AspNetCore.SignalR.Client The scanner recommends upgrading these packages to version 8.0.15 to resolve the issues. To address this, I upgraded the .NET Runtime on our environment to version 8.0.15. However, the SCA scan still reports the same vulnerabilities, indicating that the vulnerable component versions have not changed. My question is: Do I also need to manually upgrade the corresponding NuGet package versions in the project to 8.0.15, or is upgrading the .NET Runtime alone sufficient to ensure these components are updated as well? Any clarification would be appreciated. Thank you!MahaauDJul 09, 2025Copper Contributor33Views0likes0CommentsApplications are not correctly detecting .NET Desktop Runtime 6.0.1 (x64)
Even though I have .NET Desktop Runtime 6.0.1 (x64) installed, I'm still getting an error when launching a .NET application Windows 10 21H2 OS Build 19044.1466 Event log shows event 1023 - Description: A .NET application failed. Application: HandBrake.exe Path: C:\Program Files\HandBrake\HandBrake.exe Message: Failure processing application bundle. Bundle header version compatibility check failed. A fatal error occured while processing application bundleJustMarksJun 28, 2025Copper Contributor8.7KViews0likes7CommentsConnection between .NET and AUTOCAD ELECTRICAL
I want to connect .NET with Autocad Electrical . i am using , AutoCAD Electrical 2025.0.2 , Product Version : 22.0.81.0 , Built on: V.154.0.0 AutoCAD 2025.1.1 Visual Studio Community 2022 - 17.12.3 my system is x64 bit I am creating a console application in .NET 8.0 Runtime with C# language , Added dll accoremgd , acdbmgd, acmgd, Autodesk.AutoCAD.Interop . Also in .NET in Solution Explorer , in project references , i have made "Copy Local" property as False. using System; using Autodesk.AutoCAD.Interop; using Autodesk.AutoCAD.Runtime; using System.Runtime.InteropServices; using Autodesk.AutoCAD.ApplicationServices; namespace AutoCADElecDemo { class Program { static void Main(string[] args) { AcadApplication acadApp = null; const string progId = "AutoCAD.Application.25"; // Adjust for your AutoCAD version try { // Get a running instance of AutoCAD acadApp = GetActiveAutoCAD(progId); } catch (System.Exception ex) { Console.WriteLine($"Error initializing AutoCAD: {ex.Message}"); return; } try { // Ensure AutoCAD is visible acadApp.Visible = true; Console.WriteLine("AutoCAD is now running."); // Register for the BeginQuit event Application.BeginQuit += OnBeginQuit; // Keep the application running to monitor AutoCAD's state Console.WriteLine("Press Enter to exit..."); Console.ReadLine(); } catch (System.Exception ex) { Console.WriteLine($"An error occurred: {ex.Message}"); } finally { // Unregister the event handler before exiting Application.BeginQuit -= OnBeginQuit; } } static AcadApplication GetActiveAutoCAD(string progId) { try { var comObject = Marshal.GetActiveObject(progId); Console.WriteLine($"Connected to AutoCAD: {progId}"); return (AcadApplication)comObject; } catch (System.Exception ex) { Console.WriteLine($"Error accessing AutoCAD: {ex.Message}"); throw; } } static void OnBeginQuit(object sender, EventArgs e) { Console.WriteLine("AutoCAD is being closed."); } } } For above code, my application comes in break mode "Your app has entered a break state, but no code is currently executing that is supported by the selected debug engine (e.g. only native runtime code is executing)." and i am getting below error : System.IO.FileNotFoundException: 'Could not load file or assembly 'accoremgd, Version=25.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.' dll path is also correct. i also tried same code with .NET Framework 4.7.2 and 4.8 targeting pack , but getting same error. How to load accoremgd.dll properly so that this application can use autocad accoremgd functions properly.soubhagyaJun 14, 2025Copper Contributor139Views0likes2CommentsCan't able to Upload Images on Azure Server if it is more than 128KB
Hi Everyone , I am trying to upload image and store but when i do it in my local server its working fine but when i push the same code in server i am getting entity too large I reached out microsoft support they are telling that "The content type format is supposed to be image as example given to upload the image file otherwise the application gateway will not understand the image and tries to accept only 128KB which is why the request is not accepted with Application Gateway. " when i am debugging i am getting same content type = image/jpeg . Code snippet for storing private void SaveImage(int vendItemID) { try { string folderPath = @"C:\UploadedImages\"; Directory.CreateDirectory(folderPath); string fileExtension = Path.GetExtension(fileUpload.FileName).ToLower(); string fileName = Path.GetFileNameWithoutExtension(fileUpload.FileName); string newImageName = string.Empty; dbCon.Server = "***"; dbCon.OpenConnection(); // Optimize and compress the image byte[] optimizedImageBytes = CompressImageToTargetSize(fileUpload.PostedFile.InputStream, fileExtension); // Convert to Base64 string base64String = Convert.ToBase64String(optimizedImageBytes); using (SqlCommand cmd = new SqlCommand("***", dbCon.Cnn)) { cmd.CommandType = CommandType.StoredProcedure; AddImageParameters(cmd, vendItemID, fileName, fileExtension); cmd.Parameters.AddWithValue("@ImageBase64", base64String); var outputCodeParam = new SqlParameter("@ImageNewName", SqlDbType.NVarChar, 200) { Direction = ParameterDirection.Output }; cmd.Parameters.Add(outputCodeParam); cmd.ExecuteNonQuery(); newImageName = outputCodeParam.Value.ToString(); } string newFilePath = Path.Combine(folderPath, newImageName); File.WriteAllBytes(newFilePath, optimizedImageBytes); UpdateImagePath(newImageName, newFilePath); } catch (Exception ex) { ShowMessage("Error while saving image: " + ex.Message, Color.Red); LogError("Image save failed", ex); throw; } finally { dbCon.CloseConnection(); } } I also try to compress and change it to base 64 but its not working. Kindly assist on what steps i need to take. Thanks, Shahid Note :WebForm i m working on .Shahid_MAJun 13, 2025Copper Contributor19Views0likes0CommentsBest Way to Fill ACORD 23 Vehicle Insurance Certificates on Windows – Any Recommended Tools?
I frequently deal with insurance documentation and recently had to work with the ACORD 23 Vehicle Insurance Certificate. I’ve been using Windows 11 and was looking for the most efficient way to fill, edit, and save these forms digitally without printing them out. While browsing, I found AcordForm – it lets you view and understand various ACORD forms like the 23, 25, and more. It’s been helpful for referencing and understanding the format. However, I’d love some advice from the community: What’s the best Microsoft-supported tool for filling out ACORD PDF forms? Is Microsoft Edge’s PDF editor reliable enough, or should I be using Microsoft Word with PDF add-ins? Any integration tips with OneDrive or SharePoint for document storage?. Thanks in advancebu8sh723Jun 04, 2025Copper Contributor35Views0likes0CommentsUsing late binding to run AdvancedSearch in Outlook in .NET8?
I'm trying to use the AdvancedSearch feature from Outlook in my .NET 8 application, but I haven't been able to make it work. I'm currently using Restrict when I need to filter by a specific sender or by date. However, I need more advanced filtering options — for example, checking if the subject contains a specific word. I could use a loop to do this after retrieving the results with Restrict, but it's very slow. It seems like AdvancedSearch would be a better option, but I'm getting an error when I try to run the search. Below is an example of my code, although I've tried many variations. If anyone can share a working example, that would be really helpful. Thanks in advance! string searchTag = "BuscaOutlook"; string searchScope = "'\\Caixa de Entrada'"; filter = "@SQL=\"urn:schemas:httpmail:subject\" LIKE '%orcamento%' AND \"urn:schemas:httpmail:datereceived\" >= '2024-04-01 00:00:00'"; try { dynamic searchb = outlookApp.AdvancedSearch(searchScope, filter, true, searchTag); } catch (Exception ex) { MessageBox.Show("Erro no AdvancedSearch:\n" + ex.Message); return; }WindersonMay 01, 2025Copper Contributor65Views1like1CommentEsporto in excel un report DataReport
mi segnala questo errore se esporto in Excel il report o in qualsiasi altro tipoLelicaApr 28, 2025Copper Contributor30Views0likes0CommentsAacAmbientLighting.exe Issue
Hi, I'm not sure if this is an appropriate place to post this, please do let me know if not. I have for the last two days been getting the following message popping up on my machine and I can't work out for what reason. I updated my Internet Security during that time, so automatic thought was it was that preventing the files been read, but I've disabled the Internet Security and the error message still crops up I have also uninstalled and reinstalled Armoury Crate, uninstalling it does take the error away, but that causes other issues and I use ROG hardware. So I kind of need Armoury Crate to be functioning. This is the error that I'm seeing: When I try and install the .Net Runtime software it says that 'the specified account already exists' so I'm a littled confused as to what might be causing the issue and how I can resolve it and keep Armoury Crate on my machine.Dontaskmewhy121Apr 15, 2025Copper Contributor800Views0likes0Comments.Net 8 Isolated upgrade issue- RPC Exceptions in .Net Core Function App
Hi Team, Need Immediate help. I am continuously receiving RPC Exceptions when I have upgraded my Function App to .Net 8 previously I had zero exceptions related to this in .Net 6. Scenario: We are creating builder with ConfigureFunctionsWebApplication() like below: 1. var builder = FunctionsApplication.CreateBuilder(args); 2. builder.ConfigureFunctionsWebApplication(); And basically, we have Http triggers and SB triggers in the application and only couple of them are facing issue and the error in AI states that this is an issue related to worker. I have copied multiple exception wrapped as an RPC exception below: 1. An exception was thrown by the invocation. Exception: System.TimeoutException: Timed out waiting for the function start call. 2. The operation has timed out at Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore.DefaultHttpCoordinator.SetFunctionContextAsync(String invocationId, FunctionContext context) 3.Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore.DefaultHttpCoordinator.SetFunctionContextAsync(String invocationId, FunctionContext context) 4. Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore.FunctionsHttpProxyingMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\_work\1\s\extensions\Worker.Extensions.Http.AspNetCore\src\FunctionsMiddleware\FunctionsHttpProxyingMiddleware.cs:line 45 at Microsoft.Azure.Functions.Worker.FunctionsApplication.InvokeFunctionAsync(FunctionContext context) in D:\a\_work\1\s\src\DotNetWorker.Core\FunctionsApplication.cs:line 96 Stack: at Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore.DefaultHttpCoordinator.SetFunctionContextAsync(String invocationId, FunctionContext context) in D:\a\_work\1\s\extensions\Worker.Extensions.Http.AspNetCore\src\Coordinator\DefaultHttpCoordinator.cs:line 66 5. Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore.FunctionsHttpProxyingMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\_work\1\s\extensions\Worker.Extensions.Http.AspNetCore\src\FunctionsMiddleware\FunctionsHttpProxyingMiddleware.cs:line 45 at Microsoft.Azure.Functions.Worker.FunctionsApplication.InvokeFunctionAsync(FunctionContext context) in D:\a\_work\1\s\src\DotNetWorker.Core\FunctionsApplication.cs:line 96Harshit08121996Apr 01, 2025Copper Contributor71Views0likes0Comments
Resources
Tags
- .net118 Topics
- .NET Framework97 Topics
- .net core80 Topics
- accessibility1 Topic
- community1 Topic