index > Visual Studio Team System - Architects > [LDD] Import IIS settings does not import WebSite that is no in d...

[LDD] Import IIS settings does not import WebSite that is no in d...


Hi all,

As the subject says, when I try to import setting from an IIS server, VSTS does not import the website that is not in the default web directory (InetPub\wwwroot).

Is it an issue ?

Thank you,
Aleks
www.Dotnet-Project.com




SaM
Aleks

Aleks

We only import the settings at the Web Site level. You can import setting from any web site on the box. However you can only get the site level settings. I think you are trying to import the settings of a virtual dir that is under the Root. It would be nice if we could select a virtual dir under the root to import the setting from. However we cannot.

The tool allows you to get global IIS settings (W3SVC) and the Web Site(W3SVC/n) along with the app pool info for IIS 6.

If you have more then one Web Site you can then create an endpoint for each site. The tool will list each web site you have on your box.

Please note you need a server product in order to create more then one Web Site. XP is not a sever product so you can only have one Web Site. However you can have many virtual dir. Also Visual Studio calls it a web site when you create an ASP.Net project. However if you select HTTP for the location it will create an IIS virtual dir and not an IIS Web Site.

Web site
A collection of content files or applications that can be viewed in an Internet browser (like Internet Explorer) when you type in a Uniform Resource Locator (URL) like http://www.microsoft.com. A Web site can contain many virtual directories. Also called a virtual server.

virtual directory
A directory name, used in a URL (or Web) address, that corresponds to a physical directory on the server. In the URL http://www.microsoft.com/widgets, widgets is the virtual directory which is mapped to a physical directory on one of the http://www.microsoft.com servers. Sometimes called a URL mapping or a vdir.

Thanks
Brian [MSFT]
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.

Brian Combs MSFT

Thank you Bryan.

Another quick question, I thought that it would be possible to specify the Operating System of the server. I didn't find this ability.

Would it be possible for the release ?




SaM
Aleks

Aleks,

It is possible to specify settings for OS in LDD, particularly for IISWebServer and Windows Client. Those settings and/or constraints  will be then validated against System Diagram or Application Diagram during Validate Deployment step or when Deployment Report is generated.

Here is a scenario:

1) Create a new Logical Datacenter Diagram by creating a Logical Datacenter project.

2) Place IISWebServer from toolbox on the design surface.

3)Click Settings and Constraints tab at the bottom of your screen, if it is not available select your IISWebServer, right click and choose Settings and Constraints. At this time you should see Settings and Constraints Editor.

4) Under Logical Server Settings on the left you should see OperatingSystemDescription item. Select that, and opn the right there are options: OS Type, Build Number, ServicePack, etc. For this example, let's set your OSType to Windows2000.

5) Now add a new Application Diagram, Go to Solution Explorer, right-click, select Add and then  New Distributed System Diagram. Select Application Diagram (AD). Place ASP.NET Web Service from toolbox on AD design surface. Similarly go to Settings and Constraints.

6) Under Logical Server Constraints you will see IIS Web Server, and under that you'll see Operating System. This constraints the Operating System configuration required to host this application. Enable it by checking the Operating System checkbox. Now it is enabled with default setting of Windows 2003 Server.

7) Create Deployment. Right-click on AD, select Define Deployment, pick LDD from the list, click OK. Deployment Diagram (DD) appears. From system View (should be next to toolbox), if not - from the menu - View,Other Windows, System View. Drag WebApplication1 to the server, thus defining hosting of this app on the web Server.

8)Validate deployment. Right-click on DD, select Validate Diagram. In the Error List you should see an error:Warning 1 The required OS types are: 'Windows2003'. Current OS type is set to 'Windows2000'. 

9)Right click on DD, Generate Deployment Report, right-click on HTML, select View in Browser. Notice the same error on top.

10)Scroll down to Logical Servers section, there should be a record like Host:IISWebServer1 (or whatever the name of your service is). Click OperatingSystemDescription link - you should see OS Type =Windows 2000, as we specified.

Does this answer your question? If not, please give me your scenario, and I will be happy to help.

Best Regards,

 




Dmitriy Nikonov, Program Manager, Microsoft
Dmitriy_Nikonov_MSFT
reply 4

You can use google to search for other answers

 

More Articles

Reverse Engineer and Sequence Diagram
Missing Team Explorer button
VS.Net 2005 RC Application Diagram problem with SoapExtensions in...
Uninstalling SDK samples
Problems with Application Designer
permisson error trying to implement an webservice
Welcome...!!!
Looking for book suggestions
Designing n-tier application in Architect Edition
Visio Enterprise Architect?
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

System Definition Model Extension Packag…
How to design and code in different block.
Messeges are not sending to Send Port
Systems Distributed Designer - ASP.NETWe…
Class Diagrammer - Disappointed
Looking for book suggestions
error adding wsdl to a webservice
SDM and WebProject
Class Designer: XML Comments
Provider Endpoint on Application Use ver…
Reverse Engineer and Sequence Diagram
Application Designer Error
Using MS Asynchronous Framework Applicat…
Visual Studio 2005
Missing Team Explorer button

Hot Articles

Distributed System template generates VB…
Sequence Diagram
Provider Endpoint on Application Use ver…
Complete material about n-tier and objec…
How to implement database size constrain…
Enterprise Templates
SdmC.exe - where is this tool located ?
MSDN Webcast: Visual Studio 2005 Team Sy…
Distributed System template
Issue installing Visio for Enterprise Ar…
Systems Designer does not update web.con…
calling policy from orchestration.
Printing Settings and Constraints from a…
App Designer vs System Designer
Same-named web service on two applications

Recommend Articles

Reverse Engineering - Views
Power Toys for Modeling Tools
Extending Microsoft.WebApplication compo…
PowerToys for the Visual Studio 2005 Cla…
Using Incubation and Bootstrapping in Ar…
Anyone using VISIO for Enterprise Archit…
SDM Model
Adaptive Object Modelling
New LogicalServer model does not render …
Cannot See the Distributed System Design…
Visio Enterprise Architect 2003 - Suppor…
VS.Net 2005 RC Application Diagram probl…
Error trying to add a new port to a cust…
Application locked - error creating conf…
Modeling .Net Remoting or DCOM