N
Neil Ramsbottom
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 application on yet another development machine
(were trying to get a new revision control system up and running on this
project) but the application always reports 'Could not load type' when we
try and run a page.
The problem can be solved by modifying the codebehind and re-building, but
that would take a very long time!. Why does this happen?
I've read about Windows XP caching files at compile time, could this be
something to do with it? I know for sure that there is absolutely nothing
wrong with the code, and I'll be damned if anyone can prove otherwise - it
works fine... if I add a single comment char to the codebehind!
Below is the output that I get when I run the application for the first time
on a new development machine (the 'default' page).
Can anyone shed any light on this - it's most frustrating!
Neil Ramsbottom
Server Error in '/Capture' 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
'Cencion.Disney2003.Capture.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="Cencion.Disney2003.Capture.Global" %>
Source File:
N:\Development\Projects\Cencion\Disney\Disney2003\Capture\global.asax
Line: 1
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 application on yet another development machine
(were trying to get a new revision control system up and running on this
project) but the application always reports 'Could not load type' when we
try and run a page.
The problem can be solved by modifying the codebehind and re-building, but
that would take a very long time!. Why does this happen?
I've read about Windows XP caching files at compile time, could this be
something to do with it? I know for sure that there is absolutely nothing
wrong with the code, and I'll be damned if anyone can prove otherwise - it
works fine... if I add a single comment char to the codebehind!
Below is the output that I get when I run the application for the first time
on a new development machine (the 'default' page).
Can anyone shed any light on this - it's most frustrating!
Neil Ramsbottom
Server Error in '/Capture' 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
'Cencion.Disney2003.Capture.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="Cencion.Disney2003.Capture.Global" %>
Source File:
N:\Development\Projects\Cencion\Disney\Disney2003\Capture\global.asax
Line: 1