error

ASP.NET and IIS6: trapping ALL application errors

Our groups legacy ASP 3.0 web apps were able to take advantage of a global error file by setting up a custom error file within IIS's Custom Error's tab. I'm unable to find a similar solution for ASP.NET apps. Does anyone know if there is a way to have a centralized "Error.aspx" page (for example) that will trap errors for an entire a...

VB.Net error: Index was outside the bounds of the array

This error comes out whenever I clicked the datagrid. Program does fill the datagrid every time data was selected in the combobox. For example: I choose data1 which has 4 records in datagrid. then I click row index no 1. No problem will shown but when I choose again another data in combobox, for example: Data 2 has only 1 record then ...

In Eclipse, what can cause Package Explorer "red-x" error-icon when all Java sources compile without errors?

I'm using Eclipse for Java development. All my sources compile fine and the resulting application compiles fine. However, I keep getting an "red-x" error notification in the Package Explorer, like this: All my sources in this source directory (too long for the snapshot) compile fine, none of the show the "red-x" error icon. Any sugge...

Anyone using RailRoad diagrams generator?

I recently installed RailRoad gem to generate an .svg diagram of my app's models and controllers. The rake task keeps breaking with a similar error: 1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:263:in `load_missing_constant': uninitialized constant I tried the rake task on 2 seperate apps and ...

how do I work around this error while copying SVN repository by svnsync?

I am copying a repository by using svnsync and am receiving this error on the same revision every time. Transmitting file data ...svnsync: REPORT of 'https://svn1.avlux.net/xxxxxx.net': Could not read response body: Secure connection truncated https://svn1.avlux.net) It is a large revision and I don't have admin access to the serve...

C++ two or more data types in declaration

...

Common WCF Exception : Connection Unexpectedly Closed

I have three projects. One is a WCF Services Project, one is a WPF Project, and one is a Microsoft Unit Testing Project. I setup the WCF Services project with a data object that looks like this: [DataContract] public enum Priority { Low, Medium, High } [DataContract] public struct TimeInfo { [DataMember] public In...

"An unhandled non-continuable exception was thrown during process load"

This error message appears on a colleague's machine when he tries to launch a Windows application he's working on: An unhandled non-continuable exception was thrown during process load What does this mean, and how does one go about investigating what is causing it? I have Googled it, but haven't found a clear answer. It seems to ...

GODI installation error

I'm running Fedora 9 x86_64 and am more or less a Linux newbie (not using it, but installing and such). The error occurs in the second stage of the bootstrap (i.e. "./bootstrap_stage2"). It does a whole lot fo stuff and then these errors start happening: Fatal error: exception Out_of_memory make[8]: *** [odoc_html.cmo] Error 2 make[8]: ...

General Business Object Practices (and exception errors - redux)

Recently, I made a post about the developers I'm working with not using try catch blocks properly, and unfortuantely using try... catch blocks in critical situations and ignoring the exception error all together. causing me major heart ache. Here is an example of one of the several thousand sections of code that they did this (some code...

VistaDB Connection Issue Programmatically using SQLConnection and ConnectionString

I'm getting an error connecting to a VistaDB using a connection string in the web.config file. It works fine using a SQLDataSource AFTER I specified the ProviderName. On another page I'm only connecting in code and Here is the code for the connection string: Public Function CreateConnection() As SqlConnection _connectionString = ...

Why is a left parenthesis being escaped in this Regex?

I'm using an HTML sanitizing whitelist code found here: http://refactormycode.com/codes/333-sanitize-html I needed to add the "font" tag as an additional tag to match, so I tried adding this condition after the <img tag check if (tagname.StartsWith("<font")) { // detailed <font> tag checking // Non-escaped expression (for tes...

Linker Errors C++ Visual Studio 2005

I'm getting a whole bunch of linker errors in Visual studios for methods I'm not even calling directly. I'm a java developer by day, but I have a project I need to do in C++, intended to run on windows machines. Hence, I'm stuck messing about with Visual Studio. Bascally, I have an os project that I added an accessor method to. I compil...

Why can't I read from .BAK files on my Desktop using SQL Express in Windows Authentication Mode

I am trying to execute this SQL query prior to restoring a .BAK file in SQL Express. Initially, I had the file on the Desktop of my user account. I am logged in as Administrator. When I try to access the .BAK file on the desktop like this RESTORE FILELISTONLY FROM DISK= 'C:\Documents and Settings\Administrator\Desktop\file.bak' I get...

WARNING. Duplicate resource in Delphi 7, Infopower 4000

[Error] WARNING. Duplicate resource(s): [Error] Type 2 (BITMAP), ID TWWDBRICHEDITMSWORD: [Error] File C:\Borland\Delphi7\ip4000vcl7\LIB\wwrichsp.RES resource kept; file C:\Borland\Delphi7\ip4000vcl7\LIB\wwrichsp.RES resource discarded. I have searched the code for same named objects, like objects. Can anyone give me a clue w...

Git thinks I am rewriting one of my files everytime I make a small change

I have a medium size Java file. Everytime I make a change to one of my files, BuildTable.java, Git reports it as a massive change, even if is only a line or two. BuildTable.java is about 200 lines and the change in this commit only changed a single line. git-diff ouputs this: --- a/src/BuildTable.java +++ b/src/BuildTable.java @@ -1 +1...

Subversion Repository Error

This one has me scratching my head. I'm running Subversion 1.3.1 (r19032) on Ubuntu. All was well until recently when I tried to run svnadmin verify prior to a dump. This is the error message: svnadmin: Invalid diff stream: insn 0 cannot be decoded I have looked around for an explanation and fix but can't seem to find one. Subve...

PHP: Error in my_thread_global_end(): 1 threads didn't exit

When running PHP in CLI mode, most of the time (not always), the script will hang at the end of execution for about 5 seconds and then output this: Error in my_thread_global_end(): 1 threads didn't exit It doesn't seem to actually have any effect on the script itself. Some web searches turned up blogs which suggest replacing the p...

Apache/Tomcat error - wrong pages being delivered

This error has been driving me nuts. We have a server running Apache and Tomcat, serving multiple different sites. Normally the server runs fine, but sometimes an error happens where people are served the wrong page - the page that somebody else requested! Clues: The pages being delivered are those that another user requested recentl...

Force C# compiler error based on const value

I have a private const int defined in a C# class. I want compilation to fail with an error if the value of this int mod 3 != 0. How can I accomplish this? ...