I have developed on application in framework 2.0 .And upload it in server. Lets sat www.site1.com
Now I have one another application (ex Site2) in Framework 4.0 .I want to live this site for testing .I dono want to purchanse new servre for that. I want to upload it as a sub-directory of Site2.
Like www.site1.com/Site2
Rightnow I have uploaded site2 under site1.
Now when I run above URL(Site2) I got following 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.
Line 16:
Line 17:
Line 18:
Line 19:
Line 20:
ny one knows how to solve this error?
Suthish NairPosted Apr 18, 2011, 3:03 PM
Karthikeyan AnbarasanPosted Apr 18, 2011, 6:09 AM
Abhimanyu K VatsaPosted Apr 18, 2011, 4:00 AM
the same domain shares root config file to entire site, maybe there are some settings in your root (site1) config file which eliminating your site2.
the best practice will be to use sub-domain here.
one another solution will be to bind both sites together, for this create the directory named site2 inside your site1 and remember not use any new config for site2. but remember to update the site1 config file to .net 4.0 version because your site2 is fully on this.
may this will help you
Roy rPosted Apr 18, 2011, 2:42 AM
Roy rPosted Apr 18, 2011, 2:38 AM
Karthikeyan AnbarasanPosted Apr 18, 2011, 2:25 AM
Roy rPosted Apr 18, 2011, 2:09 AM
Karthikeyan AnbarasanPosted Apr 18, 2011, 2:01 AM