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.
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.
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?
Hi Luis
Do you have some redirects on your site?
Thanks,
Alex
Hi Alex,
On my template files?
Or in iis website configuration?
I dont know if you are talking about headers on iis? :S
Thanks!
Redirects can be in web.config or template code.
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.
I think it can be a problem, can you show what redirects do you have in templates?
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?
Maybe some redirects are set in Umbraco backend
In backend i just have this relatedlinks
But i think is not because of this :s
Yes, related links can't do it.
Interesting what are "USNHomeRedirect and USNParendRedirect" templates?
Are you using some of them?
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
This is USNHomeRedirect
ParentRedirect its the same code excepts "IEnumerable etc etc"
Interesting, and what is "Usnhomepage"?
Can you comment this code?
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
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.
Hi Luis
Nice that you found out what is the problem
Have a great day
Alex
Hi Alex,
Thanks!
You to
is working on a reply...