|
#1
|
|||
|
|||
Error creating IIS Virtual Direction on Remote PC
Hi,
I'm getting an error when creating a virtual directory in IIS on a remote PC. It works ok to create an IIS application on a server on our LAN, but if I try to create the application on a server through the internet, I get the error: Error in Action (JScript) script code at Line 21, Column 2 (The remote server machine does not exist or is unavailable) I can ping the machine and I have opened the firewall to this server to allow the following protocols...is there something I am missing? Do I need to set some permissions somewhere? RPC endpoint mapper 135/tcp, 135/udp Network basic input/output system (NetBIOS) name service 137/tcp, 137/udp NetBIOS datagram service 138/udp NetBIOS session service 139/tcp RPC dynamic assignment 1024-65535/tcp Server message block (SMB) over IP (Microsoft-DS) 445/tcp, 445/udp Lightweight Directory Access Protocol (LDAP) 389/tcp LDAP ping 389/udp LDAP over SSL 636/tcp Global catalog LDAP 3268/tcp Global catalog LDAP over SSL 3269/tcp Kerberos 88/tcp, 88/udp Domain Name Service (DNS) 53/tcp1, 53/udp Windows Internet Naming Service (WINS) resolution (if required) 1512/tcp, 1512/udp WINS replication (if required) 42/tcp, 42/udp I am using version Visual Build Professional 6.2a. Thanks, C |
#2
|
|||
|
|||
I don't know. The IIS Virtual Dir action uses WMI to administer IIS, so that would be a question for MS. Put something like this in a .vbs file to debug external to VBP:
Set svr = GetObject("IIS://servername/w3svc/1/Root") |
#3
|
|||
|
|||
Ah well now that I know it's WMI, there appears to be a few MS support articles detailing all the things you need set up in Windows Firewall that may be stopping it, I'll check it out and see if that fixes it.
|
#4
|
|||
|
|||
Ah well, I've spent a couple of days playing with the firewall and many other DCOM/WMI bits and pieces and reading multitudes of websites on the topic, but I can't get it to work...so...
Can I do this another way? Can I use an MSBuild Task to create the remote virtual directory? Or something else? Thanks. |
#5
|
|||
|
|||
I don't know if the security issues will be any different, but you could try remotely launching a .bld project or script on the remote computer to create the virtual dir local to that machine, using the VisBuildPro Project action (if VBP is installed there) or a Run Program action.
http://www.visualbuild.com/Manual/vbpremotetab.htm http://www.visualbuild.com/Manual/programremotetab.htm |
Thread Tools | |
Display Modes | Rate This Thread |
|
|