717 Questions

Rashmi
Rashmi
1222 Points
22 Posts
Gettting following error: Error: System.InvalidOperationException: Collection was modified; enumeration operation may not execute. var targets = split.Panes.Where(p => p is DockManagerContentPaneState cp && cp.Id == id); if (targets != null) { foreach (var target in targets) ...
Views: 117
Total Answered: 0
Total Marked As Answer: 0
Posted On: 25-Sep-2025 23:23 
 
Priya
Priya
1352 Points
40 Posts
Server crashes exactly at sql async reader in blazor web app: await using var reader = await command.ExecuteReaderAsync(); Async method: public async Task<Timezone> GetTimezoneAsync(int componentId, string componentType) { string connectionStringElements = ""; //connection string ...
Views: 245
Total Answered: 2
Total Marked As Answer: 2
Posted On: 20-Aug-2025 22:51 
 
Rashmi
Rashmi
1222 Points
22 Posts
I'm trying to execute a store procedure in .net 9.0 with SQL command. For nullable field getting following error: Error Message: Unable to cast object of type 'System.DBNull' to type 'System.String'. Error: {"ClassName":"System.InvalidCastException","Message":"Unable to cast object of type 'Syst ...
Views: 310
Total Answered: 1
Total Marked As Answer: 1
Posted On: 13-Aug-2025 05:00 
 
Jelly
Jelly
12 Points
1 Posts
I'm trying to migrate .net app from .net 8.0 to .net 9.0. I changed targeted framework to net9.0 in all projects but getting error when compiling: Assets file '\obj\project.assets.json' doesn't have a target for 'net8.0'. Ensure that restore has run and that you have included 'net8.0' in the Targe ...
Views: 518
Total Answered: 2
Total Marked As Answer: 1
Posted On: 30-Jun-2025 00:54 
 
Priya
Priya
1352 Points
40 Posts
Gettinng error with itext pdf during image imbeding:   Result: Failure Exception: System.Exception: Value cannot be null. (Parameter 'buffer') ---> System.ArgumentNullException: Value cannot be null. (Parameter 'buffer') at System.ArgumentNullException.Throw(String paramName) at System.I ...
Views: 508
Total Answered: 2
Total Marked As Answer: 1
Posted On: 04-Jun-2025 22:56 
 
Priya
Priya
1352 Points
40 Posts
I'm using .net 8 blazor server app. Some time getting following error: Error: Connection disconnected with error 'Error: WebSocket closed with status code: 1006 (no reason given)
Views: 982
Total Answered: 2
Total Marked As Answer: 1
Posted On: 03-Jun-2025 07:58 
 
beginer
beginer
1576 Points
53 Posts
I'm getting following whever setting property in device twin in Azure iot hub device. I'm doing follwoing: using RegistryManager registryManager = RegistryManager.CreateFromConnectionString(_configuration["IoTHubDeviceConnectionString"]); var desiredProperties = new TwinCollection(); desiredProp ...
Views: 556
Total Answered: 1
Total Marked As Answer: 1
Posted On: 23-Apr-2025 02:23 
 
Rashmi
Rashmi
1222 Points
22 Posts
I'm getting following error during restore packages in Azure devops pipeline: "D:\a\1\s\*.csproj" (Restore target) (1) -> (Restore target) -> D:\a\1\s\*.csproj : error NU1101: Unable to find package Telerik.Reporting. No packages exist with this id in source(s): C:\Program ...
Views: 522
Total Answered: 1
Total Marked As Answer: 1
Posted On: 26-Mar-2025 04:18 
 
ykl
ykl
340 Points
17 Posts
I'm using itext to generate pdf as follows: public void RenderPage(string filePath) { using (var writer = new PdfWriter(filePath)) { using (var pdf = new PdfDocument(writer)) { var document = new Document(pdf); foreach (var componentRenderer ...
Views: 2835
Total Answered: 1
Total Marked As Answer: 0
Posted On: 06-Jan-2025 04:35 
 
Alina
Alina
2 Points
1 Posts
To convert PST files into MBOX format without data loss, you can use a manual method involving email clients like Thunderbird. First, configure your Outlook account in Thunderbird using the IMAP protocol. After syncing the data, drag and drop the Outlook emails into a local folder in Thunderbird. Th ...
Views: 768
Total Answered: 12
Total Marked As Answer: 0
Posted On: 04-Jan-2025 02:36 
 
 Log In to Chat