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 '
Followed by:
Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
Inherits="TestC AD.Global" %>
The source file is listed as "global.asa x". TestCAD.Global doesn't exist,
but since I didn't create "global.asa x", I have no idea where the reference
came from. I'd edit the file, but I have no idea what it wants to inherit
from. The program was originally writting using VS2003. I converted it to
VS2008 and it's been working fine. I recently installed the SP1 patch which
is what I suspect is the source of the problem.
Any ideas for a fix or a work-around, I'd appreciate it.
Thanks,
Mark 4 3719
Mark,
What do you mean with the SP1 patch, I am not aware about such a thing and I
am interested in that?
Cor
"Mark Brown" <mb****@echd.or gschreef in bericht
news:%2******** *******@TK2MSFT NGP03.phx.gbl.. .
>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 '
Followed by:
Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
Inherits="TestC AD.Global" %>
The source file is listed as "global.asa x". TestCAD.Global doesn't exist,
but since I didn't create "global.asa x", I have no idea where the
reference came from. I'd edit the file, but I have no idea what it wants
to inherit from. The program was originally writting using VS2003. I
converted it to VS2008 and it's been working fine. I recently installed
the SP1 patch which is what I suspect is the source of the problem.
Any ideas for a fix or a work-around, I'd appreciate it.
Thanks,
Mark
Cor Ligthert[MVP] wrote:
What do you mean with the SP1 patch, I am not aware about such a
thing and I am interested in that?
Presumably VS2008 SP1: http://support.microsoft.com/kb/945140
Andrew
Mark Brown wrote:
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 '
Followed by:
Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
Inherits="TestC AD.Global" %>
<snip>
Any ideas for a fix or a work-around, I'd appreciate it.
That doesn't look quite right compared to a VS2008-generated global.asax
file I have:
<%@ Application Codebehind="Glo bal.asax.vb"
Inherits="Proje ctName.Global_a sax" Language="vb" %>
which suggests your file is missing "_asax" in the inherits (and the
Language setting). The VS2003-generated Global.asax files I have don't have
the "_asax".
Andrew
On Oct 7, 5:22*pm, "Mark Brown" <mbr...@echd.or gwrote:
I have a web application that was working fine until recently. *It runsjust
fine in the IDE. *When I try to run it from another browser, I get this
error:
Could not load type 'TestCAD.Global '
Followed by:
Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
Inherits="TestC AD.Global" %>
The source file is listed as "global.asa x". *TestCAD.Global doesn't exist,
but since I didn't create "global.asa x", I have no idea where the reference
came from. *I'd edit the file, but I have no idea what it wants to inherit
from. *The program was originally writting using VS2003. *I convertedit to
VS2008 and it's been working fine. *I recently installed the SP1 patch which
is what I suspect is the source of the problem.
Any ideas for a fix or a work-around, I'd appreciate it.
Thanks,
Mark
You might want to open up the main dll for the site and see what class
is being created for the Global.asax.vb - typically it's either
"Global_asa x" or "GlobalApplicat ion". Once you find the name of the
class that's being created, you should be able to modify the
Global.asax to point there.
Thanks,
Seth Rowe [MVP] http://sethrowe.blogspot.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: SHC |
last post by:
Hi all,
I have a VC++ .NET 2003 - Windows XP Pro PC. I created a Win32 console
application in my VC++ .NET 2003 and copied validateDOM.cpp, books.xml and
books.xsd (see the attached files below) from Microfost MSDN Library for my
project "validateXML". When I did "Build" on my project, I got the following
fatal error C1010:
c:\Documents and Settings\SHC\My Documents\Visual Studio
Projects\valoidateDOM\valoidateDOM.cpp(273): fatal error...
|
by: Marco Gerlach |
last post by:
Hello,
on one of our customers servers we get following error on first ASPX-page:
An error occurred while try to load the string resources (GetModuleHandle
failed with error -2147023888)
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
|
by: Frank S |
last post by:
I'm trying to write a custom handler for .rtf files on our website.
Using the book "Essential ASP.Net C#" as a guide, I wrote the following and
compiled to a dll (assembly named "rtf_cl":
using System;
using System.Web;
using System.Web.SessionState;
using System.IO;
|
by: ST |
last post by:
Hi,
I keep getting the parser error, and I have no idea why. I've tried a
number of things including:
1)building/rebuilding about 100x
2)making sure all dll's are in the bin folder in the root of the web app
3)restarting IIS
4)recreating the virtual dir in IIS
5)playing with any and all settings I could find for the web app in IIS,
including changing permissions
6)recopying the machineconfig file from my asp v1.4... onto my local server
|
by: Patrick |
last post by:
I understand it is built in behaviour that if an ASP.NET's web.config is set
to:
<customErrors
mode="RemoteOnly"
/>
then I only get a detailed error message on screen when the ASP.NET
application is executed on the IIS server itself. However, I note that
with the following
| |
by: HKSHK |
last post by:
This list compares the error codes used in VB.NET 2003 with those used
in VB6.
Error Codes:
============
3: This Error number is obsolete and no longer used. (Formerly:
Return without GoSub)
5: Procedure call or argument is not valid.
6: Overflow.
7: Out of memory.
|
by: HopfZ |
last post by:
I made two shortcut functions for document.getElementById as:
function EBI2(id){return document.getElementById(id)};
var EBI3 = document.getElementById;
But EBI3 don't work.
EBI2('myText'); //works
EBI3('myText'); //unexpected error
|
by: andrewcw |
last post by:
I am moving some code forward from .NET 1.1. I was able to load the XSL file
and perform the transform. The MSDN documentation looks like it should be
easy. But I get a compile error. Ideas ? How can I share my XSLT ( there
are 2 helper stylesheets, and I check that they are also available... the
loaded xsl makes reference to the helper xsl files. Where should I start
looking ?
// Load the stylesheet.
errBefore =...
|
by: contractsup |
last post by:
Environment:
$ uname -a
AIX <withheld2 5 000100614C00
$ db2level
DB21085I Instance "<withheld>" uses "32" bits and DB2 code release
"SQL08024"
with level identifier "03050106".
Informational tokens are "DB2 v8.1.1.104", "s060120", "U805924", and
|
by: =?Utf-8?B?SGVyYg==?= |
last post by:
I've developed an ASP.NET website that runs fine on my local WinXP IIS and on
my server's IIS, both are IIS6.0
The site uses a master page that has the following declaration:
<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="HVOA.master.vb"
Inherits="HVOAWebsite.HVOA" %>
The site will actually be hosted at an external hosting site, specifically
GoDaddy.Com. So I moved the files to their site under a new virtual directory...
|
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...
| |
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,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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...
|
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();...
|
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...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |