Local database deployment problems and fixtures

/*By Jiangong SUN*/


After encountering some problems in deploying databases to local server, here are some tips which could be helpful in the database deployment exercises.


When you deploy your databases. You can monitor the progress in "Data Tools Operations" view.


The deployment can have all the following steps:


Step 1. Creating publish preview
Step 2. Creating database script
Step 3. Executing publish script on database 'Your database'.
Step 4. Publish completed successfully



In my experience, the failure in Step 1 could happen when you generate the database script.
If you have this problem, build the project and retry.


In Step 2 you could meet a problem like : the script file could not be found
In this case, just locate your project folder and find the file "{DB_Name}.dbmdl" and delete it. Then retry.
In other cases, if the database script is correctly generated and there is a problem, you can even execute and debug the script "{DB_Name}_{Publish_Number}.publish.sql".


If you meet the problem at Step 3, you can click on "View Results"  to locate where the problem is.
If you can't locate the problem, just debug the generated SQL script.


I hope this post can do help to you!!!


Enjoy coding!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值