Copied to clipboard

Flag this post as spam?

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


  • Nathan Scherff 2 posts 22 karma points
    Dec 09, 2010 @ 21:24
    Nathan Scherff
    0

    base gives me a 404 server error or an umbraco 404

    Hi,

     

    I'm trying to use /base on Umbraco, but it doesn't seem to work. Seems i'm doing something wrong, but I can't figure out what.

    My simple testclass is looking like this:

     

     

    namespace AjaxCall{
    
        public class Content
        {
            public static string test()
            {
                return "blalba";
            }
        }
    }

    My DLL is called AjaxCalls.dll

    And my configuration looks like this:

    <ext assembly="/AjaxCalls" type="AjaxCalls.Content" alias="inhoud">
        <permission method="test" allowAll="true" />
    </ext>

    I also tried the following:

     

    <ext assembly="/bin/AjaxCalls" type="AjaxCalls.Content" alias="inhoud">
        <permission method="test" allowAll="true" />
    </ext>

    but i run 4.5, so i read i should use the first one

    When i run the folloing URLs i get  404 error for umbraco
    http://localhost/fleurelaine/Base/inhoud/test.aspx
    http://localhost/fleurelaine/base/inhoud/test.aspx

     

    And if i tun it without the .aspx like this:
    http://localhost/fleurelaine/Base/inhoud/test
    or 
    http://localhost/fleurelaine/base/inhoud/test

    I get a general 404 of my browser.

    What is the problem? Is it because i'm running umbraco grom a virtual folder? 

    : Edit: Answer for the people who have the same problem.

    It's the virtual folder. When i run the website like localhost with no virtual folder everything works fine!

Please Sign in or register to post replies

Write your reply to:

Draft