Deploy WSP without IISRESET
Hi Team,
I have a WSP with multiple Visual Web Parts with the custom code of .NET. I want to deploy the same on Production Server with Zero DownTime, without RESET the IIS. Please help me out??
Regards Sourabh Soni
hi!
do you have the source code? in the source code when you open the package you can set the property "Reset Web Server" to false.
As the custom code gets deployed to the GAC, the webserver won´t recognize the new dll without a iis-reset. So at the end nethertheless you need to make an iis-reset.
I dont know what your webparts are doing, but when its possible to create a sandboxed solution you can add them without iis-reset to a site collection.
Plan a short downtime for deployment. Max. 5 minutes of being offline every company will survive.
br,
ronald
Similar Messages
-
How to deploy par without NWDS wizard
Hello All,
How can we deploy PAR files without NWDS wizard.
We have developed a functionality packaged in PAR, how we can deploy it on Client Side Portal, do there some way to deploy it without NWDS.
Thanks and regards
SantoshHi Santosh,
Yes you can deploy the par file without using the NWDS.
Please refer to the post:
<b>Re: Problems deploying par file via Netweaver Developer Studio>
Here I have mentioned the way to deploy the par file without using NWDS.
I hope this will definately help you.
Regards
Pravesh
PS: Please consider rewarding points if helpful. -
Deploy orchestration without inbound port
Hi
I'm using BTDF and I have one biztalk application that have an orchestration that does not have an inbound port. This is
because the orchestration is callable from other orchestrations.
the orhestration however have two way ports that calls and receives info to/from a database.
I have created a bindings, and exported into the masterbinding file.
But when I deploy I get the message: "Could not enlist orchestration "
and the rest of the bindings is not set, I have to manually right click the application,, select configure and manually choose
the ports and host.
So I understand that BTDF cant out-of-the-box deploy orchestrations without inbound ports, but is there a configurational
workaround?
I cannot add an inbound port to that project because then the orchestration won't be callableYeah, thats the one ;)
And this is my file.
I created it by deploying the application. Creating the ports I needed, configured everything as it should be. Started the application. Exported the file into PortBindingsMaster.xml
then i replaced some variables with keys that get values from the EnviromentSettings file.
This prosess have worked for all of my applications exept the two without inbound ports
<?xml version="1.0" encoding="utf-8"?>
<BindingInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Assembly="Microsoft.BizTalk.Deployment, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Version="3.5.1.0" BindingStatus="FullyBound" BoundEndpoints="2" TotalEndpoints="2">
<Timestamp>2014-01-15T14:42:20.8195006+01:00</Timestamp>
<ModuleRefCollection>
<ModuleRef Name="[Application:MeldingsLogger]" Version="" Culture="" PublicKeyToken="" FullName="[Application:MeldingsLogger], Version=, Culture=, PublicKeyToken=">
<Services />
<TrackedSchemas>
<Schema FullName="MeldingsLogger.StorageMessage" RootName="StorageMessage" AssemblyQualifiedName="MeldingsLogger.StorageMessage,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.StorageMessage1" RootName="Ferdig" AssemblyQualifiedName="MeldingsLogger.StorageMessage1,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.StorageMessage1" RootName="FraService" AssemblyQualifiedName="MeldingsLogger.StorageMessage1,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.StorageMessage1" RootName="Guid" AssemblyQualifiedName="MeldingsLogger.StorageMessage1,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.StorageMessage1" RootName="InsertOrUpdate" AssemblyQualifiedName="MeldingsLogger.StorageMessage1,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.StorageMessage1" RootName="Melding" AssemblyQualifiedName="MeldingsLogger.StorageMessage1,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.StorageMessage1" RootName="Tidspunkt" AssemblyQualifiedName="MeldingsLogger.StorageMessage1,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="anyType" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="anyURI" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="base64Binary" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="boolean" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="byte" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="char" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="dateTime" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="decimal" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="double" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="duration" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="float" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="guid" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="int" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="long" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="QName" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="short" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="string" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="unsignedByte" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="unsignedInt" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="unsignedLong" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Serialization" RootName="unsignedShort" AssemblyQualifiedName="MeldingsLogger.Sql_Serialization,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_SimpleTypeArray" RootName="ArrayOflong" AssemblyQualifiedName="MeldingsLogger.Sql_SimpleTypeArray,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Table_Log" RootName="ArrayOfBatchData" AssemblyQualifiedName="MeldingsLogger.Sql_Table_Log,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Table_Log" RootName="ArrayOfBatchMetadata" AssemblyQualifiedName="MeldingsLogger.Sql_Table_Log,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Table_Log" RootName="BatchData" AssemblyQualifiedName="MeldingsLogger.Sql_Table_Log,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_Table_Log" RootName="BatchMetadata" AssemblyQualifiedName="MeldingsLogger.Sql_Table_Log,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_TableOperation_Log_BatchData" RootName="Insert" AssemblyQualifiedName="MeldingsLogger.Sql_TableOperation_Log_BatchData,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_TableOperation_Log_BatchData" RootName="InsertResponse" AssemblyQualifiedName="MeldingsLogger.Sql_TableOperation_Log_BatchData,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_TableOperation_Log_BatchMetadata" RootName="Insert" AssemblyQualifiedName="MeldingsLogger.Sql_TableOperation_Log_BatchMetadata,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLogger.Sql_TableOperation_Log_BatchMetadata" RootName="InsertResponse" AssemblyQualifiedName="MeldingsLogger.Sql_TableOperation_Log_BatchMetadata,MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
<Schema FullName="MeldingsLoggerOrchestrations.Schema1" RootName="Root" AssemblyQualifiedName="MeldingsLoggerOrchestrations.Schema1,MeldingsLoggerOrchestrations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8" AlwaysTrackAllProperties="false" Description="">
<TrackedPropertyNames />
</Schema>
</TrackedSchemas>
</ModuleRef>
<ModuleRef Name="MeldingsLogger" Version="1.0.0.0" Culture="neutral" PublicKeyToken="9da0d8c7f4d724b8" FullName="MeldingsLogger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8">
<Services />
<TrackedSchemas />
</ModuleRef>
<ModuleRef Name="MeldingsLoggermapper" Version="1.0.0.0" Culture="neutral" PublicKeyToken="9da0d8c7f4d724b8" FullName="MeldingsLoggermapper, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8">
<Services />
<TrackedSchemas />
</ModuleRef>
<ModuleRef Name="MeldingsLoggerOrchestrations" Version="1.0.0.0" Culture="neutral" PublicKeyToken="9da0d8c7f4d724b8" FullName="MeldingsLoggerOrchestrations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9da0d8c7f4d724b8">
<Services>
<Service Name="MeldingsLoggerOrchestrations.MessageLoggerOrhestration" State="Started" TrackingOption="ServiceStartEnd MessageSendReceive OrchestrationEvents" Description="">
<Ports>
<Port Name="BatchInsertPort" Modifier="1" BindingOption="1">
<SendPortRef Name="WcfSendPort_SqlAdapterBinding_Multiple_Custom" />
<DistributionListRef xsi:nil="true" />
<ReceivePortRef xsi:nil="true" />
</Port>
<Port Name="BatchMetadataInsertPort" Modifier="1" BindingOption="1">
<SendPortRef Name="WcfSendPort_SqlAdapterBinding_Multiple_Custom" />
<DistributionListRef xsi:nil="true" />
<ReceivePortRef xsi:nil="true" />
</Port>
</Ports>
<Roles />
<Host Name="BizTalkServerApplication" NTGroupName="BizTalk Application Users" Type="1" Trusted="false" />
</Service>
</Services>
<TrackedSchemas />
</ModuleRef>
</ModuleRefCollection>
<SendPortCollection>
<SendPort Name="WcfSendPort_SqlAdapterBinding_Multiple_Custom" IsStatic="true" IsTwoWay="true" BindingOption="1">
<Description>SendPort for SqlAdapterBinding.</Description>
<TransmitPipeline Name="Microsoft.BizTalk.DefaultPipelines.XMLTransmit" FullyQualifiedName="Microsoft.BizTalk.DefaultPipelines.XMLTransmit, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Type="2" TrackingOption="None" Description="" />
<PrimaryTransport>
<Address>${SQL_Server}</Address>
<TransportType Name="WCF-Custom" Capabilities="907" ConfigurationClsid="af081f69-38ca-4d5b-87df-f0344b12557a" />
<TransportTypeData><CustomProps><BindingType vt="8">sqlBinding</BindingType><BindingConfiguration vt="8">&lt;binding name="SqlAdapterBinding" maxConnectionPoolSize="100" encrypt="false" workstationId="" useAmbientTransaction="true" batchSize="20" polledDataAvailableStatement="" pollingStatement="" pollingIntervalInSeconds="30" pollWhileDataFound="false" notificationStatement="" notifyOnListenerStart="true" enableBizTalkCompatibilityMode="true" chunkSize="4194304" inboundOperationType="Polling" useDatabaseNameInXsdNamespace="false" allowIdentityInsert="false" acceptCredentialsInUri="false" enablePerformanceCounters="false" xmlStoredProcedureRootNodeName="" xmlStoredProcedureRootNodeNamespace="" /&gt;</BindingConfiguration><InboundBodyPathExpression vt="8" /><OutboundBodyLocation vt="8">UseBodyElement</OutboundBodyLocation><AffiliateApplicationName vt="8" /><StaticAction vt="8">&lt;BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
&lt;Operation Name="BatchMetadataInsert" Action="TableOp/Insert/Log/BatchMetadata" /&gt;
&lt;Operation Name="BatchDataInsert" Action="TableOp/Insert/Log/BatchData" /&gt;
&lt;/BtsActionMapping&gt;</StaticAction><ProxyAddress vt="8" /><UserName vt="8">${SQL_UserName}</UserName><InboundBodyLocation vt="8">UseBodyElement</InboundBodyLocation><ProxyUserName vt="8" /><OutboundXmlTemplate vt="8">&lt;bts-msg-body xmlns="http://www.microsoft.com/schemas/bts2007" encoding="xml"/&gt;</OutboundXmlTemplate><PropagateFaultMessage vt="11">-1</PropagateFaultMessage><InboundNodeEncoding vt="8">Xml</InboundNodeEncoding><IsolationLevel vt="8">Serializable</IsolationLevel><Password vt="8">${SQL_Password}</Password><Identity vt="8" /><UseSSO vt="11">0</UseSSO><EnableTransaction vt="11">-1</EnableTransaction></CustomProps></TransportTypeData>
<RetryCount>3</RetryCount>
<RetryInterval>5</RetryInterval>
<ServiceWindowEnabled>false</ServiceWindowEnabled>
<FromTime>2000-01-01T00:00:00</FromTime>
<ToTime>2000-01-01T23:59:59</ToTime>
<Primary>true</Primary>
<OrderedDelivery>false</OrderedDelivery>
<DeliveryNotification>1</DeliveryNotification>
<SendHandler Name="BizTalkServerApplication" HostTrusted="false">
<TransportType Name="WCF-Custom" Capabilities="907" ConfigurationClsid="af081f69-38ca-4d5b-87df-f0344b12557a" />
</SendHandler>
</PrimaryTransport>
<SecondaryTransport>
<Address />
<RetryCount>3</RetryCount>
<RetryInterval>5</RetryInterval>
<ServiceWindowEnabled>false</ServiceWindowEnabled>
<FromTime>2000-01-01T00:00:00</FromTime>
<ToTime>2000-01-01T23:59:59</ToTime>
<Primary>false</Primary>
<OrderedDelivery>false</OrderedDelivery>
<DeliveryNotification>1</DeliveryNotification>
<SendHandler xsi:nil="true" />
</SecondaryTransport>
<ReceivePipeline Name="Microsoft.BizTalk.DefaultPipelines.XMLReceive" FullyQualifiedName="Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Type="1" TrackingOption="None" Description="" />
<ReceivePipelineData xsi:nil="true" />
<Tracking>0</Tracking>
<Filter />
<Transforms />
<InboundTransforms />
<OrderedDelivery>false</OrderedDelivery>
<Priority>5</Priority>
<StopSendingOnFailure>false</StopSendingOnFailure>
<RouteFailedMessage>false</RouteFailedMessage>
<ApplicationName>MeldingsLogger</ApplicationName>
</SendPort>
</SendPortCollection>
<DistributionListCollection />
<ReceivePortCollection />
<PartyCollection xsi:nil="true" />
</BindingInfo> -
Hot to run "Deploy WSP" file through sharepoint Powershell from C# win Application
HI All,
I have create one web part (wsp) and also i have created one window application for deploy wsp file through powershell commands but i am stuck in executing the commands from powershell from c# win app .please let me know any have idea about
this ?
Software developerHi,
The following code snippet for your reference:
public string RunPowershell(string powershellText, SPWeb web, string param1, string param2)
// Powershell ~= RunspaceFactory - i.e. Create a powershell context
var runspace = RunspaceFactory.CreateRunspace();
var resultString = new StringBuilder();
try
// load the SharePoint snapin - Note: you cannot do this in the script itself (i.e. add-pssnapin etc does not work)
PSSnapInException snapInError;
runspace.RunspaceConfiguration.AddPSSnapIn("Microsoft.SharePoint.PowerShell", out snapInError);
runspace.Open();
// set a web variable.
runspace.SessionStateProxy.SetVariable("webContext", web);
// and some user defined parameters
runspace.SessionStateProxy.SetVariable("param1", param1);
runspace.SessionStateProxy.SetVariable("param2", param2);
var pipeline = runspace.CreatePipeline();
pipeline.Commands.AddScript(powershellText);
//add a "return" variable
pipeline.Commands.Add("Out-String");
var results = pipeline.Invoke();
//convert the script result into a single string
foreach (PSObject obj in results)
resultString.AppendLine(obj.ToString());
finally
// close the runspace
runspace.Close();
// consider logging the result. Or something.
return resultString.ToString();
More information:
Running Powershell from within SharePoint
http://geekswithblogs.net/Norgean/archive/2012/09/19/running-powershell-from-within-sharepoint.aspx
Best Regards
Dennis Guo
TechNet Community Support -
Hot deploying servlets without the admin tool
Hey, all! I was wondering if there is a way to hot-deploy
servlets without using the weblogic admin console.
With ejbs, this is done through weblogic.deploy
standalone. Thanks for your help!
Alex Kagan
WMarks,
We've done something similar for one or two low-profile apps.
You can use a tool such as wget ( Wget for Windows ) to download the installer to a known location on the user's workstation, and then run that installer as either a dynamic administrator or the system account in order to perform the installation.
As others have mentioned, there will always be applications you'll need to find workarounds for if the vendor didn't code their application to be launched as a non-administrative user.
Along with the least privilege solutions (mostly AD-based), you could investigate options such as VMware ThinApp or ZENworks Application Virtualization for apps that you absolutely have to have run as a non-admin, but remember there is always overhead introduced into the management and deployment process by re-packaging.
pitcherj -
When I tried to deploy the wsp's using managment shell (power shell scripts) everything looks good.
When I go and take a look the "manage farm solutions" thru sharepoint central admin, I see the deployment failed in two servers.
Error is
Could not load file or assembly 'c:\windows\Temp\solution-cxxxxxxxxxxxxxx\xxx.xxx.dll" or one of its dependencies. Access is denied.
Can you please let me know what could be the reason.
Note : I have two app servers and two web servers setup. The deployment is sucessful in 2 apps servers . but 2 web servers are giving error.
Thanks
PichaimaniHi,
According to your post, my understanding is that you wanted to failed to deploy the wsp's using managment shell.
You need to make sure that the dll is registered in the GAC.
Go to %Windows%\assembly. If the dll isn't there , you need to install it to the GAC on the server. Simply drag it into that folder in Windows Explorer, and it should install itself.
Here is a similar thread for your reference:
http://stackoverflow.com/questions/1265505/sharepoint-could-not-load-file-or-assembly-the-system-cannot-find-the-file-sp
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Getting error while deploying (.WSP) file
HI ,
I developed timer through VS 2010.When i try to
deploy that WSP file in production server through Stsadm/Powershell commands ,I am getting below
error.
The solution cannot be deployed. Directory "NewsofTheweekMemoTimerJob_Feature1"
associated with feature '675521dc-7b7c-4825-a49c-611d0dce007f' in the solution
is used by feature 'bdc09bc2-f629-41dc-8749-e9fe8f02c613' installed in the farm.
All features must have unique directories to avoid overwriting files.
I saw in Central administration,under system settings i did not find any solution.
Thanks in advance.
help me.
Thanks:It seems that you already have installed a feature with the same name in the farm. Look in the 14-hive (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14) under TEMPLATE\FEATURES. There you have a folder with the mentioned name. As
long as this folder exists, you can't deploy a feature with the name of the folder.
A simple solution for your problem would be to give the feature another name. So you avoid the naming collision. -
Setting up a service and deploying it without JDeveoper
Hi,
All the documentation (guides, books, blog entries, ...) I can
find about SOA Suite use JDeveloper as a black box to setup a
service project and deploy the service.
I'd like to setup, write, compile and deploy a simple hello-
world service without using JDeveloper (only using a plain text
editor, a shell and Java), in order to understand more precisely
the mechanisms involved and to be able to write our automated
build and deployment scripts.
Where can I find such information?
Regards,
Florent Georges
http://fgeorges.org/I don't think anybody tried same with SOA 11g. SOA 11g is based on SCA which emphasizes on having one IDE for developing all SOA components and that's why you see JDeveloper referenced everywhere for development.
Regards,
Anuj -
Hi,
Can anyone pls point me any link/ src code for deplyoing wsp using power shell. I know I can deploy it through Add-spsolution and install-spsolution, the issue is that, it will give "status - stuck in deploying scheduled..."
and i need to restart the sharepoint services - services.msc --> SP administration and timer services - and then i need to run the exceadmsvcjobs command to deploy / update the wsp successfully in solution store.
i mean, whats the power shell equivalent of these tasks. or anyone has already scripted these.
if i elaborate little bit, would like to know how to automatically Retract, Remove, Add and Deploy SharePoint 2010 WSP Solution Files with PowerShellok, i have found the same :
here its : hope this will help someone.
function wait4timer($solutionName)
$solutionName ="TestingWSP.wsp"
$solution = Get-SPSolution | where-object {$_.Name -eq $solutionName}
if ($solution -ne $null)
Write-Host "Waiting to finish soultion timer job" -ForegroundColor Green
while ($solution.JobExists -eq $true )
Write-Host "Please wait...Either a Retraction/Deployment is happening" -ForegroundColor DarkYellow
sleep 5
Write-Host "Finished the solution timer job" -ForegroundColor Green
try
# Get the WebApplicationURL
$MyWebApplicationUrl = "http://srvr:21778/";
# Get the Solution Name
$MywspName = "TestingWSP.wsp"
# Get the Path of the Solution
$MywspFullPath = "D:\myWorkspace\TestingWSP.wsp"
# Try to get the Installed Solutions on the Farm.
$MyInstalledSolution = Get-SPSolution | Where-Object Name -eq $MywspName
# Verify whether the Solution is installed on the Target Web Application
if($MyInstalledSolution -ne $null)
if($MyInstalledSolution.DeployedWebApplications.Count -gt 0)
wait4timer($MywspName)
# Solution is installed in atleast one WebApplication. Hence, uninstall from all the web applications.
# We need to unInstall from all the WebApplicaiton. If not, it will throw error while Removing the solution
Uninstall-SPSolution $MywspName -AllWebApplications:$true -confirm:$false
# Wait till the Timer jobs to Complete
wait4timer($MywspName)
Write-Host "Remove the Solution from the Farm" -ForegroundColor Green
# Remove the Solution from the Farm
Remove-SPSolution $MywspName -Confirm:$false
sleep 5
else
wait4timer($MywspName)
# Solution not deployed on any of the Web Application. Go ahead and Remove the Solution from the Farm
Remove-SPSolution $MywspName -Confirm:$false
sleep 3
wait4timer($MywspName)
# Add Solution to the Farm
Add-SPSolution -LiteralPath "$MywspFullPath"
# Install Solution to the WebApplication
#Install-SPSolution -Identity <SolutionName> -WebApplication <URLName> [-GACDeployment] [-CASPolicies]
install-spsolution -Identity $MywspName -WebApplication $MyWebApplicationUrl -GACDeployment #-FullTrustBinDeployment:$true -GACDeployment:$false -Force:$true
# Let the Timer Jobs get finishes
wait4timer($MywspName)
Write-Host "Successfully Deployed to the WebApplication" -ForegroundColor Green
catch
Write-Host "Exception Occuerd on DeployWSP : " $Error[0].Exception.Message -ForegroundColor Red
ref :
http://www.sharepointpals.com/post/How-to-Deploy-a-SharePoint-2013-Solution-(WSP)-in-the-Farm-using-PowerShell -
Deploy ejbs without using deployment tool in J2EE server
Hi,
IS there any way to deploy ejbs in J2EE without using the deployment tool? I am using the j2ee 1.2.1.
Thanks,
NipaWhen I was in my companies Java Boot Camp (6 week fulltime training in Java technologies) the class was split about 75/25 with 75% of the class using a deployment tool (I think it was WebGain). The other 25% did not use a deployment tool. I was one of the 25%.
What we did was write a Perl script that took care of all the necessary deployment steps. It has been awhile, and I no longer work for that company, but I'll try and dig up some of those scripts. (Can't promise I'll find them!)
BTW, the 25% group deployed more EJBs with less problems than those using the deployment tool... -
Deploy WSPs as an App- Whats App Model Deployment
hi,
I have developed my appln as wsp files which is deployed in my dev. environment. which contains farm solutions and sandbox solutions.
Now customer is saying that, instead of bundling these solutions in WSPs, they want me to depoy the solution as an APP.
can anyone help, whats does this mean?
Should i rearchitect my solution in AppModel ? if its required to redesign/code in the "appmodel way" its not possible from my end.
I am not aware of this App Model prog'ming and App Model Deployment.
If anyone has idea about this, please throw some light on this.
help is appreciated!
thnxRead my article at
http://sharepointdragons.com/2014/02/11/application-management-center/ to get the background, its a through discussion of apps
Kind regards,
Margriet Bruggeman
Lois & Clark IT Services
web site: http://www.loisandclark.eu
blog: http://www.sharepointdragons.com -
Deploy CFApplications without CF Server
Hi
I was wondering if it's possible to deploy a CF Application
on a J2EE Server without having to install CF Server.
Thanks in advance
Bernd> I was wondering if it's possible to deploy a CF
Application on a J2EE Server without having to install CF Server.
It depends what you mean by "install".
- need to run an installer like "setup.exe"?
- have a valid LICENCE for CF?
CF (and CF applications) can be packaged into an archive
file:
http://livedocs.adobe.com/coldfusion/7/htmldocs/00001761.htm
Pretty much all you need to do is to drop them into the
correct place in
your J2EE server structure. No install, per se.
One still needs a CF licence, though.
Adam -
Deploy Image without sysprep?
Ok so I have used MDT before but have never figured this part out. When I deploy an image is there anyway that as soon as it is done installing the image it will just boot to the desktop, rather than wait for the "Installing Devices" and the
OOBE mini setup you always get. With acronis we can deploy the image and we do not get all that. Is there anyway other than not sysprepping it? I know if you do not sysprep it that the SID will not change which is an issue since we join them to the domain,
unless there is a workaround to generate a new SID without sysprepping. Also I am deploying Windows 7 using MDT 2013.Yes i agree with Henrik_Dahl you must have to sysprep image if you want to deploy. sysprep will prepare you image as
hardware independent to get installed on many machines.
Akshay Pate
Yes I get that part, but is there anyway to skip or not have the initial configuration wizard? -
Deploying printers without Group Policy
A little background first, I work for a company with 10+ sites while only 2 sites actually are in a domain. Everyday I am getting work orders for adding a ip printers to every machine because they want to print to any printer within their location. I
understand the print services within windows server 2008 and how I can deploy them easily through group policy. The problem is the majority do not have the domain infrastructure to do this.
Which leads me to my question of, how and what would be the most painless way of deploying printers to all computers in particular subnets between sites? Create a batch file to add the printers and run it on the each workstation? Create a network share for
printers? or it is possible to force adding a new printer over the network without a group policy. Thank you all in advancescript will be an option...
http://www.computerperformance.co.uk/powershell/powershell_printers.htm
http://support.risualblogs.com/blog/2012/02/14/using-powershell-to-create-printers/
Best,
Howtodo -
Deploy Mappings WIthout Deployment manager.
Hi
I am trying to deploy mappings created in test environment to production environment without using OWB 10.1 client deployment manager. Kindly help if it’s possible.
Many thanks in advance.
Regards
AnuragSHi,
Then you need to go for OMBPLUS scripting route .
Create a deploy action for your mapping(s) and then use OMBDEPLOY to deploy the same .
Thanks,
Sutirtha
Maybe you are looking for
-
How to interface with NI PCI-7344
Hi, First off,i have to say im a newbie with labview so if tis is some stupid qns,my apologies.I nid to work out a program using LabView 8.0 to control a stepper motor thru NI PXI-7344 and the NI UMI-7764. The program is ready with the output as a 32
-
ClickTAG: More difficult than I'm making it?
Hello awesome forum folks. I've created plenty of banner ads in my time but am having trouble with my first AS3 clickTAG code. import flash.events.MouseEvent; clicks.addEventListener(MouseEvent.CLICK, boomShaka); function boomShaka(event:MouseEvent)
-
Giving access to the planners for the 1st 2 weeks of every month to plan
Hi Friends I m implementing a BPC 7 MS rolling forecast planning. Now the base member of the Time Dimensionis Month. my requirement is , A Planner will be get a alert to at the end of every month to start the process of Monthly planning for the next
-
When I send an outgoing text message, I receive a new text notification in the form of a badge on my text message app. Any ideas how to make this stop? Specs: iPhone 5s iOS 8.0.2
-
Can't install firefox on windows xp
i download firefox's latest version and run the program, a window appears that says "extracting" when it gets to 25% the window closes, and nothing happens == User Agent == Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET C