I am building an nTier application following a tutorial. The simple project connected to Northwind worked.
The application uses a DataEntityTier, a DataAccessTier, a dataset split between the two (the dataset.designer.vb is in the DataEntityTier), a WCF Data Service with IService1.vb and Service1.vb containing the OperationContract code and Function code in Service1.vb to return data from two tables.
The presentation tier references the DataEntityTier and has a Service Reference to the WCF Data Service. I am able to obtain data from Northwind in the PresentationTier. (I am also able to connect via Excel and obtain data).
I am now building a simple project connecting to my own SQL database. I have double-checked all my code and it is the same as in the test project. I am able to obtain data in the DataAccessTier when I go to the Query Builder on the table in the XSD dataset GUI.
Although data is visible in the XSD dataset, it is not coming through to the PresentationTier. No errors are thrown but it appears to be failing in the DataService at Service1.vb. This code is identical to my Northwind project and Intellisense shows expected properties -
Public Function GetClientInfo() As DataEntityTier.PPDataSet.tblClientInfoDataTable Implements IService1.GetClientInfo
Dim ClientInfoTableAdapter1 As New DataAccessTier.PPDataSetTableAdapters.tblClientInfoTableAdapter
Return ClientInfoTableAdapter1.GetClientInfo
End Function
What is the best way to trouble shoot why the data isn't making it through to the PresentationTier?