Archive for July, 2007

‘Unrecognized attribute xmlns’ errors

Monday, July 9th, 2007

APS.Net 2.0 is not the default .Net version used by IIS. It works in the development environment because VS.Net compiles a virtual web server with the proper .Net version before code compilation begins.


As it turns out, ‘xmlns’ is a component in ASP.Net 2.0 and will generate that error when compiled on an IIS server running ASP.Net 1.1. To fix this: (more…)

Configuration Parameters for ISAPI DLLs

Monday, July 9th, 2007

For storing site specific configuration parameters, I stole the concept of the web.config file from ASP.Net. You must create a web.config file in the same directory as web.dll. The web.config file is a simple XML file containing all configurable parameters for the web interface DLL. It needs to look like this: (more…)

Allowing ISAPI DLL Access to Network Shares

Monday, July 9th, 2007

In order to allow the interface DLL access to network shares it must be configured to run as an account other than the internet guest account.  That account must be able to access the share using a DNC path (\\host\path) without needing to provide a user id and password.  i.e. there must be a trusted relationship between the web server and the file server on the chosen account. (more…)

Configurable Parameters for ASP.Net Applications

Friday, July 6th, 2007

The easiest way to create a set of configurable parameters for an ASP.Net application is to add them to the web.config file.  The web.config file is just an XML file that holds a bunch of parameters for ASP.Net itself as well as application specific parameters. (more…)

Synchronizing .Net Threads

Friday, July 6th, 2007

The most frequently used method of synchronizing threads in a Windows application is by the use CriticalSections.  The .Net equivalent is the Monitor class. (more…)

Adding Version Info to a .Net Executable

Friday, July 6th, 2007

I just spent a rather frustrating hour trying to figure out how to add version information to a .Net executable. These settings were not to be found in the Delphi Project | Options dialog as in previous versions of Delphi.


It turns out that you have to add an AssemblyInfo unit to the project. You then modify the source code of this unit to add things like your applications name and description and version. Seems like a bit of a step backward to me.

Install ActiveSync for Windows hand held devices

Friday, July 6th, 2007

I received my MC3000 scan gun yesterday, so I downloaded ActiveSync from Microsoft’s web site (click here to download it) . Like everything from Microsoft, it didn’t go smoothly. I started setup.exe and after a few seconds it stopped with a message like ‘installer interrupted’. I googled the error message and found out that if mapi32.dll is not the one that ships with Windows (or Outlook as the case may be) the installation will fail. Since I used Eudora as my email client and since Eudora replaces mapi32.dll to make itself the default email client the install didn’t work. (more…)

Windows Services Using Delphi for .Net

Friday, July 6th, 2007

Well, today I begin my foray into Delphi for .Net. I need to be able to communicate with the MyFax site using SOAP. Since Delphi 5 doesn’t do SOAP out of the box, I decided to try .Net. But first I need to be able to write a Windows service in .Net. Oh Joy! (more…)

Installing SCSI Tape for Slackware 10.0

Friday, July 6th, 2007

Well, I finally got around to installing the DDS-3 tape in my new linux server today. Since I had completely forgotten how I had done this last time I had to figure it out all over again. (more…)