MS Build Server 2010 - 缓冲区溢出 // 附加:如何从源安全中排除目录

发布于 2024-08-30 14:11:36 字数 1332 浏览 2 评论 0原文

我尝试在 MS Build Server(MS Visual Studio 2010 版本 10.0.30319.1)中构建一个关于 ServerTasks -> 的解决方案构建 ->服务器任务生成器 ->排队新的内置并运行,47 秒后我得到一个错误输出:

CSC:创建调试信息文件'c:\ Builds \ 1 \ ServerTasks \ Server-Tasks Builder \ Sources \ ThirdParty \ Sources \ samus-mongodb-csharp-2b8934f \ MongoDB.Linq \ obj \ Debug \ MongoDB时出现意外错误。 Linq.PDB'--'c:\ Builds \ 1 \ ServerTasks \ Server-Tasks Builder \ Sources \ ThirdParty \ Sources \ samus-mongodb-csharp-2b8934f \ MongoDB.Linq \ obj \ Debug \ MongoDB.Linq.pdb:访问被拒绝

我检查过目录的权限并将其设置(仅用于调试目的)以授予所有用户访问权限,但仍然存在问题。运行 Procmon 并过滤目录的文件访问:

'c:\Builds\1\ServerTasks\Server-Tasks Builder\Sources\ThirdParty\Sources\samus-mongodb-csharp-2b8934f\MongoDB.Linq\obj\Debug\'

告诉我:

16:41:00,5449813 TFSBuildServiceHost.exe 3528 QuerySecurityFile C:\ Builds \ 1 \ ServerTasks \ Server-Tasks Builder \ Sources \ ThirdParty \ Sources \ samus-mongodb-csharp-2b8934f \ MongoDB.Linq \ obj \ Debug缓冲区溢出信息:DACL,0x20000000

16:41:00,5462119 TFSBuildServiceHost.exe 3528 QueryOpen C:\ Builds \ 1 \ ServerTasks \ Server-Tasks Builder \ Sources \ ThirdParty \ Sources \ samus-mongodb-csharp-2b8934f \ MongoDB.Linq \ obj \ Debug不允许快速 IO

有什么想法吗?

I try to build an solution in MS Build Server (MS Visual Studio 2010 ver 10.0.30319.1) about ServerTasks -> Builds -> Server Task Builder -> Queue new Built and go, 47 seconds later I get an error output:

CSC: Unexpected error creating debug information file 'c:\Builds\1\ServerTasks\Server-Tasks Builder\Sources\ThirdParty\Sources\samus-mongodb-csharp-2b8934f\MongoDB.Linq\obj\Debug\MongoDB.Linq.PDB' -- 'c:\Builds\1\ServerTasks\Server-Tasks Builder\Sources\ThirdParty\Sources\samus-mongodb-csharp-2b8934f\MongoDB.Linq\obj\Debug\MongoDB.Linq.pdb: Access denied

I checked the permissions of directory and set it (for debug purposes only) to grant access for all users, but still having an issue. Running the Procmon and filter file access for directory:

'c:\Builds\1\ServerTasks\Server-Tasks Builder\Sources\ThirdParty\Sources\samus-mongodb-csharp-2b8934f\MongoDB.Linq\obj\Debug\'

tells me:

16:41:00,5449813 TFSBuildServiceHost.exe 3528 QuerySecurityFile C:\Builds\1\ServerTasks\Server-Tasks Builder\Sources\ThirdParty\Sources\samus-mongodb-csharp-2b8934f\MongoDB.Linq\obj\Debug BUFFER OVERFLOW Information: DACL, 0x20000000

and

16:41:00,5462119 TFSBuildServiceHost.exe 3528 QueryOpen C:\Builds\1\ServerTasks\Server-Tasks Builder\Sources\ThirdParty\Sources\samus-mongodb-csharp-2b8934f\MongoDB.Linq\obj\Debug FAST IO DISALLOWED

Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

渔村楼浪 2024-09-06 14:11:36

在我昨天找到如何解决之后,Kockiren 让我回答这个线程...

这个导致问题的文件主要是这个文件,这些文件将在构建解决方案时生成。

只需通过以下方式将它们从源代码管理中删除
1.进入VS中的源代码管理资源管理器
2. 单击此文件(或它们所在的文件夹)
3.然后按DEL删除它们

签入解决方案后,您构建的项目将运行!

Kockiren asked my to answer this thread after i found how to solve yesterday ...

This files which makes the problems here, are mostly this files, that will be generated while building the solution.

Simply remove them from source-control by
1. go to Source Control Explorer in VS
2. klick on this files (or the folder in which they are)
3. and press DEL to remove them

After checking in the solution and the projects you built will run!

冰火雁神 2024-09-06 14:11:36

您应该使用 Procmon 过滤掉所有 ACCESS DENIED 记录。缓冲区溢出和不允许的快速 IO 可以忽略。

What you should do with Procmon is to filter out all ACCESS DENIED records. Buffer overflow and fast IO disallowed can be ignored.

迷荒 2024-09-06 14:11:36

我在 stackoverflow 上找到了一个线程 “如何排除 bin 文件夹...” 谁告诉我问题是我签入了 bin 目录。为了解决这个问题,我应该右键单击 bin 目录并选择“从项目中排除”,但没有这个选项。

我使用源资源管理器(VS2010 TFS)进行尝试,打开源,右键单击 bin 目录,将打开包含以下条目的上下文菜单:

  • 获取最新版本
  • 获取特定版本
  • 签出编辑
  • 锁定
  • 解锁
  • 删除
  • 重命名
  • 撤消挂起更改
  • 签入待定更改
  • 搁置待定更改
  • 查看历史
  • 记录 比较
  • 分支和合并
  • 移动
  • 应用标签
  • 新文件夹
  • 将项目添加到文件夹
  • 隐藏
  • 属性
  • 刷新

我尝试隐藏文件夹,但此选项仅适用于我的工作副本,不适用于构建任务。有什么想法,如何从源安全中排除该文件夹?

I found a thread here on stackoverflow "How can I exclude the bin folder..." who tells me the problem is that i checked in the bin directory. To solve the problem I should right-click the bin directory and select "Exclude from project", but there isn't this option.

I try it with Source Explorer (VS2010 TFS), open the Source an right-click to the bin directory and context-menu with following entries will be open:

  • Get Latest Version
  • Get Specific Version
  • Check Out for Edit
  • Lock
  • Unlock
  • Delete
  • Rename
  • Undo Pending Changes
  • Check In Pending Changes
  • Shelve Pending Changes
  • View History
  • Compare
  • Branching and Merging
  • Move
  • Apply Label
  • New Folder
  • Add Items to Folder
  • Cloak
  • Properties
  • Refresh

I try to cloak the folder, but this option ist only for my workingcopy and not for Built Task. Any ideas, how to exclude the folder from Source Safe?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文