Copied to clipboard

Flag this post as spam?

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


  • Kristoffer Eriksen 185 posts 465 karma points
    Apr 01, 2014 @ 10:52
    Kristoffer Eriksen
    0

    Running MVC site in "umbracoReservedPaths"

    Hey

    I'm struggling with a being able to run an existing small MVC site in a umbracoReservedPath library.

    If i'm running the MVC site in a solution by its own, there is no problem at all, but when i'm running it from the library, which is excluded in web.config, I get errors running it, saying I'm missing entrys and settings in the MVC web.config.

    Any suggestions ?

    Umbraco versio 6.1.6

    Best regards Kristoffer

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 01, 2014 @ 11:02
    Jan Skovgaard
    0

    Hi Kristoffer

    What does your web.config setting look like?

    /Jan

  • Kristoffer Eriksen 185 posts 465 karma points
    Apr 01, 2014 @ 11:18
    Kristoffer Eriksen
    0

    I've followed the suggestion by this post

    http://our.umbraco.org/forum/getting-started/installing-umbraco/16868-Non-Umbraco-Virtual-Directory?p=0

    And created a virtuel directory in IIS

    But still getting this error

    Serverfejl i programmet '/'.


    Konfigurationsfejl

    Beskrivelse: Der opstod en fejl under behandlingen af en konfigurationsfil, der er nødvendig for at behandle denne anmodning. Se detaljerne om fejlen nedenfor, og foretag de nødvendige ændringer af konfigurationsfilen. 

    Meddelelse om parserfejl: Det er ikke tilladt at bruge et afsnit, der er registreret som allowDefinition='MachineToApplication', uden for programniveau. Fejlen kan være forårsaget af, at der er en virtuel mappe, der ikke er konfigureret som et program i IIS.

    Kildefejl: 

    Linje 35:       </compilation>
    Linje 36: 
    Linje 37: <authentication mode="Forms"> Linje 38:         <forms loginUrl="~/Account/LogOn" timeout="3000" />
    Linje 39:       </authentication>


    Kildefil: D:\PROJEKTER\M\MSE\Source\mse.website\timesheet\web.config    Linje: 37 

Please Sign in or register to post replies

Write your reply to:

Draft