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 26 posts 148 karma points
    Oct 11, 2017 @ 11:44
    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 6131 posts 23950 karma points MVP 7x admin c-trib
    Oct 11, 2017 @ 11:45
    Alex Skrypnyk
    0

    Hi Luis

    Do you have some redirects on your site?

    Thanks,

    Alex

  • Luís Costa 26 posts 148 karma points
    Oct 11, 2017 @ 11:50
    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 6131 posts 23950 karma points MVP 7x admin c-trib
    Oct 11, 2017 @ 11:50
    Alex Skrypnyk
    0

    Redirects can be in web.config or template code.

  • Luís Costa 26 posts 148 karma points
    Oct 11, 2017 @ 11:57
    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 6131 posts 23950 karma points MVP 7x admin c-trib
    Oct 11, 2017 @ 11:59
    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 26 posts 148 karma points
    Oct 11, 2017 @ 12:04
    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 6131 posts 23950 karma points MVP 7x admin c-trib
    Oct 11, 2017 @ 12:07
    Alex Skrypnyk
    0

    Maybe some redirects are set in Umbraco backend

  • Luís Costa 26 posts 148 karma points
    Oct 11, 2017 @ 12:22
    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 6131 posts 23950 karma points MVP 7x admin c-trib
    Oct 11, 2017 @ 15:52
    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 26 posts 148 karma points
    Oct 11, 2017 @ 17:21
    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 6131 posts 23950 karma points MVP 7x admin c-trib
    Oct 11, 2017 @ 18:10
    Alex Skrypnyk
    0

    Interesting, and what is "Usnhomepage"?

    Can you comment this code?

  • Luís Costa 26 posts 148 karma points
    Oct 11, 2017 @ 20:52
    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 26 posts 148 karma points
    Oct 11, 2017 @ 21:15
    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 6131 posts 23950 karma points MVP 7x admin c-trib
    Oct 12, 2017 @ 09:35
    Alex Skrypnyk
    0

    Hi Luis

    Nice that you found out what is the problem

    Have a great day

    Alex

  • Luís Costa 26 posts 148 karma points
    Oct 12, 2017 @ 09:36
    Luís Costa
    1

    Hi Alex,

    Thanks!

    You to

Please Sign in or register to post replies

Write your reply to:

Draft