Click here to Skip to main content
15,860,972 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Query value is passed correctly but does not return any results in the query API string Pin
jkirkerx18-Sep-19 12:26
professionaljkirkerx18-Sep-19 12:26 
QuestionError: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level Pin
Member 245846716-Sep-19 23:07
Member 245846716-Sep-19 23:07 
AnswerRe: Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level Pin
Richard Deeming17-Sep-19 0:39
mveRichard Deeming17-Sep-19 0:39 
GeneralRe: Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level Pin
Member 245846717-Sep-19 18:37
Member 245846717-Sep-19 18:37 
GeneralRe: Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level Pin
Richard Deeming18-Sep-19 0:37
mveRichard Deeming18-Sep-19 0:37 
AnswerRe: Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level Pin
F-ES Sitecore18-Sep-19 2:36
professionalF-ES Sitecore18-Sep-19 2:36 
GeneralRe: Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level Pin
Member 245846718-Sep-19 21:14
Member 245846718-Sep-19 21:14 
GeneralRe: Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level Pin
F-ES Sitecore18-Sep-19 22:06
professionalF-ES Sitecore18-Sep-19 22:06 
An IIS site can only host one website, so one folder with web.config in the root. If you want to host multiple sites then you need an new IIS site created for each one, and they can't be in sub-folders of each other;

/site1/web.config
/site2/web.config

You would register a site in folder "site1" and one in "site2". If you have this arrangement

/mysite/site1/web.config
/mysite/site2/web.config

and register an IIS site at "mysite" thinking you can then do http://mysite/site1 and http://mysite/site2 then you'll get the error you have now.

If you do want one site nested inside another you need to create what is called a virtual directory. Google for how to create sites in IIS, this is all well documented.
GeneralRe: Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level Pin
Member 245846718-Sep-19 23:36
Member 245846718-Sep-19 23:36 
GeneralRe: Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level Pin
F-ES Sitecore18-Sep-19 23:43
professionalF-ES Sitecore18-Sep-19 23:43 
GeneralRe: Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level Pin
Member 245846719-Sep-19 15:54
Member 245846719-Sep-19 15:54 
GeneralRe: Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level Pin
F-ES Sitecore19-Sep-19 23:25
professionalF-ES Sitecore19-Sep-19 23:25 
GeneralRe: Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level Pin
Member 245846722-Sep-19 15:45
Member 245846722-Sep-19 15:45 
QuestionRazor Pages - Persisting a SelectList Pin
Mycroft Holmes15-Sep-19 13:32
professionalMycroft Holmes15-Sep-19 13:32 
AnswerRe: Razor Pages - Persisting a SelectList Pin
Richard Deeming15-Sep-19 23:37
mveRichard Deeming15-Sep-19 23:37 
GeneralRe: Razor Pages - Persisting a SelectList Pin
Mycroft Holmes16-Sep-19 11:32
professionalMycroft Holmes16-Sep-19 11:32 
QuestionHow to display/print name value in XML file Pin
hm912-Sep-19 1:02
hm912-Sep-19 1:02 
AnswerRe: How to display/print name value in XML file Pin
F-ES Sitecore12-Sep-19 2:14
professionalF-ES Sitecore12-Sep-19 2:14 
GeneralRe: How to display/print name value in XML file Pin
hm912-Sep-19 2:28
hm912-Sep-19 2:28 
AnswerRe: How to display/print name value in XML file Pin
Richard Deeming12-Sep-19 6:15
mveRichard Deeming12-Sep-19 6:15 
GeneralRe: How to display/print name value in XML file Pin
hm912-Sep-19 8:51
hm912-Sep-19 8:51 
AnswerRe: How to display/print name value in XML file Pin
Parth Munjpara13-Oct-19 18:55
Parth Munjpara13-Oct-19 18:55 
QuestionWhen Rebuild this website warining this error ? Pin
Member 245846711-Sep-19 16:05
Member 245846711-Sep-19 16:05 
AnswerRe: When Rebuild this website warining this error ? Pin
Richard MacCutchan11-Sep-19 21:18
mveRichard MacCutchan11-Sep-19 21:18 
GeneralRe: When Rebuild this website warining this error ? Pin
Member 245846712-Sep-19 16:33
Member 245846712-Sep-19 16:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.