deployment

Nginx location, alias, rewrite, root

I'm serving /foo/bar/ by way of proxypass and want to continue doing so. However, I would like to serve /foo/bar/baz.swf statically from say /var/www/mystatic/baz.swf and so forth. I was hoping that I could do something like location /foo/bar/(.*) { alias /var/www/mystatic/; } location / { proxy_pass ....; ...

Capistrano not restarting

Capistrano is deploying cold, deploying updates and uploading the symlink fine. It will not however restart. I notice that permission is denied on the /script/process/reaper file. I have found a suggestion implying the file needs updated permissions. Does anyone have experience with this? Macintosh-5:barcoden fogonthedowns$ cap deploy...

.msi Installer for web setup project fails on windows 2008 server with IIS 7

Hi, I am trying to install the web setup project on a Windows 2008 server with IIS 7. However, it dies at the first step with the error "The installer was interrupted before could be installed." I tried installing with logging enabled and the log files have an error message like below. MsiGetPropertyW - Getting Property 'VSDNETMSG'...

ClickOnce: DeploymentDownloadException: The operation has timed out

Symptom: ClickOnce installation starts and stops after around 600 kB (out of 2 MB). Progress bar always stops at the same value (tried ten times). Error log says that The operation has timed out (in inner exception) and fails with "DeploymentDownloadException (Unknown subtype)". Error log details (irrelevant information trimmed): ERR...

MSBuild AfterPublish Target

I want a particular file copied in with the published output of my web project. I tried changing the Build Action to Content and changing the Copy to Output Directory to Copy always. This works fine except that it buries it down in a sub folder the same way it is in the project. I do not want it buried down in a sub folder. I want it si...

How to freeze a gem that doesn't want to freeze? (rack)

When I try to deploy my rails app to my shared hosting (dreamhost) I get this error: can't activate rack (~> 1.0.1, runtime) for [], already activated rack-1.0.0 for [] So I want to freeze the rack gem in my dev environment, and add it to the project, but even though I have this in my config/environment.rb: config.gem 'rack' Doing ...

Django redundancy and replication over two VPS accounts

I'm slowly getting into the position where one of my Django sites needs some robustness behind it. I'd currently running on a single VPS on a SQLite database with memcached.. It's about as un-scaled as things can get. If I bought another VPS account, what would I want to do? Move to MySQL/PostgreSQL with replication? What's easiest? D...

Easy way to deploy new WCF services

About 3 months ago I made the switch from asmx services to WCF services, since then I've had my share of headaches, but I've stuck with it, but even as a seasoned developer deployment remains a problem. Typically I hand the solution over for deployment to consultants who are not developers with years of debugging experience behind them...

buildout deployment strategies

So I am applying zc.buildout to an existing django project. I am wondering about deploying it now. How do I achieve the sandbox effect on a production server? ...

Deployment strategy for distributing application upgrades across large organization

Hi guys, We will be embarking on an Application developement project (.NET 3.5) for a large organization. As we started thinking about the upgrades we would be giving across the machines, we are looking at options like ClickOnce. What we need is a push model, as long as the client machine is connected to the network, the server can se...

WPF - XBap vs Standalone Windows App

I'm thinking through a potential WPF application and have gained a reasonable understanding of what XBAPs, how they are deployed, limited trust and so on. The application I am considering probably wiill require fuller trust than an XBAP allows by default and also use of WCF with WS bindings etc. Hence I'm leaning towards the stand alon...

is it right to save media file of project into svn repository?

I know that I can save all my projects files into repository so deployment of new version of software become only using svn export into properly directory. But I have a feeling that it is not right way and for media files I should use some other utilities for deployment like rsync. But it is also a problem with double-side sync = I like...

In JBoss can I configure a "shared library" location?

I am using JBoss 4.2.2.GA app server in a development environment. I have a WAR file, MyWar.war, and a JAR file ExternalJar.jar. These files are structured in the following way: Application WAR file: MyWar.war | |--- AppClass1.class | |--- AppClass2.class External jar file (provided by client): ExternalJar.jar | |--- ExternalClass.c...

Django application deployment help

I'm using Capistrano to deploy a Django application (it uses Nginx as the web server), using instructions I found at http://akashxav.com/2009/07/11/getting-django-running-on-nginx-and-fastcgi-on-prgmr/ (I had to look at a cached version earlier today) and was wondering about the last command in there, which is python manage.py runfcgi ...

Copy App_GlobalResources on deployment

Hello, I have an ASP.NET web application which was previously published using the Publish feature of VS2008. Recently I switched to "Web Deployment Projects" for VS2008. When deploying I noticed that the ~/App_GlobalResources directory is not copied to the release folder on build anymore. How can I make sure the App_GlobalResources di...

Unable to install a VSTO excel 2003 AddIn

I developped a VSTO SE Excel 2003 add in. When launching and debuging the add in from visual studio, it works well. But when I try to deploy it from my own install it never works. To sum up, here is my install process: the files are copied at the right location I register the addin: HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Ad...

You are not authorized to view this page

I am getting the following error while browsing my asp.net page deployed in IIS You are not authorized to view this page You do not have permission to view this directory or page using the credentials that you supplied. -------------------------------------------------------------------------------- Please try the following: Contact ...

ClickOnce Deployment for different configurations

I'm currently looking at ClickOnce deployment for our WPF application and was wondering, is it possible to set the ProductName and PublishUrl separately for each build configuration in the project file? At the moment I'm having to set these manually in the Publish options, but it could be easy for someone to forget to do this and end u...

Automated deployment of mixed SSIS / DLL solution

Hi All, We currently have a solution developed using SSIS / C#. The SSIS package (amongst other things) has a script task that uses logic developed in the class libraries. This functionality needs to remain separate from the SSIS package. Because we are using an SSIS package I understand that the compiled DLL's need to be deployed to ...

Hot deployment of .net assemblies

We have an application running as a Windows service on a production server. The application is partitioned into several assemblies mostly on deployment boundaries. I would like to streamline the deployment of hot-fixes to application assemblies. Currently I do the following steps to deploy a hot fix. (we have a duplicate of the productio...