Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

404 on new project

rikware's Avatar

rikware

02 May, 2011 06:02 AM

I've just created a new project (ABWBlog) which builds and deploys fine, but I only get 404s or 403s. Is it possible to confirm which files have actually been deployed? Also, could you have a look at that project and check if there's something going wrong?

  1. Support Staff 1 Posted by friism on 02 May, 2011 07:13 AM

    friism's Avatar

    We're thinking about how to get users access to build output.

    I've checked for you, and it looks only some dll's in the bin folder are deployed. In your project, are view files set to have Build Action to Content?

  2. friism closed this discussion on 02 May, 2011 07:13 AM.

  3. rikware re-opened this discussion on 02 May, 2011 07:20 AM

  4. 2 Posted by rikware on 02 May, 2011 07:20 AM

    rikware's Avatar

    Yes, the view files are set to Content. I've done a test deploy using the VS2010 Publish Web tool and it deploys fine. Double checked that the CSS files and the favicon.ico file are set as 'content' as well.

  5. Support Staff 3 Posted by friism on 02 May, 2011 07:43 AM

    friism's Avatar

    Do you have more than one web project (maybe AppHarbor is deploying the wrong one)? If that's not it, please invite support@, and we'll take a look.

  6. 4 Posted by rikware on 02 May, 2011 07:52 AM

    rikware's Avatar

    There's just the one web project as far as I know (it's a slightly customised version of the open source FunnelWeb - twitter indicates others have successfully got it working on appharbor).

    I've just invited support.

  7. Support Staff 5 Posted by friism on 02 May, 2011 09:23 PM

    friism's Avatar

    This turns out to because the FunnelWeb.Extensions.SqlAuthentication project file references the Microsoft.WebApplication.targets causing msbuild to output what is otherwise a class library to the _PublishedWebSites folder. AppHarbor can only deploy one project per application, and we choose the SqlAuthentication one.

    You can get AppHarbor to deploy the correct project by removing the relevant line from the project file.

  8. friism closed this discussion on 02 May, 2011 09:23 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac