harish sharma

harish sharma

  • 1.4k
  • 311
  • 1.6k

In web config file when run this show error

Dec 23 2014 5:46 AM
Erro2 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. E:\shopaquasportbck2014\tirage\web.config
our compiler give Error hare in webconfig file how can resolve this error (My website is not run on local host ) 
<authentication mode="Forms">
<forms name=".authTirage" path="/" loginUrl="admin/login.aspx" protection="All" timeout="20" defaultUrl="admin/index.aspx">
<credentials passwordFormat="Clear">
<user name="martial" password="miri01"></user>
<user name="simon" password="simon113"></user>
</credentials>
</forms>
</authentication>

Answers (1)