How do I configure a virtual directory as an application?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: How do I configure a virtual directory as an application?

  1. #1
    Join Date
    Aug 2006
    Location
    PA
    Posts
    259

    How do I configure a virtual directory as an application?

    Sorry but I've looked all over with google and still cant find an answer to my latest error message below . after resolving my last problem "trying to run my program at another pc" , now I'm getting this one :

    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.


    I've looked everywhere all over google and basically there's two possibilities either I have to delete an extra web.config file from the directory or I have to configure the virtual directory as an application .

    I dont have any extra webconfig files so I suppose I should try the other option but I dont know how to configure a virtual directory as an application and I cant find the answer on how to do that on google or anywhere.

  2. #2
    Join Date
    Aug 2006
    Location
    PA
    Posts
    259
    nevermind people, I figured it out and my app runs now . If anyone is interested to know ; what I had to do was open up IIS manager scrolldown to the directory of my application right click on it and then click on the "create" button and deleted what was in the text box and then hit ok, the standard folder icon for the application then turned into a globe and that was it . Application runs now.

  3. #3
    Join Date
    Mar 2012
    Posts
    1

    asp.net

    I got the same problem that u had..
    But i can't find the create button..Please help me..

Similar Threads

  1. Replies: 1
    Last Post: 12-01-2002, 06:42 AM
  2. Replies: 0
    Last Post: 04-14-2002, 09:58 PM
  3. Career Advice
    By Troy in forum Careers
    Replies: 3
    Last Post: 05-12-2001, 02:43 PM
  4. Replies: 4
    Last Post: 03-19-2001, 02:47 PM
  5. Filesystem object and virtual directories
    By Gene Black in forum Web
    Replies: 2
    Last Post: 07-07-2000, 10:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center