troubleshooting

regedit dialog not opening

Hi, I am trying to open regedit from run dialog on Winxp. I tried to lauch it from alternative places such as Task Manager, IE etc. I am running as admin Forums reveal that's it's a virus. but nothing concrete to get it working Any help? Thanks ...

How can I get Perl's Jabber::SimpleSend to work with Gmail chat?

I'm trying to write a simple Perl script to send an Instant Message. Jabber seemed like it might be the most conducive protocol. But the following script fails: #!/usr/bin/env perl use Jabber::SimpleSend qw(send_jabber_message); send_jabber_message('[email protected]', 'CENSORED', '[email protected]', ...

VBScript For Each isn't working

I can't get the following function in VBScript to work. I am trying to get all of the files in a folder and loop through them to get the highest numbered file. (file name format is log_XXX.txt) The problem that I am having is that the code never enters my For Each loop. I am new to VBScript, but I don't seem to understand why this won't ...

How to troubleshoot an unresponsive Java application/process in Linux

Say your application is unresponsive and you cannot attach a debugger to it, as it rejects everything. All you have is a Linux Bash and process id. How would you investigate the issue? What tools would you use? My goal is to better my troubleshooting skills using Java. This particular issue we had in production, on customer site. ...

how do you troubleshoot with "works on my machine" scenarios

It happens lot of the time that when you report a bug to a developer, he comes back saying "it works on my system" though its a browser app. How do you go about sorting that out ? ...

Hints and tools for finding unmatched braces / preprocessor directives

This is one of my most dreaded C/C++ compiler errors: file.cpp(3124) : fatal error C1004: unexpected end-of-file found file.cpp includes almost a hundred header files, which in turn include other header files. It's over 3000 lines. The code should be modularized and structured, the source files smaller. We should refactor it. As a ...

Memory-related crash with adding objects to NSArrayController

I'm writing a simple ObjC2.0/Cocoa application, and I'm getting a crash.. Not being familiar with Cocoa or ObjC, I can't work out why.. The code causing the problems is TableListCon.m When I drag a folder onto the NSTableView, it calls addDirectoryToList - which recursively loops over all files contained in this directory, calling addF...

Troubleshooting with a .NET application that doesn't start

I have a recurrent issue with .NET applications that don't start (on others systems than mine). The fact is that I cannot, unfortunately, always create a smoothly running package. Therefore I often have to send a ZIP file of my Debug or Release folder. My real problem is that these applications doesn't tell WHY they're not starting. I j...

Determining application issue, database issue, or hardware issue?

I have a web application, backed by a SQL Server database, which was working fine till yesterday. Now I have performance issues with that application. How do I know whether it is an application issue or database issue or hardware issue? Can anyone help guide me through a step by step procedure of basic troubleshooting to find out whethe...

Stop tramp-mode running on emacs' startup

I was trying out tramp-mode, but now I cannot seem to get rid of it.. Whenever I start emacs, it spends about 20 seconds going through various tramp-related initialisations.. tramp: Waiting 60s for prompt from remote shell tramp: Setting up remote shell environment ..and so on. How on earth do I unload tramp? grep'ing my ~/.emacs.d f...

Xcode "index is corrupt, will rebuild" message followed by "Segmentation fault" when running under root

Can anybody explain to me the cause of the following message, perhaps along with suggestions as to how to fix it? I'm running XCode under root using sudo <path to xcode because I need to debug a daemon that has to run as root. I've done this several times successfully, but now when I try to open the project in Xcode I get the following...

What does error 0xC02020C4 mean in SSIS?

I get this error with this description. Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "OLE DB Source" (1) returned error code 0xC02020C4. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error i...

What's a good .NET / Windows tool for creating a Web troubleshooting tool?

Does anyone know of a great way to create a step-by-step online troubleshooting tool? My company will need to develop several such tools, customized for several clients. Ultimately, we'd like an easy way to maintain a series of questions, with answer-dependent navigation. We'll need to be able to support all of the standard types of q...

Monitor web application with perfmon for application spesific trends over time

Hi I would like to have a better view of what the application is doing. We are monitoring the ASP.NET and .NET counters but we need a deeper view of what is happening, and how fast it is happening. What is best practices regarding this, and is there specific guidance or documents available for the Microsoft.NET environment? Would I us...

How to Troubleshoot ASP.NET MVC

I've just installed ASP.NET MVC on my Vista x64 box, and created a default ASP.NET MVC project with no modifications. When I attempt to browse the application, I simply get the usual useless "Internet Explorer cannot display the webpage" message. I've tried setting a breakpoint in Global.asax, but it's not being hit at all. Cassini seem...

ASP.NET application not loading javascript

I am developing an application on my win XP box. I use visual web dev to run the app interactively but I have also set it up on IIS for testing from another machine on my network. This all worked perfectly until... Microsoft had a high priority update in the form of IE8 and after the update failed to reboot. After a silly amount to t...

How to get rid of empty blocks in vim

I used textmate to work with ruby code for over one year. Recently I switched to using mvim. When I open some of the files in mvim I get empty blocks. Look at this picture to get a feel for it. Any idea on how to get rid of them? Thanks ...

"Works on my machine" - How to fix non-reproducible bugs?

Very occasionally, despite all testing efforts, I get hit with a bug report from a customer that I simply can't reproduce in the office. (Apologies to Jeff for the 'borrowing' of the badge) I have a few "tools" that I can use to try and locate and fix these, but it always feels a bit like I'm knife-and-forking it:- Asking for more ...

Why is TextMate treating two spaces as a single character?

When I enter two spaces into TextMate 1.5.7, under certain circumstances it seems to treat the two spaces as a single character.. For example when typing ("[space][space]") (" |") \_ the cursor If I then press backspace, both spaces get deleted, and if I press the left arrow it jumps both spaces (which is surprisingly annoying)...

How do I grep (search) a Crystal report for all uses of a column?

I am trying to remove all references to a table from a Crystal XI report. Crystal is telling me that a column from that table is currently being used, because there is a little green check mark over the field in the field viewer. Also, if I try to remove the entire table, I get a warning. The warning is almost useless though because i...