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_COMUTERNAME and IWAM_COMPUTERNAME".
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_COMUTERNAME and IWAM_COMPUTERNAME.
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*****@lifetimeinc.comwrote in message
news:Op**************@TK2MSFTNGP02.phx.gbl...When you say IIS_USRXXXX are you meaning the IUSR_COMPUTERNAME 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**************@TK2MSFTNGP03.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.WriteFile 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*****@lifetimeinc.comwrote in message
news:uX**************@TK2MSFTNGP02.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.ContentType = "application/pdf"
and then to display it it uses
Response.WriteFile(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