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:
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" <dlchase@lifeti meinc.comwrote in message
news:Op1YaBfjIH A.5412@TK2MSFTN GP02.phx.gbl...
>
>
>
>
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" <dlchase@lifeti meinc.comwrote in message
news:Op1YaBfjIH A.5412@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-nsp@cardone.com wrote in message
news:OlocghejIH A.3740@TK2MSFTN GP03.phx.gbl...
Not sure if this helps, but users can open the file just fine from Windows
Explorer.
David
"George Ter-Saakov" <gt-nsp@cardone.com wrote in message
news:OlocghejIH A.3740@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" <dlchase@lifeti meinc.comwrote in message
news:uXoppKejIH A.1164@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
>>
>>
>>
>
>
>
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" <dlchase@lifeti meinc.comwrote in message
news:uXoppKejIH A.1164@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
>>
>>
>>
>
>
>
>