MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Installation issue wtih the version MonoX_4_5_3200_40  (Mono Support )

Viewed 49315 time(s), 9 post(s) 12.12.2011 14:03:59by inanc

Related topics

inanc

inanc

12.12.2011 14:03:59
Hello,
I am trying to install the version MonoX_4_5_3200_40 by using the same procedure with the old versions forexample version 3057. But I think I am missing an important point. I am getting an error given below.

Exception Details: System.Security.SecurityException: That assembly does
not allow partially trusted callers.

Do you have any idea?
Thank you.
Inanc
Dieser Inhalt wurde noch nicht bewertet. 
469 Reputation 60 Total posts
khorvat

khorvat

12.12.2011 14:24:24
Hi,

before we start checking this issue can you please provide us with your environment details ? e.g. Shared hosting, local PC, Windows version etc.

Mainly this issue is related to medium trust environments.

Regards
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
inanc

inanc

12.12.2011 14:38:12
Hi khorvat,
This is a local machine running on .NET 4.0. and IIS server 7. Operating system is 2008 server R2.
Thank you.
Regards.
Dieser Inhalt wurde noch nicht bewertet. 
469 Reputation 60 Total posts
denis

denis

13.12.2011 14:43:58
Hi inanac,
this still sounds like a trust issue. Did you take a look at this blog post? How is it configured on a machine level? Are you 100% sure that you did not limit the tust level in the machine config files?
Dieser Inhalt wurde noch nicht bewertet. 
7207 Reputation 956 Total posts
inanc

inanc

13.12.2011 19:58:58
Hello Denis,
No. I've never touched the machine config file. I am sure about that. I have no problem with the installation of version 'MonoX_4_5_3057_40'. Is there a difference on trust levels between the versions 'MonoX_4_5_3057_40' and 'MonoX_4_5_3200_40'. I have tested the situation on two different machines and I have observed the same issue.
Regards.
Inanc
Dieser Inhalt wurde noch nicht bewertet. 
469 Reputation 60 Total posts
khorvat

khorvat

13.12.2011 21:18:30
Hi,

there are a few changes that may affect the latest version but still you will need to change the trust level. We will try to reproduce the issue and get back to with results.

Regards
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
denis

denis

14.12.2011 14:19:11
Hi Inanc,
We have been trying to reproduce this issue, but everything is working correctly on our end. Can you organize a remote support session (via TeamViewer) so we could take a look at it on your machine?
Dieser Inhalt wurde noch nicht bewertet. 
7207 Reputation 956 Total posts
denis

denis

16.12.2011 14:29:04
Hi Inanc,
This post - http://www.mono-software.com/Mono/Pages/Discussion/dtopic/8BkR3tulN0ud6p-6AWIECg/SecurityException-That-assembly-does-not-allow-partially-trusted-callers/ - will solve your issue.
Dieser Inhalt wurde noch nicht bewertet. 
7207 Reputation 956 Total posts
inanc

inanc

16.12.2011 14:37:12
Thank you!
It is ok now..
Kind regards
Inanc
Dieser Inhalt wurde noch nicht bewertet. 
469 Reputation 60 Total posts