Articles in this section
Category / Section

I tried to run one of the Diagram ASP.NET samples from a remote server, but the diagram fails to render. Why?

1 min read

I tried to run one of the Diagram ASP.NET samples from a remote server, but the diagram fails to render. Why?

It is very likely that the Essential Diagram application that you copied over to the remote server does not have the web.config file from the Essential Studio installation. Essential Diagram uses the web configuration file to specify the custom httphandler that it uses for rendering the diagram image. The sample when run from the default installation directory will pick up the configuration information from the '\Syncfusion\Essential Studio\3.2...\web.config' file that is shared by all the Syncfusion ASP.NET samples. Open the sample project on the remote server in VS.NET and use the Add New Item dialog to add a web.config file to the sample, and update it with a httphandler entry like the one present in the attached configuration file. Please be sure to specify the correct version information for the Syncfusion.Diagram.Web assembly. This should make the sample work as expected.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied