473,287 Members | 1,574 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,287 software developers and data experts.

"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.Global

Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="
NewWebApp.Global" %>

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 2031
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**************@TK2MSFTNGP12.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**************@tk2msftngp13.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**************@TK2MSFTNGP12.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
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 ...
0
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....
4
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...
1
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...
4
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...
0
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...
2
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...
3
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...
5
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),...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.