Modifier
سه شنبه 22 تیر 1389, 11:58 صبح
سلام
من با اين دستورات زير :
Control toAdd = LoadControl("Address","", "StaticCount", "RandomCount", Session["adver_page"].ToString(), 1, 160, 161, 0, true);
Panel1.Controls.Add(toAdd);
توضيحات خطا :
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
ميخوام يك كنترل بسازم و بزارم تو صفحه..
در حالت لوكال مشكلي نداره و ولي وقتي آپلود ميكنم Security Exception ميده...
وقتي commentميكنم درست ميشه..
اشكال از كجاست...؟
ممنون.
يا علي
من با اين دستورات زير :
Control toAdd = LoadControl("Address","", "StaticCount", "RandomCount", Session["adver_page"].ToString(), 1, 160, 161, 0, true);
Panel1.Controls.Add(toAdd);
توضيحات خطا :
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
ميخوام يك كنترل بسازم و بزارم تو صفحه..
در حالت لوكال مشكلي نداره و ولي وقتي آپلود ميكنم Security Exception ميده...
وقتي commentميكنم درست ميشه..
اشكال از كجاست...؟
ممنون.
يا علي