数据库不工作看看我试过了什么 [英] database not working look what I tried

查看:86
本文介绍了数据库不工作看看我试过了什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将笔记本电脑重新安装到出厂设置并下载了所有更新。 下载VS2010快递并加载它。 已下载的sp1已加载它。 下载了lightswitch并加载了它。 然后我复制了我的.sdf数据库。 去.sdf数据库
属性,以确保它可以使用。 我的.sdf文件数据鞋在服务器资源管理器中。 当我尝试查看我的屏幕时,它表示无法加载数据检查连接和红色x。 改变了我的互联网设置,如讨论所说。 使用PatientID LastName和FirstName by VB2010组成
新的.sdf数据库。 已加载3条记录。   记录 在VB2010和Lightswitch的解决方案资源管理器中显示。 红色X和连接问题仍在继续。

I reinstalled my laptop to factory settings and downloaded all updates.  downloaded VS2010 express and loaded it.  Downloaded sp1 loaded it.  downloaded lightswitch and loaded it.  Then I copied my .sdf database.  Went to .sdf database properties to ensure it was ok to use.  My .sdf file data shoes in server explorer.  When I try to view my screen it says unable to load data check connection and red x's.  Changed my internet settings like the discussions say.  Made up new .sdf database with PatientID LastName and FirstName by VB2010.  Loaded 3 records.  Records  shows in the solution explorer in both VB2010 and Lightswitch.  Red X and connection problem continued.

不使用网络应用程序。 改变了互联网选项的入口。 我没有授权。使用regedit

NOT using web app.  Changed intanet in internet options.  I have no authorizations. Messed with the regedit

HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet \Control \ Lsa \ MSV1_0

推荐答案

嗨Jim,

LightSwitch不使用任何.sdf文件。你的意思是mdf吗?或者这是一个附加数据源?

LightSwitch doesn't use any .sdf file. Did you mean mdf? Or is this an attached data source?

为了能够在新机器上打开LS项目,您需要整个项目,而不仅仅是数据库文件。即使这样,我也遇到了问题,即使在同一台机器上使用不同的帐户。

To be able to open a LS project on a new machine, you need the whole project, not just the database file anyway. Even then I've had problems, even with a different account on the same machine.

Yann


这篇关于数据库不工作看看我试过了什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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