09-14-2010 12:06 PM
Hi Wilmer,
attached you will find an example. Maybe it possible to use the embedded webbrowser if the connection is established and the authentication is done. You have to insert a vi which calculate the BASE64 code from the user:password, for the moment i don't have it for LV7.1.
Is it a solution for you to work without the embedded webbrowser (do you mean the ActiveX WebBrowser?)?
Hope it helps.
Mike
09-14-2010 01:03 PM
SSK, I have tried with but not working.
MikeS81, can you give a sample?
09-14-2010 01:14 PM - edited 09-14-2010 01:14 PM
09-14-2010 05:25 PM
Hi MikeS81, I tried to do a test with the VI that you posted, also I encoded the user and pasword en code64, but neither works, the labview preset code56 Error.
09-15-2010 12:09 AM
Hi Wilmer,
where do you get error 56? Did you debug it?
If i run the posted vi, then i can get the first page, which states that i am unauthorized. So i think with the correct user and password i would also get the final page.
Mike
09-15-2010 12:34 PM - edited 09-15-2010 12:38 PM
Hi MikeS81, the error is on the 401 case, see the attach
09-15-2010 12:50 PM
Hi Wilmer,
try to increase the timeout of the read function.
Mike
09-15-2010 02:12 PM
Hi MikeS81, I did that, to increase the timeout a 25000 but the problem is the same
09-15-2010 02:22 PM
I don't think IE supports usernames and passwords in the URL at this point in time as the default behavior. The following support document speaks to this and some possible workarounds. It may be possible to revert to the old behavior if you have access to the machine that is performing the authentication.
http://support.microsoft.com/default.aspx?scid=kb;[LN];834489
09-15-2010 10:00 PM
Hi Boltzmann, You're right, Windows versions of Internet Explorer from version 6 can not treat user usernames and passwords in HTTP URLs My IE is version7 !!!
But there will ho another method using Labview so you can access a website by entering the username and passwords?