Re: What is Needed to Get an ASP.NET Page to Work?
- From: "Sean Chambers" <dkode8@xxxxxxxxx>
- Date: 11 Oct 2006 07:04:32 -0700
Sorry, I forgot to ask if you were using asp.net 1.1 or asp.net 2.0
My response applies to asp.net 2.0
Gaurav Vaish (www.EdujiniOnline.com) wrote:
ASP.Net 1.1?
Check... Global.asax.cs exists and is referred to in the project.
--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujinionline.com
http://eduzine.edujinionline.com
-----------------------------------------
"Altemir" <david.altemir@xxxxxxxxx> wrote in message
news:1160570649.011924.254120@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SOME BACKGROUND:
I am new to ASP.NET, but somehow managed to install a perfectly working
.aspx page on our production server that I compiled in Visual Studio.
However, I recently needed to update it, so I first added a ".old"
suffix to the MyPage.aspx, MyProject.dll, and global.asax files on the
production server so I had a backup copy of the original files in case
something went wrong. Indeed, something did go wrong when I installed
the files on the production server, so I deleted the ".old" suffixes to
return the application to its original state ... AND NOW IT DOESN"T
WORK?!!?!?!
I get Parser Error messages like "Could not load type
'MyProject.MyPage' " and "Could not load type 'MyProject.Global' " I
do not have this problem on my localhost, EXCEPT when I try to copy the
application into a different test directory on my localhost. Which
leads me to ...
MY QUESTION:
What exactly is needed on a host to make an .aspx page work? I was
under the impression that all you need are fully compiled (built)
.aspx, .dll, and .asax files. I thought you could just copy these
anywhere and they would work together (provided that they're in the
right folders).
What am I misunderstanding?
.
- References:
- What is Needed to Get an ASP.NET Page to Work?
- From: Altemir
- Re: What is Needed to Get an ASP.NET Page to Work?
- From: Gaurav Vaish \(www.EdujiniOnline.com\)
- What is Needed to Get an ASP.NET Page to Work?
- Prev by Date: dropdownlist autopostback with javascript confirm
- Next by Date: Re: GridView Paging + Atlas
- Previous by thread: Re: What is Needed to Get an ASP.NET Page to Work?
- Next by thread: Unwanted window
- Index(es):
Relevant Pages
|