Getting errors while creating Virtual Directoies on Win 2000 Server

We are having trouble creating virtual directories under webfolders. It always generates the following error:

An error occured. Error number -2147024893 : [object Error]

Here’s what we are trying to do. All of our web sites and web services reside on F: drive. The folder path to our web services is F:\Apps\Webservices{webservice}

Under the “Webservices” folder, we have a folder named “General”. This is a web folder that is used to contain webservices that are used by multilple application.

We need to create the virtual directory name “BiLoaderService” and physical location needs to be F:\Apps\Webservices\BiLoader\BiLoaderService".

We use the “X-Copy” action to copy the the files needed for this webservice to F:\Apps\Webservices\BiLoader\BiLoaderService

On the FinalBuilder “Create Virtual Directory” action, we can click “Update List” and it will show the other web folders, but not “BiLoader”. Under the “New Virtual Directory” tab, we’ve tried entering “Root/BiLoader” under Create under and try running the action, but it fails with the error above.

When we change the “Create Under” location to Root/General, it works perfectly.

In our action group, we have tried using “Restart www service” and “IISReset” after transfering the files and before executing the create Virtual directory action, but with no success.

Is there anything we can do to solve this problem?

By the way, we are using Build 4.1.0.199.


Thanks,

Chad Huckaby
Ruby Tuesday Inc | Software Development
www.RubyTuesday.com




Hi Chad,

Would you be able to attach an example project which shows this problem (or email it to support at finalbuilder.com).

thanks,
tate.

Hi Chad,

Apologies if I missed this in the above post, but if you go into IIS is there actually a virtual directory called “ROOT/BiLoader”?

If not, you’ll need to create this before you can create ROOT/BiLoader/BiLoaderService. You could do this by using two Create Virtual Directory actions, or you could just create ROOT/BiLoader (once) manually in IIS.

At any rate, we’ll look into the error message (it should definitely be more informative.)

Hth.

- Angus

Let me ask you this.

Is there anyway to use the "Create Virtual Directory" action and have the option to remove the applciation name? In our example, Root/BiLoader needs to be a webfolder and not a true, enabled virtual ditrectory.

Over the weekend, I found that out a few things about it. Below are the steps to reproduce it.

1. Open IIS Mgr, click the plus sign [+] beside the "WebServices" website to expand it.

2. Right-click on "BiLoader" and click "Properties".

3. Under the Application Settings, click "Create" on the Application Name.

4. Click "Remove" on the Application Name.

5. Run the Virtual Directory action group I previously created and it works perfectly.


Can added functionality be added to the "Create Virtual Directory " action to allow for the remove application name? We use FinalBuilder exclusively throughout Development and Quality Control. We could perform this manually, but an automated way would be even better. Also, since all of our web services are nested under a specific folders, this option would lessen the change of human error, regardless of who's pushing the build button.

Thanks,

Chad

One more note about the web folder and virtual directory issue:

We use Wise for Install - Enterprise Edition (v6.20.0.282) for our MSI packaging. When creating Virtual Directories, they provide an option for creating web folders and allow the virtual directories to be created under those.

This might help in figuring out how they do it and hopefully this can be added to FinalBuilder's virtual directory options.

Thanks,

Chad


Is there anyway to use the “Create Virtual Directory” action and have the option to remove the applciation name? In our example, Root/BiLoader needs to be a webfolder and not a true, enabled virtual ditrectory.
If you use the ‘Create Virtual Directory’ action with “Delete virtual directory if it exists” checked but with “Create a default application” unchecked, does this do what you want? That should create a parent web folder with no application and no other settings.

I just tested creating a Virtual Directory (without an application) and then adding a second Virtual Directory (with an application) underneath it.

I’m not exactly sure why creating and then deleting a Virtual Directory made any difference for you - if there was no application associated with the Virtual Directory to begin with, AFAIK it should not make any difference whether you create-then-delete one or just leave it…


We use Wise for Install - Enterprise Edition (v6.20.0.282) for our MSI packaging. When creating Virtual Directories, they provide an option for creating web folders and allow the virtual directories to be created under those.
I see what you mean - you’re talking about a kind of “Create Tree” option which will set up the parent folder hierarchy if it does not exist. I’ll add this to the to-do list, but for now you should be able to do everything with the aforementioned Create Virtual Directory options (which has the side-benefit of clearing out the parent folder when it is run.)

As far as virtual directory issue goes, I’ll try it out this morning and report back on if it works. You were absolutely correct on the “Create Tree” option.


A word of praise:
We want to thank VSoft Technologies Pty Ltd for seeing the need and creating such a feature-rich automation tool like FinalBuilder. It has shaved hours and hours off of our develoment and deployment schedules, unlike any other product on the market. The greatest thing is that is constantly being upgraded to include new action items and expanding the functionality existing one. Keep up the good work!!!

Posted By chad huckaby on 28 Apr 2006 8:18 AM
A word of praise:
We want to thank VSoft Technologies Pty Ltd for seeing the need and creating such a feature-rich automation tool like FinalBuilder. It has shaved hours and hours off of our develoment and deployment schedules, unlike any other product on the market. The greatest thing is that is constantly being upgraded to include new action items and expanding the functionality existing one. Keep up the good work!!!

Thanks Chad, always nice to get good feedback from happy customers.

I tried your solution out and that does work.

Thanks!