Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

exception-handling

System.Security.SecurityException when writing to Event Log

September 3, 2022 by Magenaut

I’m working on trying to port an ASP.NET app from Server 2003 (and IIS6) to Server 2008 (IIS7).

Categories ASP.NET, Q&A Tags asp.net, event-log, exception-handling, iis-7, windows Leave a comment

How to hide a TemplateField column in a GridView

September 1, 2022 by Magenaut

How can I hide a TemplateField column in a GridView?

Categories ASP.NET, Q&A Tags .net, asp.net, data-binding, exception-handling, gridview Leave a comment

ASP.NET Ajax Error: Sys.WebForms.PageRequestManagerParserErrorException

August 31, 2022 by Magenaut

My website has been giving me intermittent errors when trying to perform any Ajax activities. The message I get is

Categories ASP.NET, Q&A Tags .net, ajax.net, asp.net, exception-handling, javascript Leave a comment

How to get a dump of all local variables?

August 31, 2022 by Magenaut

How can I get a dump of all local & session variables when an exception occurs? I was thinking of writing some sort of reflection based function that would interrogate the calling function & create a dump of variables & values.

Categories ASP.NET, Q&A Tags aop, asp.net, c#, exception-handling Leave a comment

Unable to evaluate expression… on web page

August 30, 2022 by Magenaut

Related to this question: Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack

Categories ASP.NET, Q&A Tags .net-3.5, asp.net, c#, error-handling, exception-handling Leave a comment

ASP.Net error: “The type ‘foo’ exists in both ”temp1.dll“ and ”temp2.dll” (pt 2)

August 30, 2022 by Magenaut

Solution:

Categories ASP.NET, Q&A Tags .net, .net-3.5, asp.net, exception-handling Leave a comment

SQL Server: Rethrow exception with the original exception number

August 30, 2022 by Magenaut

I am using a TRY CATCH block in a stored procedure where I have two INSERT instructions.

Categories ASP.NET, Q&A Tags asp.net, c#, exception-handling, sql, sql-server-2008 Leave a comment

Sys.WebForms.PageRequestManagerServerErrorException 12031

August 29, 2022 by Magenaut

I’m occasionaly getting the following popup from an AJAX.NET application

Categories ASP.NET, Q&A Tags asp.net, asp.net-ajax, exception-handling Leave a comment

Webforms data binding with EF Code-First Linq query error

August 29, 2022 by Magenaut

In this example here, Scott shows doing a Linq query against the dbContext and binding the result directly to a GridView to show a list of products. His example is using the CTP4 version of the Code First stuff.

Categories ASP.NET, Q&A Tags asp.net, c#, data-binding, entity-framework-4.1, exception-handling Leave a comment

Why is HttpContext.Session null when redirectMode = ResponseRewrite

August 28, 2022 by Magenaut

As is suggested elsewhere, I am using redirectMode = ResponseRewrite in my custom error configuration so my custom error page can access the exception info. This has worked like a charm for some time.

Categories ASP.NET, Q&A Tags asp.net, custom-errors, exception-handling, redirectmode, web-config Leave a comment
Older posts
Page1 Page2 … Page4 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress