error

How to solve Delphi's [Pascal Fatal Error] F2084 Internal Error: LA33 ?

I'm really sick of this problem. Google searches always seem to suggest "delete all bpls for the package", "delete all dcus". Sometimes this just-does-not-work. Hopefully I can get some other ideas here. I have a package written in-house, which had been installed without issue a few months ago. Having made a few changes to the source, I...

I am getting a "fatal error 7987" error from SQL Server 2000

The error happens trying to do an insert from a stored proc. I tried running DBCC CHECKDB as suggested by the kb article that Jonathan Holland suggested and it returned with the all clear. ...

"Method Not Implemented" error - Firefox 3

Hi all Getting sporadic errors from users of a CMS; Ajax requests sometimes result in a "501 Method not implemented" response from the server. Not all the time; usually works. Application has been stable for months. Users seem to be getting it with Firefox 3. I've seen a couple references via Google to such problems being related to h...

C# Windows Service - Handle Exception on Startup

I'm writing a series of Windows services. I want them to fail if errors are thrown during startup (OnStart). I had assumed that merely throwing an error in OnStart would do this, but I'm finding that instead it "Starts" and presents me with a message stating "The service has started, but is inactive. Is this correct?" (Paraphrase). H...

Why do I get "Cannot redirect after HTTP headers have been sent" when I call Response.Redirect(url)?

When I call Response.Redirect(someUrl) I get an HttpException: "Cannot redirect after HTTP headers have been sent". ...

Error: initializer element is not computable at load time

I have in a function that takes a struct, and I'm trying to store its variables in an array, but I get this when I run gcc -Wall -ansi -pedantic-errors -Werror int detect_prm(Param prm) { int prm_arr[] = {prm.field1, prm.field2, prm.field3}; return 0; } I get Error: initializer element is not computable at load time when I try to...

Error "Cannot change Visible in OnShow or OnHide" in Delphi IDE

I have a very strange problem with the Delphi 2006 IDE. If the IDE is minimized, and the PC is locked. I return to the pc, unlock it and maximize the IDE, I sometimes get the error "Cannot change Visible in OnShow or OnHide". If this happens, I have to kill the IDE with the taskmanager. Is there anybody out there who has the same pro...

Change language of error messages in ASP.NET

I developing ASP.NET application using a Swedish version of Windows XP and Visual studio Professional. When ever i get an error aka. "yellow screen of death" the error message is in swedish, making it a bit hard to search for info about it. How can i change what language the error messages in ASP.NET uses? I have no language pack inst...

What is your (least) favorite syntax gotcha?

You know the ones that make you go WTH and are easily spotted by a coworker just passing by? Please keep it one gotcha per answer to simplify voting. ...

(Apache) Error log beautifier

Anyone knows of a good error log beautifier? (should be able to handle apache error logs). Should be open source / free, preferably with a web interface ...

Avoiding TSQL Data-conversion errors

I think this is best asked in the form of a simple example. The following chunk of SQL causes a "DB-Library Error:20049 Severity:4 Message:Data-conversion resulted in overflow" message, but how come? declare @a numeric(18,6), @b numeric(18,6), @c numeric(18,6) select @a = 1.000000, @b = 1.000000, @c = 1.000000 select @a/(@b/@c) go H...

Perl - Common gotchas?

The question on Hidden features of Perl yielded at least one response that could be regarded as either a feature or a mis-feature. It seemed logical to follow up with this question: what are common non-obvious mistakes in Perl? Things that seem like they ought to work, but don't. I won't give guidelines as to how to structure answers,...

Java - Common Gotchas

In the same spirit of other platforms, it seemed logical to follow up with this question: What are common non-obvious mistakes in Java? Things that seem like they ought to work, but don't. I won't give guidelines as to how to structure answers, or what's "too easy" to be considered a gotcha, since that's what the voting is for. See als...

TSVN DNS error: The requested name is valid, but no data of the requested type was found

Colleagues, I've updated my TSVN client and now I'm getting this error when trying to update or commit to different repositories. Any ideas on how I can solve this? Thanks. IE shows up appropriate URL just fine. TortoiseSVN 1.5.3, Build 13783 ...

Query Parse error in shopping kart application

In my shopping cart app, I execute a query using: 44: @mysql_query("insert into cart(cookieId, itemId, qty) values('" . GetCartId() . "', $itemId, $qty)"); But when I view the webpage, I get the following error: Parse error: parse error, unexpected T_STRING, expecting '{' in H:\Program Files\EasyPHP 2.0b1\www\beta\cart.php on line 44 ...

How to set property to Guid in aspx page

I have the following code in one of my aspx pages: <% foreach (Dependency dep in this.Common.GetDependencies(this.Request.QueryString["Name"])) { %> <ctl:DependencyEditor DependencyKey='<%= dep.Key %>' runat="server" /> <% } %> When I run it, I get the following error: Parser Error Message: Cannot create an object of type '...

Microsoft ReportViewer: Session Expired Errors

...

Why are some PHP errors are not written in the PHP log?

Hello, On a server I have to take care of, errors from a vhost do not go to the standard PHP error log. In the php.ini we have log = /var/log/file and phpinfo() does not show any difference between the vhost and the whole server. But the callback function set up by set_error_handler() catches errors which are not in the php log. ...

Help with ASP.Net error: "Cannot use a leading .. to exit above the top directory"

I'm seeing this error several times an hour on my production site and am not quite sure how to fix it. I've grepped the source code and I am not using "../" anywhere in my code to generate a path. My application is running on IIS6 on Win2003 Server. It's using URLRewriter.Net to allow the site to have friendly URLs, and I'm wondering if...

1720 - Imminent Hard Disk Failure

I am upgrading an old compaq presario 2800 harddrive to a bigger one. When I phisically install the new drive and try to boot the following error appears: 1720 - SMART Hard Drive detects imminent failure. Your hard disk drive is detecting an imminent failure. To ensure no data loss, backup contents and replace this hard disk. Attribute...