Archive: Inetc 302 Redirect failure with Inetc::get


Inetc 302 Redirect failure with Inetc::get
I am redirecting, at my server, a inetc::get request from my install app. On server 2003 as localhost and XPPro SP2 using the LAN IP for the server it works fine - the file is downloaded and is properly installed..
When I try it on w2k sp4 using the LAN IP for the server, the request fails with the message returned to inetc::get - 302 Redirection.
And there it stops.
Can anyone advise me on special considerations when using redirect with intec::get?
Thanks.


Inetc does nothing for redirection, if possible WinInet.dll does this. Or returns 3xx status. Probably WinInet is different on comps where yor tested redirection. This may be OS or IE dependant difference.


Thanks for the quick response, Takhir.

I checked wininet versions: server version is '08 while W2k version is '04.
I copied the server wininet.dll version to the install dir on the 2K machine. According to LoadLibrary specs, with only filename given in call, first look is in current dir.
Unfortunately, this did not work.
Is my assumption correct about this?

The old (orig.) wininet.dll on 2K machine works fine on redirects if i paste an URL into IE 6 or FF 3.52 or dbl clk it from Outlook mail msg.Any other ideas?


Possible Computer/Network Issue
I was not able to get any change in redirect behavior after putting wininet.dll from working machine in exec. path/cur dir of install app on "bad" machine.
I have since got the redirects in the installer working on another old W2k sp4 machine - with the identical wininet.ddl located in sys32.

Conclusion: 2 days wasted on chimera.
So I declare this "not a problem" with inetc.
Takhir, thanks for the assistance.


(sorry for bringing up an old issue)

I will be happy to know what you found.
I am facing the same problem: http://forums.winamp.com/showthread.php?t=353362
Will be happy to get some help.


Glad to help if I could but 3.5 years later, after all the stuff I've done since, I cannot recall.
As you know, my last msg stated NOT inetc:GET problem since I got it working on another W2k box.
Good luck.


Thanks for the update.

Not so great that there is no solution for that :(

I tried to look around. no luck so far.
It will be great if someone can help to solve that issue.