Imagine being paid to improve your favorite CMS!

It could be you! Umbraco HQ are hiring and are looking for both talents and senior developers. Wonderful workplace, friendly colleagues and competitive salary.

Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Luís Costa 19 posts 131 karma points
    5 days ago
    Luís Costa
    0

    Deploy umbraco website on IIS local

    Hello!

    A few days ago i installed umbraco on local machine and develop my template etc etc, now i want to deploy this template that i was working to iis in localhost.

    I try to copy the files to the folder of the site and give to iis_iusrs all permissions, but when i clicked on "browse site", the browser just enter in a infinte loop and dont showing anything.

    Any suggests?

  • Alex Skrypnyk 3804 posts 13301 karma points mvp
    5 days ago
    Alex Skrypnyk
    0

    Hi Luis

    Do you have some redirects on your site?

    Thanks,

    Alex

  • Luís Costa 19 posts 131 karma points
    5 days ago
    Luís Costa
    0

    Hi Alex,

    On my template files?
    Or in iis website configuration?

    I dont know if you are talking about headers on iis? :S

    Thanks!

  • Alex Skrypnyk 3804 posts 13301 karma points mvp
    5 days ago
    Alex Skrypnyk
    0

    Redirects can be in web.config or template code.

  • Luís Costa 19 posts 131 karma points
    5 days ago
    Luís Costa
    0

    In webconfig redirects that i found is "bindingRedirect" from dlls, certainly not what you are looking for.

    In template code i found Response.Redirect in some files code, but i think is not this either.

  • Alex Skrypnyk 3804 posts 13301 karma points mvp
    5 days ago
    Alex Skrypnyk
    0

    In template code i found Response.Redirect in some files code, but i think is not this either.

    I think it can be a problem, can you show what redirects do you have in templates?

  • Luís Costa 19 posts 131 karma points
    5 days ago
    Luís Costa
    0

    enter image description here

    In USNHomeRedirect and USNParendRedirect the code with word redirect is Response.Redirect(Model.Parent.Url);

    In redirecturls.html there is a bunch of code, do you want to see some?

  • Alex Skrypnyk 3804 posts 13301 karma points mvp
    5 days ago
    Alex Skrypnyk
    0

    Maybe some redirects are set in Umbraco backend

  • Luís Costa 19 posts 131 karma points
    5 days ago
    Luís Costa
    0

    In backend i just have this relatedlinks

    enter image description here

    But i think is not because of this :s

  • Alex Skrypnyk 3804 posts 13301 karma points mvp
    5 days ago
    Alex Skrypnyk
    0

    Yes, related links can't do it.

    Interesting what are "USNHomeRedirect and USNParendRedirect" templates?

    Are you using some of them?

  • Luís Costa 19 posts 131 karma points
    5 days ago
    Luís Costa
    0

    Yes, im using some theme that my company bought.

    To me its more difficult to work on this, just because is someone else code :s

    enter image description here

    This is USNHomeRedirect

    ParentRedirect its the same code excepts "IEnumerable etc etc"

  • Alex Skrypnyk 3804 posts 13301 karma points mvp
    5 days ago
    Alex Skrypnyk
    0

    Interesting, and what is "Usnhomepage"?

    Can you comment this code?

  • Luís Costa 19 posts 131 karma points
    5 days ago
    Luís Costa
    0

    Hmm this is very strange, Visual studio is showing me an error like "Usnhomepage does not exists in the current content" but this file is use by a couple of important document types on backoffice.

    How this is possible? :s

  • Luís Costa 19 posts 131 karma points
    5 days ago
    Luís Costa
    100

    Hi Alex! Thanks for your time!

    I found the solution.
    I forgot to put the files in the wwwroot folder xD.

    I saw a tutorial that the guy just tell to iis where is the website files and that folder was in a directory different than wwwroot.

    Whatever, now is working.

  • Alex Skrypnyk 3804 posts 13301 karma points mvp
    5 days ago
    Alex Skrypnyk
    0

    Hi Luis

    Nice that you found out what is the problem

    Have a great day

    Alex

  • Luís Costa 19 posts 131 karma points
    5 days ago
    Luís Costa
    1

    Hi Alex,

    Thanks!

    You to

Please Sign in or register to post replies

Write your reply to:

Draft