0
Reply

writing CGI using managed code (c#) under XP SP2

victor 0

victor 0

Nov 23 2004 12:56 AM
2.7k
Just spent the last 8 hours trying to get my cgi's running again after installing sp2 on my dev machine. I have about 7 or 8 written using C# console apps. After SP2 was installed i started getting "invalid directory on URL" and a CGI error. Upon further investigation (and realizing that nobody but me must actually build cgi executables using c#) it seems this has been broken by the new DEP (data execution prevention) stuff that's part of sp2. Should be noted that this may also occur with Windows Server 2003 SP1 but I haven't tested that yet. To make a long story short, there is some mention of DEP in the notes for the .Net Framework 1.1 SP1 (Service Pack 1), so I downloaded and installed SP1. And that actually fixed it. Hope others will find this useful. V