all groups > visual studio .net debugging > july 2003
Filter by week: 1 2 3 4 5
Debugging a COM object used by a C# application
Posted by Aaron Queenan at 7/31/2003 5:46:33 PM
I have a COM object (implemented in C++) that works fine from VBA (in Excel)
and other environments, but doesn't work from within .NET when called by a
C# application. The function typecasts the IDispatch* to the C++ type it
knows it must be and accesses some private members.
1. How can I ... more >>
Auto-attach to remote debugger as non-admin
Posted by Jared Reynolds at 7/31/2003 1:10:58 PM
I know that all you want to hear about is yet another non-
admin remote debugger problem but I'm really stumped.
Before you quickly reply, please note that I have spent
several days scouring the newsgroups, reading the How To
Solve Debugger Problems document, and KB articles like
306172.
... more >>
Unable to Debug ASP.NET
Posted by Stephen Piland at 7/30/2003 4:47:39 PM
When I try and start debugging any of my //localhost web
sites, it builds it properly, but I then receive an error
message. It says "Error while trying to run project:
Unable to start debugging on web server. Catastrophic
Failure." It allows me to choose OK or HELP.
When in help, it g... more >>
Determining the callers/callees of a function?
Posted by aj_ NO[at]SPAM asu.edu at 7/30/2003 1:33:15 PM
Visual Studio can tell me the callers/callees of a given function. I
guess this is a browse info function, so it's in the BSC file instead
of the PDB file.
Does the DIA SDK allow me to do anything similar from the PDB? Or is
there any documentation/API for reading BSC files? SBR files?... more >>
ExcelReadWriteAdo
Posted by Greg at 7/30/2003 11:20:32 AM
I have a number of using statements that are not finding
the office components.
ex: using Microsoft.Office.Core;
... more >>
breaking point!
Posted by damien at 7/30/2003 10:59:06 AM
i have installed vs.net perfectly but when I reboot my pc and try to launch
the application i get this message...;
An unexpected error has prevented Visual Studio from starting. This error
generally occurs when one or more components of Visual Studio are missing or
incompletely registered on y... more >>
Serious Visual Studio .NET Bug!
Posted by Brian at 7/29/2003 4:14:15 PM
I have found a bug in VS.NET 2003 that I can't seem to
find a solution for. When I am at a break point, I want
to expand a variable node in the local windows to see the
properites of the corresponding object. However, when I
press the + sign, the + sign goes away and nothing
happens! ... more >>
Caught Exceptions stop Debugger
Posted by Anthony Berglas at 7/29/2003 11:42:49 AM
The debugger is automatically invoked if you have an exception.
UNLESS
You have any try/catch blocks further up the stack. In that case the stack
is unwound, and all useful state is lost. You could explicitly invoke the
debugger then, but there is no point as there is no stack. And even a... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Login failed for user '\'
Posted by cnolan NO[at]SPAM intercalluk.co.uk at 7/28/2003 7:26:31 AM
I am writing a report scheduling service in VB .NET and I am having
problems connecting to my SQL Server database using the trusted
connection. This is my connection string.
"workstation id=CNOLAN;packet size=4096;integrated security=SSPI;data
source=SALESWEB;persist security info=False;initia... more >>
Debug with Host Headers
Posted by PJ at 7/26/2003 8:22:52 PM
I need to be able to debug my application through host headers that I have
set up in IIS and my local hosts file. When debugging starts, the url IE is
sent to is:
//localhost/myapp/mychosenstartpage
Is there a way to debug with a host header? Something like:
//myapp.com
TIA~ PJ
... more >>
C4702 in exception throw
Posted by Doug Price at 7/25/2003 10:51:05 AM
I'm porting an older VS 6 C++ application to NET 2003 and
getting a C4702 (unreachable code) warning at /W4 for the
following code:
throw new CArchiveException( CArchiveException::none,
User.GetName());
where User.GetName() is a function returning a CString.
The following code does *n... more >>
How to use the data breakpoints in vs.net 2003?
Posted by Boxing Wang at 7/25/2003 7:59:31 AM
Hi
I want to use the data breakpoints in C++ codes. Any tutorials to get me
start.
Thanks.
Boxing Wang
... more >>
Remote debugging on XPe
Posted by Dave Cranidge at 7/24/2003 4:28:38 PM
I have a PC104 development system that is running XP embedded. The system
has limited resource (only 70M hard drive space left). Is there a way of
manually installing the remote debug software from VS.NET?
I cannot use msiexec (not installed on system) as described on the 'Remote
Component Set... more >>
IDE Debug crash
Posted by Nigel Findlater at 7/24/2003 7:36:02 AM
Hallo Everyone,
I am have some problems debugging an application. I can
start the application in Visual Studio .NET 2002, but then
the program crashes in such a way that there is no
indication why or on what line the program has crashed on.
When I run the same program outside of visual st... more >>
remote accee SQL
Posted by Ben at 7/23/2003 6:11:20 PM
hi all,
I am trying to access Sql server remotely through Server
explorer... is that possible?
I thank you for your help... more >>
How to remote debug a dll?
Posted by Henrik Ax at 7/23/2003 4:28:03 PM
How do I remote debug an ATL server dll using VS .NET 2003?
Remote debugging is working fine for the client application, and I have no
problem debugging the dll locally (by pointing to the local client app).
If I specify the remote client app in the "Debugging->Remote Command"
setting (in th... more >>
Unable to attach to machine...
Posted by Francis L Spafford at 7/23/2003 3:38:33 PM
I am debugging a browser helper object (dll) and I have debug settings to
launch Internet Explorer and attach for debugging. This has been working
fine, but now I receive this error:
Unable to attach to machine 'FRANK2'.
Do you want to continue anyway?
I am debugging on the local machine a... more >>
Conditional Breakpoint not hit! - Need some help
Posted by bvvarma at 7/23/2003 1:25:13 PM
Hello,
I have a simple console application in C++ whose main() does the
following...
char* s = "Hello";
printf("String is %s\n",s);
return 0;
I set a conditoinal breakpoint on the line with the printf, the condition is
s == "Hello".
The breakpoint is not hit and execution continues wit... more >>
Breakpoint in Separate class library being Ignored
Posted by martye NO[at]SPAM onsphere.com at 7/23/2003 8:43:30 AM
I have remote debugging setup on a Win2k3 server and I'm accessing it
from VS.Net 2003.
I can attach to the process fine and can set a breakpoint in an code
behind the aspx page and have it work just fine. But if a have a class
in a separate assembly (different than the web application assembl... more >>
Can't Run in Debug Mode - Max request length??
Posted by PJ at 7/18/2003 4:28:57 PM
I'm at the end of my rope, I've tried everything I can think of and, while
the problem is all over google, no answer has worked for me. I'm getting
the following error while trying to start my web project in debug mode.
"Error while trying to run the project: Unable to start debugging on the w... more >>
An unhandled exception of type 'System.Security.SecurityException' occurred in Unknown Module
Posted by Gilles at 7/18/2003 1:52:17 PM
Hi there,
I just wrote an application and it works fine when it runs on a local
computer.
But I have the above folowing error message when I try to run the
application when it's located on a remote server.
An unhandled exception of type 'System.Security.SecurityException' occurred
in Unknown... more >>
Enhanced Debugging - Breakpoints Ignored
Posted by Dave Clark at 7/17/2003 9:23:54 AM
I'm trying to use the enhanced debugger in VS.Net and SQL
Server 2000 that allows setting a breakpoint in a SQL
Server stored procedure, then having a VB.Net application
that calls the SP break so that I can see what VB is
passing to the SP. Knowledge Base article 318144, along
with some a... more >>
Can't debug on localserver
Posted by William Wakefield at 7/16/2003 3:27:58 PM
I can't debug on my XP Pro machine. I did install IIS
AFTER Visual Basic.Net. In the online help files, I find
the instruction to Register "aspnet_isapi.dll"
with "aspnet_regiis.exe -i". A search on my computer
reveals no such file as aspnet_regiis.exe. (And no
regiis.exe either.)
... more >>
Can't debug - Project not enabled ...
Posted by Michael Tissington at 7/15/2003 2:05:30 PM
When I try to debug my web application, it does a debug build and then after
a couple of seconds tells me that the project is not enabled for debugging.
What am I missing?
Thanks.
--
Michael Tissington
Oaklodge Technologies
http://www.oaklodge.com/technology
... more >>
VS2002 hangs trying to debug
Posted by Marcus Andersson at 7/15/2003 4:22:00 AM
Hi!
After I installed Win2K SP4 I discovered that I was unable
to debug applications from within VS2002. Sure, it
says "Build: 1 succeeded, 0 failed, 0 skipped" but nothing
else happens. That application won't show although I can
see it in the process list. Basically VS2002 just hangs.
... more >>
How to debug with assembly that uses assemblyname.config
Posted by Doug Ransom at 7/14/2003 4:26:11 PM
I have an assembly (an exe) that needs a corresponding config file. If I
locate the config file in my source directory, its not recognized by the
assembly when it loads. If I locate the config file in the debug/bin
directory, it is deleted by visual studio.net when the build occurrs.
Can any... more >>
Windows Component Upgrade
Posted by ME at 7/14/2003 9:03:45 AM
Hello All.
I'm trying to install Visual Studio.Net but when ever i
want to install it says please install windows component
upgrade. can someone help me what is windows component and
where i get that
please
thanks... more >>
SymGetTypeInfo in DbgHelp 5.01: Navigating UDTs
Posted by Skywing at 7/12/2003 8:28:13 AM
I'm trying to get retrieve information about type information stored in a
PDB with the SymGetTypeInfo function. Specifically, I want to be able to
present the user with something similar to a C structure definition. To do
this, I need to be able to navigate nested trees of user-defined types
(... more >>
Debug Hangs today, was working fine yesterday
Posted by Ervin at 7/10/2003 10:56:01 PM
Hi All,
I've got VS.NET Ent. Architect on Win 2K workstation, with all my projects
on a Win 2K server, with the .NET 1.0 SDK installed, and I was able to
remotely debug ASP.NET applications without any incident until today.
Now I get the following errors:
On the workstation, VS.NET gives ... more >>
Windows Authentication
Posted by kai at 7/10/2003 8:46:08 PM
Hi, All
I installed VS.NET 2003 and I noticed under SQL Server 2000 Login, VS.NET
2003 adds a new Login "NT AUTHORITY\NETWORK SERVICE" which is a windows
group, it works well if I connect SQL Server database using Windows
authentication ("integrated security=SSPI" in connection string). I cann... more >>
Guid values not displayed in local watch window
Posted by Phil Bird at 7/10/2003 8:07:01 PM
I've noticed since upgrading to VS 2003 that guid values
displayed in the watch window are not showing there values
and instead show a sub object called empty. the exact same
variable does work when displayed in the manual watch
window such as XYZ.tostring
is anybody have this problem?
... more >>
aspnet_wp dies after page requests
Posted by Rushmi at 7/10/2003 5:08:58 PM
I have VS.NET 2003 ide (which uses 1.1 framework and
Windows 2000 professional). From what I have uncovered,
the worker process aspnet_wp dies abruptly after a webform
is serviced. For every page request, it creates a new
aspnet_wp process(instantiates it anew).The IIS instance
was recycle... more >>
Launching the Debugger Automatically
Posted by howard at 7/10/2003 4:46:55 PM
I am interested in using the technique described in
the "Developing With Visual Studio .NET" documentation in
the section on "Launching the Debugger Automatically."
I have an ASP.NET application that launches an out-of-
process exe program, and I would like the exe to start in
the Visual ... more >>
Debugging an unmanaged control and a manged container in one VS.NET application
Posted by Wael Bakr at 7/10/2003 2:51:55 PM
Hi all,
I'm trying to debug a control and it's container together, I can't make it
jump from one to the other although it works with ALL server and it's
container, "Attach to process" option doesn't work. Any reason why??
At the moment I have to debug each separately.
Thanks in advance ... more >>
Debugging an unmanaged control doesn't work in VS.NET 2003
Posted by Wael Bakr at 7/10/2003 2:48:34 PM
Hi all,
Debugging an unmanaged control used to work in VS.NET 2002, but it doesn't
anymore in VS.NET 2003, any reason why?
At the moment I have to open two VS.NET (2002 & 2003), one time I debug the
container using 2003, then if everything is ok I'll stop the 2003 and run
the 2002 and debug... more >>
Internal Error Page Shown
Posted by YS at 7/10/2003 12:46:50 PM
I did a search, but find nothing close, so I post this
here.
I am using Visual Studio .Net 2003 to modify an ASP
application (not ASP.Net). I have some simple VBScript to
iterate the data in a Request.Form object, similar to a
simple "Hello World" program.
First the VS .Net will not c... more >>
VS Debugger Hangs Up Under Windows XP Professional
Posted by Dave VanBerg at 7/9/2003 2:12:44 PM
I recently upgraded to Windows XP Pro from Windows XP Home
to get IIS for Web App Development. In debugging a
Windows Application, I press F5 or one of the start debug
buttons and the application appears to go through the
build process and stop. The application window (of an MDI
appl) do... more >>
removed _crtBreakAlloc from source, but breakpoint is still there ?
Posted by Florian Vogler at 7/8/2003 3:40:59 PM
Hi there,
yesterday, I inserted _crtBreakAlloc(704) into my source code in VS
..NET.
worked fine, but after removing the line from my source code, the debugger
keeps saying "unhandled exception ... user breakpoint" where there is
definitely no error (i've compiled the sources on other com... more >>
web app debug error
Posted by Ben at 7/8/2003 3:12:23 AM
when I try to debug my web app I get this error message
Error while trying to run project:Unable to start
debugging on the web server, you do not have permission to
debug the server.
verify that you are a member of the 'Debuuger users group'
on the server, would you like to disable future at... more >>
Beginner?
Posted by IntraRELY at 7/7/2003 9:08:46 PM
Are there any good tutorials on debugging. I have never really used the
debugger and just looking for some good overview to get me started.
Steve Wofford
www.IntraRELY.com
... more >>
Web apps debugging.
Posted by Dave total lossed. at 7/2/2003 5:41:13 PM
Hi,
I have a problem running/debugging my web applications.
I have spend the last two days trying to figure out this
problem and no luck. Here's the errro message I am
getting when trying. I think I have installed the VB.net
OK and it might be down to my user name and the ISS.
"Error whi... more >>
Debugging VS6 ATL Service From VS7
Posted by kevin NO[at]SPAM prairiefyre.com at 7/2/2003 2:12:54 PM
I have built a C# TLB in which I have enabled the COM Interrop option.
I am using this component from within a VS6 ATL service. I am now
trying to debug both components but am unable to bring both components
up in debug at the same time under their respective environments.
I have built the VS6... more >>
How can I view exception information when an unhandled exception is caught in VS.NET Debugger.
Posted by Ken Varn at 7/1/2003 2:53:15 PM
I am debugging a managed C++ application. When the debugger catches an
unmanaged exception, it just displays a dialog stating the exception message
only. Is there anyway to view all of the exception object contents in the
VS debugger?
--
-----------------------------------
Ken Varn
Senio... more >>
|