Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

IIS + ASP .NET: Problems to print to LPT1

Posted on 2003-03-05
5
Medium Priority
?
616 Views
Last Modified: 2012-06-27
Hi there!

We have a problem to print to LPT1 from ASP.NET.
When we browse to http://localhost it works fine, but if we use http://127.0.0.1 we get an invalide filehandle.
We use integrated windows-authentication.

What is the difference between localhost and 127.0.0.1??

thanx very much!
Ralf
Ingo
0
Comment
Question by:knuxel
3 Comments
 
LVL 1

Expert Comment

by:boconnor007
ID: 8073879
Try adding http://127.0.0.1 to trusted sites in the security tab of IE.
0
 

Author Comment

by:knuxel
ID: 8078413
thanx for the comment!
we have found the problem:
we want to print from an ASP.NET-Application on the web-server to a printer on our printserver.
the mapping with 'net use' is user-specific. So it does not work. also printing over the network-share '\\printserver\printername' does not work, because the .NET-Application runs as local system user (I suppose). Also, if you try 'integrated windows authentification'.
Because we are in a domain and in our network (intranet), we tried the default authentification and it works.

that's it.
have fun!
Ralf
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 10463262
PAQed, with points refunded (50)

GhostMod
Community Support Moderator
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
No other job is as rewarding and demanding as building an iPhone app is. It is not really in the hands of the developer for the success of an iPhone app. Many factors operate jointly for every iOS application's success in the market.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question