Server object error 'ASP 0177 : 800401f3' - this error message is pretty general and is used in quite a few cases.
"It means that either the component has not been registered on the server or the ProgID passed to the Server.CreateObject method is misspelled" (http://www.aspemail.com/faq.html)
Our problem line is:
set randomNews = Server.CreateObject("MSWC.ContentRotator")
What is ContentRotator - is this a file? What does your book say? I'm assuming that this is why you're having the error, because ContentRotator cannot be found.