江山泪 发表于 2019-3-10 21:19:43

增加项目创建数据库报错

本帖最后由 TestWriter 于 2019-3-18 09:39 编辑

我的Testwriter是4.3.1.3版本,用的mysql数据库版本5.6。
针对这个问题尝试了如下两种解决方案:重启数据库,创建新用户赋权限登陆testwriter服务的,然而还是失败
如下是我的错误日志,不知有没有相同问题的朋友可以帮忙解答下,谢谢!

2019-03-10 20:37:55,385 ERROR TestWriter.Ide.log4netLoggingService - ThreadException caught
TestWriter.DataContract.TWLicenceException: 创建项目数据库出错 ---> System.ServiceModel.FaultException`1: 创建项目数据库出错

Server stack trace:
   在 System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
   在 System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   在 System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   在 System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   在 System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at :
   在 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   在 TestWriter.Server.WcfInterface.IProjectMgmtService.AddProject(Project project, List`1 agentList)
   --- 内部异常堆栈跟踪的结尾 ---
   在 TestWriter.Common.WcfClientHelper.ServiceRealProxy`1.Invoke(IMessage msg)
   在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   在 TestWriter.Server.WcfInterface.IProjectMgmtService.AddProject(Project project, List`1 agentList)
   在 TestWriter.Client.Management.ucWizardProjectInfo.wizardControl_AddProject_FinishClick(Object sender, CancelEventArgs e)
   在 DevExpress.XtraWizard.WizardControl.RaiseFinishClick()
   在 DevExpress.XtraWizard.WizardControl.OnFinishButtonClick(Object sender, EventArgs e)
   在 System.Windows.Forms.Control.OnClick(EventArgs e)
   在 DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
   在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
   在 DevExpress.XtraEditors.BaseControl.WndProc(Message& msg)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

TestWriter 发表于 2019-3-11 11:15:30

不可以用5.6版本
建议用TW自带版本或5.7版本
页: [1]
查看完整版本: 增加项目创建数据库报错