Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when i copy a project from one machine to other machine then i will get error.project loaded but when i open the design page then i will get error master page can not be loaded (asp.net error: it is an error to use a section registered as allow defination="machine to application" beyond application level). plz help me..
Posted
Updated 28-May-12 0:04am
v4
Comments
Sandeep Mewara 28-May-12 6:05am    
What error?
Member 9027346 28-May-12 6:13am    
when i copy a project from one machine to other machine then i will get error.project loaded but when i open the design page then i will get error master page can not be loaded (asp.net error: it is an error to use a section registered as allow defination="machine to application" beyond application level). plz help me..

PLZ chick it..

master page Content Place Holder ID and design page ContentPlaceHolderID same or not do the same name of master page & ContentPlaceHolderID
 
Share this answer
 
asp.net error: it is an error to use a section registered as allow defination="machine to application" beyond application level
Generally this happens when you have more than one Web.Config file in your application root folder.
Just check if you have more than one. If so, remove the duplicate copies.

Read a similar issue resolved here:ASP.NET 2.0 & "allowDefinition='MachineToApplication'" error message[^]

Other useful link that has similar issue discussed: http://forums.asp.net/p/769696/769696.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900