This project is read-only.

Create of Virtual Dir problem - Unable to load website ... !?

May 27, 2010 at 7:18 PM

Hello,

I got a problem with creating Virtual Dir only for ONE site:

C:\builds\Deployment\Deploy.proj(338,5): error : Message            = Unable to load website app.compstage.com\r
C:\dir\Deployment\Deploy.proj(338,5): error : VirtualDirectoryName  = sitever_6.6.1\r
C:\dir\Deployment\Deploy.proj(338,5): error : Path                  = D:\Webs\appStage\sitever_6.6.1\r
C:\dir\Deployment\Deploy.proj(338,5): error : MachineName           = iis-stage01\r
C:\dir\Deployment\Deploy.proj(338,5): error : WebSiteName           = app.compstage.com\r
C:\dir\Deployment\Deploy.proj(338,5): error : WebAppName            = <String.Empty>\r
C:\dir\Deployment\Deploy.proj(338,5): error : AppPoolId             = compstage\r
C:\dir\Deployment\Deploy.proj(338,5): error : AppCreate             = True\r
C:\dir\Deployment\Deploy.proj(338,5): error : AnonymousUserName     = <String.Empty>\r
C:\dir\Deployment\Deploy.proj(338,5): error : AnonymousUserPassword = <String.Empty>\r
C:\dir\Deployment\Deploy.proj(338,5): error : UncUserName           = <String.Empty>\r
C:\dir\Deployment\Deploy.proj(338,5): error : UncPassword           = <String.Empty>\r
C:\dir\Deployment\Deploy.proj(338,5): error : AuthFlags             = <String.Empty>\r
C:\dir\Deployment\Deploy.proj(338,5): error : AccessFlags           = <String.Empty>\r
C:\dir\Deployment\Deploy.proj(338,5): error : \r
C:\dir\Deployment\Deploy.proj(338,5): error :    at Microsoft.Sdc.Tasks.Configuration.Web.WebSite.Load(String machineName, String description)\r
C:\dir\Deployment\Deploy.proj(338,5): error :    at Microsoft.Sdc.Tasks.Web.WebSite.CreateVirtualDirectory.InternalExecute()\r
C:\dir\Deployment\Deploy.proj(338,5): error :    at Microsoft.Sdc.Tasks.TaskBase.Execute()

code:

<SVC_verIIS>sitever_6.6.1</SVC_verIIS>
<IISPath>D:\webs\appstage</IISPath>
<IISServer>iis-stage01</IISServer>
<website>app.compstage.com</website>
<AppPool>compstage</AppPool>

 <Web.WebSite.CreateVirtualDirectory

       VirtualDirectoryName="$(SVC_verIIS)"
                 Path="$(IISPath)\$(SVC_verIIS)"
                 MachineName="$(IISServer)"
                 WebSiteName="$(website)" />
                 AppPoolID="$(AppPool)"
                 AppCreate="true" />

Weird thing is that it doesnt work only for one site for the rest on this server process works perfectly ... any thoughts ?

Thanks in advance!