?
Solved

IIS + ASP .NET: Problems to print to LPT1

Posted on 2003-03-05
5
Medium Priority
?
610 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 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

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

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

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

752 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