I made a custom TObjectList descendant designed to hold subclasses of a base object class. It looks something like this:
interface
TMyDataList<T: TBaseDatafile> = class(TObjectList<TBaseDatafile>)
public
constructor Create;
procedure upload(db: TDataSet);
end;
implementation
constructor TMyDataList<T>.Create;
beg...
I notice that I tend to fix one error, then recompile, then fix another one.
SOmetimes if there are problems with many files I might fix one per file.
How about you?
...
Hi,
I am working on a migration project, here we are migrating large set of C++ libraries from Mainframe to Solaris. We have complted migration sucessfully, but while running the application, some places it crashes with 'signal SEGV (no mapping at the fault address)'.
Since the application supports on windows also, we checked with pur...
This sure seems like a simple error to fix. However, I somehow can't figure it out. Found some posts here and went thru them and couldn't get it to work. Sure seems like a famous error.
The error I'm getting is : Unable to start debugging on the web server. An Authentication error occured while communicating with the web server.
I'm ru...
i get the error ... Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\cbnonreg\fc933fca\bbf91eea" is denied... whenever i try to access my newly deployed site. I looked at the path and discovered that .../cbnonreg\fc933fca\bbf91eea does not exist...
please what can i do?
Idis.
...
I get intermittent "Object reference is not set to an instance of an object" errors when uploading PDF files in FCKEditor in DNN 4.9.
Here's the error:
AssemblyVersion: 04.09.00
AbsoluteURL: /.../Providers/HtmlEditorProviders/Fck/fcklinkgallery.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET C...
When using Google Chrome, I receive the following error message:
Error:
Uncaught SyntaxError: Unexpected token <
It occurs directly after my doctype declaration at the top of my HTML page
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Any ideas what this...
I have a situation where i need to debug a Windows CE application in both Vs.NET 2008 as well as VS.NET 2005.
After i switch between the emulators in these 2 environments a few times, i get the error :-
"A fatal error has occurred and debugging needs to be terminated. HRESULT=0x8013110e. Error code=0x0".
Why should it happen only afte...
I've got a bunch of data loaded into a TClientDataset, representing an array of complex objects. But when I try to run
Dataset.SaveToFile('c:\test.xml', dfXMLUTF8);
it doesn't like it:
Project testing.exe raised exception class EDBClient with message 'Fieldtype not supported for XML.'.
This is a lot less useful than it should be, f...
I'm getting this error after trying to "appendChild" to an element that was just created (in for loop).
What does this error mean?
I suppose it's not possible to append sth. to an element that doesn't really exist in DOM.
How do I fix it?
"innerHTML" works, but I don't think it's really clean and proper way to do it.
...
There has to be something utterly simple I'm overlooking here, but for the life of me I can't get a JavaScript file to include properly from my master page. My declaration in the <head> element looks normal enough:
<head runat="server">
<title>Untitled Page</title>
<script type="text/javascript" src="/_private/scripts/jquery-1....
Hi there,
I am not sure what the problem is but I keep receiving this error when I try to use a while statement in my code.
Invalid token 'while' in class,
struct, or interface member
declaration
I want to use a while loop to have something continuously update while a statement is true.
The rest of my code is rather long but w...
One of my coworkers is having a problem pushing changes from git on his machine. If he logs into another machine, he can push just fine - but from his machine, when he tries to push he gets the following error
D:\Projects\test1\best-practices>git push
Counting objects: 4, done.
Compressing objects: 100% (2/2), done.
Wr...
I am designing a helper method that does lazy loading of certain objects for me, calling it looks like this:
public override EDC2_ORM.Customer Customer {
get { return LazyLoader.Get<EDC2_ORM.Customer>(
CustomerId, _customerDao, ()=>base.Customer, (x)=>Customer = x); }
set { base.Customer = value; }
}
when I compile...
I was thinking about a name for a new blog and wanted to name it after a computer error of some description (partly inspired by this site). So I want to know some people favorites.
I remember at a job I had "Catastrophic failure" was used a lot as an error message, to the users as well!
Please give me some inspiration. There is a 99% ...
Inside VS2005, our whole programming staff gets this error message sporadically and it is always on the BeneControls project. This error message happens multiple times a day and it occurs when going into DESIGN mode for a control. Normally rebuilding the BeneControls fixes the problem but somtime the whole solution has to be rebuilt.
H...
Could anyone explain me why:
function doAjax() {
var xmlHttpReq = false;
try { // Firefox, Opera 8.0+ and Safari
xmlHttpReq = new XMLHttpRequest();
}
catch (e) { // Internet Explorer
try {
xmlHttpReq = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e) {
try {
xmlHttpReq = new ActiveX...
I have a Repeater with a Button inside the ItemTemplate. I added the CommandName property to the button and registered and event handler for the ItemCommand event on the Repeater.
My problem is that when I click the button, I get an ArgumentException with a message saying something about EnableEventValidation being set to true.
(By the...
What do you think are the biggest design flaws in C# or the .NET Framework in general?
My favorites are that there's no non-nullable string type and that you have to check for DBNull when fetching values from an IDataReader.
...
I recently deployed my ASP.NET 3.5 application to my test server, a newly installed copy of Windows Server 2003 Standard on which is IIS 6.0 and .NET 3.5 SP1. When I view the application (even from a web browser on the server) I get:
Server Error in '/' Application.
Runtime Error
Description: An
application error occurred...