M
Me
Hi,
We have an ASP.NET application that works fine on my
workstation and our integration server (both of these
boxes have Visual Studio installed). When we moved the
app to our stagging server (without VS) it stopped
working. I get the following errors:
Error #1:
Description: An error occurred during the compilation of a
resource required to service this request. Please review
the following specific error details and modify your
source code appropriately.
Compiler Error Message: BC30451: Name 'm_strOnLoad' is not
declared.
Error #2
Description: An unhandled exception occurred during the
execution of the current web request. Please review the
stack trace for more information about the error and where
it originated in the code.
Exception Details: System.NullReferenceException: Object
reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution
of the current web request. Information regarding the
origin and location of the exception can be identified
using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an
instance of an object.]
Customer_Service.searchAccount.Page_Load(Object sender,
EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
So it looks to me like the aspx pages cannot find a
reference to their codebehind classes which should have
been compiled into the project DLL. I have checked the
versions of the all DLLs and aspx files in the bin
directory and they are the same as the ones on the
integration box.
A little bit about the process we are using: First I
develop and compile the project on my local box and then
check the source files (.aspx.vb, .vb, etc) and aspx files
into VSS. Then I go onto the integration server and
checkout the pertinent versions of the source files and
aspx files based on the code changes we want to
implement. Still on the integration server, I recomiple
the project DLL with the new files that I just got from
VSS, and everything is working fine on that box.
Now, for the move to the stagging server I simply copied
all the aspx files, and I have the project DLL in the bin
directory of the web application. Is this all I need to
do? It seems that I'm missing something. Any help would
be greatly appreciated!
We have an ASP.NET application that works fine on my
workstation and our integration server (both of these
boxes have Visual Studio installed). When we moved the
app to our stagging server (without VS) it stopped
working. I get the following errors:
Error #1:
Description: An error occurred during the compilation of a
resource required to service this request. Please review
the following specific error details and modify your
source code appropriately.
Compiler Error Message: BC30451: Name 'm_strOnLoad' is not
declared.
Error #2
Description: An unhandled exception occurred during the
execution of the current web request. Please review the
stack trace for more information about the error and where
it originated in the code.
Exception Details: System.NullReferenceException: Object
reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution
of the current web request. Information regarding the
origin and location of the exception can be identified
using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an
instance of an object.]
Customer_Service.searchAccount.Page_Load(Object sender,
EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
So it looks to me like the aspx pages cannot find a
reference to their codebehind classes which should have
been compiled into the project DLL. I have checked the
versions of the all DLLs and aspx files in the bin
directory and they are the same as the ones on the
integration box.
A little bit about the process we are using: First I
develop and compile the project on my local box and then
check the source files (.aspx.vb, .vb, etc) and aspx files
into VSS. Then I go onto the integration server and
checkout the pertinent versions of the source files and
aspx files based on the code changes we want to
implement. Still on the integration server, I recomiple
the project DLL with the new files that I just got from
VSS, and everything is working fine on that box.
Now, for the move to the stagging server I simply copied
all the aspx files, and I have the project DLL in the bin
directory of the web application. Is this all I need to
do? It seems that I'm missing something. Any help would
be greatly appreciated!