GrungeRocker Posted January 20, 2008 Share Posted January 20, 2008 (edited) Hey folks! I want to call a address like "http://%username%:%passwort%@%routerip%" with _IECreate or _IENavigate but it gives the following errors: E:\PROGRA~2\AutoIt3\Include\IE.au3 (286) : ==> The requested action with this object has failed.: $o_object.navigate ($s_Url) $o_object.navigate ($s_Url)^ ERROR Any1 got an idea how to get it to work? Edited January 20, 2008 by GrungeRocker [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font] Link to comment Share on other sites More sharing options...
DaleHohm Posted January 20, 2008 Share Posted January 20, 2008 Please put this in your code: _IEErrorHandlerRegister() then post some code and the resulting messaes in the SciTe console. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
GrungeRocker Posted January 20, 2008 Author Share Posted January 20, 2008 --> COM Error Encountered in MiniCity.au3 ----> $IEComErrorScriptline = 286 ----> $IEComErrorNumberHex = 80020009 ----> $IEComErrorNumber = -2147352567 ----> $IEComErrorWinDescription = Falscher Parameter. ----> $IEComErrorDescription = ----> $IEComErrorSource = ----> $IEComErrorHelpFile = ----> $IEComErrorHelpContext = 0 ----> $IEComErrorLastDllError = 0 _IEErrorHandlerRegister() $oIE = _IECreate("192.168.1.1") sleep(10000) _IENavigate($oIE, "http://admin:passwort@192.168.1.1/DiagADSL.html") [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font] Link to comment Share on other sites More sharing options...
DaleHohm Posted January 20, 2008 Share Posted January 20, 2008 Can you translate this please: Falscher Parameter Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
GrungeRocker Posted January 20, 2008 Author Share Posted January 20, 2008 Wrong Parameter [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font] Link to comment Share on other sites More sharing options...
FreeFry Posted January 20, 2008 Share Posted January 20, 2008 I don't think IE supports that way of logging in anymore, as it spills out the same error for me(and says that it can't find the page requested instantly when I try to use the same method directly in an IE window) Link to comment Share on other sites More sharing options...
GrungeRocker Posted January 20, 2008 Author Share Posted January 20, 2008 is there any other method to login then? [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font] Link to comment Share on other sites More sharing options...
FreeFry Posted January 20, 2008 Share Posted January 20, 2008 I would say that you proably would have to use the IE udf, and handle the login menu instead.. Unless your router has support for logging in with telnet or perhaps even ssh ... Link to comment Share on other sites More sharing options...
DaleHohm Posted January 20, 2008 Share Posted January 20, 2008 Yes, I would agree with that diagnosis. the username@password syntax has not been allowed in IE for several versions due to security restrictions. There are many examples in the forum and the helpfile using _IECreate and _IEForm* functions to login to a website. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
FreeFry Posted January 21, 2008 Share Posted January 21, 2008 Yes, I would agree with that diagnosis. the username@password syntax has not been allowed in IE for several versions due to security restrictions. There are many examples in the forum and the helpfile using _IECreate and _IEForm* functions to login to a website.DaleIt's quite funny how Mozilla fixed that issue in FireFox. They just added a MessageBox whenever that syntax is used in a link/input. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now