TeeChartImgGen.asphx doesn't exist

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Hooman
Newbie
Newbie
Posts: 5
Joined: Tue Jan 17, 2006 12:00 am

TeeChartImgGen.asphx doesn't exist

Post by Hooman » Wed May 16, 2012 3:55 pm

Recently moved from windows 2003/IIS 6 to Windows 2008/IIS 7.5. After we deployed the code, noticed that our graphs are not showing up anymore. By looking at the log, it says "/mySite/TeeChartImgGen.asphx doesn't exist"

We didn't have this problem in other environement (2003/IIS 6). TeeChart.dll is under bin directory. We never had TeeChartImgGen.asphx in our site. But we do know that TeeChartImgGen.asphx is coming from the handler added to our web.config.


Support image retrieval as Stream to browser. You should add the following lines to the project's Web.config file somewhere between the <system.web> tags
- <httpHandlers>
<add verb="*" path="TeeChartImgGen.ashx" type="Steema.TeeChart.Web.TeeChartImgGen, TeeChart" />
</httpHandlers>

It looks like 2.0.2887 of Teechart.dll is not supported in 64 bit machine. Do we have a 64 bit version of TeeChart.dll vesion 2.0.2887?

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: TeeChartImgGen.asphx doesn't exist

Post by Sandra » Thu May 17, 2012 2:32 pm

Hello Hooman,

Could you please following next steps to try to solve the problem:
1.- Open RegEdit
2.- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Steema Software\TeeChart.NET\VirtualShare and check if there is /TeeChartForNET
3.- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Steema Software\TeeChart.NET\ShareFolder and check if there is the path where you have installed TeeChartFor.Net 2012. If path isn't correct, please change it.
4.- Go to the Windows Control Panel\All Control Panel Items\Administrative Tools\Internet Information Services (IIS) Manager\Sites\Default Web Site\TeeChartForNET and go to Advanced Settings\Physical Path. Check if there is same path of ShareFolder. If path isn't correct please change it.
5.- Try again if your demo and application works.

If it doesn't solve, please let me know.
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Hooman
Newbie
Newbie
Posts: 5
Joined: Tue Jan 17, 2006 12:00 am

Re: TeeChartImgGen.asphx doesn't exist

Post by Hooman » Thu May 17, 2012 2:52 pm

Hi Sandra,
Thanks for quick reply. The answer to all of your questions is no. Because We do not install steema software in our production environemnt. We only use teechart.dll! And it does work in our 32 bit environment by having teechart.dll version 2.0.2887 (and Not 2012 version!) in the bin directory of our web site which resides on windows 2003/IIS 6.

Now, we have moved our code to a 64 bit machine (Windows 2008 R2/IIS 7.5). Same code. But it doesn't work. The error is ""/mySite/TeeChartImgGen.asphx doesn't exist".

So my guess is teechart.dll version 2.0.2887 having problem on 64 bit machine (Windows 2008 R2/IIS 7.5).

Hooman
Newbie
Newbie
Posts: 5
Joined: Tue Jan 17, 2006 12:00 am

Re: TeeChartImgGen.asphx doesn't exist

Post by Hooman » Fri May 18, 2012 7:12 pm

Hi Sandra,
I have also entered those registry settings as well in our production environment. We are still getting the same error (TeeChartImgGen.asphx doesn't exist). Has anybody used TeeChart.dll version "2.0.2887" on windows 2008 R2/IIS 7.5.

Thanks,
Hooman

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: TeeChartImgGen.asphx doesn't exist

Post by Sandra » Tue May 22, 2012 3:44 pm

Hello Hooman,

We are working with your problem and we try to give you a answer asap.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: TeeChartImgGen.asphx doesn't exist

Post by Sandra » Wed May 23, 2012 1:51 pm

Hello Hooman,

We can not reproduce your problem using last version 2 of TeeChartFor.Net, windows server 2008 and next attached website. Please, check if using my project your problem appears, but before I recommend you update your version 2 to last version, so I have seen you aren't used last version 2.0.3309.32488. You can download it to download page.
WebSiteAshx.zip
(2.26 KiB) Downloaded 302 times
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Hooman
Newbie
Newbie
Posts: 5
Joined: Tue Jan 17, 2006 12:00 am

Re: TeeChartImgGen.asphx doesn't exist

Post by Hooman » Wed May 23, 2012 3:00 pm

Hi Sandra,
To reproduce the error, please change the project that you sent me as following
1. Create an ASP.NET Web application.
2. Your Web application should be running on .NET Framework 4.0 (the project you sent me was 2.0!)
3. Your application should be using IIS 7.5 on Windows 2008 R2!
4. Leave the teechart.dll in the bin directory of your site.

As I mentioned before, our project works on II6/Windows 2003 but it does not work under IIS 7.5/windows 2008! SIdentical files on both servers. Both running .NET Framework 4.0.

Thanks,
Hooman

Hooman
Newbie
Newbie
Posts: 5
Joined: Tue Jan 17, 2006 12:00 am

Re: TeeChartImgGen.asphx doesn't exist

Post by Hooman » Thu May 24, 2012 3:48 pm

I fixed the problem.... For people are using IIS 7.5, you might have to add Handler Mapping in the IIS as well. This is what I did.

1. Open IIS, In the Connections pane, expand the server name, select your site and under IIS section double-click "Handler Mappings".
2. Click Add Managed Handler in the Actions pane.
Request Path: TeeChartImgGen.ashx
Type: Steema.TeeChart.Web.TeeChartImgGen, TeeChart
Name: TeeChart

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: TeeChartImgGen.asphx doesn't exist

Post by Sandra » Thu May 24, 2012 3:57 pm

Hello Hooman,

Great! I am glad that you can find a solution for your problem: D.
On the other hand, we have followed your steps and we can check that in Add Managed Handler appears the item of path with *.ashx that has been installed for default for us in our computers.We believe that this isn't common issue and probably is produced for a problem with installation .Net Framework or TeeChartFor.Net, but in rarely cases it can appear. However we think it is a problem we must treat. For this reason, your information has been very helpful for us and we consider its inclusion in FAQ-Grouping related threads by topic or in the Tutorial of TeeChartFor.Net

Thanks for the information.
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply