PC Review


Reply
Thread Tools Rate Thread

Could not load type 'Namespace.Global' - one man's solution

 
 
heromull
Guest
Posts: n/a
 
      8th Dec 2004
Here's what we did to resolve the Could not load type
'Namespace.Global' issue...

the setup: asp.net app, iis 6, home directory is a share located on
another computer.

our solution: ymmv
1. start > control panel > admin tools > ms .net framework 1.1
configuration
2. runtime security policy > machine > code groups > all_code
3. right click to create new code group, give a resonable name > next
4. choose a condition type of URL (yes, you can add a file share here)
5. ex. //servername/share/somefolder/* (* = all assymblies under the
location)
6. shoose use existing permission set of FullTrust > next
7. thanks to the good folks at http://gnonug.xocomp.net for the info.

I would like some feedback on the pros/cons of this approach as well
alternatives.

 
Reply With Quote
 
 
 
 
Scott Allen
Guest
Posts: n/a
 
      8th Dec 2004
One drawback is that giving full trust to assemblies on a network
share exposes another opening if someone wants to get malicious code
to execute on the web server.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 8 Dec 2004 07:17:57 -0800, "heromull" <(E-Mail Removed)> wrote:

>Here's what we did to resolve the Could not load type
>'Namespace.Global' issue...
>
>the setup: asp.net app, iis 6, home directory is a share located on
>another computer.
>
>our solution: ymmv
>1. start > control panel > admin tools > ms .net framework 1.1
>configuration
>2. runtime security policy > machine > code groups > all_code
>3. right click to create new code group, give a resonable name > next
>4. choose a condition type of URL (yes, you can add a file share here)
>5. ex. //servername/share/somefolder/* (* = all assymblies under the
>location)
>6. shoose use existing permission set of FullTrust > next
>7. thanks to the good folks at http://gnonug.xocomp.net for the info.
>
>I would like some feedback on the pros/cons of this approach as well
>alternatives.


 
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
Could not load type 'Namespace.[Global]' & different harddrives? thefritz_j Microsoft ASP .NET 16 9th Feb 2007 09:06 PM
Re: could not load type Namespace.PageName Poornimab Microsoft ASP .NET 0 20th Jun 2006 08:09 AM
could not load my namespace.global Amit Maheshwari Microsoft ASP .NET 1 5th Jan 2006 01:06 PM
Could not load type 'Global.yaddayadda'. - Global.asax.cs Daniel Bass Microsoft ASP .NET 2 31st Dec 2003 04:57 PM
Re: Could not load type '<namespace>.Global'. naz Microsoft Dot NET Framework 0 21st Aug 2003 06:04 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:54 AM.