What version of TeamSite are you using? The latest one (7.3.1) comes with .Net included. The previous version you would need to install some sort of third party in order to render the .Net part to work. Are you trying to preview on the TeamSite environment or on the runtime environment? You would need to include the isapi filters to support the .net on your IIS installation.