473,396 Members | 2,010 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,396 software developers and data experts.

Could not load type: 'HelloWorld2.Global'

I created a HelloWorld app on localhost that just has a textbox,
button and label and it works fine on localhost. I tried to copy the
app to the server and I started getting the 'Could not load type'
error. I've researched the problem on the internet but I can't find
the solution.

- The DLL exists and is in the \bin directory
- machine.config has the <add assembly="*"/> line but just to make
sure, I have tried adding <add assembly="HelloWorld2" /> to
web.config, I also tried <add assembly="*" /> and various combinations
of both but that didn't work

What else should I be looking into?
Nov 18 '05 #1
2 1005
Hi,

check if the virtual directory configured as application from IIS MMC.

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #2
Thanks for the reply, yes it's configured as an application. Pages
work fine if the code is inline, only a problem with code-behind.

I worked with the IT guy for a while yesterday and found out that they
had the physical location of the files on a different server than the
web server. He copied over the files to the machine with the web
server as a test and it worked so it has something to do with the
virtual directory pointing to a different machine. Any ideas on that??
Natty Gur <na***@dao2com.com> wrote in message news:<eM**************@TK2MSFTNGP11.phx.gbl>...
Hi,

check if the virtual directory configured as application from IIS MMC.

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #3

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: pmud | last post by:
Hi, I have an ASP.NET project using C# code. But when I hit key F5 so that the project is compiled & run, I get the error :: Parser Error Message: Could not load type 'Consumer.Global'....
1
by: clintonG | last post by:
The error is documented at MSDN but building the project as the MSDN document instructs does not resolve the issue for me. I hope others may comment about other circumstances. The actual...
4
by: Neil Ramsbottom | last post by:
Hi, I have built an application using ASP.NET. I can compile and run this application fine on a development machine, and on another development machine. I tried to then run the same...
2
by: Daniel Bass | last post by:
Scenario (Hardware) ---------------------- I've got an engineering source server with Win 2k on it. We use it for all the source files for our projects etc... Let's call it "Engineering" for...
4
by: Kiran | last post by:
Hi, I copied a whole solution from a machine to my machine. I have put the folder in a folder in E Drive. I created a virtual directory from inetmgr and browsed a folder and then a wepage from...
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...
4
by: Mark Brown | last post by:
I have a web application that was working fine until recently. It runs just fine in the IDE. When I try to run it from another browser, I get this error: Could not load type 'TestCAD.Global' ...
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: 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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.