Skip to main content
Help Center
The GoDaddy Community will undergo maintenance starting on Tuesday, August 3rd at 3pm PST / 6pm EST. Learn more
Showing results for 
Show  only  | Search instead for 
Did you mean: 

rest API

I am trying to deploy a restful api.  I have tried to setup a sub domain and a virtual dir with the same results.  I have the api working on localhost via visual studio and a local server via iis.  On the godaddy server I get the following error.

The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


I have added the following to my web.config with no luck.
trust level="Full" 




Did you get an answer? I need to deploy a rest api and looking for how to get started.