سلام دوستای عزیز
من یه برنامه برا سایتی که میخوام راه بندازم نوشتم که 5 6 صفحه داره
رو لوکال سرور کامپیوترم خوب اجرا میشه یعنی وصل که نیستم اجرا میشه و خوب کار میده ولی وقتی رو هاست میزارم و تو سایتم از فایل web.config اشکال میگیره. اینهم مشکلا :
<authentication mode="window" />
از این اشکل میگیره و اینم توضیحشه
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: 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.
Source Error:
Line 37: by Microsoft that offers a single logon and core profile services for member sites.
Line 38: -->
Line 39: <authentication mode="windows" />
Line 40:
Line 41:
و از چیز دیگه که اشکل میگیره اینه
<customErrors mode="RemoteOnly" />
که فکر کنم میگه باید آف باشه به جای ریموت اونلی
خواهشن راهنمائیم کنین که مشکلم حل شه
من یه برنامه برا سایتی که میخوام راه بندازم نوشتم که 5 6 صفحه داره
رو لوکال سرور کامپیوترم خوب اجرا میشه یعنی وصل که نیستم اجرا میشه و خوب کار میده ولی وقتی رو هاست میزارم و تو سایتم از فایل web.config اشکال میگیره. اینهم مشکلا :
<authentication mode="window" />
از این اشکل میگیره و اینم توضیحشه
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: 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.
Source Error:
Line 37: by Microsoft that offers a single logon and core profile services for member sites.
Line 38: -->
Line 39: <authentication mode="windows" />
Line 40:
Line 41:
و از چیز دیگه که اشکل میگیره اینه
<customErrors mode="RemoteOnly" />
که فکر کنم میگه باید آف باشه به جای ریموت اونلی
خواهشن راهنمائیم کنین که مشکلم حل شه
آخرین ویرایش: