Results 1 to 4 of 4

Thread: Unable to configure virtual directory as an application in IIS

  1. #1
    Join Date
    Apr 2009
    Posts
    107

    Unable to configure virtual directory as an application in IIS

    I have an .NET WebApplication running on my machine smoothly. I did an XCOPY to have it run on another location on my machine. I have created a new Virtual directory also for this purpose.An error occurred during the processing of a configuration file required to service this request.It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.

    What would be the problem.

  2. #2
    Join Date
    Mar 2008
    Posts
    227

    Re: Unable to configure virtual directory as an application in IIS

    I think you need to try changing authentication mode to 'None' in web.config, and for that Go to your web.config file and change following line from

    < authentication mode="Windows" />

    to

    < authentication mode="None" />

    if all goes proper then this may solve your problem.

  3. #3
    Join Date
    Dec 2008
    Posts
    202

    Re: Unable to configure virtual directory as an application in IIS

    If you are able to find the IIS on your machine and search for your project folder on the server, right click to go to Properties, you will find an tab called Application Settings click Create. You may choose any authentication mode to use with a web project, IIS will not allow it to run as Web Site. It's configured to be a Web App.

  4. #4
    Join Date
    Mar 2008
    Posts
    192

    Re: Unable to configure virtual directory as an application in IIS

    If you get this message in your browser, then perform the following steps:

    1. Select start go to control panel select AdminTools search for IIS/(this computer)-> select WebSites check for DefaultWebSite/(your branch dir)
    2. Right-click on the folder which would be the project folder
    3. Right click and Select Properties
    4. Click the ‘Create’ button for ‘Application Name’
    5. To take considerable effects need to Restart IIS
    6. Now you are allow to Re-request for your page

Similar Threads

  1. Should I create a virtual directory
    By Lashawn in forum Software Development
    Replies: 5
    Last Post: 19-01-2010, 09:28 PM
  2. Virtual Directory does not allow contents to be listed
    By Sachit in forum Networking & Security
    Replies: 3
    Last Post: 11-07-2009, 09:54 AM
  3. Virtual directory in IIS 7
    By yogeshap in forum Software Development
    Replies: 4
    Last Post: 30-04-2009, 01:42 PM
  4. Configure Microsoft Active Directory for SSL Access
    By Isaivalan in forum Active Directory
    Replies: 3
    Last Post: 14-11-2008, 08:53 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,210,497.10977 seconds with 16 queries