Web deployment task fails

For the last couple of days I cannot deploy web jobs from Visual Studio to azure.
The site is running and I am able to access it and run existing jobs through the portal.
I haven't changes any setting.
I get this error:
Error ERROR_DESTINATION_NOT_REACHABLE: Web deployment task failed. (Could not connect to the remote computer ("***.scm.azurewebsites.net"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web
Management Service") is started
Please assist,
Ilona

Hi David,
***.scm.azurewebsites.net does not contain any content, it is used only for webjobs, but I can access it from the browser.
I cannot see the available sites from visual studio, and cannot connect to azure server from visual studio
It seems this problem is a general problem of connection to azure via visual studio..

Similar Messages

  • "ERROR_DESTINATION_INVALID: Web deployment task failed" when trying to deploy site

    I'm working on our CI process for auto-publishing WebJobs along with a host WebSite for said jobs. This isn't working, but that's not the point at the moment.
    The site in question is called devpandajobhost.azurewebsites.net and I have created (and deleted
    and recreated) and published to this site successfully many times, from both msbuild and VS.
    However, earlier today, my publish commands have started failing with 
    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets(4253, 5): error ERROR_DESTINATION_INVALID: Web deployment task failed. ( Could not connect to the remote computer ("devpandajobhost.scm.azurewebsites.net"). Make sure that the remote computer name is correct and that you are able to connect to that computer.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_INVALID.) 
    or (from vs)
    Error 4
    Web deployment task failed. ( Could not connect to the remote computer ("devpandajobhost.scm.azurewebsites.net"). Make sure that the remote computer name is correct and that you are able to connect to that computer.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_INVALID.)
    0 0
    JobHost
    It looks like the scm site for my site doesn't exist. I have tried deleting and recreating my site several times, through various different mechanisms (VS new project, portal, powershell). The site can be created but when I publish to it I get the error
    above.
    What is going on?
    PS my theory is that I deleted and recreated it and the Azure internal DNS server has got in a pickle

    it is not only internal Azure DNS but your DNS provider as well. Since DNS records are propagated and cached (and negative cached as well) you need to wait for some time for negative cache to expire.
    I see no good reason to go through the cycle of creating new site every time unless this is your scenario. If so you can delete the old one and create always sites with new name.
    Galin Iliev [MCSD.NET, MCPD], http://www.galcho.com

  • Web deployment task failed. (Unknown ProviderOption:DefiningProjectFullPath. Known ProviderOptions are:skipInvalid.)

    Hi to all,
    I'm failling to publish my website to azure due this error:
    Web deployment task failed. (Unknown ProviderOption:DefiningProjectFullPath. Known ProviderOptions are:skipInvalid.)
    Guys I really need your help

    Hi 
    how are you trying to publish to your site, using Visual Studio? msdeploy.exe? what is your command line? 
    could you turn on application logging on the server and try again?  Just go to your site settings under
    https://manage.windowsazure.com, and then go to the "configure" tab.  Under the configure tab, there will be a section called "application diagnostics".  Turn on application logging
    for File System, and change the logging level to "Error".  Make sure to save your changes.
    Reproduce the failure and then open the site log files under d:\home\logFiles\SiteExtensions\MSDeploy. you can use Kudu Console by browsing
    to “https://{sitename}.scm.azurewebsites.net/DebugConsole.  Then navigate to d:\home\logFiles\SiteExtensions\MSDeploy and open the latest text file under there and send the error back.
    Thanks, Hosam

  • Deployment task failed when trying to import custome management pack into scom

    Hi Guys,
    I've been running through the MVA course on creating management packs (MPAuthor.Stores) and am at the point where I import it into SCOM.  I've managed to get all errors resolved but 1, which I can't work out.
    The error I receive is
    Date: 05/03/2015 16:36:59
    Severity: Error
    Message: Deployment task failed
    System.ArgumentException: The requested management pack is not valid. See inner exception for details.
    Parameter name: managementPack ---> Microsoft.EnterpriseManagement.Common.ManagementPackException: Verification failed with 1 errors:
    Error 1:
    Found error in 1|MPAuthor.Stores/1331b9dac17fdd35|1.0.0.0|DisplayString,ElementReference=06e6447e-352b-4dc5-72ec-3535205bb1fe,LanguageID=ENU|| with message:
    Element Info with Identity DisplayString,ElementReference=06e6447e-352b-4dc5-72ec-3535205bb1fe,LanguageID=ENU refers to an invalid element MPAuthors.Stores.
     ---> Microsoft.EnterpriseManagement.Common.ManagementPackException: Element Info with Identity DisplayString,ElementReference=06e6447e-352b-4dc5-72ec-3535205bb1fe,LanguageID=ENU refers to an invalid element MPAuthors.Stores.
       --- End of inner exception stack trace ---
       at Microsoft.EnterpriseManagement.Configuration.Verification.VerificationUtils.ThrowErrors(IList`1 results)
       at Microsoft.EnterpriseManagement.ManagementPackManagement.ImportManagementPack(ManagementPack managementPack, IDictionary`2 resources)
       --- End of inner exception stack trace ---
       at Microsoft.EnterpriseManagement.ManagementPackManagement.ImportManagementPack(ManagementPack managementPack, IDictionary`2 resources)
       at Microsoft.EnterpriseManagement.ManagementPackManagement.ImportManagementPack(ManagementPack managementPack)
       at Microsoft.SystemCenter.Authoring.ProjectSystem.Deployment.Services.NativeImporter.ImportManagementPack(ManagementGroup mg, String fileName)
       at Microsoft.SystemCenter.Authoring.ProjectSystem.Deployment.Services.NativeImporter.ImportManagementPack(String fileName)
       at Microsoft.SystemCenter.Authoring.ProjectSystem.Deployment.Tasks.ImportTask.DoWork()
       at Microsoft.SystemCenter.Authoring.ProjectSystem.Deployment.DeploymentTaskBase.Run()
    : Verification failed with 1 errors:
    Error 1:
    Found error in 1|MPAuthor.Stores/1331b9dac17fdd35|1.0.0.0|DisplayString,ElementReference=06e6447e-352b-4dc5-72ec-3535205bb1fe,LanguageID=ENU|| with message:
    Element Info with Identity DisplayString,ElementReference=06e6447e-352b-4dc5-72ec-3535205bb1fe,LanguageID=ENU refers to an invalid element MPAuthors.Stores.
    : Element Info with Identity DisplayString,ElementReference=06e6447e-352b-4dc5-72ec-3535205bb1fe,LanguageID=ENU refers to an invalid element MPAuthors.Stores."
    I've looked all instances of "MPAuthors.Stores" in the different files, but I can't see the issue.  However, I think it must be somewhere in the below
    <
    LanguagePacks>
        <
    LanguagePackID="ENU"IsDefault="true">
          <
    DisplayStrings>
              <
    DisplayStringElementID="MPAuthor.Stores.Application">
              <
    Name>MPAuthor
    Stores Application</Name>
              <
    Description></Description>
            </
    DisplayString>
              <
    DisplayStringElementID="MPAuthor.Stores.Central">
              <
    Name>MPAuthor
    Stores Central</Name>
              <
    Description></Description>
            </
    DisplayString>
              <
    DisplayStringElementID="MPAuthor.Stores.Stores">
              <
    Name>MPAuthor
    Stores Stores</Name>
              <
    Description></Description>
            </
    DisplayString>
            <
    DisplayStringElementID="MPAuthor.Stores.Store">
              <
    Name>MPAuthor
    Stores Store</Name>
              <
    Description></Description>
            </
    DisplayString> 
              <
    DisplayStringElementID="MPAuthor.Stores.Store"SubElementID="StoreCode">
              <
    Name>Store
    Code</Name>
              <
    Description></Description>
            </
    DisplayString>       
          </
    DisplayStrings>
        </
    LanguagePack>
      </
    LanguagePacks>
    Chris Gibson

    Chris,
    It seems that you have display strings without a module. Do you find all the elements?
    You can compare with Brians MP here:
    https://gallery.technet.microsoft.com/MPAuthor-Stores-Sample-ef3752b2
    /patrick
    Please remember to click “Mark as Answer” on the post that helped you.
    Patrick Seidl (System Center and Private Cloud)
    Website: http://www.syliance.com
    Blog: http://www.systemcenterrocks.com

  • Sun-appserv-deploy task fails

    Hi There,
    I am trying to deploy an EJB module into the Sun Application Server 8 using ANT scripts.
    The given below is the script, I use.
    <taskdef name="sun-appserv-deploy"
    classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.DeployTask">
    <classpath>
    <pathelement location="${appSerLib}/sun-appserv-ant.jar"/>
    </classpath>
    </taskdef>
    <target name="doDeploy">
    <sun-appserv-deploy file="${destDir}/${ejbJarName}" name="SampleEjb"
    force="true" type="ejb" verify="false" user="admin" password="#infy123"
    host="localhost" port="4848" generatermistubs="true" asinstalldir="${appServer}"/>
    </target>
    The build fails throwing the below error
    A Sun Java System Application Server 8 admin CLI class could not be found (com.sun.enterprise.cli.framework.InputsAndOutputs). Use the asinstalldir attribute, set the asinstall.dir property, or add the appropriate JARs to the classpath.
    See the script I have mentioned the asinstalldir attribute in the sun-appserv-deploy.
    Need help to resolve it.
    ..Thiruppathy.R

    Use the 'asant' command to run your script rather than 'ant'. This will set up the required environment variables to allow the task to execute.
    Cheers
    Spencer

  • Web Deploy error - "This method is not supported by this class"

    I have an MVC project which I am trying to deploy to one of our internally-hosted web front end servers via a TFS build process. Our server hosts the MS Deploy service, and other solutions deploy without problems to the same box. The parameters for the build
    process are as follows:
    /p:DeployOnBuild=True /p:DeployTarget=MsDeployPublish /p:MSDeployPublishMethod=WMSVC /p:MsDeployServiceUrl=https://<server>:8172/msdeploy.axd /p:DeployIISAppPath="<internal.site.com>" /p:username=<username> /p:password=<password>
    /p:IncludeIisSettingsOnPublish=false /p:AllowUntrustedCertificate=True /p:OutputPath=bin\ /p:SkipExtraFilesOnServer=True /p:VisualStudioVersion=11.0
    The error message I receive at the point the build reaches the deployment activity is:
    Web deployment task failed. (Could not complete the request to remote agent URL 'https://<server>:8172/msdeploy.axd?site=<internal.site.com>'.)
    Could not complete the request to remote agent URL 'https://<server>:8172/msdeploy.axd?site=<internal.site.com>'.
    The request was aborted: The request was canceled.
    This method is not supported by this class.
    We've found
    this StackOverflow post which describes the same error we're experiencing, however the suggested solution is something we already do in our server configuration, so this doesn't resolve the issue for us.
    Has anyone seen this error before, or is able to make any suggestions why it is happening?

    Hi Matt,
    You have to have a look in the build log then copy the command that is under Run MSBuild node and executed it on the build agent.
    You should find something like below:
    C:\Program Files (x86)\MSBuild\12.0\bin\amd64\MSBuild.exe /nologo /noconsolelogger "C:\Builds\....sln" /nr:False /fl /flp:"logfile=C:\Builds\...log;encoding=Unicode;verbosity=normal" /p:SkipInvalidConfigurations=true /p:CreatePackageOnPublish=true /p:DeployOnBuild=true /p:SkipExtraFilesOnServer=True /m /p:OutDir="C:\Builds\...\bin\\" /p:Configuration="DEV" /p:Platform="Any CPU" /p:VCBuildOverride="C:\Builds\....sln.Any CPU.DEV.vsprops" /dl:WorkflowCentralLogger,"C:\Program Files\Microsoft Team Foundation Server 12.0\Tools\Microsoft.TeamFoundation.Build.Server.Logger.dll";"Verbosity=Normal;BuildUri=vstfs:///Build/Build/31630;IgnoreDuplicateProjects=False;InformationNodeId=14;TargetsNotLogged=GetNativeManifest,GetCopyToOutputDirectoryItems,GetTargetPath;LogProjectNodes=True;LogWarnings=True;TFSUrl=http://...-tfs:8080/tfs/...;"*WorkflowForwardingLogger,"C:\Program Files\Microsoft Team Foundation Server 12.0\Tools\Microsoft.TeamFoundation.Build.Server.Logger.dll";"Verbosity=Normal;" /p:BuildId="aa2d3857-27e9-4854-b44f-4ca625ccd786,vstfs:///Build/Build/31630" /p:BuildLabel="..._2015.02.27.2" /p:BuildTimestamp="Fri, 27 Feb 2015 11:16:41 GMT" /p:BuildDefinition="..."
    Daniel

  • How do I get Ant task deploy to fail on error within an ojdeploy-build ?

    I am calling ojdeploy on an xml file with several <deploy> tasks within the <ojdeploy-build> task.
    FYI this dramatically increases performance when doing several deployments.
    I want to find a way to have the script stop with an error as soon as one of the <deploy> tasks fails with an error (such as a compile error). It does not currently do this.
    Is there a way to get the script to stop as soon as a <deploy> task fails within the outer <ojdeploy-build> task?
    (eg. could I somehow check the return code for each deploy explicitly and do an exit if the deploy fails)
    My Ant book claims that Ant tasks normally fail on error, and when one task fails the Ant script stops at that point. Some Ant tasks (such as exec) have an explicit failonerror attribute which can change this behavior to ignore a non-zero return code from the task and continue executing the Ant script.
    It seems to me that the <ojdeploy-build> task has a serious bug where it (probably using java try-catch) ignores the error from <deploy> and keeps going to the next <deploy>, violating a basic design principle of a proper Ant task.
    Where can I find the java code for <ojdeploy-build> to confirm my suspicion and then report the bug officially?
    Meanwhile, I am very interested in finding some workaround for this bug that preserves having several <deploy> in one script. If I put just one <deploy> in each <ojdeploy-build>, the huge performance improvement is lost.

    I played with it some more and it seems that failonerror and resultproperty actually work in JDev 11.1.1.4.0 They are inherited from the [url http://ant.apache.org/manual/Tasks/exec.html]Ant Exec task and work, you just have to set failonerror="true", e.g.
    <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
                      executable="${oracle.jdeveloper.ojdeploy.executable}"
                      failonerror="true"
                      resultproperty="ojdeploy.exit.code"
                      ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
                      ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
    ...Note that resultproperty is useful only if failonerror="false", use one or the other.

  • How to resolve the "Builld error mxmlc task failed" in flex4 web application

    hi all,
    I am using flex 4 mxml web application wiht as3. when i deploying this project i am facing the folling error.
    Environment:
    Flex 3.5 SDK
    Flash builder 4 .                 APPLICATION NAME: BillProcess
    Ant compile tasks
    ============
        <property name="FLEX_HOME" value="C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\3.5.0/>
        <property name="JAVA_HOME" value="C:\Program Files\Java\jdk1.6.0_06"/>
        <property name="JRE_HOME" value="C:\Program Files\Java\jre1.6.0_06"/>
    ERROR:
    init:
    [ippprojectproperties] qbServer = workplace.intuit.com
       [delete] Deleting directory C:\Documents and Settings\TIVL\Adobe Flash Builder 4\BillProcess\Dev
        [mkdir] Created dir: C:\Documents and Settings\TIVL\Adobe Flash Builder 4\BillProcess\Dev
    checkForCustomBuild:
    custombuild:
    dependentProjects:
    compile:
    [ippflexbuild] Parsing: C:\Documents and Settings\TIVL\Adobe Flash Builder 4\BillProcess/.actionScriptProperties
    BUILD FAILED
    C:\Documents and Settings\TIVL\Adobe Flash Builder 4\BillProcess\ippbuild.xml:101: mxmlc task failed
    Total time: 16 seconds.
    HOW TO RESOLVE THIS.
    please share your useful suggession,
    cheers,
    B.venkatesan.

    hello,
    Check out this link http://www.kirupa.com/forum/showthread.php?309387-ant-mxmlc-task-don-t-compile-with-FlexSD K-4 this may solve your problem.
                         Gajanan Hiroji | [email protected] | www.isacglobal.com

  • Deployment is failing on creating web service proxy in portlet.

    Hi All,
    I am using a JDeveloper 11.1.1.2.0.
    1) I have created a application (portlet producer application), which contains few jsf pages (not jspx).
    2) I have added a web service proxy ( using New>Business tier>Web services>web service proxy, provided a wsdl) for accesing a service which is exposed on different server.
    The above combination works perfectly fine.
    But When I convert the JSF pages to portlet (right click on JSF page and select create portlet entry option), and tried to run it throws following error.
    Note: soainvgpkg is the package which is generated when I create a web service proxy.
    It is generated under application resources.
    ++[11:04:31 AM] Redeploying Application...++
    ++<Aug 5, 2011 11:04:34 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1312522471750' for task '0'. Error is: 'java.lang.NoClassDefFoundError: WEB-INF/classes/soainvgpkg/Execute_ptt (wrong name: soainvgpkg/Execute_ptt)'++
    ++java.lang.NoClassDefFoundError: WEB-INF/classes/soainvgpkg/Execute_ptt (wrong name: soainvgpkg/Execute_ptt)++
    ++     at java.lang.ClassLoader.defineClass1(Native Method)++
    ++     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)++
    ++     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)++
    ++     Truncated. see log file for complete stacktrace++
    ++Caused By: java.lang.NoClassDefFoundError: WEB-INF/classes/soainvgpkg/Execute_ptt (wrong name: soainvgpkg/Execute_ptt)++
    ++     at java.lang.ClassLoader.defineClass1(Native Method)++
    ++     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)++
    ++     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)++
    ++     Truncated. see log file for complete stacktrace++
    ++>++
    ++<Aug 5, 2011 11:04:34 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'PortletProducer_Application'.>++
    ++<Aug 5, 2011 11:04:34 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004++
    ++java.lang.NoClassDefFoundError: WEB-INF/classes/soainvgpkg/Execute_ptt (wrong name: soainvgpkg/Execute_ptt)++
    ++     at java.lang.ClassLoader.defineClass1(Native Method)++
    ++     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)++
    ++     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)++
    ++     Truncated. see log file for complete stacktrace++
    ++Caused By: java.lang.NoClassDefFoundError: WEB-INF/classes/soainvgpkg/Execute_ptt (wrong name: soainvgpkg/Execute_ptt)++
    ++     at java.lang.ClassLoader.defineClass1(Native Method)++
    ++     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)++
    ++     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)++
    ++     Truncated. see log file for complete stacktrace++
    ++>++
    ++[11:04:34 AM] #### Deployment incomplete. ####++
    ++[11:04:34 AM] Remote deployment failed++
    It works fine if I again remove the portlet entry and delete the portlet.xml and oracle-portlet.xml which were generated during portlet conversion time which is nothing but a normal JSf application.
    Please help,
    Thanks and regards,
    Kemp.
    Edited by: 877449 on Aug 4, 2011 11:33 PM

    Hi All,
    Facing same issue...
    Any solution
    Thanks & Regards,
    renuka

  • Rerun Web Service Task whenever it fails

    Hi All,
    In one of my package i m using web service task and it is failing everytime. Below is the error:
    An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: The Web Service threw an error during method execution. The error is: The operation has timed out.
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection, VariableDispenser taskVariableDispenser)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
    I referred the below blog and tried to implement it in my project.
    http://microsoft-ssis.blogspot.com/2014/06/retry-task-on-failure.html
    In For Loop Container, when i am using the below expression , the container is running but web service task is not running.
    EvalExpression - @RetryCounter<=@RetryMax && @QuitForLoop==false
    but when i change the expression to
    @RetryCounter<5, the web service task is also running.
    where i am going wrong. are we not supposed to use expression like @RetryCounter<=@RetryMax && @QuitForLoop==false in For Loop Container.

    Read the comments below, you need to reset the QuitForLoop, perhaps this is the issue.
    I would approach the issue with Checkpoints, and restart on failure as in
    https://www.simple-talk.com/sql/sql-tools/implementing-checkpoints-in-an-ssis-package/ or
    https://sqlserverrider.wordpress.com/2011/09/24/rerun-ssis-package-with-checkpoints/
    Arthur
    MyBlog
    Twitter

  • Lightswitch build failing - The "LSSvcGeneratorsTask" task failed unexpectedly

    hi,
    I am trying to set up build pipeline for Ligtswitch 2013 project.
    I have installed  RIA service, silverlight SDK and  Installing Prerequisites with Web Platform Installer as mentioned at
    http://blogs.msdn.com/b/bethmassi/archive/2011/03/23/deployment-guide-how-to-configure-a-web-server-to-host-lightswitch-applications.aspx in the build machine
    While building application using Teamcity in build agent, getting following error
    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v4.0\Microsoft.LightSwitch.Build.Tasks.targets(217, 5): error MSB4018: The "LSResourceGeneratorsTask" task failed unexpectedly.
    System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
       at System.Reflection.RuntimeModule.GetTypes()
       at System.Reflection.Assembly.GetTypes()
       at Microsoft.LightSwitch.Manifest.Internal.FullManifestGenerator.AddPackageParts(Assembly assembly)
       at Microsoft.LightSwitch.Manifest.Internal.FullManifestGenerator.Generate(IEnumerable`1 assemblies)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.GenerateFullManifests(IEnumerable`1 assemblies)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.ProcessLoadedManifests(Boolean secure)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.ProcessManifests()
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.CreateCatalog(String catalogName, IEnumerable`1 packageNames, Boolean returnNullIfEmpty)
       at Microsoft.LightSwitch.BuildTasks.Common.CommandLineBuildContainerFactory.Create(String cacheDirectorySubPath, VsExportProvisionScope scope, IEnumerable`1 inputStreams, IEnumerable`1 serviceStreams, String projectPath, IEnumerable`1 externalDataSources, TaskLoggingHelper log)
       at Microsoft.LightSwitch.BuildTasks.Common.BuildTaskBase.EnsureCommandLineBuildContainer()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSGeneratorsTask.RunGeneratorsInNonIdeScenario()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSGeneratorsTask.ExecuteCore()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSResourceGeneratorsTask.ExecuteCore()
       at Microsoft.LightSwitch.BuildTasks.Common.BuildTask.Execute()
       at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
       at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v4.0\Microsoft.LightSwitch.Build.Tasks.targets(168, 5): error MSB4018: The "LSSvcGeneratorsTask" task failed unexpectedly.
    System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
       at System.Reflection.RuntimeModule.GetTypes()
       at System.Reflection.Assembly.GetTypes()
       at Microsoft.LightSwitch.Manifest.Internal.FullManifestGenerator.AddPackageParts(Assembly assembly)
       at Microsoft.LightSwitch.Manifest.Internal.FullManifestGenerator.Generate(IEnumerable`1 assemblies)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.GenerateFullManifests(IEnumerable`1 assemblies)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.ProcessLoadedManifests(Boolean secure)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.ProcessManifests()
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.CreateCatalog(String catalogName, IEnumerable`1 packageNames, Boolean returnNullIfEmpty)
       at Microsoft.LightSwitch.BuildTasks.Common.CommandLineBuildContainerFactory.Create(String cacheDirectorySubPath, VsExportProvisionScope scope, IEnumerable`1 inputStreams, IEnumerable`1 serviceStreams, String projectPath, IEnumerable`1 externalDataSources, TaskLoggingHelper log)
       at Microsoft.LightSwitch.BuildTasks.Common.BuildTaskBase.EnsureCommandLineBuildContainer()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSGeneratorsTask.RunGeneratorsInNonIdeScenario()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSGeneratorsTask.ExecuteCore()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSSvcGeneratorsTask.ExecuteCore()
       at Microsoft.LightSwitch.BuildTasks.Common.BuildTask.Execute()
       at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
       at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() 
    can someone let me know what else do I need to install in build machine?

    HI,
    Welcome to Lightswitch forum.
    As you mentioned above, if you want to build and deploy your lightswitch application to IIS, first you need configure a Web Server to host LightSwitch applications. At the same time there are more hints for us to configure web server, and then configure
    the deployment procedure, for more resource:
    LightSwitch IIS Deployment Enhancements in Visual Studio 2012
    Please let me know if you have any concern.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SSL web service task SOAP header Action was not understood..

    Hi all,
    While I create  web service task to consum a wcf service using SSL and execute the task it give the following error: But the same WCF service is deployed in nonSSL (basicHTTPBinding) , it works well and the results are received. Could any one suggest
    what is missing?
    Error: 0xC002F304 at Web Service Task, Web Service Task: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: The Web Service threw an error during method execution. The error is: SOAP
    header Action was not understood..
     at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection, VariableDispenser taskVariableDispenser)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
    Task failed: Web Service Task
    SSIS package "Package.dtsx" finished: Success.
    Regards
    Venkatesh G

    Can you provide more information? Are you using BasicHttpBinding with transport security? If you access the service from a console client instead of SQL Server Web Service Task, does it work?
    Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.
    If you have feedback about forum business, please contact
    [email protected] But please do not ask technical questions in the email.

  • Deployment error: Failed to start server localhost:25848

    Hello there!
    I used to work with NetBeans but now i am testing JSCreator.
    - I'm using Linux Ubuntu 7.04
    - JSCreator 2 Update 1
    - I 've tryied to run as root and as my user.
    - I am trying VehicleIncidentReport example with JSCreator
    - With netstat -a | grep 25848 , i can see that are no process running in that port!
    Thanks for any help!
    When i run I got this error:
    run-deploy:
    Starting server localhost:25848
    Failed to start server localhost:25848
    Deployment error: Failed to start server localhost:25848. See the server log file for details.
    Exception=Deployment error: Failed to start server localhost:25848. See the server log file for details.
    Deployment error: Failed to start server localhost:25848. See the server log file for details. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:198)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:75)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)

    Hy there!!
    I would like to thank you!! I just used pe-start and it worked!!!
    But now I would like to fix my Netbeans.
    I started to use JSCreator because my Netbeans is not working properly.
    - I created a new Project called Teste CIB as a Visual Web Application.
    - When i Execute the Project, in Log says that everything was all right, but in my Web Navigator (Mozzila) its says:
    HTTP Status 404 - /TesteCIB/
    type Status report
    message /TesteCIB/
    description The requested resource (/TesteCIB/) is not available.
    In the LOG i got this error:
    You are trying to access file: jndi.properties from the default package.
    Please see http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#default_package
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key MNEMONIC_�
    at java.util.ResourceBundle.getObject(ResourceBundle.java:386)
    at java.util.ResourceBundle.getString(ResourceBundle.java:346)
    at org.openide.awt.Mnemonics.getLatinKeycode(Mnemonics.java:165)
    at org.openide.awt.Mnemonics.setLocalizedText2(Mnemonics.java:78)
    at org.openide.awt.Mnemonics.setLocalizedText(Mnemonics.java:99)
    at org.netbeans.modules.java.project.ChangePackageViewTypeAction.createChoice(ChangePackageViewTypeAction.java:54)
    at org.netbeans.modules.java.project.ChangePackageViewTypeAction.getPopupPresenter(ChangePackageViewTypeAction.java:48)
    at org.openide.util.Utilities.actionsToPopup(Utilities.java:2622)
    at org.openide.util.Utilities.actionsToPopup(Utilities.java:2696)
    at org.openide.explorer.view.TreeView.createPopup(TreeView.java:875)
    at org.openide.explorer.view.TreeView$PopupAdapter.showPopup(TreeView.java:1323)
    at org.openide.awt.MouseUtils$PopupMouseAdapter.maybePopup(MouseUtils.java:158)
    at org.openide.awt.MouseUtils$PopupMouseAdapter.mousePressed(MouseUtils.java:149)
    at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:263)
    at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
    at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
    at java.awt.Component.processMouseEvent(Component.java:6035)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
    at java.awt.Component.processEvent(Component.java:5803)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4410)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3983)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.java:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2429)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    You are trying to access file: jndi.properties from the default package.
    Please see http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#default_package
    Thanks a lot!!

  • Deployment error: Failed to start server localhost:25848.  See the server l

    Hi,
    I am new to this Studio Creator 2 so that I decided to follow "Sun Java Studio Creator 2 - Tutorials - Using the Debugger".
    I followed the instructions word by word and have no problem running it.
    But Whenever I run it under the 'debugging' mode, I got an error ( at step 2. Examining local variables in the tutorial) as follows.
    It directs me to look at the server log file for more and I clicked on the link on the same pane (Output window in the bottom of IDE) but it doesn't mean much to me -- partly due to me being a newbie???
    Here is a bunch of error messages being generated under the debug mode[F5]. Did anyone have a similar problem before?
    ---- Messages from the output window -----------------------------------
    init:
    deps-module-jar:
    deps-ear-jar:
    deps-jar:
    library-inclusion-in-archive:
    library-inclusion-in-manifest:
    compile:
    compile-jsps:
    pluto-hack-web-xml-run:
    portlet-container-deploy:
    jsCreatorDist:
    debug:
    Stopping server localhost:25848
    E:\Program Files\Sun\Creator2_1\SunAppServer8\bin\asadmin.bat stop-domain --domaindir E:\Program Files\Sun\Creator2_1\SunAppServer8\domains\ creator
    Starting debug server localhost:25848
    E:\Program Files\Sun\Creator2_1\SunAppServer8\bin\asadmin.bat start-domain debug=true domaindir E:\Program Files\Sun\Creator2_1\SunAppServer8\domains\ creator
    Start debug on localhost:25848 timeout or interrupted
    Failed to start server localhost:25848
    Deployment error: Failed to start server localhost:25848. See the server log file for details.
    Exception=Deployment error: Failed to start server localhost:25848. See the server log file for details.
    Deployment error: Failed to start server localhost:25848. See the server log file for details.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:198)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:75)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
    Caused by: Failed to start server localhost:25848
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:152)
    ... 10 more
    C:\Documents and Settings\Administrator\My Documents\Creator\Projects\DebugExample\nbproject\build-impl.xml:525: Deployment error: Failed to start server localhost:25848. See the server log file for details.
    BUILD FAILED (total time: 4 minutes 31 seconds)

    Check the following :
    Try starting the server without deploying. The server can be started from the server window. Also, check the server log file , will give more info on why it failed.
    To view the Sun Java System Application Server log file:
    In the Servers window, right-click the Deployment Server node and choose View Server Log.
    In any text editor, open the log file in the following location: install-directory\SunAppServer8\domains\creator\logs\server.log
    Please go through the FAQ titled "Why doesn't Application Server start up" which is at :http://developers.sun.com/prodtech/javatools/jscreator/reference/faqs/technical/depsrvs/
    Also, the port used by default is localhost:24848 when I tried the tutorial ..

  • Copy file from client PC to server in a web deployed application

    I have developed one application using Oracle forms 6i, which is deployed on the web server.
    I run this application from a client PC in Internet Explorer using internet.
    I want to copy one file from the client PC to the web server.
    I have done following things
    - Created a shared folder on the server and given full rights to every one on this folder
    - I use 'net use' command in my program to connect to this shared folder
    - I use copy command to copy file from local client pc to server. This copy command I am executing using host command of my programming (PL/SQL: eg. host('copy abc.txt \\server\share\') )
    But this does not work.
    When I do the same thing in command window, it works.
    (ie. Start-Run cmd to open command window and then type the above copy command)
    Can you please tell me, how to copy a file from client PC to the sever in Web deployed application?
    Thanks

    I downloaded D2KWUtil from the link suggested by you. It has very nice example demo form. But the documentation provided says following
    Using D2KWUTIL in Web Deployed Applications
    The use of this library is not supported with Web deployed applications.
    In a web deployment scenario not all functions within D2KWUTIL will work. Any function that interacts with the User Interface (such as those in the WIN_API_DIALOG package) will fail.
    Any interaction with the O/S by other functions will all be executed on the NT server and will act within, or return information pertinant to, the environment on that machine. For instance GET_COMPUTER_NAME will return the Server’s name, not the name of the computer that the Client browser is running on. Likewise COPY_FILE will copy files in the Forms Server not on the Client.
    Functions such as those in WIN_API_BITOP will continue to work without change.
    so this will not work in web deployed application.
    Any other suggestion?
    Thanks

Maybe you are looking for