I got my laptop replaced with new one since old one died within warranty period.
I had to delete the data from old hard drive and was aware that just formatting hard drive is not enough.
So after short research I bumped into chiper
Here is another link
I hope that will be good enough.
Just a log of stuff that I've usually forget, with comical spin. On my way to get organized ...
15 December 2009
11 December 2009
installing services without installutil ...
Apparently you can install services using dos prompt with following lines:
sc start ServiceName
sc query ServiceName
sc stopServiceName
sc start ServiceName
sc query ServiceName
sc stopServiceName
21 July 2009
Server Application Unavailable ...
Problem when IIS 6 handles more than .net framework within same pool:
24 June 2009
17 June 2009
System.Array.IndexOf to check if item exists without looping
public static string someMethod(parameterList ....., string[] filter)
{
foreach (DataRow item in dt.Rows)
{
if (System.Array.IndexOf(filter, item["itemName"].ToString()) > -1)
collection.Add(item);
}
return collection;
}
{
foreach (DataRow item in dt.Rows)
{
if (System.Array.IndexOf(filter, item["itemName"].ToString()) > -1)
collection.Add(item);
}
return collection;
}
05 June 2009
Cloning objects in js
I want to note that the .clone() method in jQuery only clones DOM elements - in order to clone JavaScript objects you would do:
// Shallow copy
var newObject = jQuery.extend({}, oldObject);
// Deep copy
var newObject = jQuery.extend(true, {}, oldObject);
More information can be found in the jQuery documentation.
I also want to note that the deep copy is actually much smarter than what is shown above - it's able to avoid many traps (trying to deep extend a DOM element, for example). It's used frequently in jQuery core and in plugins to great effect.
Link
// Shallow copy
var newObject = jQuery.extend({}, oldObject);
// Deep copy
var newObject = jQuery.extend(true, {}, oldObject);
More information can be found in the jQuery documentation.
I also want to note that the deep copy is actually much smarter than what is shown above - it's able to avoid many traps (trying to deep extend a DOM element, for example). It's used frequently in jQuery core and in plugins to great effect.
Link
04 June 2009
There are too many people accessing the web site at this time...
IIS server refuse to serve request complaining that there are too many users ??
Possible solution Link
Possible solution Link
01 May 2009
07 April 2009
Referenced assembly 'filename' is a localized satellite assembly (why it's not wise to ignore warning al1056)
Couple of hours lost due to seemingly innocent assembly entry ....
Why not wise to ignore 1056 Warning
Why not wise to ignore 1056 Warning
12 January 2009
Thread aboration on asp.net 2 ??
I run into problem with thread being aborted while uploading big files.
It turned out that if you modify any file domain reload is triggered that shuts down all threads.
More about it at this link
It turned out that if you modify any file domain reload is triggered that shuts down all threads.
More about it at this link
Evan Hoff [14/May/08 03:49 PM]
I'm not sure if this is the cause for CC.NET, but I've seen this same behavior in other 2.0 ASP.NET apps.
Here's the skinny:
In 2.0, ASP.NET changed so that any file changes (above and beyond web.config, global.asax, and /bin) will trigger an AppDomain reload.
During the reload, any thread which does not cleanly shut down within a specified timeout period will get aborted.
Reading your description above, I would guess you have several ASP.NET threads working on sockets. A filesystem change is triggering an AppDomain refresh and those threads aren't restarting within the timeframe expected by ASP.NET. As a result, the threads get aborted (causing the logs you are seeing). When the threads are aborted, your socket code doesn't restart, and your client receives a message about the server being too busy.
Or at least that's a theory you can try exploring. You can google the behavior change to read about it, but there's not a way to turn the behavior off (unfortunately).
Evan
[ Show » ]
Evan Hoff [14/May/08 03:49 PM] I'm not sure if this is the cause for CC.NET, but I've seen this same behavior in other 2.0 ASP.NET apps. Here's the skinny: In 2.0, ASP.NET changed so that any file changes (above and beyond web.config, global.asax, and /bin) will trigger an AppDomain reload. During the reload, any thread which does not cleanly shut down within a specified timeout period will get aborted. Reading your description above, I would guess you have several ASP.NET threads working on sockets. A filesystem change is triggering an AppDomain refresh and those threads aren't restarting within the timeframe expected by ASP.NET. As a result, the threads get aborted (causing the logs you are seeing). When the threads are aborted, your socket code doesn't restart, and your client receives a message about the server being too busy. Or at least that's a theory you can try exploring. You can google the behavior change to read about it, but there's not a way to turn the behavior off (unfortunately). Evan
Subscribe to:
Posts (Atom)