User (Legacy) Posted October 6, 2004 Report Posted October 6, 2004 Hi Currently we are deploying access to a our web site which uses chartfx 6.2 to display graphs of energy usage. We have hit a snag when clients reside behind a proxy server. We were using SSL and users could log into our web site however when they tried to generate a chart it would result in a connectfailure. I've gotten one of the clients to connect without SSL and he received the following error "Failed to download chart ProtocolError ProxyAuthenticationRequired (407)" when trying to download the chart. The users can surf our website and it is only the chart generation that results in an error. The client has all their .NET trust levels set to Full Trust and they can download the .NET assemblies. I checked using the gacutil and all the correct .NET assemblies were being downloaded. When the client doesn't go through the proxy serve he is able to download the chart. I have also set the chart.ProxyUri = "" since this should automatically detect the default proxy server in IE. I do not have access to our clients proxy and he has indicated they will not change the settings. Is there anyway to make this work? thanks kevin
Software FX Posted October 6, 2004 Report Posted October 6, 2004 > The client has all their .NET trust levels set to Full Trust Are you positive on this ? Note that with Medium or Low Trust, the client will be able to download the assemblies and ChartFX will be able to download the chart files BUT in order to work through the proxy we need to use .NET methods that do require full trust. Do you know if these users are using "dynamic proxy" settings ? The documentation for GetDefaultProxy states that "The GetDefaultProxy does not pick up any dynamic settings that are generated from script run by Internet Explorer, from automatic configuration entries, or from DHCP or DNS lookups." > I have also set the chart.ProxyUri = "" since this should automatically > detect the default proxy server in IE. Our current build already defaults the ProxyUri to "" > Is there anyway to make this work? We implemented a feature called EmbeddedData where the data for the chart is saved inside the HTML page (more specifically as a PARAM tag) instead of being a separate URL. This helps with proxy issues as well as webfarms. You can use turn on this feature by editing the ChartFX.Internet.Config in the bin folder of your web application. e.g. <CfxIESettings> <EmbeddedData>true</EmbeddedData> </CfxIESetting Note that this feature will increase the size of the HTML page but the chart client will not have to issue a separate URL request to download the chart data and settings. You may want to play with this and check how it works in your particular scenario. -- Regards, JC Software FX Support "Kevin Eberharter" <kgeberharter@hydro.mb.ca> wrote in message news:sm7%23bb7qEHA.3984@webserver3.softwarefx.com... > Hi > > Currently we are deploying access to a our web site which uses chartfx 6.2 > to display graphs of energy usage. We have hit a snag when clients reside > behind a proxy server. We were using SSL and users could log into our web > site however when they tried to generate a chart it would result in a > connectfailure. > > I've gotten one of the clients to connect without SSL and he received the > following error "Failed to download chart ProtocolError > ProxyAuthenticationRequired (407)" when trying to download the chart. The > users can surf our website and it is only the chart generation that > results > in an error. > > The client has all their .NET trust levels set to Full Trust and they can > download the .NET assemblies. I checked using the gacutil and all the > correct .NET assemblies were being downloaded. When the client doesn't go > through the proxy serve he is able to download the chart. > > I have also set the chart.ProxyUri = "" since this should automatically > detect the default proxy server in IE. I do not have access to our clients > proxy and he has indicated they will not change the settings. > > Is there anyway to make this work? > > thanks > kevin > >
User (Legacy) Posted October 7, 2004 Author Report Posted October 7, 2004 Thanks for the good info. 1. Currently I don't have a ChartFX.Internet.Config file in my bin directory. Should I just create one with a text editor? 2. I edited my html and added EmbeddedData="True" which resulted in me getting a "Missing License Tag" error. I then set MainClient="False" and the situation resolved itself. When using EmbeddedData="True" does chartfx require MainClient="False"? I am using chartfx.internet.client 6.2.1728. I have several outside javascript commands that change chart properties. If I can't use MainClient the I need to modify them all as follows. profile.chart.chart.AxisX.LabelAngle == 45 to profile.chart.AxisX.LabelAngle == 45 Thanks kevin "Software FX Support" <noreply> wrote in message news:OPWSaC%23qEHA.4004@webserver3.softwarefx.com... > > The client has all their .NET trust levels set to Full Trust > > Are you positive on this ? Note that with Medium or Low Trust, the client > will be able to download the assemblies and ChartFX will be able to download > the chart files BUT in order to work through the proxy we need to use .NET > methods that do require full trust. > > Do you know if these users are using "dynamic proxy" settings ? The > documentation for GetDefaultProxy states that > > "The GetDefaultProxy does not pick up any dynamic settings that are > generated from script run by Internet Explorer, from automatic configuration > entries, or from DHCP or DNS lookups." > > > I have also set the chart.ProxyUri = "" since this should automatically > > detect the default proxy server in IE. > > Our current build already defaults the ProxyUri to "" > > > Is there anyway to make this work? > > We implemented a feature called EmbeddedData where the data for the chart is > saved inside the HTML page (more specifically as a PARAM tag) instead of > being a separate URL. This helps with proxy issues as well as webfarms. You > can use turn on this feature by editing the ChartFX.Internet.Config in the > bin folder of your web application. e.g. > > <CfxIESettings> > <EmbeddedData>true</EmbeddedData> > </CfxIESetting > > Note that this feature will increase the size of the HTML page but the chart > client will not have to issue a separate URL request to download the chart > data and settings. You may want to play with this and check how it works in > your particular scenario. > > -- > Regards, > > JC > Software FX Support > "Kevin Eberharter" <kgeberharter@hydro.mb.ca> wrote in message > news:sm7%23bb7qEHA.3984@webserver3.softwarefx.com... > > Hi > > > > Currently we are deploying access to a our web site which uses chartfx 6.2 > > to display graphs of energy usage. We have hit a snag when clients reside > > behind a proxy server. We were using SSL and users could log into our web > > site however when they tried to generate a chart it would result in a > > connectfailure. > > > > I've gotten one of the clients to connect without SSL and he received the > > following error "Failed to download chart ProtocolError > > ProxyAuthenticationRequired (407)" when trying to download the chart. The > > users can surf our website and it is only the chart generation that > > results > > in an error. > > > > The client has all their .NET trust levels set to Full Trust and they can > > download the .NET assemblies. I checked using the gacutil and all the > > correct .NET assemblies were being downloaded. When the client doesn't go > > through the proxy serve he is able to download the chart. > > > > I have also set the chart.ProxyUri = "" since this should automatically > > detect the default proxy server in IE. I do not have access to our clients > > proxy and he has indicated they will not change the settings. > > > > Is there anyway to make this work? > > > > thanks > > kevin > > > > > >
Software FX Posted October 7, 2004 Report Posted October 7, 2004 MainClient is compatible with EmbeddedData provided you have a recent version of ChartFX.MainClient.Dll, Can you post the file version you are using ? Can you check if you have a more recent version of this file in your machine ? We released a hotfix recently (that required some changes to MainClient) so I am posting the newer version of this DLL, make a backup copy of the one your are using now and check if this fixes your issue. -- Regards, JC Software FX Support "Kevin Eberharter" <kgeberharter@hydro.mb.ca> wrote in message news:f$X$IbHrEHA.4004@webserver3.softwarefx.com... > Thanks for the good info. > > 1. Currently I don't have a ChartFX.Internet.Config file in my bin > directory. Should I just create one with a text editor? > > 2. I edited my html and added EmbeddedData="True" which resulted in me > getting a "Missing License Tag" error. I then set MainClient="False" and > the > situation resolved itself. When using EmbeddedData="True" does chartfx > require MainClient="False"? > > I am using chartfx.internet.client 6.2.1728. I have several outside > javascript commands that change chart properties. If I can't use > MainClient > the I need to modify them all as follows. > > profile.chart.chart.AxisX.LabelAngle == 45 > to > profile.chart.AxisX.LabelAngle == 45 > > Thanks > kevin > > > "Software FX Support" <noreply> wrote in message > news:OPWSaC%23qEHA.4004@webserver3.softwarefx.com... >> > The client has all their .NET trust levels set to Full Trust >> >> Are you positive on this ? Note that with Medium or Low Trust, the client >> will be able to download the assemblies and ChartFX will be able to > download >> the chart files BUT in order to work through the proxy we need to use >> .NET >> methods that do require full trust. >> >> Do you know if these users are using "dynamic proxy" settings ? The >> documentation for GetDefaultProxy states that >> >> "The GetDefaultProxy does not pick up any dynamic settings that are >> generated from script run by Internet Explorer, from automatic > configuration >> entries, or from DHCP or DNS lookups." >> >> > I have also set the chart.ProxyUri = "" since this should automatically >> > detect the default proxy server in IE. >> >> Our current build already defaults the ProxyUri to "" >> >> > Is there anyway to make this work? >> >> We implemented a feature called EmbeddedData where the data for the chart > is >> saved inside the HTML page (more specifically as a PARAM tag) instead of >> being a separate URL. This helps with proxy issues as well as webfarms. > You >> can use turn on this feature by editing the ChartFX.Internet.Config in >> the >> bin folder of your web application. e.g. >> >> <CfxIESettings> >> <EmbeddedData>true</EmbeddedData> >> </CfxIESetting >> >> Note that this feature will increase the size of the HTML page but the > chart >> client will not have to issue a separate URL request to download the >> chart >> data and settings. You may want to play with this and check how it works > in >> your particular scenario. >> >> -- >> Regards, >> >> JC >> Software FX Support >> "Kevin Eberharter" <kgeberharter@hydro.mb.ca> wrote in message >> news:sm7%23bb7qEHA.3984@webserver3.softwarefx.com... >> > Hi >> > >> > Currently we are deploying access to a our web site which uses chartfx > 6.2 >> > to display graphs of energy usage. We have hit a snag when clients > reside >> > behind a proxy server. We were using SSL and users could log into our > web >> > site however when they tried to generate a chart it would result in a >> > connectfailure. >> > >> > I've gotten one of the clients to connect without SSL and he received > the >> > following error "Failed to download chart ProtocolError >> > ProxyAuthenticationRequired (407)" when trying to download the chart. > The >> > users can surf our website and it is only the chart generation that >> > results >> > in an error. >> > >> > The client has all their .NET trust levels set to Full Trust and they > can >> > download the .NET assemblies. I checked using the gacutil and all the >> > correct .NET assemblies were being downloaded. When the client doesn't > go >> > through the proxy serve he is able to download the chart. >> > >> > I have also set the chart.ProxyUri = "" since this should automatically >> > detect the default proxy server in IE. I do not have access to our > clients >> > proxy and he has indicated they will not change the settings. >> > >> > Is there anyway to make this work? >> > >> > thanks >> > kevin >> > >> > >> >> > >
User (Legacy) Posted October 7, 2004 Author Report Posted October 7, 2004 I updated the ChartFX.MainClient.dll and it all works. Thank you very much. It's going through the proxy server without problem. kevin "Software FX Support" <noreply> wrote in message news:wDx0ZlHrEHA.3136@webserver3.softwarefx.com... > MainClient is compatible with EmbeddedData provided you have a recent > version of ChartFX.MainClient.Dll, > > Can you post the file version you are using ? > Can you check if you have a more recent version of this file in your machine > ? > > We released a hotfix recently (that required some changes to MainClient) so > I am posting the newer version of this DLL, make a backup copy of the one > your are using now and check if this fixes your issue. > > -- > Regards, > > JC > Software FX Support > "Kevin Eberharter" <kgeberharter@hydro.mb.ca> wrote in message > news:f$X$IbHrEHA.4004@webserver3.softwarefx.com... > > Thanks for the good info. > > > > 1. Currently I don't have a ChartFX.Internet.Config file in my bin > > directory. Should I just create one with a text editor? > > > > 2. I edited my html and added EmbeddedData="True" which resulted in me > > getting a "Missing License Tag" error. I then set MainClient="False" and > > the > > situation resolved itself. When using EmbeddedData="True" does chartfx > > require MainClient="False"? > > > > I am using chartfx.internet.client 6.2.1728. I have several outside > > javascript commands that change chart properties. If I can't use > > MainClient > > the I need to modify them all as follows. > > > > profile.chart.chart.AxisX.LabelAngle == 45 > > to > > profile.chart.AxisX.LabelAngle == 45 > > > > Thanks > > kevin > > > > > > "Software FX Support" <noreply> wrote in message > > news:OPWSaC%23qEHA.4004@webserver3.softwarefx.com... > >> > The client has all their .NET trust levels set to Full Trust > >> > >> Are you positive on this ? Note that with Medium or Low Trust, the client > >> will be able to download the assemblies and ChartFX will be able to > > download > >> the chart files BUT in order to work through the proxy we need to use > >> .NET > >> methods that do require full trust. > >> > >> Do you know if these users are using "dynamic proxy" settings ? The > >> documentation for GetDefaultProxy states that > >> > >> "The GetDefaultProxy does not pick up any dynamic settings that are > >> generated from script run by Internet Explorer, from automatic > > configuration > >> entries, or from DHCP or DNS lookups." > >> > >> > I have also set the chart.ProxyUri = "" since this should automatically > >> > detect the default proxy server in IE. > >> > >> Our current build already defaults the ProxyUri to "" > >> > >> > Is there anyway to make this work? > >> > >> We implemented a feature called EmbeddedData where the data for the chart > > is > >> saved inside the HTML page (more specifically as a PARAM tag) instead of > >> being a separate URL. This helps with proxy issues as well as webfarms. > > You > >> can use turn on this feature by editing the ChartFX.Internet.Config in > >> the > >> bin folder of your web application. e.g. > >> > >> <CfxIESettings> > >> <EmbeddedData>true</EmbeddedData> > >> </CfxIESetting > >> > >> Note that this feature will increase the size of the HTML page but the > > chart > >> client will not have to issue a separate URL request to download the > >> chart > >> data and settings. You may want to play with this and check how it works > > in > >> your particular scenario. > >> > >> -- > >> Regards, > >> > >> JC > >> Software FX Support > >> "Kevin Eberharter" <kgeberharter@hydro.mb.ca> wrote in message > >> news:sm7%23bb7qEHA.3984@webserver3.softwarefx.com... > >> > Hi > >> > > >> > Currently we are deploying access to a our web site which uses chartfx > > 6.2 > >> > to display graphs of energy usage. We have hit a snag when clients > > reside > >> > behind a proxy server. We were using SSL and users could log into our > > web > >> > site however when they tried to generate a chart it would result in a > >> > connectfailure. > >> > > >> > I've gotten one of the clients to connect without SSL and he received > > the > >> > following error "Failed to download chart ProtocolError > >> > ProxyAuthenticationRequired (407)" when trying to download the chart. > > The > >> > users can surf our website and it is only the chart generation that > >> > results > >> > in an error. > >> > > >> > The client has all their .NET trust levels set to Full Trust and they > > can > >> > download the .NET assemblies. I checked using the gacutil and all the > >> > correct .NET assemblies were being downloaded. When the client doesn't > > go > >> > through the proxy serve he is able to download the chart. > >> > > >> > I have also set the chart.ProxyUri = "" since this should automatically > >> > detect the default proxy server in IE. I do not have access to our > > clients > >> > proxy and he has indicated they will not change the settings. > >> > > >> > Is there anyway to make this work? > >> > > >> > thanks > >> > kevin > >> > > >> > > >> > >> > > > > > > >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.