473,387 Members | 1,483 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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.

Nov 19 '05 #1
1 1683
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" <he******@gmail.com> 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.


Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tyson Zwicker | last post by:
Hi, I'm suddenly unable to run any ASP.net applications. Last week everything worked. But now (Mondays!) I get the same error from _every_ application I've written: Parser Error ...
0
by: Doug Holland | last post by:
We have a solution in VSS which works on all computers in our development team except one On one machine the developer is experiancing a parser error stating it either cannot load the global...
1
by: Mathieu Pag? | last post by:
Hi, I really need help with this one it's been two days now that I search for a solution on the newsgroups and the web. I get this error when running my WebApplication : <quote> Erreur...
4
by: Matty | last post by:
I have successfully written a couple of Web services that work fine on my localhost so this is not a security issue. My problem only arises when I set the Root Namespace of a Web service to...
0
by: DC | last post by:
Why would this code give me the error "Could not load type System.Web.UI.WebControls.AccessDataSource from assembly System.Web, Version=1.0.5000.0" at line 16... <form id="form1"...
0
by: Sky | last post by:
Hi, Like many others, I've search the newsgroups and KB's and none quite seem to be the problem I am encountering. The problem is as follows: 1) I originally created an ASP.Net Web...
0
by: yashgt | last post by:
I have a web application which has two projects in one solution. The proper build order and dependencies have been set. The solution compiles and builds properly. But when I invoke any URL from the...
16
by: thefritz_j | last post by:
We just converted our VS2003 1.1 VB web project (which was working fine) to VS2005 2.0 and now I get: Parser Error Message: Could not load type '<Namespace>.'. Source Error: Line 1: <%@...
8
by: Rob T | last post by:
When I was using VS2003, I was able to compile my asp.net project locally on my machine and copy it to the production server and it would run just fine. I've now converted to VS2005. The project...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.