troubleshooting

Visual Basic Compiler keeps crashing

The question really says it all. For one project I am working on, the Visual Basic Compiler crashes resulting in me having to restart my IDE. It looks like it crashes when copying a PDB file and XML file for the web site for obj/debug to the output folder. Has anyone experienced similar crashes? If so how did you repair it? Are the...

Section heading for references and the actual citations are squished together in LaTeX.

This must be a common problem because I see it in many published papers but it seems to be quite tricky to google for. You can insert a bibliography like so \bibliographystyle{plain} \bibliography{foo} and everything works as expected except there is sometimes (I have no idea what circumstances cause this -- it seems random to me) no...

How to persist attributes of ASP.NET User controls

I have a ASP.NET user control which hosts a 'HtmlImage'. The src attribute is successfully set at run-time, but adding the rendered control to another container causes a loss of the src attribute. The rendered control is stored in Session (I know this is not ideal). Then a redirect is done to another page which uses the control in Sessi...

Why doesn't WebBBS work now that I've migrated to a new server?

Hello, I've moved a WebBBS board from one server to another. Ever since the board doesn't work. I'm getting an Apache error whenever I try to access the board. Don't even know where to start the debugging, I'm not a Perl person. The file paths remained the same and there isn't any DB involved. http://gammonline.com/members/board/ Any ...

"too many automatic redirections were attempted" error message when using a httpWebRequest in VB.NET

I am attempting to request a page like "http://www.google.com/?q=random" using the webrequest class in vb.net. we are behind a firewall, so we have to authenticate our requests. I have gotten past the authentication part by adding my credentials. But once that works it seems to go into a redirecting loop. Does anyone have an ideas, comm...

SQL Server Database Locked

I am trying to delete an existing database in SQL Server 2005. My first attempt produced the following error: 5030: The database could not be exclusively locked to perform the operation. I have since killed all processes that are accessing the database. I have also removed the replication subscription that it had previously bee...

What are your favorite Grails debugging tricks?

Grails can be a bit of a bear to debug with its long stack dumps. Getting to the source of the problem can be tricky. I've gotten burned a few times in the BootStrap.groovy doing "def foo = new Foo(a: a, b: b).save()", for example. What are your favorite tricks for debugging Grails apps? ...

Troubleshooting a recursive stripslashes method in PHP

I'm trying to use the stripslashes_deep function in the PHP documentation as a method, but when I pass it an array, it doesn't work. It does, however, work with a string. Can anyone point out why it might not be working? Magic quotes are on because I'm testing for that possibility, but like I said, it works for a string and I'm also not ...

How to troubleshoot Oracle database server errors?

My team inherited an Oracle-based web application and they are fairly inexperienced with Oracle database servers. The Oracle 10g server is running on a Windows 2003 Server with plenty of disk space and from time to time, all connectivity is lost, the application stops working, not even SQL Plus is able to connect to the database server....

Handling WCF Proxy null return issue

I have a WCF Client Proxy connected to a third party webservice. The proxy works fine with nearly everything except on function. This function works just fine with a ASMX proxy. I have added service trace logging and can see the response from the service coming back. Only the proxy returns null. So now I know for sure that the proxy i...

Cannot add App_Code folder to WebSite project

Using VS2008, I am trying to add an App_Code folder from add-->folder-->Add ASP_NET folder. The App_Code folder option is there as expected BUT ... it's disabled!? I am pretty sure I am working with a WebSite project (and not a Web Application) because I can add all the other ASP_NET folders (App_Data - App_themes etc) and also because...

IPC Troubleshooting

What is the best way to troubleshoot IPC? Are there any tools/tricks to determine problems (without requesting the source code)? I have two, third party components. The IPC server config and client config seems correct. Yet the two components don't want to communicate. One component throwing a null object exception, which I believe is...

Javascript: Error 'Object Required'. I can't decipher it. Can you?

Hello again. I am using a javascript called 'Facelift 1.2' in one of my websites and while the script works in Safari 3, 4b and Opera, OmniWeb and Firefox it does not in any IE version. But even in the working browser i get the following error I cannot decipher. Maybe in due time—with more experience in things Javascript—I will be able ...

FxCop doesn't resolve external references

Perhaps not a fully fledged programming quiestion, but to help drive the quality and enforce some standards throughout the application I am working on I want to use FxCop. If I try to integrate into into Visual Studio 2005 as an external tool using the command line /c /f:"$(TargetPath)" /r:"C:\Program Files\Microsoft FxCop 1.36\Rules...

android: install fails on hacked phones

Can anyone tell me the difference in how an application is delivered and installed to an android G1 phone when it is downloaded from Market vs downloaded from my webserver? This little test app: http://yootles.com/outbox/TallyBee.apk (keeps a simple count) Installs on my (unhacked) G1, but fails to install on two friends' (hacked) G...

Website connectivity issues

We get people complaining about slow loading on our website. It is at a local ISP with pretty good bandwidth. But lately I've been getting a lot of client disconnected errors. I added ping into the error logging so that I can see what kind of response times people that generate the client disconnect errors have. Most of these are comin...

Users can't connect remotely to MySQL

Problem Users from other IPs on the (Windows XP) LAN suddenly cannot connect to my local MySQL server. Background I've set up MySQL on my local Windows computer so that other computers on the network have access to the root account. I've added each IP as a host for root. Up to some weeks ago, things worked flawlessly and I could conne...

How to isolate causes of system hang on Unix/OSX

I am on OSX, and my system is becoming unresponsive for a few seconds roughly every 10 minutes. (It gives me the spinning beach ball of death). I was wondering if there was any way I could isolate the problem (I have plenty of RAM, and there are no pageouts/thrashing). Any Unix/OSX tools that could help me monitor and isolate the cause o...

Troubleshooting: JDialog which is modal and yet not modal?

Stumped by this, but maybe, just maybe, someone has had this problem before and can point me in the right direction... I have a JDialog for displaying the progress of a long-running task, which I have expressly created as modal with a defined owner: progressDialog = new JDialog( ((Dialog)windowParent), true ); ... progressDialog....

shopping cart sometimes makes sales for $0...how to troubleshoot?

I am not using a pre-made shopping cart, I programming it myself. It works perfectly fine 99% of the time, but about once every couple months an order goes through for $0. I cannot figure out why. I make a test purchase with the same product and all the same info and I cannot get it to be $0 for me. I am not sure how to go about trouble ...