error

register DLL in ASP.NET

I'm getting Error Type: Server object, ASP 0177 (0x800401F3) Invalid class string /ErrorProcess.asp, line 64 error while I try to run my project in ASP.NET. I've registered all the necessary DLLs but it is not working. Do I have to restart my machine after registration? or is there any other problem? ...

Displaying Grails Field Errors

Does anybody know how I could get the fieldError to print out in the example below. for each item with an error, I would like to print custom error messages that I have defined in the messages.properties file at the moment all this does is print the default error codes item.errors?.allErrors?.each{ println it.toString() }; I have ...

PHP PDO fetch returns a array ?

$GetUid = $dbConnect->prepare("SELECT UID FROM users WHERE username = :username"); $GetUid->execute($RegisterData3); $UserID = $GetUid->fetch(); why does it return array not a string ? var_dump('$UserID') says array 'UID' => string '45' (length=2) 0 => string '45' (length=2) it should be array 'UID' => string '45' (length=2)...

Twitter API Request Limit Problem

I've written a small java program to download all friends' and followers' profile pictures from twitter. But i'm getting an error because only 150 requests per hour per IP address is allowed. the exact error is: twitter4j.TwitterException: 400:The request was invalid. An accompanying error message will explain why. This is the status...

How do I copy data from a defective DVD to my hard disk using Perl?

The situation is this: My system (Win XP Pro) is unable to copy a huge video file (around 6 gigs) from a DVD disk, which might be defective, scratched or whatever but which can be played back with mplayer with a few frames full of mosaic though. When the copying process lasted for a certain length of time, the system would abort the effo...

Prototype Ajax call yields 12152 in IIS but only when running IE

We have an ASP.NET 3.5 app that relies on Prototype for Ajax calls. It is hosted on IIS 6 in Windows 2003 Server. It uses Integrated Windows Authentication. Here are the scenarios in which it works: Running on default site Running on new site when client is running Fiddler and IE Running on new site when client is running Firefox Ru...

i got ibfk_5 when trying input forreign key to table

I have structure table like this. the problem is : When i want to input data to "index" table. I got this error. com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (test.index, CONSTRAINT index_ibfk_5 FOREIGN KEY (b_FK) REFERENCES...

Selenium SeleniumTestCase .checkForVerificationErrors method : output status before it fails

Hi I am testing a table on a webpage where i need to verify all values in table. For this i have written a for loop something like this for (row) { for (column) { SeleniumTestCase.verifyTrue( "expected".equals("obtained")); } SeleniumTestCase.checkForVerificationErrors(); } Here in the fifth line i am checking was th...

Why is errno not found in Visual Studio 6.0?

#include <errno.h> /* compress until end of file */ do { strm.avail_in = fread(in, 1, CHUNK, source); errno; //<-----DEBUGGER "CXX0017: Error: symbol errno not found" perror("Error:"); if (ferror(source)) //<--ferror = 32 but there is no string from perror? { //error handling ...

XML Parsing error not well formed. The problem is in the variable content, workaround?

Working on an API but I've run into a problem. This specific part of the response (in XML) returns a URL. Here's the error I'm getting: XML Parsing Error: not well-formed <item_to_page_url>http://cnn.com/.../?hpt=C2&amp;replytocom=11119#respond&lt;/item_to_page_url&gt; First off, I added an ellipses to shorten the length of that for...

BC3016: Variable 'myConnection' hides a variable in an enclosing block.

I'm am not quite sure why I am getting this error. Dim numUsers as Integer Using myConnection as New System.Data.SqlClient.SqlConnection("Data Source=(local);InitialCatalog=dbtest;Integrated Security=True") Dim queryString As String = "SELECT COUNT(*) AS Num_Of_User FROM tblusers WHERE username=@username AND password=@password" Us...

Problem in XML content..?

Okay. Here's the code. XML Parsing Error: not well-formed <item_to_page_title><![CDATA[Breaking news, real-time scores and daily analysis from Sports Illustrated SI.com]]></item_to_page_title> The error tracking line thing points to the []-like char as the problem. I've set the page to UTF-8 and still it doesn't work. No, I can't j...

eclipse + cdt + mingw + windows error "undefined reference to `WinMain@16'" on build

I installed eclipse, cdt and mingw on my windows XP machine. added C:\MinGW\bin to my PATH. Created a new c++ project, with one file in it, test.c. the code in it: int main(){ int i=1; } Trying to build, I get the error: /mingw/lib/libmingw32.a(main.o):main.c:(.text+0xd2): undefined reference to 'WinMain@16' Notice it's not compl...

AS3 Errors: 1046: & 1180: Importing custom class into mc on second frame?

Pulling my hair out here trying to solve this one. I have no experience with classes...I code everybit of AS3 into the frames usually. I was trying a custom class out and it just isn't working well. I have a movieclip called mc_info_panel that I have placed onto my stage in frame one of my main timeline. One frame one of mc_info_panel i...

firefox aint dispaying parse error

Hi,all of you, i am currently using ubuntu10.04 i were trying to run php script but every time i suffered through one common problem that when i did some error in php script it doesn,t display a error or any warning message on firefox(which i am using as browser) rather than showing a blank screen .My php.ini file configuration is as fo...

GCC error: array type has incomplete element type

I'm trying to build a module table for my application. /*** MODULE TABLE DEFINTION ***/ struct ModuleInfo { char use_module; // 0 = don't use, 1 = use, -1 for end of list char module_name[64]; // english name of module int(*module_init)(void); // module initialization callback void(*module_tick)(void); // module tick cal...

Ruby Program Error: NoMethodError

I typed up a simple Ruby code for a tutorial question, as shown below. #Grandma is deaf! puts "Hey Sonny! It's your lovely Grandmother! How are you?" response = gets.chomp while response != "BYE" if response != response.upcase puts "Huh?! I CAN'T HEAR YOU!" else puts "NO! NOT SINCE " + (1930 + rand(21)).to_s +...

Xcode (iPhone) build warnings

I just installed Xcode 3.2.3. I have a first generation iPhone that I use for testing purposes. It has 3.1.3 installed on the iPhone. On the build droplist near the upper left, there don't seem to be as many choices as there were on the older version i.e. base SDK to build against. Now there is only Device/Simulator, Debug/Release as...

(iPhone) a way to tell when the user is done typing on a timed interval?

Hi, I am wondering if there is a way to tell if the user hasn't typed in the UITextField say for 2 seconds. If that's not possible, I'd like to know if there is a way to tell if the user made an error typing in the text field - example: There is a UITextView which contains objects from an NSArray and the user has to type in the textf...

Visual Studio 2010 crashed, after loading it again it opened the conversion wizard then some bad things happened

I was using Visual Studio 2010 and tried to go to a files definition, after about three minutes I found the application had crashed so I end-tasked it. Running the project again I was presented with the conversion wizard (the project was already in 2010 so that was a bit wierd), after going through all its steps it said the conversion ha...