本文介绍了Lightswitch部署问题 - C:\Program Files(x86)\ MSBuild\Microsoft \ VisualStudio \ LightSwitch\v1.0\Microsoft.LightSwitch.targets(1126,9):错误:与基础事务通信经理失败了。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我创建了一个简单的Lightswitch Beta 2测试应用程序。它在我的开发环境中运行良好,但在尝试发布到测试服务器时出现以下部署错误:


**********


BuildVersionIncrement:BuildEvents_OnBuildBegin范围:vsBuildScopeProject action vsBuildActionBuild


------ Build build:Project:Common,Configuration :调试任何CPU ------


Common - > c:\users\ty814c \documents\visual studio 2010 \Projects\DataLocationEditor\DataLocationEditor\Common\Bin\Application.Common.dll


- ----- Build build:Project:Server,Configuration:Debug Any CPU ------


Server - > c:\users\ty814c\documents\visual studio 2010 \Projects\DataLocationEditor\DataLocationEditor\Server\bin\Debug\DataLocationEditor.Server.dll


------ Build build:Project:Client,Configuration:Debug any CPU ------


Client - > c:\users\ty814c \documents\visual studio 2010 \Projects\DataLocationEditor\DataLocationEditor\Client\Bin\Debug\DataLocationEditor.Client.dll


------ Build build:Project:ServerGenerated,Configuration:Debug Any CPU ------


ServerGenerated - > c:\users\ty814c \documents\visual studio 2010 \Projects\DataLocationEditor\DataLocationEditor\ServerGenerated\bin\Debug\DataLocationEditor.ServerGenerated.dll


------ Build build:Project:ClientGenerated,Configuration:Debug Any CPU ------


ClientGenerated - > c:\users\ty814c\documents\visual studio 2010 \Projects\DataLocationEditor\DataLocationEditor\ClientGenerated\Bin\Debug\DataLocationEditor.ClientGenerated.dll


开始应用程序清单生成


未检测到任何更改。应用程序清单文件是最新的


------ Build build:Project:DataLocationEditor,Configuration:Debug Any CPU ------


------发布已启动:项目:DataLocationEditor,配置:调试任何CPU ------


签署Xap文件...


添加sitemanifest(sitemanifest)。


添加sitemanifest(sitemanifest)。


添加LightSwitchApplication(默认网站/ DataLocationEditor)。


添加LightSwitchApplication(默认网站/ DataLocationEditor)。


添加sitemanifest(sitemanifest)。


添加sitemanifest (sitemanifest)。


更新filePath(默认网站/ DataLocationEditor \bin\Application.Common.dll)。


更新filePath(默认网站/ DataLocationEditor\bin\Application.Common.dll)。


更新filePath(默认网站/ DataLocationEditor\bin\DataLocationEditor.Server.dll)。


更新filePath(默认网站/ D. ataLocationEditor\bin\DataLocationEditor.Server.dll)。


更新filePath(默认网站/ DataLocationEditor\bin\DataLocationEditor.ServerGenerated.dll)。


更新filePath(默认网站/ DataLocationEditor\bin\DataLocationEditor.ServerGenerated.dll)。


更新filePath(默认网站/ DataLocationEditor\default.htm) 。


更新filePath(默认网站/ DataLocationEditor\default.htm)。


更新filePath(默认网站/ DataLocationEditor \ Web \\ \\ DataLocationEditor.Client.xap)。


更新filePath(默认网站/ DataLocationEditor\Web\DataLocationEditor.Client.xap)。


更新filePath(默认网站/ DataLocationEditor\web.config)。


更新filePath(默认网站/ DataLocationEditor\web.config)。


添加LightSwitchApplication(默认网站/ DataLocationEditor)。


添加LightSwitchApplication(默认网站/ DataLocationEditor)。


发布已成功部署。


C:\Program Files (x86)\ MSBuild\Microsoft \ VisualStudio \LightSwitch\v1.0\Microsoft.LightSwitch.targets(1126,9):错误:与基础事务管理器的通信失败。


完成建筑项目"DataLocationEditor.lsproj" - 失败。


构建失败。


==========构建:6成功或最新, 0失败,0跳过==========


==========发布:0成功,1失败,0跳过==== ======


BuildVersionIncrement:BuildEvents_OnBuildDone范围:vsBuildScopeProject action vsBuildActionBuild


BuildVersionIncrement:已检查项目


BuildVersionIncrement:清除日期和解决方案缓存


* *********



应用程序类型是桌面,3层。 应用程序服务设置为托管在测试服务器上,该服务器运行带有Lightswitch Beta 2运行时的Windows 2003 Server R2已安装。 访问控制设置为"使用Windows身份验证"和"仅允许
用户在应用程序的用户屏幕中指定的用户"。 管理员连接设置为:


数据
Source = server; Initial Catalog = cat; Persist Security Info = True; User ID = yyy; Password = xxx



用户连接设置为:



数据
Source = server; Initial Catalog = cat; Persist Security Info = True; User ID = yyy; Password = xxx


其他
连接设置为:



数据
Source = server; Initial Catalog = cat; Persist Security Info = True; User ID = yyy; Password = xxx


可以
任何人都可以提供一些有关我为什么会收到事务管理器通知错误的信息吗? 开发机器配置了远程DTC安全性和服务器一样。


解方案


I've created a simple Lightswitch Beta 2 test application. It works great in my development environment but I get the following deployment error when trying to publish to a test server:

**********

BuildVersionIncrement: BuildEvents_OnBuildBegin scope: vsBuildScopeProject action vsBuildActionBuild

------ Build started: Project: Common, Configuration: Debug Any CPU ------

Common -> c:\users\ty814c\documents\visual studio 2010\Projects\DataLocationEditor\DataLocationEditor\Common\Bin\Application.Common.dll

------ Build started: Project: Server, Configuration: Debug Any CPU ------

Server -> c:\users\ty814c\documents\visual studio 2010\Projects\DataLocationEditor\DataLocationEditor\Server\bin\Debug\DataLocationEditor.Server.dll

------ Build started: Project: Client, Configuration: Debug Any CPU ------

Client -> c:\users\ty814c\documents\visual studio 2010\Projects\DataLocationEditor\DataLocationEditor\Client\Bin\Debug\DataLocationEditor.Client.dll

------ Build started: Project: ServerGenerated, Configuration: Debug Any CPU ------

ServerGenerated -> c:\users\ty814c\documents\visual studio 2010\Projects\DataLocationEditor\DataLocationEditor\ServerGenerated\bin\Debug\DataLocationEditor.ServerGenerated.dll

------ Build started: Project: ClientGenerated, Configuration: Debug Any CPU ------

ClientGenerated -> c:\users\ty814c\documents\visual studio 2010\Projects\DataLocationEditor\DataLocationEditor\ClientGenerated\Bin\Debug\DataLocationEditor.ClientGenerated.dll

Begin application manifest generation

No changes detected. Application manifest file is up to date

------ Build started: Project: DataLocationEditor, Configuration: Debug Any CPU ------

------ Publish started: Project: DataLocationEditor, Configuration: Debug Any CPU ------

Signing Xap file...

Adding sitemanifest (sitemanifest).

Adding sitemanifest (sitemanifest).

Adding LightSwitchApplication (Default Web Site/DataLocationEditor).

Adding LightSwitchApplication (Default Web Site/DataLocationEditor).

Adding sitemanifest (sitemanifest).

Adding sitemanifest (sitemanifest).

Updating filePath (Default Web Site/DataLocationEditor\bin\Application.Common.dll).

Updating filePath (Default Web Site/DataLocationEditor\bin\Application.Common.dll).

Updating filePath (Default Web Site/DataLocationEditor\bin\DataLocationEditor.Server.dll).

Updating filePath (Default Web Site/DataLocationEditor\bin\DataLocationEditor.Server.dll).

Updating filePath (Default Web Site/DataLocationEditor\bin\DataLocationEditor.ServerGenerated.dll).

Updating filePath (Default Web Site/DataLocationEditor\bin\DataLocationEditor.ServerGenerated.dll).

Updating filePath (Default Web Site/DataLocationEditor\default.htm).

Updating filePath (Default Web Site/DataLocationEditor\default.htm).

Updating filePath (Default Web Site/DataLocationEditor\Web\DataLocationEditor.Client.xap).

Updating filePath (Default Web Site/DataLocationEditor\Web\DataLocationEditor.Client.xap).

Updating filePath (Default Web Site/DataLocationEditor\web.config).

Updating filePath (Default Web Site/DataLocationEditor\web.config).

Adding LightSwitchApplication (Default Web Site/DataLocationEditor).

Adding LightSwitchApplication (Default Web Site/DataLocationEditor).

Publish is successfully deployed.

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch.targets(1126,9): error : Communication with the underlying transaction manager has failed.

Done building project "DataLocationEditor.lsproj" -- FAILED.

Build FAILED.

========== Build: 6 succeeded or up-to-date, 0 failed, 0 skipped ==========

========== Publish: 0 succeeded, 1 failed, 0 skipped ==========

BuildVersionIncrement: BuildEvents_OnBuildDone scope: vsBuildScopeProject action vsBuildActionBuild

BuildVersionIncrement: Items checked

BuildVersionIncrement: Clearing date and solution cache

**********

The application type is Desktop, 3-tier.  Application services are set to be hosted on the test server, which is running Windows 2003 Server R2 with the Lightswitch Beta 2 runtime installed. Access control is set to "Use Windows authentication" and "Allow only users specified in the Users screen of your application".  The administrator connection is set to:

Data Source=server;Initial Catalog=cat;Persist Security Info=True;User ID=yyy;Password=xxx

The user connection is set to:

Data Source=server;Initial Catalog=cat;Persist Security Info=True;User ID=yyy;Password=xxx

Other connections is set to:

Data Source=server;Initial Catalog=cat;Persist Security Info=True;User ID=yyy;Password=xxx

Can anyone provide some insight as to why I'm getting the transaction manager communction error?  The development machine has remote DTC security configured as does the server.

解决方案


这篇关于Lightswitch部署问题 - C:\Program Files(x86)\ MSBuild\Microsoft \ VisualStudio \ LightSwitch\v1.0\Microsoft.LightSwitch.targets(1126,9):错误:与基础事务通信经理失败了。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 16:49