nsForum logo

Welcome Guest ( Log In )

 
Reply to this topicStart new topic
> Asp.net 2 Folders Have Separater Websites, Virtual directory Problem
sajjad
post Nov 1 2009, 07:32 AM
Post #1





Group: Verified NS Member
Posts: 1
Joined: 1-November 09
Member No.: 6,047



Actually my website has 2 folders e.g. "Folder1" and "Folder2" and ther are separate websites in both of them. Both folder have ther web.config. Both of them has to be virtual directories. But i cant run my site i have pointed out the domain to my "Folder1" but i am getting a error message. Can you please help


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.
Go to the top of the page
 
+Quote Post
Corey
post Nov 2 2009, 07:53 AM
Post #2


Network Solutions Technical Support


Group: Administrators
Posts: 61
Joined: 23-June 08
Member No.: 1,316



QUOTE (sajjad @ Nov 1 2009, 08:32 AM) *
Actually my website has 2 folders e.g. "Folder1" and "Folder2" and ther are separate websites in both of them. Both folder have ther web.config. Both of them has to be virtual directories. But i cant run my site i have pointed out the domain to my "Folder1" but i am getting a error message. Can you please help


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.



The erring you are getting is happening because you have a web.config file which is attempting to make a setting only allowed in an application directory.

The only folders configured as ASP.Net application directories are the /htdocs folder and any folder where you install an open source application via our auto installer. You can run ASP.Net code in subfolders of these folders, but it will need to be written relative to the application directory and any dll files or complied ASP.net code will need to be placed in the /bin folder in the application directory.

We currently offer auto installers for BlogEngine, DotNetNuke, and Screw Turn Wiki. You can access the Open Source Library under Site Enhancements from the menu on the left of the Hosting Details page of the Account Manager.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version    Network Solutions © 2009 Time is now: 21st November 2009 - 06:27 PM
Domain Names | Web Hosting | Web Design | Shopping Cart Software | Online Marketing | SSL Certificates