Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print Excel Doc over Intranet

Status
Not open for further replies.

Mighty

Programmer
Feb 22, 2001
1,682
US
Let me set the background. I have an intranet utility written in ASP. THe user loads this page in their browser and makes selections from some prepared lists and submits the form.

The server then opens an Excel document and inserts data into certain field based on the user selections and prints out the document to the network printer selected by the user.

I have developed this ASP program on my PC which runs IIS 5 on Windows XP. It works fine when running from my PC - whether accessed locally or remotely.

However, when I copy the same code to the live webserver - which has all the same printers added - it won't print. Sits there for ages - can see the Excel document is getting launched through the Task Manager - but nothing prints and it eventually comes up with "Page can not be displayed".

What is different about Windows Server 2003 or IIS 6 that this program will not print. In case it was a permissions issue, I set up the website to run using the administrator account but it made no difference.

Any help/advice would be appreciated.

Mighty
 
It is not the administrator account: it is the local user account. This one is a pain. If you tick "allow user to interact with GUI" or something similar on the service, you can see what is happening and why Excel won't launch. I can't remember what the actual problem is but it is something to do with the local user account.
 
Excel will launch - it just won't print. But I will check it out and see if I can see something like you are referring to.

Thanks.

Mighty
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top