December 16, 2003

"Valid name, no data record of requested type"

If you are using winsock you need to know the error codes returned by the WSAGetLastError function. Microsoft has a list of those errors listed at Windows Sockets Error Codes

Posted by Anilzown at 04:22 PM | Comments (0)

December 15, 2003

Visual text file differencing and merging tool

There are bunch of free file merging and content differencing tools availble, some of these which I found are:

1) Win Merge is an Open Source visual text file differencing and merging tool for Win32 platforms. It is highly useful for determing what has changed between project versions, and then merging changes between versions.
Features

  • Visual differencing of text files

  • Syntax highlighting

  • Diff a single file, or entire directories

  • File filters in directory diff

  • Merge differences

  • Directory recursion

  • Integrated editor (with multi-level undo/redo)

  • Find & Replace

  • Drag & Drop support

  • Option for integration with Windows Explorer

  • Rudimentary Visual SourceSafe and Rational ClearCase integration

  • Handles DOS, UNIX and MAC text file formats

  • Localizable interface via resource DLL

  • HTML-based User's Guide


  • More at: WinMerge

    2) ComponentSoftware Diff (CSDiff) is a free, advanced file-difference analysis tool for Microsoft Windows. CSDiff is a great asset to anyone in need of analyzing changes which have been made between two revisions of the same file or folder. CSDiff is commonly used when analyzing program source files, HTML documents and MS-Word documents.
    More at: CSDiff


    3) DLSuperCBT compares binary files for differences and resynchronizes between byte mismatches. Reports differences as hex dump with ASCII equivalent characters as an adjacent line. Allows partial compare of both files using offset values. Registered free upon request via web site.

    More at: DLSuperCBT - Synchonizing Byte Compare Program V2.1


    FreeDiff is a free file difference viewer for Windows 95/98/ME - Windows 2000/NT/XP. Use it to analyze the changes between two revisions of a file. FreeDiff can be used to locate the differences in program source code files, HTML documents, and any other ASCII-based text files. A color-coded side-by-side display of the comparison results makes it easy to understand the differences between the two files at a glance

    FreeDiff – File Difference Viewer

    Posted by Anilzown at 03:30 PM | Comments (1)

    December 09, 2003

    aspnet_wp.exe could not be launched

    Earlier I had issues to launch aspnet_wp.exe, when I started playing around dot net and xp but I had it fixed. Few days’ back I started getting an error message saying
    "Aspnet_wp.exe could not be launched because the username and/or password
    supplied in the processmodel section of the config file are invalid"

    Actually it was due to my fault of messing with the process account to do some test and tried running some application. I was frustrated by not able to find a fix to the problem. During my search I found a document, which explained the same problem, I had with asp.net configuration but they suggested changing the process account to system in the machine.config file (in the section) which is wired, because of the big security hole by using the system account for a web application.


    And then I found another document How To: Create a Custom Account to Run ASP.NET which I thought would fix the problem, because it tells you how you can customize your asp.net application by not using the default account but all in vain.

    I started getting another error "Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services." which I could finally resolve by running the command to register/fix the asp.net (
    %windir%\Microsoft.NET\Framework\v1.0.4322\aspnet_regiis.exe -i )

    Which I should have in the first place but it was good learning..

    And finally I am up and running :-).


    Posted by Anilzown at 11:33 PM | Comments (9)

    December 05, 2003

    Race to Moon for helium

    China has plans to land humans on the moon and to establish a base there. And the challenge is who will put a base before the Chinese on Moon. It is hilarious that the Chinese have expressed interest in mining a cheap form of helium found on the moon.
    Read more at U.S. considers new moon mission

    Posted by Anilzown at 05:13 PM | Comments (0)