473,785 Members | 2,291 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 1708
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
1979
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
1462
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
5045
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
13207
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...
1
10085
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
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
6737
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
5379
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...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4045
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2877
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.