Rune, localhost works great for running local development/testing sites.
Teacommerce doesn't seem to like it. I've another umbraco test site that runs fine on http://localhost, I also noticed that someone from last year asked the same question.
Any there any guides or tutorials you can point me to on trying to set up another domain in the host file?
It has nothing to do with Tea Commerce. But I suspect that some settings in Umbraco is causing problems. Don't know which though as I never use localhost.
The host file is located something like here:
C:\Windows\System32\drivers\etc
You can add a domain like "test.com" and after you have done that your local IIS will be able to use that domain. Pretty simple stuff.
I get this screenshot if I navigate to teacommercesite.com/frontpage/default.aspx, or if I copy default.aspx and rename it default2.aspx and navigate to teacommercesite.com/default2.aspx
Do you have ASP.NET installed correctly? It looks like the IIS doesnt have the right permissions to the files. Network service or the IIS app pool process should have modify rights to your folder containing the umbraco website.
Teacommerce set up error
Hello
I went to
Page not found
No template exists to render the document at url 'http://localhost/default.aspx'.
This page can be replaced with a custom 404. Check the documentation for "custom 404".
This page is intentionally left ugly ;-)
Any ideas? thanks.
Hi Michael,
All you need to do now is to log into Umbraco and set the domain on the "en" node in the content.
Then it should work like a charm.
Hi thanks for the reply Rune.
Just for others browsing this it took me a wee bit to figure out that I need to navigate to the folder /umbraco to login.
I've logged in...
I went to the the 'en' node, and then clicked on properties tab and set name to http://localhost/
I get the same error message. What should I have done?
thanks,
Michael.
Actually I have now right clicked on the 'en' node and 'manage hostnames'.
I set the hostname to 'http://localhost/
The navigated to http://localhost/ in the browser.
This redirected to http://localhost/frontpage/ and a 'the page cannot be found' error appeared.
Any ideas?
thanks.
Try to "republish entire site" on the "Content" node.
/Rune
I right clicked on 'en', then selected the tick boxes 'Publish en and all its subpages' and 'include unpubished child pages'
After I fixed a permission issue on the folder, I got the message - en and subpages have been published
When I typed http://localhost into the browser
I get the same error, a redirect to http://localhost/frontpage/ and a 'the page cannot be found' error appeared.
Not the "en" node. But the root node named "Content".
/Rune
Apologies, I just noticed this...
I did as you say, and same error.
Try opening the "Frontpage" node in the Umbraco admin and take a screenshot of the "Properties" tab. I'm interested in seeing the "Link to document".
/Rune
Looks alright. Maybe Umbraco has problems with the general localhost domain? Have you had any previous websites running on that address?
Could you try setting up another domain for you local website?
You can just add one in your hosts file. Add it to the website on the IIS and then again in Umbraco.
/Rune
Rune, localhost works great for running local development/testing sites.
Teacommerce doesn't seem to like it. I've another umbraco test site that runs fine on http://localhost, I also noticed that someone from last year asked the same question.
Any there any guides or tutorials you can point me to on trying to set up another domain in the host file?
It has nothing to do with Tea Commerce. But I suspect that some settings in Umbraco is causing problems. Don't know which though as I never use localhost.
The host file is located something like here:
C:\Windows\System32\drivers\etc
You can add a domain like "test.com" and after you have done that your local IIS will be able to use that domain. Pretty simple stuff.
/Rune
I have set the hosts file up like this
#127.0.0.1 localhost
127.0.0.1 teacommercesite.com
127.0.0.1 www.teacommercesite.com
I've edited the hostname(s) in admin, and republished.
In the browser when I type in www.teacommercesite.com, I get redirected to http://www.teacommercesite.com/frontpage/
and still the error
The page cannot be found
any ideas Rune?
Hi Michael
Could you try and delete all entries from the DB tables "infocaster301" and delete the hidden files .htaccess file
Did that help?
Kind regards
Anders
Anders that's didn't work.
I'm looking through the files and can't seem to see
'default.aspx.cs' or some other files that should possibly be in the bin folder such as
Umbraco.Web.UmbracoApplication
umbraco.UmbracoDefault
Have i got the full download?
The redirect to teacommercesite.com/frontpage/ seems to be the problem.
I get this screenshot if I navigate to teacommercesite.com/frontpage/default.aspx, or if I copy default.aspx and rename it default2.aspx and navigate to teacommercesite.com/default2.aspx
Do you have ASP.NET installed correctly? It looks like the IIS doesnt have the right permissions to the files. Network service or the IIS app pool process should have modify rights to your folder containing the umbraco website.
Kind regards
Anders
Anders, I'll test it out on another machine... see if I get the same issue.
Guys having the same issue with different machine running Windows XP and IIS 5.1.
Umbraco Simple Starter Kits runs fine on the machines..
Can you run a normal Umbraco site with css, script etc on your test machine?
Kind regards
Anders
is working on a reply...