tag:support.appharbor.com,2010-11-23:/discussions/problems/8-failure-to-pushAppHarbor: Discussion 2011-05-26T08:58:06Ztag:support.appharbor.com,2010-11-23:Comment/44445952010-12-26T18:51:32Z2010-12-31T06:42:47ZFailure to push<div><p>Hey guys,</p>
<p>First of all, thanks for the invitation.</p>
<p>I deployed a simple HelloAppHarbor earlier today and connected
to a SQL Server<br>
database flawlessly. I was trying to push another app today but
received the<br>
following error message:</p>
<p>$ git push appharbor master error: Cannot access URL <a href=
"https://xtrumanx@appharbor.com/114.git/">https://xtrumanx@appharbor.com/114.git/</a>,
return code 1<br>
error: failed to push some refs to '<a href=
"https://xtrumanx@appharbor.com/114.git">https://xtrumanx@appharbor.com/114.git</a>'</p>
<p>I tried creating a fresh mvc2 application (with no unit testing
project) and<br>
pushing that in a seperate application but still no dice. I didn't
even get the<br>
password prompt. Any idea what's going on? Is it my end?</p>
<p>Mustafa</p></div>xtrumanxtag:support.appharbor.com,2010-11-23:Comment/44445952010-12-26T19:11:45Z2010-12-26T19:11:45ZFailure to push<div><p>Hi Mustafa.</p>
<p>I've just tried pushing, and the we're definitely up on our end.
Can you reach appharbor.com using your browser? Also, are you sure
you are using the latest version of Git and that you have upped the
postBuffer size? (run this: : git config http.postBuffer
52428800).</p>
<p>Let me know if the problem persists.</p>
<p>Michael</p></div>friismtag:support.appharbor.com,2010-11-23:Comment/44445952010-12-27T02:50:58Z2010-12-31T06:42:48ZFailure to push<div><p>Michael,</p>
<p>My bad. Now I'm all red in the face. Earlier today I was using a
newer version<br>
of git at another pc. The failure happened on my laptop that was
using git<br>
1.6.2.</p>
<p>An update to the latest release (1.7.3) solved the issue.</p>
<p>Thanks.</p>
<p>________________________________ From: Michael Friis<br>
<a>tender+d06019dd6f5c749b59337808312202ebc6ac0673d@tenderapp.com</a><br>
To: "<a href=
"mailto:gr8_one_86@yahoo.com">gr8_one_86@yahoo.com</a>" <a href=
"mailto:gr8_one_86@yahoo.com">gr8_one_86@yahoo.com</a><br>
Sent: Sun, December 26, 2010 10:11:53 PM<br>
Subject: Re: Failure to push [Support]</p></div>xtrumanxtag:support.appharbor.com,2010-11-23:Comment/44445952010-12-27T08:15:09Z2010-12-27T08:15:09ZFailure to push<div><p>Cool, glad to hear you got it working.</p>
<p>Michael</p></div>friismtag:support.appharbor.com,2010-11-23:Comment/44445952010-12-27T08:46:06Z2010-12-31T06:42:48ZFailure to push<div><p>I tried deploying a HelloWorld app for MVC3 RC2 and it failed.
However, in my<br>
search for a MVC-based blog engine, I checked out AppHarbor's blog
and<br>
discovered you guys use NBlog which is built with MVC3.</p>
<p>So, does appharbor support MVC3 or is your blog hosted outside
of appharbor's<br>
service. Also, do you guys have any recommendation for blog engines
that can be<br>
setup of appharbor easily. I tried Subtext and Orchard but the
builds failed<br>
with both of them when deployed. (Orchard complained about not
finding a Castle<br>
reference which was also pushed).</p></div>xtrumanxtag:support.appharbor.com,2010-11-23:Comment/44445952010-12-27T08:54:03Z2010-12-27T08:54:03ZFailure to push<div><p>ASP.NET MVC 3.0 is not installed on the servers, so it's
important that you enable the "Copy Local" property for each
reference and make sure the references are pointing to the local
assembly (you can verify this by checking if a
<code><HintPath/></code> element exists for that reference in
the project file).</p>
<p>If you use NBlog or similar, you should be aware that you can't
trust the local file storage, so each time you deploy, all blog
posts will go away. The solution to this is to edit the blog
offline and push the changes, but we are working with the NBlog
author to use another data store, which will solve this issue.</p></div>tttag:support.appharbor.com,2010-11-23:Comment/44445952010-12-27T16:49:49Z2010-12-31T06:42:49ZFailure to push<div><p>I've noticed these emails are available via the discussion
threads and for the<br>
sake of folks who can't wait to use MVC3 on AppHarbor and see this
discussion,<br>
here's a list of assemblies you'll need to have in your project to
get MVC3RC2<br>
up and running on AppHarbor:</p>
<pre>
<code>* Microsoft.Web.Infrastructure (Found in the GAC or C:\Program Files</code>
</pre>
<p>(x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies)</p>
<pre>
<code>* System.Web.Helpers (Found in the GAC or C:\Program Files (x86)\Microsoft</code>
</pre>
<p>ASP.NET\ASP.NET Web Pages\v1.0\Assemblies)<br></p>
<pre>
<code>* System.Web.Mvc (Found in the GAC C:\Program Files (x86)\Microsoft</code>
</pre>
<p>ASP.NET\ASP.NET MVC 3\Assemblies)<br></p>
<pre>
<code>* System.Web.Razor (Found in the GAC or C:\Program Files (x86)\Microsoft</code>
</pre>
<p>ASP.NET\ASP.NET Web Pages\v1.0\Assemblies)<br></p>
<pre>
<code>* System.Web.WebPages.Deployment (Found in the GAC or C:\Program Files</code>
</pre>
<p>(x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies)</p>
<pre>
<code>* System.Web.WebPages (Found in C:\Program Files (x86)\Microsoft</code>
</pre>
<p>ASP.NET\ASP.NET Web Pages\v1.0\Assemblies)<br></p>
<pre>
<code>* System.Web.WebPages.Razor (Found in the GAC or C:\Program Files</code>
</pre>
<p>(x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies)I
figured out which assemblies were needed by pushing a new mvc3
project with CustomErrors turned<br>
off and upon encountering an error about missing assemblies, I
added a copy of<br>
the assembly in the error message into the project, referenced it
and set it's<br>
CopyLocal property to True like Troels Thomsen said. Those were the
assemblies I<br>
needed to get it working. I verified it was working by trying to
use the new<br>
ViewBag object introduced in MVC3 RC2 and it worked.</p>
<p>Also, apologies to the mods for reopening this thread once
again. This<br>
discussion about mvc3 was supposed to be separate from the one
about my failed<br>
git push but I didn't realize my replying via email I would reopen
the original<br>
discussion. I'll be more careful in the future.</p></div>xtrumanxtag:support.appharbor.com,2010-11-23:Comment/44445952010-12-27T18:28:28Z2010-12-27T18:28:28ZFailure to push<div><p>Thanks for compiling that list. I've made this discussion public
for others to see.</p></div>friism