Nine out of ten times the problem is security related. Make sure the webserver user account (probably IUSR_MACHINENAME) has the proper privileges on the directory / server you are trying to access.
Here is a COM tutorial written for Active Server Programmers. This tutorial will increase your understanding of COM fundementals so that you can use other components to expand your Active Server page applicatons.[Read The Tutorial]