向Codesmith添加数据源 [英] Adding a datasource to Codesmith

查看:230
本文介绍了向Codesmith添加数据源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将数据源添加到Codesmith 7.1.0 rev 15317 这是Windows 10机器上的新安装.

I am trying to add a DataSource to Codesmith 7.1.0 rev 15317 This is a new install on a Windows 10 box.

我不断收到错误

Test Failed. Arithmetic operation resulted in an overflow. 

我在旧的win8盒子上做了很多次.

I have done this many times on my old win8 box.

我正在使用的提供程序是SqlSchemaProvider(SQL Server) 这是连接字符串

The provider I am using is SqlSchemaProvider (SQL Server) This is the connection string

Data Source=localhost;InIitial Catalog=gregsData;Persist Security Info=True;User ID=sa;Password=catdog;

我尝试使用字符串生成器,从我知道它正在运行的应用程序中复制,添加和删除各个部分.

I have tried using the string builder, copying from my app where I know it is working, adding and deleting various parts.

我在使用CodeSmithTools打开时遇到了问题,但是没有取得太大进展.

I have an issue open w/ CodeSmithTools, but not making a lot of progress.

有人使用带有Windows 10的CodeSmith吗?它必须正常工作吗?这不能是一个错误.

Is anyone using CodeSmith w/ windows 10? It has to work right? This cant be a bug.

有人有类似的问题吗?

Has anyone had a similar issue?

推荐答案

我不知道该怎么解决.也许重启?也许有些奇怪的更新. 我一个礼拜来了,它开始工作了.

I have no idea what resolved this. maybe a reboot? maybe some odd update. I came in one monday and it started working.

这篇关于向Codesmith添加数据源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆