Copied to clipboard

Flag this post as spam?

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


  • Michael 22 posts 71 karma points
    May 15, 2013 @ 18:53
    Michael
    0

    Teacommerce set up error

    Hello

    I went to

     
    Downloaded 3.1.1
     
     
    I ran SQL and set up the database and database user.
     
    I created a new folder 'teacommerce' in localhost.
     
    I removed all the contents from the 'website' directory and placed those files and folders into the 'teacommerce' folder.
     
    I went into IIS 5.1 on Windows XP and set the home directory to the 'teacommerce' folder.
     
    I set the application pool to .NET 4
     
    When I ran the http://localhost/
    I got the error below.
     
     

    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.

  • Rune Grønkjær 1372 posts 3103 karma points
    May 16, 2013 @ 08:01
    Rune Grønkjær
    0

    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.

  • Michael 22 posts 71 karma points
    May 16, 2013 @ 09:24
    Michael
    0

    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.

  • Michael 22 posts 71 karma points
    May 16, 2013 @ 09:36
    Michael
    0

    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.

  • Rune Grønkjær 1372 posts 3103 karma points
    May 16, 2013 @ 09:42
    Rune Grønkjær
    0

    Try to "republish entire site" on the "Content" node.

    /Rune

  • Michael 22 posts 71 karma points
    May 16, 2013 @ 10:13
    Michael
    0

    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.

  • Rune Grønkjær 1372 posts 3103 karma points
    May 16, 2013 @ 10:14
    Rune Grønkjær
    0

    Not the "en" node. But the root node named "Content".

    /Rune

  • Michael 22 posts 71 karma points
    May 16, 2013 @ 10:15
    Michael
    0

    Apologies, I just noticed this...

    I did as you say, and same error.

  • Rune Grønkjær 1372 posts 3103 karma points
    May 16, 2013 @ 10:18
    Rune Grønkjær
    0

    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

  • Michael 22 posts 71 karma points
    May 16, 2013 @ 10:30
    Michael
    0

     

  • Rune Grønkjær 1372 posts 3103 karma points
    May 16, 2013 @ 10:38
    Rune Grønkjær
    0

    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

  • Michael 22 posts 71 karma points
    May 16, 2013 @ 10:47
    Michael
    0

    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?

  • Rune Grønkjær 1372 posts 3103 karma points
    May 16, 2013 @ 11:24
    Rune Grønkjær
    0

    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

  • Michael 22 posts 71 karma points
    May 16, 2013 @ 11:32
    Michael
    0

    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?

  • Anders Burla 2560 posts 8256 karma points
    May 17, 2013 @ 09:39
    Anders Burla
    0

    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

  • Michael 22 posts 71 karma points
    May 17, 2013 @ 10:25
    Michael
    0

    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?

     

  • Michael 22 posts 71 karma points
    May 17, 2013 @ 10:41
    Michael
    0

    The redirect to teacommercesite.com/frontpage/ seems to be the problem.

  • Michael 22 posts 71 karma points
    May 17, 2013 @ 10:55
    Michael
    0

    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

     

     

  • Anders Burla 2560 posts 8256 karma points
    May 17, 2013 @ 14:03
    Anders Burla
    0

    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

  • Michael 22 posts 71 karma points
    May 17, 2013 @ 14:40
    Michael
    0

    Anders, I'll test it out on another machine... see if I get the same issue.

  • Michael 22 posts 71 karma points
    May 19, 2013 @ 12:16
    Michael
    0

    Guys having the same issue with different machine running Windows XP and IIS 5.1.

    Umbraco Simple Starter Kits runs fine on the machines..

     

     

  • Anders Burla 2560 posts 8256 karma points
    May 21, 2013 @ 11:20
    Anders Burla
    0

    Can you run a normal Umbraco site with css, script etc on your test machine?

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft