473,659 Members | 2,722 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"Could Not Load Type" Error message

Rod
I am getting a strange error when I attempt to run my new ASP.NET
application through an ISA server. If I go to the ISA server machine and
open up IIS and perform a Browse on the virtual directory pointing to the
new ASP.NET application, I get the following error message:

Parser Error Message: Could not load type NewWebApp.Globa l

Line 1: <%@ Application Codebehind="Glo bal.asax.cs" Inherits="
NewWebApp.Globa l" %>

And yet, if I go to the machine it is actually installed on, I can run the
application just fine. Also, from within our network, if I bring up a
browser and browse to the URL on the installed Windows 2000 Server, it works
just fine. I have checked on MSDN's website and found article 306155, which
suggests that the problem is, "These errors can occur if the .aspx or the
Global.aspx page contains a reference to a code-behind module and if the
application has not been built." I have rebuilt the project, the solution
and the distribution project, more than once to make certain that I did
exactly what article 306155 recommended doing, but it still doesn't work. I
just cannot run it from the virtual directory in IIS on my ISA server which
points to the correct place on the installed server.

So, the question is, what am I doing wrong?

Rod
Nov 18 '05 #1
3 2047
Not sure about the specific problem but one thing to keep in mind is
this....If the site is accessed by the public then it has to function
without expecting Admins all over the world to have to do something special
on the proxy boxes to make it work. The site would need to work with a
pretty much "vanilla" setup of a proxy or firewall, so you would have to
make changes to the ASP.net code and not the proxy.

Of course if the site is only accessed by company employees and the only ISA
involved is one you personally have control over than you can do it however
you want.

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
Nov 18 '05 #2
Rod
That is a good point, and I am by no means an ISA server guru. I guess I
was thinking that there might be something "special" that a system
administrator would have to do, in order to make it work.

This application is meant to be used by external users; more of a B2B type
of thing.

Rod

"Phillip Windell" <@.> wrote in message
news:Ol******** ******@TK2MSFTN GP12.phx.gbl...
Not sure about the specific problem but one thing to keep in mind is
this....If the site is accessed by the public then it has to function
without expecting Admins all over the world to have to do something special on the proxy boxes to make it work. The site would need to work with a
pretty much "vanilla" setup of a proxy or firewall, so you would have to
make changes to the ASP.net code and not the proxy.

Of course if the site is only accessed by company employees and the only ISA involved is one you personally have control over than you can do it however you want.

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

Nov 18 '05 #3
Looks like you also posted to one of the "aspnet" groups, that's good, it is
most likey where your best reply will come from. Surely, someone out there
has ran into this and may have found a way to keep it "proxy friendly".
--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
"Rod" <Ro*@NO.SPAM> wrote in message
news:uL******** ******@tk2msftn gp13.phx.gbl...
That is a good point, and I am by no means an ISA server guru. I guess I
was thinking that there might be something "special" that a system
administrator would have to do, in order to make it work.

This application is meant to be used by external users; more of a B2B type
of thing.

Rod

"Phillip Windell" <@.> wrote in message
news:Ol******** ******@TK2MSFTN GP12.phx.gbl...
Not sure about the specific problem but one thing to keep in mind is
this....If the site is accessed by the public then it has to function
without expecting Admins all over the world to have to do something

special
on the proxy boxes to make it work. The site would need to work with a
pretty much "vanilla" setup of a proxy or firewall, so you would have to
make changes to the ASP.net code and not the proxy.

Of course if the site is only accessed by company employees and the only

ISA
involved is one you personally have control over than you can do it

however
you want.

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


Nov 18 '05 #4

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

Similar topics

5
33588
by: Lou Pecora | last post by:
g++ compiler error question. I have a container C whose constructor takes a class B that is inherited from an abstract class A. So I have the line of code: B binstance; C cinstance(binstance); The compiler gives the error,
0
1692
by: jff | last post by:
I defined a simple enumeration called "LandProjections" in one of my C# class library assemblies. I have another class library assembly that has a static method which references the enumeration. When I execute the static method via a test-driver windows form, I get the "System.TypeLoadException: Could not load type FCI.ITS.GIS.Utilities.LandProjections from assembly fciGISSpatialReferences". The error message has the fully-qualified...
4
10314
by: Mike S | last post by:
I'm hoping someone can explain the following. I have installed Visual Studio 2003. Setup several web application projects, compliled and ran them with no problem. All of this was accomplished with my local server. The default or root directory for my local IIS server is my "C:\" drive. (c:\inetpub\wwwroot) Now I would like to change my root or default directory for my local IIS server to be a network drive (x:\inputpub\wwwroot). ...
1
334
by: Kevin Parkinson | last post by:
Hello Eveyone: I was wondering if someone can set me straight on this little problem I am having which I believe must be a configuration issue. Everytime VS.NET creates a new web form and puts this at the top: Page language="c#" Codebehind="MyWebForm.aspx.cs" AutoEventWireup="false" Inherits="MyProject.MyWebForm" ....when I hit the page on my server, I get this message:
4
2712
by: Don Wash | last post by:
Hi All! I'm getting the following Error: No DLLs has been compiled yet and nothing in the \bin directory. So it is not the versioning problem or anything like that. And here are the source of the files...
0
1741
by: hamstak | last post by:
While attempting to perform a build on an .aspx page from within VS 2005 I receive the "Could not load type" error pertaining to the class representing the page. The class is derived from a custom base class (which itself is derived from System.Web.UI.Page). This custom base class has been used in other projects successfully. The Inherits attribute of the @Page directive is properly assigned and the application root is properly...
2
2047
by: magyar.laszlo | last post by:
Hi ! I have an activex .net dll in a webpage. This activeX is trying to connect to an LDAP server using System.DirectoryServices. Unfortunatelly it gets always "request for the permission of type" error. If I give full trust at the .net config tool it is working fine. Is there any way to avoid this client .net confoguration?
3
12542
by: eros | last post by:
ALTER TABLE public.postcodes ALTER COLUMN machi TYPE varchar(100); Error: ERROR: syntax error at or near "TYPE"; Error while executing the query (State:42601, Native Code: 7) I am using WinSQL, Windows XP SP2 Japanese Version, PostgreSQL 8.x. I want to alter my machi field from varchar(30) to varchar(100) TYPE. This is my CREATE TABLE script:
5
3181
by: tejesh | last post by:
I am trying to compile the following code int backend_sm_run(struct interface_data *ctx) { xsup_assert((ctx != NULL), "ctx != NULL", TRUE); xsup_assert((ctx->statemachine != NULL), "ctx->statemachine != NULL", TRUE); backend_sm_check_globals(check);
0
8427
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
8332
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
8851
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
8746
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
8525
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
7356
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...
0
5649
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
4175
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
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.