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

Server error in aspx page.

I receive the error below when I try to access my aspx page in a browser. I
created the aspx page on my laptop (but the solution resides on a server)
with VS.NET and it builds correctly on the server, no compile errors. I
thought that Visual Studio takes care of all assembly information and things
like that. Do I need to load or register something before I can use this
page?

Any help would be wonderful.
Daniel.
Server Error in '/MyTest' Application.
----------------------------------------------------------------------------
----

Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load type 'MyTest.Global'.

Source Error:

Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="MyTest.Global" %>
Source File: c:\inetpub\wwwroot\MyTest\global.asax Line: 1
----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
Nov 17 '05 #1
2 1369
Is there a DLL in the /bin directory that you forgot to upload to the
server? Or a missing global.asax file in the root of MyTest?

"Daniel Rimmelzwaan" <ri*********@xhotmail.com> wrote in message
news:e1**************@tk2msftngp13.phx.gbl...
I receive the error below when I try to access my aspx page in a browser. I created the aspx page on my laptop (but the solution resides on a server)
with VS.NET and it builds correctly on the server, no compile errors. I
thought that Visual Studio takes care of all assembly information and things like that. Do I need to load or register something before I can use this
page?

Any help would be wonderful.
Daniel.
Server Error in '/MyTest' Application.
-------------------------------------------------------------------------- -- ----

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load type 'MyTest.Global'.

Source Error:

Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="MyTest.Global" %>
Source File: c:\inetpub\wwwroot\MyTest\global.asax Line: 1
-------------------------------------------------------------------------- -- ----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

Nov 17 '05 #2
Nope, the DLL's are all there, as well as the global.asax file. I tried to
delete these and rebuild the solution, but that did not work either. The
only thing that seems to work right now is edit the files in notepad and
removing the inherits statements, but that doesn't feel right to me.

I renamed the webform of the aspx page in the solution explorer like a good
little programmer, as instructed by the books, but for some reason I still
find references to webform1 after saving and compiling.

I found an article on MSDN online and it says that this was 'by design'. How
can we work with a development environment that does not compile correctly?
I'm trying to handle an XML document in my code, and getting nowhere, when
the actual error might not even be my code but the .NET compiler....

"Oliver" <DE*******************@hotmail.com> wrote in message
news:uo**************@TK2MSFTNGP11.phx.gbl...
Is there a DLL in the /bin directory that you forgot to upload to the
server? Or a missing global.asax file in the root of MyTest?

"Daniel Rimmelzwaan" <ri*********@xhotmail.com> wrote in message
news:e1**************@tk2msftngp13.phx.gbl...
I receive the error below when I try to access my aspx page in a browser.
I
created the aspx page on my laptop (but the solution resides on a

server) with VS.NET and it builds correctly on the server, no compile errors. I
thought that Visual Studio takes care of all assembly information and

things
like that. Do I need to load or register something before I can use this
page?

Any help would be wonderful.
Daniel.
Server Error in '/MyTest' Application.


--------------------------------------------------------------------------
--
----

Parser Error
Description: An error occurred during the parsing of a resource required

to
service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load type 'MyTest.Global'.

Source Error:

Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="MyTest.Global" %>
Source File: c:\inetpub\wwwroot\MyTest\global.asax Line: 1


--------------------------------------------------------------------------
--
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573;

ASP.NET
Version:1.1.4322.573


Nov 17 '05 #3

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

Similar topics

1
by: Keith | last post by:
All, I have been told this is an ASP.NET issue and not an IIS issue, so I am posting this here. I have a problem with ASP.NET returning an HTTP 500 error when trying to run ASPX pages on...
2
by: sean | last post by:
Hi there, I am trying to call a C# web service from an aspx page, I have the asmx file, a user control file ascx and the aspx file. I have verified that the web service is returning correct...
6
by: José Joye | last post by:
Hello, I'm currently reading the MS Developing Web applications with c# (and VB.net). In the chapter related to Error management, there is a sample about "Page-Level Error Pages" eg: In my...
1
by: ScottF | last post by:
There was a problem with ASP.Net 1.1 creating/generating bad javascript on html pages that I ran into and on the KB page that I had found at the time it said that the problem was fixed in the .Net...
1
by: Craig Banks | last post by:
I have 2 ASP.Net solutions/projects. I want to use Server.Transfer in one solution/project to call the aspx webform in the second solution/project. When I try it I get an error message. My call is...
17
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the...
4
by: evantay | last post by:
I'm using ASP.NET 2.0 with VS.NET 2005. I'm trying to access properties from my master pages within a page that inherits from that master page (a child page). However the values are always null....
3
by: =?Utf-8?B?TWFyaw==?= | last post by:
I have an ASP.Net 1.1 site that uses Server.Transfer() heavily. Specifically, I use a page called /misc/pagenotfound.aspx to implement logic that maps URLs of the format /vdir/california to a...
1
by: moondaddy | last post by:
running vs2005 I have a small test website called TestPublish which has default.aspx, ErrorPage.aspx and testpage.htm. The default page just says hello world and no other code and the errorpage...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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...
0
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,...
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...

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.