I've been getting this error in any page that I try to run and I shouldn't be. The funny thing is though, when I run it locally it doesn't give me this error. It's only when I upload it to the site and try to run it. This is ASP.NET 2.0. I never had this problem with ASP.NET 1.1 -- and I've used this same class before in other web apps without any problem.
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: BC30002: Type 'OrderDetails' is not defined.
Source Error:
Line 31: End Sub
Line 32: Private Sub LoadGrid(ByVal iOrderID As Integer, ByVal iOrderID2 As Integer)
Line 33: Dim ds As New DataSet, ord As New OrderDetails
Line 34: ds = ord.GetOrderDetailsDataSet(iOrderID, iOrderID2)
Line 35: Session("GridOrderID") = iOrderID
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: BC30002: Type 'OrderDetails' is not defined.
Source Error:
Line 31: End Sub
Line 32: Private Sub LoadGrid(ByVal iOrderID As Integer, ByVal iOrderID2 As Integer)
Line 33: Dim ds As New DataSet, ord As New OrderDetails
Line 34: ds = ord.GetOrderDetailsDataSet(iOrderID, iOrderID2)
Line 35: Session("GridOrderID") = iOrderID