error

catastrophic disasters due to software system failures

I know this is not a programming problem, but this problem is related to computer systems I am posting this question. Can somebody tell me a good place to find out information related to catastrophic disasters due to software system failures? For example incidents like Therac-25. The risk digest is a good place, but information it prov...

Ajax modal popup extender not working in IE 8

Hi all, I'm using ASP.NET 3.5 web forms, ASP.NET AJAX and ASP.NET AJAX Control Toolkit. I have a series of images, loaded at small size. When I click on it, I want to be displayed as a modal popup at a larger size. I implemented it, the larger image is shown in a panel. It works fine in Mozilla Firefox 3.6, Google Chrome 4 but the modal...

rename/delete a file from the Winsxs folder?

I have an application that uses a 3rd party component. This component references a particular dll, say X. My application is installed on 2 different machines, say A and B. A has 5 X.dll in the Winsxs folder, differing in their minor versions. B has 3 X.dll in the Winsxs folder, again differing in their minor versions. My application run...

Error 500 on Google App Engine out of nothing

Hi, I got Error 500 on Google App Engine out nothing. http://oladic.appspot.com/ - this got error. The same code runs flawlessly at: http://blogthere.appspot.com/ and http://912.latest.oladic.appspot.com/ How could this be? ...

I cannot view Tests Projects in VStudio 2008 Team Suite

Hi all, I use VS 2008 Team Suite Enterprise, and Team Explorer...for connect to TFS. I have a solution with 34 projects. There are 4 Tests Projects, but Now I can view de Test projects... It appears only the folder (the csproj) but NO the list of files of csproj. When I click on properties of csproj, I get this error: object referen...

Learning Pointers in C

I have been cutting my teeth for the past 48 hours or so trying to implement this hash table function in C. My code is rather long (I realize it is not the most efficient, some of it is more me playing around with C to get a feel for how it works etc). The problem I am having is with the last line of my main program at the bottom (prin...

wxpython, dc.GetAsBitmap returns an invalid bitmap

I am trying to get a bitmap of what my dc draws, but when I convert it to Image I get File "C:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", line 618, in ConvertToImage return _gdi_.Bitmap_ConvertToImage(*args, **kwargs) wx._core.PyAssertionError: C++ assertion "bmp.Ok()" failed at ..\..\src\msw\dib.cpp(148) in wxDIB:...

resolving undefined references! [linker error]

how to resolve undefined references [linker error] in dev cpp? ...

C++ STL Memory Allocator Compile Error

I'm writing a C++ custom allocator for use with STL. When I put the following code in the class definition, it compiles: #include "MyAlloc.hpp" #if 1 template <typename T> typename MyAlloc<T>::pointer MyAlloc<T>::allocate(size_type n, MyAlloc<void>::const_pointer p) { void *ptr = getMemory(n*sizeof(T)); typename MyAlloc<T>::pointe...

java program terminates unexpectedly without giving any error message !

I have written a java program which needs to process thousands of text files (all needs to be loaded on memory). It works fine with as many as 123 input files, but when I run it to process around 5000 files, it terminates unexpectedly in the middle of the road, without giving any error message/exception. Can anyone give me clue about wha...

ASP.NET GridView 'Page Not Found' on PostBack

I have a GridView that (in one particular instance) would contain about 5000 rows, each row containing a DropDownList with about 5000 items. Naturally, this takes forever to load and throws and OutOfMemory exception on my box. No big deal, I thought. I'll just enable paging. Well, that works fine (for the same gridview) when its bound...

ASP.NET Pass Error Messages

This is probably going to end up as a stupid question, but countless research has offered me no results. I know there are different types of errors I want to check for, and when I should be throwing an exception for "exceptional" errors, and that I should create validating functions for input and other checks. My problem is, how do I...

Why does GetLastError() return different codes during debug vs "normal" execution?

try { pConnect = sess->GetFtpConnection(ftpArgs.host, ftpArgs.userName, ftpArgs.password, port, FALSE ); } catch (CInternetException* pEx) { loginErrCode = GetLastError(); printf("loginErrCode: %d\n", loginErrCode); if(loginErrCode == 12013) { printf("Incorrect user name!\n"); exit(0); } ...

How to tell what .swf generated an error?

I was viewing a page just now and got the error box popup telling me of a runtime error in a .swf The problem is, there are multiple .swfs on the page, and I do not know which one generated the error. Is there a way to tell? ...

Help with Facebook Connect--trying to get the info of a user after he "connects" to my website.

Hi, I am using Django PyFacebook Middleware to allow users to connect. def index(request): FBGRABLIST = ['name', 'pic','uid','first_name','last_name', 'email'] fbdata = [] if request.facebook.check_session(request): fbdata = request.facebook.users.getInfo(request.facebook.uid, FBGRABLIST)[0] print fbd...

EntLib Validation problem on GetType(object) - expects string not object???

I have an Address object that I am trying to validate data against using EntLib: Given the following method: <ValidatorComposition(CompositionType.And, Ruleset:="FraudAnalysis")> _ <NotNullValidator(MessageTemplate:="Billing address is required.", Ruleset:="FraudAnalysis")> _ <TypeConversionValidator(GetType(Address), MessageTemplate:=...

php to form script? syntax error unexpected

Hi Can anyone suggest a quick form script for a php form? I generated the one below from telepro and modified the html and emails a bit, but I get this error for the checkbox Parse error: syntax error, unexpected '=' in /home/inn.co.uk/public/mailer.php on line 14 thanks for your help Regards Judi <form method="POST" action="...

AC3 Errors 1119 1120 on my button scripting?

I'm am super new at this, and this is my first time ever using Adobe. I get the "joy" of doing a project in my school using The CS4 Suite. I was playing around and using this book to help me get a button to start an action. I have tried many different codings, but this one gets me the least amount of errors. This is what I have so far: ...

Linker error with pointers

I am trying to build a program to Tolkinize a string (i'm trying to do this with out using the string class - so as to learn more about pointers and how chars work) - I have built a program that i think works (any suggestions would be great!) When i tried to compile the program I get these random errors: Error 1 error LNK2019: unreso...

Why am I getting the "Duplicate variable definition" error here?

It think Flash is telling me that my array tabData is getting duplicated, but I only set it up once in the var section of my code: This is the line with the error: for (var i in tabData) { TabMenu class private var tabData:Array = []; // <- tabData created here public function drawTabMenu(w, h, color, videoHDiff, ypos):void {...