Error bootstrap in asp.net webform

Discussion in 'General troubleshooting' started by DAO Tuong So, Sep 8, 2016.

Tags:
  1. If you have uploaded all the necessary Bootstrap files, it's probably just a path issue.
     
    Elshadriel likes this.
  2. Thanks. Maybe I have found this problem.

    I have 3 subfolders in 1 site:

    1. /chuthapdophuvinh with domain: www.chuthapdophuvinh.com (asp.net mvc 5). It's OK
    2. /sisndt with domain: www.sisndt.com.vn (asp.net mvc 5). It's OK
    3. /metechco with domain: blog.chuthapdophuvinh.com (asp.net webform 2013). It has problem when I access blog.chuthapdophuvinh.com (error css) but It's OK when I access "chuthapdophuvinh.com/metechco".

    I make web.config and place it in the root folder as:

    <rule name="Rewrite to folder3" stopProcessing="true">
    <match url="(.*)" />
    <conditions>
    <add input="{HTTP_HOST}" pattern="^blog.chuthapdophuvinh.com$" />
    </conditions>
    <action type="Rewrite" url="metechco/{R:1}" />
    </rule>

    Please help!
     
  3. Elshadriel

    Elshadriel Winhost Staff

    Do a View Source in the browser, and you'll see the problem. It's the URL Rewrite rule. It's adding a "metechco/" in the path.
     
    Michael likes this.
  4. I see, it's just error default.aspx when i try to connect blog.chuthapdophuvinh.com, but it's OK when I access blog.chuthapdophuvinh.com/hrLogin.aspx.
     

Share This Page