Thursday, May 29, 2008

I mistakenly grabbed the latest WiX installer from here but the latest builds for version 3 are here under the weekly releases. There was an issue with the 3.0.2925 release with referencing the NETFRAMEWORK35 property in the WixNetFxExtension. This is fixed in later releases.

BTW, WiX rocks! Visual Studio 2008 integration is very nice. If you are looking for an alternative to the stock VS setup project and need more control over the MSI, I'd check it out.

Thursday, May 29, 2008 4:34:27 PM (GMT Standard Time, UTC+00:00)  #   |  Comments [0]  | 
 Wednesday, May 21, 2008

Reachmail (the company I work for) is looking for a senior ASP.NET/C# developer. If you are a progressive developer who is a true geek, really understands OO and patterns and is looking for a change, browse to the link below to apply. We are currently located in Naperville but will be moving to downtown Chicago the 1st of July (Within walking distance of Union and Ogilvie). We really need someone who knows their stuff and doesn't require hand holding. Although we need someone who is able to work independently we don't want an independent person (IE "cowboy"); they must be a team player or they wont last long. We have a relaxed environment and a lot of growth.

The software is a permission based email marketing SAAS written primarily in classic ASP with a SQL Server 2005 back end. Parts of the system are written in VB.NET and C#. One of our goals is to get the application converted over to ASP.NET/C# and rearchitect much of the system. All of our existing .NET code has been upgraded to 3.5 and new development is obviously in 3.5 and C#.

 

.NET | C#
Wednesday, May 21, 2008 3:42:58 PM (GMT Standard Time, UTC+00:00)  #   |  Comments [0]  | 
 Friday, May 09, 2008

I found two good PDF's on the interweb of Bohr's seminal papers (Published in Phil. Mag., 1913) on atomic structure. I couldnt find part 3 unfortunately.

On the Constitution of Atoms and Molecules

Part II. – Systems containing only a Single Nucleus

Also Rutherfords papers on the gold foil experiment and large angle scattering of alpha & beta particles that led to Bohr's enunciation of the nuclear/quantized model of the atom.

The Scattering of Αlpha and Βeta Particles by Matter and the Structure of the Atom (Phil Mag 1911)

The Structure of the Atom (Phil Mag 1914)

Donald Sadoway, MIT, does a really nice job of covering the Bohr model in the following lectures (3.091 Intro to Solid State Chemistry). Requires Real Player (Or Real Alternative if you please).

Lecture 3. Rutherford model of the atom, Bohr model of hydrogen.

Lecture 4. Atomic spectra of hydrogen, matter/energy interactions involving atomic hydrogen.

Lecture 5. The Shell Model (Bohr- Sommerfeld Model) and multi-electron atoms. Quantum numbers: n, l, m, s.

Friday, May 09, 2008 5:11:49 PM (GMT Standard Time, UTC+00:00)  #   |  Comments [0]  | 
 Tuesday, May 06, 2008

Parsing a date with a custom format is as easy as pie with the DateTime.ParseExact method, check it:

DateTime.ParseExact("04292008", "MMddyyyy", null)

Where the first parameter is the value to parse, the second is a format string and for the culture info you can pass null for the current culture (Unless you need to specify one).

UPDATE:

If you need to exclude other characters in the string you can add the literal values qualified by single quotes in the format string. So for example lets say you wanted to extract the date and hour from an IIS log filename, ex08041013.log. You could pass the format string 'ex'yyMMddHH'.log' and the parse method will ignore the ex and .log portions of the string.

DateTime.ParseExact("ex08041013.log", "'ex'yyMMddHH'.log'", null)
C#
Tuesday, May 06, 2008 8:46:21 PM (GMT Standard Time, UTC+00:00)  #   |  Comments [0]  | 
 Friday, April 25, 2008

So I had FTP setup on a Server '03 box with an FTP site configured to use user isolation mode with active directory. Everything was working great then all of a sudden users cant login and this error appears in the System events in the event log:

image

This error, while true, doesn't really pinpoint the problem... But I found this wonderful article that suggested that the account used by the FTP site to access AD was changed. "Oh yeah!", I said, "I did change that, D'OH!". Easy enough to fix; just open a command prompt and use the adsutil.vbs to update the AD account in the IIS metabase.

c:\Inetpub\Adminscripts\adsutil.vbs set msftpsvc/{FTP_SITE_ID}/ADConnectionsUserName MyDomain\MyFTPADUsername

c:\Inetpub\Adminscripts\adsutil.vbs set msftpsvc/{FTP_SITE_ID}/ADConnectionsPassword S0m3P@$$W0rd 

Remember to include the domain name with the username.

Friday, April 25, 2008 6:37:51 PM (GMT Standard Time, UTC+00:00)  #   |  Comments [0]  | 
 Wednesday, April 16, 2008

If you happen to be using the Persits mail component and you get the 'Access is denied' exception:

Persits.MailSender.4 error '800a0011'

Access is denied.

/pages/somepage.asp, line 208

You'll probably find, from the Persits support site or elsewhere, that the queue folder needs to have increased permissions. It doesn't however tell you where this is. So here is the default install path for version 4:

C:\Program Files\Persits Software\AspEmail\Queue

As far as the permissions go I have found that granting Read and Write permissions to the accessing account on that folder is sufficient. In IIS 6 the accessing account for .NET will be the identity of the App Pool assigned to the site (if you are not doing impersonation) which is the NetworkService account by default. For Classic ASP it will be the anon account (Which by default is the IUSR_xxx) for anon access or the user/group if you are doing other types of auth.

Wednesday, April 16, 2008 3:21:07 PM (GMT Standard Time, UTC+00:00)  #   |  Comments [0]  | 
 Tuesday, April 15, 2008

I thought this line from a CNN story on the petition to keep XP around was telling:

"Others used the comments section to rail against the very idea that Microsoft has the power to enforce the phase-out from a stable, decent product to one that many consider worse, while profiting from the move."

Yeah, I totally agree. I'm the first to embrace new versions of software but aside from the new Server, .NET and Visual Studio releases I'm not at all hyped about this next generation of Windows or Office. It is pretty rotten that no matter how a new version release turns out, the masses are forced to move to it while MS makes money. It seems like instead of taking their time to produce a quality release, products are rushed to market so that there can be a profit turned (Sharepoint & Commerce Server???). So instead of getting higher quality releases less frequently we get frequent low quality releases and we're paying for it. Things like performance, documentation and general user acceptance are tossed out the window. No wonder Apples' market share has increased so rapidly in the last few years (With the help of the iPhone and iPod of course).

Monday, April 14, 2008 11:55:17 PM (GMT Standard Time, UTC+00:00)  #   |  Comments [2]  | 
 Monday, April 07, 2008

I keep seeing this term thrown around a lot lately with all these beta releases and have had a hard time pinning down an exact definition of it, at least in layman speak anyway's. I feel a little stupid as if I should just know what it means; 'ya know a GO LIVE license, DUH'! Here is the only reference I have found (For Beta IIS 7) describing it in simple terms:

IIS 7.0 Go-Live FAQ

2. What exactly is a Go Live license? How is it different from a normal license?

A Go Live license is a license to use a Beta release of a Microsoft product in a live production environment, before the actual release of the product. It is important to also note that the Go Live license transfers from Microsoft to the licensee, liability for any unanticipated consequences, financial or otherwise, directly or indirectly caused by using the Beta technology before its official release.

Obviously license details could be different for each product but 2 things stand out in this description; 1) You're allowed to use it in production in its beta form and 2) MS is not liable for any problems the beta version may cause.

I wish there was more of a definitive source within MS for explaining licenses. I just went through this with an MSDN subscription purchase. It's almost impossible to find license details spelled out in one central place and in a way that's easy to understand without being a lawyer. And there are many licenses for the same product, so it's really hard to know what your getting into and which one is right for you.

Monday, April 07, 2008 7:19:37 PM (GMT Standard Time, UTC+00:00)  #   |  Comments [0]  |