Copied to clipboard

Flag this post as spam?

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


  • Jahan 20 posts 52 karma points
    Nov 30, 2016 @ 19:58
    Jahan
    0

    The images do not show on page after publishing the web-application on IIS

    The images do not show on page after publishing the web-application on IIS.

    When I run the web-application from Visual Studio 2015, the pictures are appear correctly.the path of image is like

    /media/1713/mypicture.png
    

    But after publishing the web-application on IIS and run it, the pictures do not show. But when I add manually the domain at first of above path, the image show correctly. same as

    /domain-name/media/1713/mypicture.png.
    

    I've used Umbraco 7.5.4, ASP.NET MVC, VS2015 and Windows 10.

    How can I solve this problem? Please help me.

    link to stackoverflow

  • Alex Skrypnyk 6133 posts 23952 karma points MVP 7x admin c-trib
    Nov 30, 2016 @ 23:28
    Alex Skrypnyk
    0

    Hi Jahan,

    Did you put Umbraco in virtual directory?

  • Jahan 20 posts 52 karma points
    Dec 01, 2016 @ 01:32
    Jahan
    0

    Hi Alex, Please look at the picture.

    Situation of Virtual Directory

  • Alex Skrypnyk 6133 posts 23952 karma points MVP 7x admin c-trib
    Dec 26, 2016 @ 14:46
    Alex Skrypnyk
    0

    Hi Jahan,

    Did you fix the problem?

    Is it solved topic?

    Thanks,

    Alex

  • Alex Skrypnyk 6133 posts 23952 karma points MVP 7x admin c-trib
    Dec 01, 2016 @ 09:56
    Alex Skrypnyk
    0

    Hi Jahan

    Yes, this is virtual folder, is there any sense of using virtual folders?

    Why you put it under Default web Site?

    Thanks

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft