简体   繁体   English

强化ASP预编译的问题

[英]Fortify issues with ASP Precompilation

I have a project that we just moved over to Oracle 12c. 我有一个项目,我们刚刚转移到Oracle 12c。 Upon migration to Oracle 12c we changed the "Target CPU" to x64 to avoid version conflict on the Oracle dll . 迁移到Oracle 12c后,我们将“目标CPU”更改为x64以避免Oracle dll上的版本冲突。 Now when we run the Fortify scan against the new x64 I get this error: 现在,当我们针对新的x64运行Fortify扫描时,我收到此错误:

No way to resolve conflict between "AWSSDK, Version=2.3.55.2, Culture=neutral, PublicKeyToken=XXXXXXXXXXXXXXXX" and "AWSSDK, Version=1.5.2.0, Culture=neutral, PublicKeyToken=XXXXXXXXXXXXXXXX". 无法解决“AWSSDK,Version = 2.3.55.2,Culture = neutral,PublicKeyToken = XXXXXXXXXXXXXXXX”和“AWSSDK,Version = 1.5.2.0,Culture = neutral,PublicKeyToken = XXXXXXXXXXXXXXXX”之间的冲突。 Choosing "AWSSDK, Version=2.3.55.2, Culture=neutral, PublicKeyToken=XXXXXXXXXXXXXXXX" arbitrarily. 任意选择“AWSSDK,Version = 2.3.55.2,Culture = neutral,PublicKeyToken = XXXXXXXXXXXXXXXX”。

Problem is I don't have AWSSDK installed as a reference to the project. 问题是我没有安装AWSSDK作为项目的参考。 We have some third party libraries we use, but I'm assuming that the third party libraries wouldn't affect the Fortify scan with this conflict. 我们有一些我们使用的第三方库,但我假设第三方库不会影响具有此冲突的Fortify扫描。 I can build the project fine in VS2015, with no conflicting versions. 我可以在VS2015中构建项目,没有冲突的版本。 As soon and I try and run the Fortify scan though I get the above error message. 尽快我尝试运行Fortify扫描,但是我收到了上述错误消息。

I have tried to install a AWSSDK reference to the project in hopes that it would resolve the issue, but didn't have any success. 我试图安装一个AWSSDK参考项目,希望它能解决问题,但没有任何成功。 I have searched the files of the project to include the code and still no references. 我搜索了项目的文件以包含代码,但仍然没有引用。 I have even changed the "Target CPU" back to "Any CPU" but then I get conflicts with the Oracle dll . 我甚至将“目标CPU”更改回“任何CPU”,但后来我与Oracle dll发生冲突。 I am currently using Visual Studios 2015. 我目前正在使用Visual Studios 2015。

Any ideas on what could be happening? 关于可能发生什么的任何想法?

Well after hours of searching I found this link . 经过几个小时的搜索,我找到了这个链接 Though I tried to fix all conflicts I still couldn't find what was causing the AWSSKD.dll issue. 虽然我试图解决所有冲突,但我仍然找不到导致AWSSKD.dll问题的原因。 I tried debugging and still no success. 我试过调试但仍然没有成功。 Further down in the reading of the link it states to go to \\Core\\config\\fortify.properties to alter these two properties: 在读取链接时,它会指向\\ Core \\ config \\ fortify.properties以更改这两个属性:

com.fortify.VS.SkipASPPrecompilation=true
com.fortify.VS.RequireASPPrecompilation=false

Once I set those properties and re-scanned I was able to get a successful scan. 一旦我设置了这些属性并重新扫描,我就能够成功扫描。 The conflicts still showed up on the scan, but it didn't stop it from processing. 冲突中仍然出现了冲突,但并未阻止它进行处理。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM