Hi,
I published a MVC project to a business server. It works but the data in the datatable is not showing.
Although, when I just debug in Visual Studio there is data.
This project has 2 tabs:
The first tab is to show the datatable in question which uses
Entity Framework;
The second tab also has a datatable which shows data that is accessed via
Ado.Net.
Data in the first tab does not show, while it does in the second tab.
Could the problem be that while the datatable on the first tab references to this link
<script type="text/javascript" charset="utf8" src="
https://cdn.datatables.net/1.10.16/js/jquery.dataTables.js"></script>
while for the second tab I imported the yadcf datatable
<script src="~/Yadcf/jquery.dataTa
bles.yadcf
.js"></scr
ipt> ?
FYI, when I published I used the below:
UNDER CONNECTION:
Publish method: Web Deploy
Server: (Business Server Name)
Site name: HelpDeskSupport
Username: myUsername
Password: myPassoword
UNDER SETTINGS:
Under "DBModel" as the datasource I added the SQL Server name with its username and password.
I checked the "Use this connection string at runtime..."
Could you please help me figure out what I have done wrong? Thank you.
There you can see what resources are missing.