Copied to clipboard

Flag this post as spam?

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


  • Peter Cort Larsen 421 posts 1038 karma points
    Mar 27, 2015 @ 10:15
    Peter Cort Larsen
    0

    404

    Hi,

    On a new VPS (Windows 2008R2, MSSQL 2014 Express), i get a 404 on a 7.23 umb solution, when connection to http://mydomain.dk

    I can run the solution locally on the VPS. http://mydomain.dk.

    I can also see a index.html, if thats the only thing i have in the folder, when connection to http://mydomain.dk.

    I am missing something, but what?

    Anyone who can shed some light on this?

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    Mar 27, 2015 @ 10:21
    Jeavon Leopold
    0

    Has ASP.NET been enabled in IIS?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 27, 2015 @ 10:23
    Jan Skovgaard
    0

    Hi Peter

    Have you mapped the site to point at the correct folder? Have you double checked permissions for the application pool etc. etc. ?

    /Jan

  • Peter Cort Larsen 421 posts 1038 karma points
    Mar 27, 2015 @ 10:26
    Peter Cort Larsen
    0

    I did run aspnet_regiis -i command to enable asp.net

    Permissions on the app pool?? No i havent done anything like that, where do i do that?

    It is pointing to the correct folder, since its working locally on the server.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 27, 2015 @ 10:33
    Jan Skovgaard
    0

    Hi Peter

    Ok, what user is your application pool being run by? And is it setup to use .NET4 and integrated mode?

    /Jan

  • Peter Cort Larsen 421 posts 1038 karma points
    Mar 27, 2015 @ 10:38
    Peter Cort Larsen
    0

    Check this: enter image description here

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    Mar 27, 2015 @ 10:40
    Jeavon Leopold
    0

    When you go the site in IIS feature view do you see the ASP.Net options?

  • Peter Cort Larsen 421 posts 1038 karma points
    Mar 27, 2015 @ 11:03
    Peter Cort Larsen
    0

    yes

    enter image description here

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    Mar 27, 2015 @ 11:14
    Jeavon Leopold
    0

    If you open ".Net Error Pages" does it work?

  • Peter Cort Larsen 421 posts 1038 karma points
    Mar 27, 2015 @ 11:22
    Peter Cort Larsen
    0

    Its empty

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 27, 2015 @ 11:25
    Jan Skovgaard
    0

    Hi Peter

    Can't see why it would work but perhaps try changing the application pool identity to network service instead. Depending on how things are setup this can in some cases be the culprit in my sparse server setup experience.

    /Jan

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    Mar 27, 2015 @ 11:45
    Jeavon Leopold
    0

    How about ".Net Compilation"?

  • Peter Cort Larsen 421 posts 1038 karma points
    Mar 27, 2015 @ 12:04
    Peter Cort Larsen
    0

    Network service didnt help.

    Here are the content of .net compilation.

    enter image description here

  • Stephen Roberts 47 posts 516 karma points c-trib
    Mar 27, 2015 @ 12:30
    Stephen Roberts
    0

    when you say

    I can run the solution locally on the VPS. http://mydomain.dk.

    does that mean when your RDP'd onto the server you can view your site correctly?

    Cheers Stephen

  • Peter Cort Larsen 421 posts 1038 karma points
    Mar 27, 2015 @ 12:36
    Peter Cort Larsen
    0

    Yes, precisely thu RDP

  • Stephen Roberts 47 posts 516 karma points c-trib
    Mar 27, 2015 @ 12:42
    Stephen Roberts
    0

    Hmm, strange! could you run (in a cmd window) on your local machine and your remote server

    nslookup mydomain.dk
    

    and verify that the IP address is the same in both? lets just make sure we're hitting the correct box!

    • other than that, do you have any redirect logic which may be interferring?
    • do you have any Request filtering setup?
    • do you have any domains setup in your root node (this shouldnt be an issue as the domain works on your server unless your using mydomain.local on the server)

    Cheers Stephen

  • Peter Cort Larsen 421 posts 1038 karma points
    Mar 27, 2015 @ 12:45
    Peter Cort Larsen
    0

    Hi,

    Ips are equal.

    No redirect

    No Request filtering

    Default website is stopped on the VPS

Please Sign in or register to post replies

Write your reply to:

Draft