Copied to clipboard

Flag this post as spam?

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


  • harpreet 17 posts 37 karma points
    Jan 17, 2011 @ 13:26
    harpreet
    0

    Urgent- Virtual directory not configured as an application in IIS

    Hi everyone,

    I just installed the lastest version of Umbraco using the Web Platform installer. I chose to install Umbraco in one of the folders named blog in my website. When I try to debug and run the website in Visual Studio, it gives me an error:

    "Error    13    It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.    E:\Users\Sarin\Documents\Visual Studio 2010\WebSites\WebAssist\blog\web.config    61"

    1) So, I just went to add the website in IIS. The webiste runs successfully on browsing the website from IIS but something's weird as it looks like text only. Here's the screenshot: http://i.imgur.com/KMf8v.jpg

    2) Now, after this website IIS, I also added it as an application. Here's the screenshot: http://i.imgur.com/YNW40.jpg

    When I go ahead and run the last successful build, it shows the error in this screenshot: http://i.imgur.com/bpqAv.jpg

    My hosts file in C:/Windows/System32/drivers/etc/host looks like this

    Please tell me what's going wrong and what to rectify?

  • Sebastiaan Janssen 5045 posts 15477 karma points MVP admin hq
    Jan 17, 2011 @ 13:45
    Sebastiaan Janssen
    0

    You might want to check out my screencast in which I explain how you would do a manual install of Umbraco.

  • harpreet 17 posts 37 karma points
    Jan 17, 2011 @ 14:43
    harpreet
    0

    Hi Seb,

    Just one question to ask. I was proceeding with on server installation using the Web PI. On entering the application host name blog.webassist.in, it shows me an error.

    Here's the screenshot. What address do I have to mention here? http://i.imgur.com/BNFS6.jpg

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jan 17, 2011 @ 15:18
    Dirk De Grave
    0

    you need to enter the web site name (as it will appear in IIS) and the physical path (can be anywhere on your local disk), but just leave application name (first entry) blank to avoid to have your website as a virtual directory.

    Setting the host name (blog.webexample.in) will only configure IIS, and this is how you'll be browsing the site. If you're developing locally, may want to change that to something like http://webexample.local

    If you want to develop locally, add an entry in your .hosts file (c:\windows\system32\drivers\etc dir).

    127.0.0.1 TAB webexample.local

    (Replace TAB with a tab key)

     

    Hope this helps.

    Regards,

    /Dirk

     

     

     

  • harpreet 17 posts 37 karma points
    Jan 18, 2011 @ 09:49
    harpreet
    0

    @Sebestian: In your screenscast, you use a new Umbraco database but my host lets me use only one MSSQL database. so, for installation, I would have to use an existing database of my site.

  • harpreet 17 posts 37 karma points
    Jan 18, 2011 @ 10:13
    harpreet
    0

    The web platform installation worked and this messaege was displayed upon completion. http://i.imgur.com/HNmGm.jpg

    I had opted to use an existing database but the database has not been populated with new tables etc. as I see in SQL Server Management Studio. Here's the screenshot. http://i.imgur.com/SBCXz.jpg

    A week earlier I had tried to the installation with an existing databse and it had worked adding new tables to the DB. Screenshot: http://i.imgur.com/aLp4n.jpg

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jan 18, 2011 @ 13:40
    Dirk De Grave
    0

    Database will only be populated with tables when you're about to launch the umbraco installer (this is not included in the web pi installer). Just go to http://domain.com/ and your installer will launch automagically.

     

    Cheers,

    /Dirk

  • harpreet 17 posts 37 karma points
    Jan 18, 2011 @ 16:48
    harpreet
    0

    @Dirk,

    I am still strying and will be back for help if not succeeded.

    Thanks for support!

  • harpreet 17 posts 37 karma points
    Jan 19, 2011 @ 03:00
    harpreet
    0

    I uploaded all the files of Umbraco to the my http://blog.domain.com and also modified the web.config file. When I open my site, it is giving an error. Please have a look here http://blog.webassist.in . The hosting type for the subdomain is physical hosting not subdomain on subfolder

    So, I have a second web.config file in this subdomain. The first one is in the main domain. Please suggest a workaround.

  • harpreet 17 posts 37 karma points
    Jan 19, 2011 @ 04:25
    harpreet
    0

    Just an update: I checked the database user with which I am trying to login in to the DB and it has the db_owner permissions for the database.

    Also, I tried googling for the similar issues to see if someone with similar error had resolved the problem. Here are some pages but I haven't been able to find a solution.

    http://forum.umbraco.org/yaf_postst647_Invalid-object-name-umbracoDomains.aspx

    http://our.umbraco.org/forum/getting-started/installing-umbraco/13765-Change-database-after-setup-Invalid-object-name-%27umbracoDomains%27?p=0

    http://our.umbraco.org/forum/getting-started/installing-umbraco/13765-Change-database-after-setup-Invalid-object-name-%27umbracoDomains%27?p=0

  • harpreet 17 posts 37 karma points
    Jan 20, 2011 @ 15:37
    harpreet
    0

    Please can somebody help. This has been pending for long. :-(

  • Sebastiaan Janssen 5045 posts 15477 karma points MVP admin hq
    Jan 21, 2011 @ 08:13
    Sebastiaan Janssen
    0

    Not sure what to say harpeet, if the UmbracoDomains table is in your database then the problem has to do with permissions in SQL, which can be solved by giving the user for your database db_owner rights. If the table is not there, I would recommend starting over with a clean install, something must've gone wrong during install.

  • harpreet 17 posts 37 karma points
    Jan 23, 2011 @ 17:12
    harpreet
    0

    @Seb,

    The table UmbracoDomains is not currently in the database. Isn't the DB populated during the installation? I downloaded Umbraco on my local machine. To install it, I upoaded all those files to my subdomain. On pointing to the subdomain i.e blog.example.com to start the installation, I get this error. Is UmbracoDomains table required before hand on the DB ?

Please Sign in or register to post replies

Write your reply to:

Draft