Debugging .Net 1.1 Web Parts in Sharepoint 2007
Hi,
I have some Web Parts compiled for .Net 1.1 which I have deployed to a
Sharepoint 2007 server. I tried to debug some errors, but fail to catch
exception in the debugger. Here is what I did:
I have installed .Net 2.2 SDK on the Sharepoint 2007 server. Then I
started dbgclr.exe and attached it to the w3wp process and told the
debugger to stop if an exception is thrown. If I add my Web Part I get
the well known "Ambiguous match found." error. Another Web Part throws
an "Reference not set to an instance." exception. But the debugger
never breaks for one of those exceptions.
Any hint how to debug 1.1 Web Parts in Sharepoint 2007?
regards,
Achim
.
Relevant Pages
- Re: How to debug this?
... My client and listener can connect fine on 127.0.0.1 port 9005. ... once I upload the listener to my webserver and change to the web server IP, ... An unhandled exception of type 'System.Net.Sockets.SocketException' occurred ... >>> When you compile a program in 'debug' configuration these 'symbols' are ... (microsoft.public.dotnet.languages.vb) - Re: RPC over HTTPS fails following install of SharePoint Services
... Did you find any solution to keep SharePoint ... Service 3.0 on the same server and have it working? ... An unhandled exception has occurred. ... Thread account name: NT AUTHORITY\NETWORK SERVICE ... (microsoft.public.exchange.admin) - Re: C# app works perfectly on XP but not on 2003 server
... In production/release mode on Windows 2003 production server where you have many things going on, the GC is probably doing it's job more efficiently and getting rid of objects that you closed/disposed or set to nothing. ... I have a application that I have written on a Windows XP SP2 machine, and tuned to near-perfection - then I copied the program to the target system, a Windows 2003 standard server, the program works fine for 5-10 minutes, and then comes up with an exception. ... The problem is, that whenever I put any debug code in the code that generates the exception, the exception does not come again, but another exception comes. ... (microsoft.public.dotnet.framework.windowsforms) - Re: WSS 2.0 to 3.0 upgrade - DDL SQL error
... I'm creating a trigger on 'Docs' table on Sharepoint, ... should be able to do as I've paid for that SQL server and Sharepoint. ... W2003SP2 and SQL2005SP2 on the same server. ... An exception of type System.Data.SqlClient.SqlException was thrown. ... (microsoft.public.sharepoint.windowsservices) - Re: Got error installing COM component using regsvr32 on Win2003 serve
... Then you should either get an exception you can debug or ... LoadLibrary will return an error code. ... both Win2003 server and Win2000 server with no problem. ... (microsoft.public.win32.programmer.ole) |
|