error

Error message while connecting to URL using HTMLUnit

Note : I have included the stack trace also now. I am using HTMLUnit in java to connect to a remote URL and derive some information from the web page obtained. I am using the following code... final WebClient webClient = new WebClient( BrowserVersion.INTERNET_EXPLORER_6_0, "companyproxy.server", 8080); final De...

SQL Server2008 Installation on Windows Vista (Performance Counter Error)

Hi there, I am having a hard time when installing SQL Server 2008, it complains that my performance counter registry hive consistency, and gave me a link as follows: http://support.microsoft.com/kb/300956 Cool, first step, not possible to do, asked me for a CD of Vista, my laptop comes with an OEM version of vista, no CD provided, boo...

What event do I need to supress to stop IE from "Dinging" when I press enter in a text box?

On simple forms with one text box pressing enter submits the form (and this is great for easy search forms) However on a form with multiple fields, pressing Enter in an input="text" box won't do anything (e.g. submit) but in IE it "Dings" as if you have tried to delete an undeletable object. The question is... what event do I need to s...

How can I intercept errors from gzip so cron doesn't see them?

So, OK, the job runs in cron: it fetches compressed files and processes them. If the files are corrupted, it deletes them. Sometimes they are bad on the remote server, in which case they will be downloaded and deleted each time. My cron logs extensively to STDOUT (directed to logfile in .crontab), using STDERR only for things that cause...

Correct formatting of numbers with errors (C++)

I have three sets of numbers, a measurement (which is in the range 0-1 inclusive) two errors (positive and negative. These numbers should be displayed consistently to the number of significant figures, rounded up, which corresponds to the first non-zero entry in either of the number. This requirement is skipped on the measurement if it...

Auth Component not working as expected in cakephp

Hi, I am trying to build the login registration page for my website, I am facing problems with he Auth Component, function beforeFilter() { $this->Auth->loginAction = array('controller'=>'users','action'=>'login'); $this->Auth->loginRedirect = array('controller'=>'users','action'=>'landing'); $this->Auth->logoutRedirect = array('cont...

Error when "git push" to github

I have public repository at github.com with 2 branches : "master" and "test". I created new dir locally and did: [ ] git clone [email protected]:{username}/{projectname}.git Then i created new branch named "my_test" with [ ] git branch my_test and switched to it. [ ] git checkout my_test Then i merged it from my "test" branc...

"The server has reached the maximum recovery limit for the application during the processing of your request." Error Message

Is anyone familiar with the erorr message "The server has reached the maximum recovery limit for the application during the processing of your request." I'm getting this when running a legacy ASP site on my local machine using IIS 6. The site was working fine for a couple days, but it's been about a week since I last worked on this s...

MySQL FULLTEXT indexes problem…

So I’m trying to create a FULLTEXT index on an attribute of a table. Mysql returns ERROR 1214: The used table type doesn’t support FULLTEXT indexes. Any idea what I’m doing wrong? ...

can't compile c code

Hi I'm new to C and i can't compile a program i downloaded. The Errormessage looks like this : ********@*******:~/Desktop/GRAPPA20$ gcc all_sorting_reversals.c /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/crt1.o: In function `_start': /build/buildd/glibc-2.9/csu/../sysdeps/i386/elf/start.S:115: undefined reference to `main' /tm...

C# generic overload - Compiler can't determine correct call

I don't understand why the compiler can't resolve the correct overload to use here. (code below) There is only one version of Add() that is appropriate- BigFoo is an IFoo, and does not implement IEnumerable where T is an IFoo. But it insists on reporting an ambiguity. Any ideas? I tried adding a second generic type parameter- Add where T...

MySQL MAX_JOIN_SIZE errors

I am asking this question on behalf of a small group of my users that have this problem. Once the script they are using gets to the 21st ID, it generates the following error: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay ...

Stuck on C++ template - deriving from std::map

I'm going to extend the existing std::map class and add a new function to it: template<typename key_type, typename value_type> class CleanableMap : public Cleanable, public std::map<key_type, value_type> { CleanableMap(const CleanableMap& in); //not implemented CleanableMap& operator=(const CleanableMap& in); //not implemented ...

Problem running Eclipse on Mac with two users

I have installed Eclipse on my MacBook Pro (with Leopard of course) under one user and every thing works fine. When i switch my user and try to run Eclipse i'm getting error message saying to look at the log, and here is what's in that log file: !SESSION 2009-06-08 15:28:17.204 ----------------------------------------------- eclipse.bui...

on a javascript error, how to identify method or js file with the problem?

Hi, When a javascript error occures in IE (or in other browsers) you get a popup saying that javascript error has occurred - usually this comes with a line number and some hint. Sometimes it comes with line 0 and with no way of knowing what the problem is. Javscript can come from HTML itself, from a js file or from JSP (and more). Micr...

users module errors in Google App Engine (solved)

UPDATE: It works now! but I didnt change anything actually, seems like Google need time to update its database for app engine. like 20 mins. I want to use user service of my domain in google App, but... Is it possible to solve this problem by my side? Traceback (most recent call last): File "/base/python_lib/versions/1/google/appengi...

09 is not recognized where as 9 is recognized

I am using quartz for schedulling. TriggerUtils.getDateOf(0,40,18,09,06); it accept 5 parameter. (seconds, minutes, hours, daysOfMonth, month). When i pass fourth parameter as "09". Eclipse give me error "The literal Octal 09 (digit 9) of type int is out of range ". But when i pass the fourth parameter as "9" instead of "09", it work...

Handle error in SQL Trigger without failing transaction?

I've a feeling this might not be possible, but here goes... I've got a table that has an insert trigger on it. When data is inserted into this table the trigger fires and parses a long varbinary column. This trigger performs some operations on the binary data and writes several entries into a second table. What I have recently discover...

YSlow gives F grade to files compressed with mod_deflate

Hey all, I'm using mod_deflate on Apache 2.2 and the compression level is set to 9. I've fine tuned every possible aspects of the site based on the recommendations of YSlow (v2) and have managed to get an overall A grade (Total Score: 91) as well as on all categories except for: Make fewer HTTP requests (Grade C - I'm still workin...

.NET MVC - The system cannot find the path specified...

yesterday I deployed my website from c:\development\project\ to c:\inetpub\wwwroot\virtualdir\ (same pc). It worked for some time, I could reach the website by going to http://computername/virtualdir/. But this morning everybody got an error: The system cannot find the path specified. What is the path being specified that cannot be fou...