Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



Reply
Old 06-04-2006, 03:06 AM Subweb error
Experienced Talker

Posts: 34
Trades: 0
On my own computer:
I have created my website on ‘C:\Inetpub\wwwroot\12”.I have created another website on ‘C:\Inetpub\wwwroot\16”. I made 12 as an application from IIS .therefore I can use ‘http://localhost/12” to browse my website.
I copy folder “16” to “12” To be sub web of 12 so that I can access to 16 from ‘http://localhost/12/16”.when I enter “ http://localhost/12/16” in my address bar I see the following error

When I normally Server Error in '/12' Application. Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: 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.

Source Error:
Line 14: <pages>Line 15: </pages>Line 16: <anonymousIdentification enabled="true" />Line 17: <!-- Line 18: Set compilation debug="true" to insert debugging symbols into the compiled page.
Source File: c:\inetpub\wwwroot\12\16\web.config Line: 16


Show Additional Configuration Errors:

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. (c:\inetpub\wwwroot\12\16\web.config line 26)

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. (c:\inetpub\wwwroot\12\16\web.config line 43)

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. (c:\inetpub\wwwroot\12\16\web.config line 53)


I solve the problem by go to IIS in administrative tools and make 16 as an application .but I do not know how to solve it while uploading to host. In my web host I do not have any control over IIS to make it as an application.
s2002 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Subweb error
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20655 seconds with 12 queries