-
مشکل عجیب asp.net
سلام !
وقتی سایتم رو اجرا میکنم اگر روی لینکی برم که صفحه اش داخل فولدری است که براش role تعریف کردم بجای اینکه صفحه login.aspx اجرا بشه ایراد میگیره! لطفا کمک کنید!!
متن error :
A page can have only one server-side Form tag.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: A page can have only one server-side Form tag.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
.
.
.
-
سلام
میتونید کد فایل مورد نظر را قرار دهید ؟؟؟ منظورم خود فایل aspx است؟
-
خب شما تو صفحتون دوتا تگ فرم با Runat=server گذاشتید احتمالا مستر پیج دارید و یه فرم هم تو کانتنت گذاشتید
-
خیلی ممنون آقای ultimator دقیقا مشکل همین بود که شما گفتید.
داخل صفحه master یه form جدید تعریف کردم و بقیه form ها رو از سایر صفحات پاک کردم. مشکل رفع شد.!:31: