我正在使用SQL数据库部署Windows应用程序 [英] i am deploying a windows application with a SQL database

查看:64
本文介绍了我正在使用SQL数据库部署Windows应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早上好,

这似乎已经被询问了一百万次,但仍然无法正常工作.

我们已将数据库配置为localhost,并将其部署为Windows安装,唯一的问题是它根本无法访问数据库,并出现错误无法打开登录所请求的数据库,登录失败"

我们如何在客户端PC上创建数据库(而不是副本),因为将没有SQL Server甚至没有安装Express.

任何帮助将不胜感激

谢谢
Chris Van Tonder

Good day,

This might seem like it has been asked a million times but it still isn`t working.

We have configured the database as localhost and we have deployed it as a windows installation, the only problem that we have is that it cannot access the database at all, it gives the error "Cannot open database requested by login, login failed"

How do we get the database to create on the client side PC (not copy), because there will be no SQL server or even express installed.

Any help would be greatly appreciated

Thanks
Chris Van Tonder

推荐答案



您将能够从服务器计算机SQL查询分析器访问数据库服务器吗?



在客户端计算机上安装SQL客户端工具并检查是否正在建立连接?
Hi,

Will you be able to access database server from Server machine SQL Query analyser?

or

Install SQL client tool on client machine and check connection is happening or not?


只是一个想法.

您是否尝试过将错误消息粘贴到您喜欢的搜索引擎的搜索框中?这将涉及大量阅读,因为您将获得大量的热门歌曲.

他们中的大多数都会归结为权限问题.
Just a thought.

Have you tried pasting the error message into the search box of your favourite search engine? It will involve lots of reading as you will get loads of hits.

Most of them will boil down to a permissions problem.


感谢答案

是的,我们已经尝试了所有方法:confused:

这是最好的主意,我们确实尝试过,但仍然没有正在运行的程序:
您需要授予ASPNET帐户的登录权限以及数据库权限

但是数据库尚未在计算机上运行.而且我们仍然不知道,如果有一个教程演示如何逐步进行,那将是很棒的.

谢谢
Thanks for the Answer

yes, we have tryed it all :confused:

This was the best idea and we did try it and still no running program:
You need to grant login permissions to the ASPNET account as well as database permissions

but the database isn''t working on the Computer yet. And we still have no idea, evan a tutorial that shows how to do it step by step would be awesome.

Thanks


这篇关于我正在使用SQL数据库部署Windows应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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