Showing posts with label Errors. Show all posts
Showing posts with label Errors. Show all posts

Wednesday, June 10, 2015

Difference between “throw” and “throw ex” in Asp.Net C# Exception

Introduction

In this post I will try to explain the difference between throw and throw ex in Asp.Net C# Exceptions. My previous post Difference between dataset and datareader in Asp.Net C# exceptions.

Exceptions

Exceptions are always useful for dotnet developers, because we are able to provide a bug free application with the use of exception handlings.We need to find the actual exception, here throw will give the exception details.We are confusing whileusing the throw and throw ex in exceptions.Difference between "throw" and "throw ex" is, "throw" will provide the orginal exception which was available at first in stack and "throw ex" will provide the last exception message available in stack.

Wednesday, July 27, 2011

Cannot find one or more components:Please reinstall the application

Introduction
In this post I will try to explain the issue which I faced while opening visual studio. My previous post How to maintain the password textbox text after postback

Explanation Today morning when i opened my Visual Studio 2008 i got an error message like

"Cannot find one or more components:Please re install the application."
I was surprised, because nothing i have changed in VS 2008. I struggled for more than a half day and found that some installed DLL has corrupted in VS 2008.

May be last shutdown was not properly done or while updating windows some thing i have missed.

Followers