LightSwitch Beta 1 looking for SQL Express instead of full SQL instance(LightSwitch Beta 1 寻找 SQL Express 而不是完整的 SQL 实例)
问题描述
在解决 RIA 安装问题后这里,我仍然收到以下错误.没什么特别的 - 我尝试基于完整 SQL 2005 实例中现有数据库的数据源创建一个新屏幕
After resolving issues with RIA installation here, I'm still getting this following error. Not much special - I tried to create a new screen based off of data sources from an existing database in a full SQL 2005 instance
建立一个错误连接到 SQL Server 实例'.\SQLEXPRESS'.与网络相关的或特定于实例的错误发生时建立到 SQL 的连接服务器.未找到服务器或无法访问.验证实例名称正确且该 SQL服务器配置为允许远程连接.(提供者:SQL 网络接口,错误:26 - 错误定位服务器/实例指定)
An error occurred while establishing a connection to SQL Server instance '.\SQLEXPRESS'. A network-related or instance-specific error occurred 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)
我想更正自动生成的配置文件中的连接字符串.尽管 Visual Studio 似乎不认为该文件在重建时被覆盖,但错误仍会继续出现.
I've tried to correct the connection string in the, I guess, autogen'd config file. Even though Visual Studio doesn't seem to think that the file is overwritten on rebuild, the error continues to appear.
如何将 LightSwitch 与完整的 SQL 2005 而不是 SQL Express 一起使用?
How can I use LightSwitch with full SQL 2005 rather than SQL Express?
推荐答案
似乎在本地工作时,LightSwitch 使用 SQL Server Express.它将成员身份、角色和其他身份验证信息放在这里.我不知道有什么方法可以在本地解决这个问题,但是当您发布"您的项目时,您可以使用不同的数据库/服务器.您也可以使用任何您喜欢的服务器/数据库作为您的数据源.
It seems when working Locally, LightSwitch uses SQL Server Express. It puts it's Membership, Roles, and other authentication information here. I don't know any way to get around this locally, but when you go to "Publish" your project, you're given the ability to use a different database/server. You can also use whatever server/database you'd like for your data sources as well.
希望在 V1 之前,他们将允许您更改它.但是我还没有找到方法,不会不断覆盖配置.
Hopefully, before V1, they'll allow you to change that. But I haven't found a way yet, without the config being overwritten constantly.
这篇关于LightSwitch Beta 1 寻找 SQL Express 而不是完整的 SQL 实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:LightSwitch Beta 1 寻找 SQL Express 而不是完整的 SQL 实


- 以一个值为轴心,但将一行上的数据按另一行分组? 2022-01-01
- 如何使用 pip 安装 Python MySQLdb 模块? 2021-01-01
- 导入具有可变标题的 Excel 文件 2021-01-01
- SQL 临时表问题 2022-01-01
- 远程 mySQL 连接抛出“无法使用旧的不安全身份验证连接到 MySQL 4.1+"来自 XAMPP 的错误 2022-01-01
- 如何将 Byte[] 插入 SQL Server VARBINARY 列 2021-01-01
- 更改自动增量起始编号? 2021-01-01
- 在SQL中,如何为每个组选择前2行 2021-01-01
- 如何将 SonarQube 6.7 从 MySQL 迁移到 postgresql 2022-01-01
- 使用 Oracle PL/SQL developer 生成测试数据 2021-01-01