Old 18th October 2005, 04:05   #1
Posts: n/a
IIS : virtual_directory error code -2147463162

I went through the forum/examples to pick up useful scripts to create virtual directories for IIS (like http://nsis.sourceforge.net/wiki/Set...tual_directory).
I have seen several tests using vb scripts to validate the error code returned when a virtual directories. These scripts test genarally for a value that is diffrent from 0. I have also seen tests on error code -2147024713 (which means the the virtual dir already exists).

I came accross an error code -2147463162 but could not identify what the problem is. Do someone knows where to get information that can help me make sense of this error code ?

  Reply With Quote
Old 18th October 2005, 12:07   #2
[NSIS Dev, Mod]
kichik's Avatar
Join Date: Oct 2001
Location: Israel
Posts: 11,343
-2147463162, or 0x80005006 in hex is actually E_ADS_PROPERTY_NOT_SUPPORTED. Try searching for one of those, some useful post might come on up. Maybe even the error name, along with the exact line it's raised on, we'll do.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 18th October 2005, 17:37   #3
Posts: n/a
Thanks for the input. I did found some posts related this error code but not something that I was able to say was the definitive answer. The vb script is pretty simple :
Set Root = GetObject("IIS://LocalHost/W3SVC/1/ROOT")
Set Dir = Root.Create("IIsWebVirtualDir", "ttt")

It does work locally on my machine using Xp Pro and IIS 5.1 and gives an error code on another machine using also Xp and IIS5.1. I do not have all the settings of the computer that it is failing on so I was trying to reproduce the error locally. Unfortunaltely I did not manage until now.
If I get something I will post it but I seems to be out of idea/luck.
  Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump