markgoldin said:
As Evertjian says, in ASP a program doesn't just "stay" on a line. An
error message will be raised: whether it's the error from the line of
code, or a script-timeout error, an error will be raised.
I don't understand why a printer needs to be established on the web
server. Are you trying to have something printed via your server-side
code? It's not something I've ever contemplated doing, and I'me not
really sure it is possible. I think the first thing to establish is
whether the IUSR_Machinename account has authority to run a NET USE
statement. Also, the IUSR account would require permission to access
\\serverip\printername