I&#039;m trying to set page setup properties for an Excel spread sheet in a VB COM component created by an asp page, but I get an error message saying &#039;Unable to set the [property name] property of the PageSetup class.&#039; The property name could be any property of the PageSetup class for example &#039;LeftMargin&#039;. It works fine if I run the component in debug mode, but not if I compile it. I have done changes to the default properties in the dcomcnfg and also for individual components like Excel, but without success. If anyone knows what to do, please help. I still believe that it has to do with web server permissions.<BR><BR>Thanks,<BR><BR>Tobias.