Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I purchased a Windows web host from godaddy.com.

When I want to use an email verification component (that wants to connect to the Internet) on my host, I get an error related to Web Permission denied (ASP.NET 4).

I searched for this error and found that GoDaddy has changed web permission in ASP.NET and restricts some features. When I want to use components that require these web permission on my site, I get error 500 (Internal Server Error).

Can I give permission to an assembly only or solve my problem in another way?

I asked this question to the Godaddy support team, but I didn't get any answers.

share|improve this question
1  
You may ask GoDaddy to give full permission for you. But as I know Godaddy doesnt support Full Trust hosting. I would recommend you to find provider that offer Full Trust, for example asphostportal.com –  Mark Shawn Oct 28 '13 at 7:56

2 Answers 2

GoDaddy has a help page about web application trust level. It says that with ASP 4, you should be able to enable "full trust" with this directive in your Web.Config file:

<configuration>
    <system.web>
        <trust level="Full" />
    </system.web>
</configuration>
share|improve this answer
up vote 0 down vote accepted
<configuration>
    <system.web>
        <trust level="Full" />

I tried this way, but did not affect. I moved my site to another web hosting. The support team said me that their servers are in medium trust for hosting. if anyone wants full trust level, he should purchase VPS or Dedicated Server.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.