LightSwitch Beta 1 寻找 SQL Express 而不是完整的 SQL 实例

LightSwitch Beta 1 looking for SQL Express instead of full SQL instance(LightSwitch Beta 1 寻找 SQL Express 而不是完整的 SQL 实例)
本文介绍了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 实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

Sending parameters to stored procedures vb.net(将参数发送到存储过程 vb.net)
Insert multiple rows, count based on another table columns(插入多行,根据另一个表列计数)
How to hold the location of an image in a SQL Server database?(如何在 SQL Server 数据库中保存图像的位置?)
How to send to email (outlook) the selected items in SQL Server database using vb.net(如何使用 vb.net 将 SQL Server 数据库中的选定项目发送到电子邮件(Outlook))
datagrid checkbox writes Null instead of 0 (false) into database(datagrid 复选框将 Null 而不是 0 (false) 写入数据库)
DBCC CheckDb-any ways to detect errors vb.net?(DBCC CheckDb-vb.net 有什么检测错误的方法吗?)