[Opensim-dev] .NET 4 Teething Problems
Zadark Portal
zadarkportal at gmail.com
Tue Nov 19 05:27:25 UTC 2013
Included the following with Mantis 6853
Information relating to exception:
An attempt was made to load an assembly from a network location which
would have caused the assembly to be sandboxed in previous versions of
the .NET Framework.
Attachment Manager included in Microsoft Windows attaches security policies
to files downloaded from a network location. Normally this effects only
files
contained in compressed zip format (.zip) though other file types can be
affected depending on the local computer group security policies (thinking
machines registered to a domain though not exclusively)
The effect of the policy can be observed by opening the properties dialogue
for a downloaded file, under the 'General' tab (default) and towards the
lower section of the dialogue an additional button is displayed 'Unblock'.
Click this button and exit the dialogue using the 'ok' button.
This procedure effectively changes all the files within the zip. If however
the
unzipped contents are used prior to the procedure, the each file will
require 'Unblock' to be selected.
Changing this policy would be a significant security reduction, so best
policy is, any file downloaded be inspected using the procedure above.
Issue coming to light now is due to CAS policy changes within .NET 4
It would be useful if people evaluating this procedure reported their
findings.
On 18 November 2013 16:15, Ai Austin <ai.ai.austin at gmail.com> wrote:
> From: Zadark Portal <zadarkportal at gmail.com>
>
> Further to my previous email, and to ensure the existing solution is clean
>> can you from within the opensim solution directory (same as compile.bat)
>> run:
>>
>> C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild OpenSim.sln
>> /t:clean
>> C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild OpenSim.sln
>> /t:rebuild
>> C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild OpenSim.sln
>>
>> Amend the Microsoft.NET path accordingly.
>>
>
>
> Okay, got it. Zadark. Understood now.
>
> On my Win 8.1 84 bit setup I did that to a fresh download of r/24051
> without adding the extra line to the <resources> section of the
> Robust.exe.config file.
>
> Then just amended the password for the database connection string in to
> make a Robust.ini file, and startup up Robust.exe with that.
>
> I get exactly the same error about the addin scan ... so for some reason
> the remote assembly load extra line in Robust.exe.config (and
> openSim.exe.config) seem to be required in all my environments (Vista 34
> bit, Win7 32 bit, Win7 64 bit and Win8.1 64 bit)
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20131119/698c424c/attachment-0001.html>
More information about the Opensim-dev
mailing list