in reply to problem w/ LWP::UserAgent?
Well ... an HTTP status code of 500 normally means an Internal Server Error (but this is IIS so ... ). I would check the web server logs for more information. I doubt LWP is the problem here -- more than likely it's the CGI script (unless the CGI script uses LWP).
-derby
In Section
Seekers of Perl Wisdom