Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Remote Virtual Directory

Reply
Thread Tools

Remote Virtual Directory

 
 
Coder Coder
Guest
Posts: n/a
 
      11-10-2003
HI,
I have a virtual directory on one machine pointing to a virtual
directory on another machine on the same intranet.

I get the following error -->


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 for the
permission of type System.Web.AspNetHostingPermission, System,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
failed.

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.

Stack Trace:


[SecurityException: Request for the permission of type
System.Web.AspNetHostingPermission, System, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.]
System.Type.GetType(String typeName, Boolean throwOnError) +0
System.Web.Configuration.HandlerBase.GetAndRemoveT ypeAttributeInternal(XmlNode
node, String attrib, Boolean fRequired, Type& val) +52


--------------------------------------------------------------------------------

I tried to set the securityPolicy and trust elements in the web.config
but no luck.

- Thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
include virtual in virtual directory? rockdale ASP General 3 09-04-2008 02:36 PM
physical path to virtual path under virtual directory =?Utf-8?B?SmVmZiBCZWVt?= ASP .Net 4 08-01-2007 02:59 PM
aspnet_regiis to configure remote IIS virtual directory =?Utf-8?B?UmFr?= ASP .Net 1 05-19-2006 03:32 AM
Remote Assistance fails to connect, remote remote host name could not be resolved Peter Sale Wireless Networking 1 12-11-2004 09:09 PM
logon failure to a remote share with a virtual directory =?Utf-8?B?cmZvbnRhaW5l?= ASP .Net 3 09-30-2004 08:49 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57