单击一次,Windows桌面应用程序 [英] Click Once, Windows Desktop App

查看:50
本文介绍了单击一次,Windows桌面应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有查看此内容的人都好

我创建了一个Windows桌面应用程序,并使用一次单击将其发布,并附加了mdf文件,然后将其保存到c驱动器上的文件夹中.

当我测试该应用程序时,它可以在我和另外两台PC上正常工作,但在一台计算机上会抛出错误.

此计算机(发生错误的计算机)未安装SQL.

所有必备软件和应用程序文件都在其中...

这是错误:建立与SQL Server的连接时发生了与网络相关或特定于实例的错误.服务器未找到或无法访问.验证实例名称正确并且已将SQL Server配置为允许远程连接.(提供程序:SQL网络接口,错误:26-查找指定的服务器/实例时出错)

有帮助吗?

Hi to all who view this

I created a windows desktop app and used the click once to publish it, there is a mdf file attached and I''m saving it to a folder on my c drive.

When I test the app it works on my side and 2 other pc''s but on the one computer it throws an error.

This computer(where the error is on) does not have SQL installed.

All the Prerequisites and Application files are there...

Here is the error : a network-related or instance-specific error occured while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.(provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Any help?
Thanks

推荐答案

他们将必须安装SQL,或者您必须搜索大多数用户拥有的替代方法.无法全部使用它们,否则您最好制作Mac版本以及与Win 2000及更低版本兼容的Mac版本.

难道不是一按即可为您安装所有必需的组件吗?
They''ll have to install SQL or you have to search for an alternative that most users have. Can''t serve them all, or else you might as well make a Mac version and versions that are compatible with Win 2000 and lower...

Doesn''t one click install all necessary components for you though?


伙计们

找到了解决方案...
我只是用了另一种方法!!!

谢谢
Hey Guys

Found a solution...
I just used a different approach!!!

Thanks


这篇关于单击一次,Windows桌面应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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