简体   繁体   English

asp.net项目中的LocalDb是否需要一些配置才能在其他计算机上运行? VS2012

[英]LocalDb in asp.net project require some configurations to run on other machine? VS2012

I need to send a asp.net demo using SQL Server database. 我需要使用SQL Server数据库发送一个asp.net演示。 Is local db something require no configuration to run on other machine ? 本地数据库是否不需要配置即可在其他计算机上运行? Is it something if I include in project, on other machine other person will just run application in Visual Studio and LocalDb will be available there ? 如果我将其包含在项目中,在别人的机器上其他人将只在Visual Studio中运行应用程序,那里会提供LocalDb吗? or it will require some configurations on other machine as well ? 还是需要在其他机器上进行一些配置?

I m looking for a way there I can just add a database in my asp.net application and on other machine having visual studio should open and run it without any configuration. 我正在寻找一种方法,可以在asp.net应用程序中添加数据库,而在其他装有Visual Studio的计算机上,则无需任何配置即可打开并运行该数据库。 Please guide is LocalDb for this purpose or I should use any other solution ? 请为此指导LocalDb还是我应该使用其他解决方案?

Yes, the target machine should have SQL Sever Express 2012/2014 LocalDB installed. 是的,目标计算机应已安装SQL Sever Express 2012/2014 LocalDB It comes with VS 2012 (as long as it was not deselected in the advanced options during setup). 它随VS 2012一起提供(只要在安装过程中未在高级选项中取消选择它)。

Read more at confusion about SQL Server Express and localdb 了解更多关于SQL Server Express和localdb的困惑

If you provide a demo for developers, you should list all requirements for the system, such as 如果为开发人员提供演示,则应列出系统的所有要求,例如

  • VS.NET version VS.NET版本
  • database engine version 数据库引擎版本
  • user rights, folder structure, etc. 用户权限,文件夹结构等

and they should take that into account when setting the demo. 他们在设置演示时应该考虑到这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在VS2012中的ASP.NET项目中加载慢速符号 - Slow symbol loading in an ASP.NET Project in VS2012 当我在Windows Server 2012 R2的VS2012中运行asp.net 4.5 mvc 4站点时显示“此页面无法显示” - asp.net 4.5 mvc 4 site shows “This page can’t be displayed” when I run it in VS2012 on Windows Server 2012 R2 将LocalDB连接到ASP.net项目 - Connect LocalDB to ASP.net Project 在VS2012中创建新的ASP.NET MVC 4 Web应用程序时出现0x80070002错误 - 0x80070002 error when creating new ASP.NET MVC 4 Web Application in VS2012 在VS2012中,在单击按钮后,使用asp.net ajax方法阻止页面刷新 - Using asp.net ajax method to stop the page from refreshing after a buttonclick in VS2012 使用https请求时vs2012中的Asp.Net调试失败 - Asp.Net debbuging in vs2012 fails when using https requests 在VS2012中更改标记后,ASP.Net Inproc会话重新启动 - ASP.Net Inproc session restarted after markup change in VS2012 更改默认VS2012 ASP.Net Site.Master页面中的链接外观 - Changing link appearance in Default VS2012 ASP.Net Site.Master page 无法在我的机器上运行特定的 ASP.NET 项目。 Rider 和 VS2019 - Can't run a specific ASP.NET project on my machine. Both Rider and VS2019 如何在ASP.NET MVC项目中访问LocalDB - How to access LocalDB in asp.net mvc project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM