How can u handle Un Managed Code Exceptions in ASP.Net?
Answer Posted / bala.r
.NET handles errors through exception classes. COM handles
errors through 32-bit data types called HRESULTs. All of
the .NET exception classes include HResult properties that
map to COM HRESULT codes.
If an exception occurs in a .NET object, the exception is
automatically mapped to the appropriate HRESULT and
returned to COM. Similarly, if an exception occurs in a COM
object, the COM HRESULT is mapped to the appropriate
exception class, which is returned to .NET, where it can be
handled just like any other exception.
If you are creating your own .NET exception classes for use
with COM, be sure to set the class’s HResult property so
that the exception can be handled within COM.
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What are the different types of Caching techniques in ASP.NET?
Explain the difference between an exe and a dll?
What parameters can you pass in the url of the api?
Does asp.net still recognize the global.asa file?
Is LINQ performance wise better or using sqlcommand?
What ports must be open for DCOM over a firewall? What is the purpose of Port 135?
Differentiate between globalization and localization.
What do you understand from custom control?
What is the difference between globalization and localization?
How response object is related to asp's response object?
Error : The operation couldn’t be performed because ole db provider sqlncli10 for linked server was unable to begin a distributed transaction.00000110 oledb provider for linked server returned message the partner transaction manager has disabled its support for remote/network transactions. I can able to execute the stored procedure in sql server but when i run the web page getting error like above. I did all the configuration. what is the solution?
What are the different validators in asp.net?
What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.
What is view state and how it works in asp net?
Is there any limit for query string? Means what is the maximum size?