[英]Deploying ASP.NET Web API with EF Database-First Application
I have a project I was working on for two months, 我有一个我正在工作两个月的项目,
It contains three layers (Projects) : 它包含三个层(项目):
I purchased a windows host that supports IIS 8 , and tried two ways to upload the project 我购买了支持IIS 8的Windows主机,并尝试了两种上传项目的方法
First one : I Right clicked the API Layer and selected publish, then by FTP and gave it the correct data, then waited for it to upload, After finishing : when I try to call any method in any of the connectors it gives me (500 Internal Server Error). 第一个:我右键单击API层并选择发布,然后通过FTP给它正确的数据,然后等待它上传,完成后:当我尝试调用任何连接器中的任何方法时它给我(500内部服务器错误)。
Second one : Just copied all the files and putted it in my site, For shore won't work! 第二个:刚刚复制了所有文件并将其放在我的网站上,因为岸不起作用!
Keep in mind: 记住:
Its my first time working on Visual Studio, The database I already uploaded to my web site then debugged the solution locally and its working fine!. 我第一次使用Visual Studio,我已经上传到我的网站的数据库然后在本地调试解决方案,它的工作正常!
Please help me. 请帮我。
For who ever had a similar problem, 谁遇到过类似的问题,
I think my problem is because I used a mysql database, and I have some columns that store date and time, and they just don't work together ! 我认为我的问题是因为我使用了一个mysql数据库,而且我有一些存储日期和时间的列,它们只是不能一起工作!
still my application is under development. 我的申请还在开发中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.