Nevron Forum

Deploy to IIS

https://www.nevron.com/Forum/Topic2552.aspx

By John Burcher 1 - Wednesday, August 12, 2009

Hi,

I have finally completed the project (with the trial version of Nevron) and am trying to deploy it onto an IIS 6 server.

I can confirm that the DLL's get wrapped up into the installer file. Once I deploy it just shows a blank control (where the chart used to sit) with a little red X in the top left corner.

Any ideas?

Thank you!
By Milen - Friday, August 14, 2009

Hi John,

What response type are you using  - axd or image? It looks like a security related problem, but we need some more info.

Milen

By John Burcher 1 - Saturday, August 15, 2009

Hi Milen,

Not entirely sure what you mean by response type, but when I click on the image and select properties I get:-
NevronChart.axd?InstanceGuid=4e258bba-2d06-40ac-8d0d-6fc19ce7db47&SnapshotGuid=8f31302a-00ab-48d7-802d-d33d8ce2694e

So I assume it is the axd?

Thank you!
By Blagovest Milanov 1 - Monday, August 17, 2009

Hi John,

It may be related to the settings of IIS on the sever (some settings won't allow you to generate axd files, cause the server will require the file to exist). You can use image response to check if this is the case - in the code behind write:

nChartControl1.ImageAcquisitionMode = Nevron.UI.WebForm.Controls.ClientSideImageAcquisitionMode.TempFile;

this will instruct the control to generate a temporary file in the NevronTemp directory which must be present under the website root directory. The ASP.NET account must have read, write and modify permissions for this folder.

Hope this helps - let me know if the problem persist.

Best regards,
Bob

 

 

By John Burcher 1 - Monday, August 17, 2009

Hi Bob,

That is perfect thank you, the reports now generate as expected!

Regards

John Burcher