473,795 Members | 3,457 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Here's what we did to resolve the Could not load type
'Namespace.Glob al' 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 1709
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.Glo bal' 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
configuratio n
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
5023
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 Description: An error occured during the parsing of a resource required to service this request. Please review the following specific parse error
0
1025
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 object or other objects representing ASP.NET pages or user controls If I open the resulting DLL in Lutz Roeder's .NET Reflector I can see that the class is defined correctly and has been placed within the correct namespace I'm a C# programmer and...
1
1980
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 d'analyse Description : Une erreur s'est produite lors de l'analyse d'une ressource requise pour répondre à cette demande. Veuillez consulter ci-dessous les détails relatifs à l'erreur en question, puis modifier
4
1494
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 something along the lines of .... system.webservices.myservice When I do this and call the service via debug or from an aspx page I get the error...Could not load type 'system.service.Global' If I change the Root namespace back to myservice it...
0
3020
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" runat="server"> Line 15: <div> Line 16: <asp:AccessDataSource ID="AccessDataSource1" Runat="server" DataFile="data\pubs.mdb" Line 17: SelectCommand="select * from "
0
1463
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 Application and developed the app as normal. In doing this, when running the app, VS2005 creates a Virtual Server with it's own port number to host the application in - fine, no problems.
0
1575
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 application, I get the following error: Server Error in '/NSTO' Application. -------------------------------------------------------------------------------- Parser Error Description: An error occurred during the parsing of a resource...
16
5047
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: <%@ Application Codebehind="Global.asax.vb" Inherits="<Namespace>." %> I've done a lot of things I've found on the web to no avial, but here are some unique things about what is happening to me.
8
13209
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 compiles & runs fine locally, but when I copy to the production machine, I get this error: Parser Error Message: Could not load type 'Global'. Source Error: Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="Global" %> Source...
0
9672
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10437
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10214
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6780
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3723
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.