G
Guest
In my design environment this works fine, but when I deploy it I get an error.
I have a class "MessageBox" defined in my "App_Code" folder. My aspx file
contains the line "Imports MessageBox" at the top.
When I deploy and run the website I get the following error.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Compilation Error
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 'MessageBox' is not declared.
Source Error:
Line 64: End If
Line 65: Catch ex As Exception
Line 66: MessageBox.Show(Err.Number & " - " & Err.Description &
": denyHistory")
Line 67: End Try
Line 68: End Function
I have a class "MessageBox" defined in my "App_Code" folder. My aspx file
contains the line "Imports MessageBox" at the top.
When I deploy and run the website I get the following error.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Compilation Error
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 'MessageBox' is not declared.
Source Error:
Line 64: End If
Line 65: Catch ex As Exception
Line 66: MessageBox.Show(Err.Number & " - " & Err.Description &
": denyHistory")
Line 67: End Try
Line 68: End Function