473,725 Members | 2,251 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Re: Prompt for username/password opening PDF

I just reinstalled IIS as I worked with wamp before and yet I didn't find out
how to have a php and a asp server working the same time on a computer. (I
had to uninstall the IIS to get wamp at work). But my question now is only
about asp. Everything works in asp only that there comes a popup that ask
for username and password. I searched what could be meant and saw you use
the terminology "IUSR_COMUTERNA ME and IWAM_COMPUTERNA ME".
I tried this out for my pc name but without succes and in fact I don't know
where to get the password. Please do you have any suggestion to solve the
logging in problem? Thanks.

"George Ter-Saakov" wrote:
Yes, you right... It must be IUSR_COMUTERNAM E and IWAM_COMPUTERNA ME.

Does not matter that user can open from Windows Explorer. Those 2 accounts
IIS is running under (by default)... When it can not open files then it
sends back prompt for username/password trying to authenticate user and
access files under his account.

George.
"David C" <dl*****@lifeti meinc.comwrote in message
news:Op******** ******@TK2MSFTN GP02.phx.gbl...
When you say IIS_USRXXXX are you meaning the IUSR_COMPUTERNA ME account?

Not sure if this helps, but users can open the file just fine from Windows
Explorer.

David
"George Ter-Saakov" <gt****@cardone .comwrote in message
news:Ol******** ******@TK2MSFTN GP03.phx.gbl...
My guess would be the IIS accounts do not have permission to the file...

what I say here is just a guess and not confirmed or read anywhere...

***************
For small files .NET handles Response.WriteF ile itself.... reads file and
sends it over to browser so only ASP.NET account needs to have read
permissions...

For big files .NET asks IIS do it (there is an API in ISAPI to do so)...
hence IIS_USRXXXX account needs to be able to read that file...
*************** *********
George.
"David C" <dl*****@lifeti meinc.comwrote in message
news:uX******** ******@TK2MSFTN GP02.phx.gbl...
We have an application that displays the content of a file based on the
file name suffix, e.g. if "pdf" it uses
Response.Conten tType = "applicatio n/pdf"

and then to display it it uses

Response.WriteF ile(FilePath)

and it works fine for all but very large files. For very large files
(e.g. a 5MB file) it pops up a prompt for username and password for the
domain and I can't figure out why. Does any one know how I can solve
this or where to look? The application is NT Authority only intranet
site. Smaller files are not a problem.

Thanks.
David




Jun 27 '08 #1
0 1738

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3790
by: Magnus Jardeby | last post by:
I have a problem with basic authentication. I redirect a user from a page to another. I don't want to get the NT prompt login, I want the user to be logged in automatically. I want to send the username/password to the page. I have read something about cookies and sending username/password through the header. With the new Windows Update 832894 it is no longer possible to use
3
2277
by: Billy Cormic | last post by:
Hello, I would like to write a windows application that can get the IP address of the computer the appliation is installed on. Then the program should ftp a file to another computer. I have no idea how to do this. Does anyone have any ideas about how create and run commands using a command line prompt in vb.net. Thanks, Billy
1
4708
by: jodyblau | last post by:
I applogize for posting this a second time (I posted in the access-multiuser group as well), but this group seems to respond more rapidly, and I have been trying to figure this out for what seems like forever. I have the Access 2002 Developer's Handbook, and I am trying to learn from the example provided in Chapter 2, but I am running into the following problem. I set an admin password and a username and password on the backend,
11
3631
by: gopal | last post by:
Hi, I am trying to call the OSQL utility from my C# console application and i am having problems i have the following code In Main method ProcessStartInfo psi = new ProcessStartInfo("osql",""); psi.RedirectStandardInput = false;
1
3404
by: jdorp | last post by:
I read KP article at support.microsoft.com (Q177594) that stated that with the following code: Sub Command1_Click() Dim db1 As Database Dim db2 As Database Dim rs As Recordset Dim strConnect As String '*** You have to modify the path to where db1.mdb is located
1
1534
by: rajendran1983 | last post by:
I have windows XP pro systems with network having workgroup. i dont have domain. If am accesing a system from my workgroup its opening without prompting for username and password. I just want to set Username and password authentication whenever an user accessing a system in LAN.Can anyone help me to solve this?
1
2274
by: Rob Nicholson | last post by:
I've managed to write an ASP.NET v2 web page where the prompt to save the password doesn't appear :-( Not sure why it's not working. Autocomplete on the text boxes is working but when you enter username, password (text box with type = password) and click the login link button, IE doesn't popup "Do you want to save this password?". The setting is turned on in IE7 as I've just cleared all my forms and passwords and gone to a couple of web...
9
4242
by: happyse27 | last post by:
Hi All, In perl script(item b below) where we check if html registration form are filled in properly without blank with the necessary fields, how to prompt users that the field are incomplete or blank and then go back to main page(item a below user registration html page) always, something like goggle or msn login page function... Thanks and Best Rgds, Andrew a) script called from user registration html...
2
2430
by: adversus | last post by:
I have an existing ADE (Access Data Project compiled) project that has been in use in a production environment for nearly 3 years, and has been working great. It's been working so great, in fact, that my client is asking me to look at porting it over to another take the place of another system. In going through their requirements, one line caught my attention. The current port of the project uses the Windows NT Authentication method to...
0
8889
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8752
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9257
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9179
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8099
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3228
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.