Resources forbidden to be used in the web were used when developing a web application.
The Working in the Development Environment: Method of Assemblies Compilation section contains a list of restrictions for the resources used when developing web applications. Please study this section carefully and make the required changes in the code of your program.
See also: