Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
all groups > visual studio .net debugging > april 2007

Failed to enable constraints.... where??
Posted by IronYuppie at 4/27/2007 12:44:02 AM
I'm not doing this using a dataset, this is just in Visual Studio. Here's basically what i'm doing: 1) Create a view which is a join between two tables 2) Go to Sql Management Studio = select * from vw_mynewview -> works 3) Create a stored procedure which does only select * from vw_mynewview ...more >>


Problem while debugging
Posted by Bob Develd at 4/26/2007 12:00:00 AM
I'am a little idiot, but until now, I could modify the code when debugging. Recently I modified my solution, adding an installation project. I don't know if I changed some options in project or solution properties during this adding, but now, if I want to modify code when i debug, I have a mes...more >>

Where can I find the debug symbols for the data grid (VB6)
Posted by adam at 4/26/2007 12:00:00 AM
We've got an app that dies on vista :-( , [release builds only] It's VB6 and according to Win Dbg (as best I can tell) is that it is in msdatgrd, which given that we think it's in that area sound about right. However I've not found any debug sysmbols for it. Any ideas? Cheers, adam...more >>

debug between C# and C++
Posted by hangaround at 4/23/2007 8:34:01 AM
Hi there! Now, I have an ActiveX written in C++, and a client written in C#, the problem is that, how can I debug into the ActiveX project?...more >>

Application crashing in ntdll.dll with message dll not found
Posted by MiTz at 4/23/2007 6:54:01 AM
Hi Application is crashing because of ntdll.dll as "dll not found". 00:00:00.938: Loaded "d:\patrol_explorer\bin\TLS71012D.DLL" at address 0x00830000 by thread 1. Successfully hooked module. 00:00:03.516: First chance exception 0xC0000135 (DLL Not Found) occurred in "c:\windows\system32\NT...more >>

what is wrong with OutputDebugString in vs2005?
Posted by Coward 9 at 4/21/2007 1:30:11 PM
HI, Surpirsed that I could not get OutputDebugString work properly in VS2005. I used to be able to output debug string as below. char msg[100]; sprintf_s(msg, 100, "\n\n the view matrix is \n"); OutputDebugString( (LPCWSTR)msg ); But now, VS outputs something like below. What am I m...more >>

Timers and Application.ApplicationExit()
Posted by Andrew McNab at 4/19/2007 5:48:01 PM
I'll try to ask the correct questions and give the most relevant information. I have written an application which has a default of 7 threads running. For each TCP connection to the program, one extra dynamic thread is created. The problem I'm having relates to threads "jamming" when I close t...more >>

bool related error
Posted by rseedle at 4/19/2007 9:20:02 AM
I have some old C code which I am migrating to a new project which has in the past done a typedef to define bool. Upon migrating to VS2005 I see that bool is an internal data type. Ok, so I comment out the typedef for the bool. What I see is that prototypes which use bool now cause an error. F...more >>



Debugging has suddenly become VERY SLOW!
Posted by Juan Dent at 4/18/2007 2:10:03 PM
Hi, I am experiencing extremely slow debugging compared to running out of debugger. I have eliminated all breakpoints and yet no changes. I am debugging a C++ app that links to several DLLs; am also using the multi-threaded DLL runtime - non debug. what factors could be contributing to th...more >>

Vista debugging unit tests
Posted by IronYuppie at 4/16/2007 11:10:00 PM
My debugger works fine on Vista, except for when I'm doing my unit tests. there, I have to manually attach to the cassini process. Any ideas why? I'm running as administrator, and I've tried cleaning out all my directories multiple times. Everything else works great, and if i do nothing else b...more >>

Unable to Open/Create Project
Posted by marsulein at 4/16/2007 9:26:36 PM
I had been using VS.NET 2003 for about half a year till it failed on me few weeks ago. Whenever I tried to open up my existing project, after loading for a while VS.NET will just crashed and the send error report window will popped up. Thinking that my project had been corrupted or something I...more >>

ContextSwitchDeadlock error in VS2005
Posted by GaryDean at 4/12/2007 4:37:31 PM
All of a sudden I'm getting a ContextSwitchDeadlock error when debugging. I googled it and there are some suggestions to go to the Debug menu, choose Exceptions, blah blah blah There is no Exceptions submenu on my debug menu. I have vs2005 professional edition. What can I do to get rid...more >>

Exception thrown but not in debugger
Posted by kh at 4/12/2007 1:16:01 AM
Hi. My console app PInvokes an unmanaged DLL, the source code for which I do not have access to. Running the project within VS05 works fine, but if I run the exe outside of VS I get an AccessViolationException. What is the difference between VS and non-VS processes which might be causing t...more >>

Web.config
Posted by Robin Chatterjee at 4/10/2007 10:26:02 AM
Hello: Ive got a page name with an "@" in it present. Ex. Page1@sales.aspx Ive defined the below in the Web.Config file. Results.. it does not work.( Doesnt send me to the login page .. for authentication purposes.. Also when i invoke any page in the app.. it errors out ) I replaced the ...more >>

PROBLEM: Remote debugging managed code
Posted by Smugsboy at 4/9/2007 3:28:07 AM
Hi, Need some help here. I'm using Visual Studio 2005 for remote debugging. I launch the Visual Studio Remote Debugging Monitor on my remoting server machine. >From my host machine, using Visual Studio 2005, I remote attach the debugger to the process I wish to debug. When I place breakpoin...more >>

Debugger Class bug?
Posted by DXRick at 4/6/2007 7:52:00 PM
In the post below, I said that using the Debugger static methods Break() and Log() get compiled into the IL and get executed even when I build the project in release mode, and make certain that neither the DEBUG nor TRACE constants are defined. The MSDN docs do not say if this class is depend...more >>

Debugger & Trace in release mode problem
Posted by DXRick at 4/4/2007 9:10:01 PM
Hi, I am trying to learn about the Debugger, Debug, and Trace classes. I have a simple C# console application, using Visual Studio 2005 Pro, that uses the static methods of these classes. I have found that the Debug statements disappear when I do a release build, but I cannot get the Debugge...more >>

Loader Lock Errors KB 913996
Posted by Kaine at 4/4/2007 4:44:03 AM
My development team is now suffering from the plague that is the Loader Lock errors in the Visual Studios 2005 IDE since our upgrade to Intel Core 2 Duo machines and I notice from the Microsoft technical article KB 913996 there is a hotfix available, but we can't seem to find it. Where can we...more >>

Can't debug asp.net application in VS2005
Posted by Denny at 4/3/2007 2:42:41 PM
Hi all. We have a strange situtation. I am only one of our developers who can't debug our web application. All break points are ignored if I run the website on my machine but our other developers can on thier machines. The website is at the file level on the local machine (although a simpl...more >>

Is vc60.pdb needed for analyzing minidump?
Posted by Igor Solodovnikov at 4/3/2007 7:48:05 AM
Hi all, I just upgraded my application to generate minidumps on crashes. My application is build in Visual Studio 6.0 environment but i plan to analyze minidumps in VS2005. Now i am planning to store different versions of application executables, pdbs and sources because clients may have di...more >>

How to stop the "Thread has exited with code 0" message in the debug output window
Posted by john.spraul NO[at]SPAM apisoftwareinc.com at 4/2/2007 2:44:23 PM
Any ideas anywhere? I'm debugging .NET CF apps using the thread pool & eventually the output locks up the IDE. http://groups.google.com/group/microsoft.public.vsnet.ide/browse_thread/thread/6c783441e236d8d2/95231aab39c03a41 On Dec 15 2002, 10:56 am, "mbro" <m_b...@videotron.ca> wrote: > Is t...more >>

Debugging System.Data
Posted by Darren at 4/2/2007 12:51:25 PM
Is there any way to step into the IL of a assembly? I have a problem with a call to DataSet.EnforceConstraints. I have some code that gives me an null reference exception when I call RejectChanges(). The new row is removed fine if I call RejectChanges on the table instead of the dataset, but when...more >>

ActiveX DLL in VB .NET Service not acting as expected
Posted by Wayne R. Michael at 4/2/2007 10:59:15 AM
I have a activeX DLL (written in VB6) that I call from my .NET application. I have used this DLL many times before and it works fine. My new app is a Service. It uses the System.timer to loop through some actions. The routine that calls my DLL is buried three levels deep into sub routine...more >>


DevelopmentNow Blog