PDA

View Full Version : ارورwebconifg



azitaj
دوشنبه 12 مرداد 1394, 18:44 عصر
سلام دوستان خسته نباشید
لطفا راهنمایی کنید
من وقتیکه برنامه رو اجرا میکنم این ارور رو میگیره



Error 1 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:\EntekhabVahed[www.Code-Project.ir]\EntekhabVahed\EntekhabVahed\web.config 27


واین کد برنامه است که ارور ازش میگیره



<authentication mode="Windows"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.


<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->