code seems not executing: giving request failed

C

CreativeMind

Hi all,

I have an event method which runs perfect on local system.
but on server. it gives security exception
"System.Security.SecurityException: Request failed."
any configuration is required in web.config?

Regards,
 
G

Guest

Hi all,

I have an event method which runs perfect on local system.
but on server. it gives security exception
"System.Security.SecurityException: Request failed."
any configuration is  required in web.config?

Regards,

It would be helpful if you can be as specific as possible when
describing the problem, as well as detailed source code. It sounds
like you attempt to perform an operation not allowed by security
policy on the server due to lack of proper trust level or anything
else.
 
C

CreativeMind

This is the error description:
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.

Exception Details: System.Security.SecurityException: Request failed.

Source Error:


Line 559: '
Response.Write(ex.InnerException.ToString())
Line 560: ' Exit Sub
Line 561: ' Label10.Text = "Video Failed to upload
(may be because of slow connection or the file is very big size),
please try again"
Line 562: 'End Try
Line 563:


Source File: \\fs2-n01\stor1wc2dfw1\466040\483027\www.aatworld.com\web
\content\aat-tube.aspx.vb Line: 561
Version Information: Microsoft .NET Framework Version:2.0.50727.4200;
ASP.NET Version:2.0.50727.4016
=========================
Protected Sub Button13_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Button13.Click
Response.Write("in top most line")
Exit Sub
End Sub
============================
in web.config , versions of assemblies are Version=1.0.61025.0 and
2.0.0.0
============================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top