The errata for this book given at:
http://www.wrox.com/WileyCDA/WroxTit...ew_errata.html
reads:
Chapter Page Details Date Print Run
1 29
Additional configuration directions 11-Dec-03 1
The configuration directions as written cause Web Matrix to use Framework version 1.1, but you also need to configure the Web server Cassini to use Framework version 1.1 or you could have problems when you use a DLL created in WebMatrix version 1.1 but try to run a Web form against the server using Framework 1.0. Specifically, without this fix you might encounter this problem in chapter 16. To correct this, replace step 4 on page 29 with these new steps 4 to 6.
4. Save the file.
5. Next you need to create a new text file with the name WebServer.exe.config and add the following code:
If the file already exists then all you need do is insert the and tags between the and tags as you did with WebMatrix.exe.config.
6. Save the file and when you run Web Matrix, the .NET Framework version should now be 1.1.x. [u]Select the About ASP.NET Web Matrix... </u>item from the Help menu. It should confirm this.Reading this literally, and not having an existing file named
Webserver.exe.config, I obligingly created a new file named
WebServer.exe.config using notepad and entered the "code" below:
If the file already exists then all you need do is insert the and tags between the and tags as you did with WebMatrix.exe.config.
It made absolutely no sense to me and sure enough, when I got to step 6 on page 31, I also got an error saying
Unable to start ASP.NET Web Matrix Server for the directory 'C:\BegASPNET11' on port 8080.
(I am running WinXP Pro with IIS installed; Web Matrix Version 0.6 (Build 812), .NET Framework Version 1.1.4322.573)
When the code in the
Webserver.exe.config file was edited to read:
<startup>
<supportedRuntime version="v1.1.4322" />
</startup>
the same error occured. When the file
Webserver.exe.config was deleted (essentially ignoring the errata page), everything worked just like the book says it should.
I wonder what will happen when I get to chapter 16.
The errata page definitely needs to be made more clear as to what we are supposed to do. For me, ignoring the errata page has at least gotten me started.