PC Review


Reply
Thread Tools Rate Thread

code seems not executing: giving request failed

 
 
CreativeMind
Guest
Posts: n/a
 
      27th Apr 2010
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,
 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      27th Apr 2010
On Apr 27, 10:25*am, CreativeMind <aftab.pu...@gmail.com> wrote:
> 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.
 
Reply With Quote
 
CreativeMind
Guest
Posts: n/a
 
      27th Apr 2010
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
============================


On Apr 27, 1:32*pm, Alexey Smirnov <alexey.smir...@gmail.com> wrote:
> On Apr 27, 10:25*am, CreativeMind <aftab.pu...@gmail.com> wrote:
>
> > 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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error executing child request David C Microsoft ASP .NET 0 11th Dec 2008 09:03 PM
Error executing child request David C Microsoft ASP .NET 0 17th Nov 2008 10:54 PM
Error executing child request for... Daniel Groh Microsoft C# .NET 3 3rd May 2005 11:59 AM
Error executing child request =?Utf-8?B?bWF2cmljazEwMQ==?= Microsoft Dot NET Framework 0 15th Apr 2005 08:51 PM
Failed to execute request because QueryInterface for ASP.NET runtime failed =?Utf-8?B?bWF0dA==?= Microsoft Dot NET 0 20th May 2004 08:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:22 AM.