Don't see why object creation would be blocked simply because of of the objects method's encounters some kind of security issue.
Presumably, you are dealing with a Web server not of your own creation and you may simply be bumping up against some built in protocol blocking used to prevent server side exploits or something. The server wouldn't care about COM objects but might flag simultaneously mixing open and secured ports on a single worker thread. Again, this notion is pure speculation on my part and there may be obvious counter examples that show this to not be the case but you might consider searching for information centered around the internals of your Web server software.