3
Answers

Error, when i load site in visual studio

Mike Jonson

Mike Jonson

13y
2.3k
1
Did a project on one computer but want to run on another

Write:
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.    D:\????????????????\?#\My projects\TestRusWizards\TestOnlineStore\TestOnlineStore\Web.config    17   

Please help me, why?



Answers (3)
0
Sanjeeb Lenka
NA 22.1k 1.3m 11y
hi,

you have to set the startup object. for set the start up object follow this step.

open solution explorer. select the solution or right click on solution and click on properties.


in property window set the startup object as your class name.

follow the screen.




2nd