on 01-24-2014 01:52 AM
Hi All,
I am developing an activex control that could be run in browser, I need to find out some answers because i am not receiving any connection event.
For the refrence please find attached screen shot. I need to disable all the .Net securities to run the code, The same code perfectly running fine on windows based application and receiving the onconnection event but when i am creating a dll and embeding that into the web browser i am not receiving the OnConnection event.
If you see in the screen shot, the System Event ID is 15 that is in sdk's document is "eSysCTIOSSeverOnline" and the Failure Code that is returning is 10 that is "eServerConnectionStatus".
My question is if CTIOS server is fine and connected, because i am receiving the heartbeat event after that; why my application is not getting the OnConnection event, i had tried to run for 15 min but still did't get any other event except heartbeat event.
Is this environment issue;
Thanking in advance
Regards
Muhammad Adil Malik
Yes use the COM Cil, but running an activex control in a browser for
CTIOS is not recommended as a refresh will cause the session to be lost.
You can disable browser buttons though to avoid this.
Thanks a lot for all of your valueable suggestions, but my point of interest is an activeX control that running inside a broswer has some restriction right? (whether its created using .Net CIL or COM CIL) yes?
If so then the security sandbox is same for both of the developed control so how could this be possible that if a control with .Net CIL is not reciving onConnection event but COM CIL will receive.
I personally think that it is the problem with the sandbox (IE) i am trying to use, i had posted the question inside the forum as i wanted to know is there any one else here tried to create the control and embeded that control inside the IE, if so please share the experience with me as i am not getting only the onConnection Event as in windows based application same code is receiving onConnection event.
Again thanking all of your for your valueable time and suggestion.....
Thanks a lot for all of your valueable suggestions, but my point of interest is an activeX control that running inside a broswer has some restriction right? (whether its created using .Net CIL or COM CIL) yes?
If so then the security sandbox is same for both of the developed control so how could this be possible that if a control with .Net CIL is not reciving onConnection event but COM CIL will receive.
I personally think that it is the problem with the sandbox (IE) i am trying to use, i had posted the question inside the forum as i wanted to know is there any one else here tried to create the control and embeded that control inside the IE, if so please share the experience with me as i am not getting only the onConnection Event as in windows based application same code is receiving onConnection event.
Again thanking all of your for your valueable time and suggestion.....
Thanks a lot for all of your valueable suggestions, but my point of interest is an activeX control that running inside a broswer has some restriction right? (whether its created using .Net CIL or COM CIL) yes?
If so then the security sandbox is same for both of the developed control so how could this be possible that if a control with .Net CIL is not reciving onConnection event but COM CIL will receive.
I personally think that it is the problem with the sandbox (IE) i am trying to use, i had posted the question inside the forum as i wanted to know is there any one else here tried to create the control and embeded that control inside the IE, if so please share the experience with me as i am not getting only the onConnection Event as in windows based application same code is receiving onConnection event.
Again thanking all of your for your valueable time and suggestion.....
yes i made the control in .NET using class library project in VS2005. i embedded the DLL in IE
using object tag. Initially there were some .NET security exceptions which were shown as pop up on IE whenever a click event was being fired. Then i executed .NET " CASPOL " command to allow fulltrust and get rid of exceptions.
I haven't tested the control on live environment so i couldn't tell about OnConnection event.
I am trying to connect control with CTI simulator.
Regards,
Abbasi
Thanks Umair,
Exactly what i am talking about i had also created the class library and when i had caspol off then only i am able to run the control but i am not getting the OnConnection event basically whenever we receive the OnConnection event then only we can login the agent other wise all of the requests will goes in queue.
I had created a full fledge working application that is currently live with around 60000 call daliy around 250 agents, but i am unable to receive the onConnection event in the web-based environment please connect your control and let me know if that control is receiving the onConnection, Any help will be greatly appreciated.
Thanks
Thanks a lot for all of your valueable suggestions, but my point of interest is an activeX control that running inside a broswer has some restriction right? (whether its created using .Net CIL or COM CIL) yes?
If so then the security sandbox is same for both of the developed control so how could this be possible that if a control with .Net CIL is not reciving onConnection event but COM CIL will receive.
I personally think that it is the problem with the sandbox (IE) i am trying to use, i had posted the question inside the forum as i wanted to know is there any one else here tried to create the control and embeded that control inside the IE, if so please share the experience with me as i am not getting only the onConnection Event as in windows based application same code is receiving onConnection event.
Again thanking all of your for your valueable time and suggestion.....
yes i made the control in .NET using class library project in VS2005. i embedded the DLL in IE
using object tag. Initially there were some .NET security exceptions which were shown as pop up on IE whenever a click event was being fired. Then i executed .NET " CASPOL " command to allow fulltrust and get rid of exceptions.
I haven't tested the control on live environment so i couldn't tell about OnConnection event.
I am trying to connect control with CTI simulator.
Regards,
Abbasi
Thanks a lot for all of your valueable suggestions, but my point of interest is an activeX control that running inside a broswer has some restriction right? (whether its created using .Net CIL or COM CIL) yes?
If so then the security sandbox is same for both of the developed control so how could this be possible that if a control with .Net CIL is not reciving onConnection event but COM CIL will receive.
I personally think that it is the problem with the sandbox (IE) i am trying to use, i had posted the question inside the forum as i wanted to know is there any one else here tried to create the control and embeded that control inside the IE, if so please share the experience with me as i am not getting only the onConnection Event as in windows based application same code is receiving onConnection event.
Again thanking all of your for your valueable time and suggestion.....
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: