Partial Trust

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 14 ans
Hi - I'm having a similar problem. I just got this back from my hosting provider:

The windows hosting platform has the security model of "Medium Trust" for ASP.net.

In a Medium Trust environment, the use of ReflectionPermission is greatly restricted and you will have to limit your reflection to public members only.


I came across this post on a different website which may give an indication of what needs to be done ... http://www.west-wind.com/WebLog/posts/5587.aspx.

Now I don't what exactly in NOPCommerce needs to be changed, but I'll keep looking. If anyone can point me in the right direction tho in the mean time, it would be greatly appreciated!

Thanks
Il y a 14 ans
noticed the same today, lookin into using the above fix...
Il y a 14 ans
Agh this is so frustrating, i was supposed to present this site today!! and ive only just noticed that i cant add products and categories because of this problem!!!

The site works everywhere else but adding and editing products and categories
Il y a 14 ans
Such a shame that nopCommerce creators are not replying, its obviously a hot topic having 1000 views.
Il y a 14 ans
Hi,

Did someone manage to get this to work ??
Il y a 14 ans
I dont think the creators care, i have to run all my updates from my local machine which connects to my web db. They should make a standard mediumtrust web.config like an open source cms called mojo that i use.
Il y a 14 ans
The same error with my page also host with softsyshosting . ? Their hosting have medium trust level. Anyone can help identify the problem, I using Nop 1.4
Il y a 14 ans
Same problem as well.
Il y a 14 ans
add at yours web.config
<system.web>
   ...
    <identity impersonate="true" userName="yoursharedhostusername" password="yoursharedhostpassword"/>
    ....
</system.web>
Il y a 14 ans
Hi spaccabit

Like the others earlier have said, there should be a standard web.config which will work in Medium trust environments where Reflection Permissions are disabled.
http://msdn.microsoft.com/en-us/library/ms998341.aspx

Thanks for the tip, but I am on a shared hosting platform, and I am unsure if they can provide me with that information. I have asked them and I will keep this post updated with results.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.