IIS Server Security - Urgent- some codes don't work

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > December 2005 > Urgent- some codes don't work





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Urgent- some codes don't work
Tolgay

2005-12-22, 5:57 pm

One of our IIS sever has two sites which are looked a same directory. I mean
c:\data\test folder has two sites

One of the sites name is pro.test.com and the other one is pro1.test.com.
They are clone and all settings are the same. The site anonymous user also
same. But some codes doesn't work pro1 and the other works. I don't
uderstand same server, same settings same folder ... why the codes doesn't
work

What might be the problem?

any advice would be helpfull

Thank you


test.asp

<%
Dim FSO
Set FSO = Server.CreateObject("Scripting.FileSystemObject")

If Not FSO.FileExists("\\10.1.10.21\c$\test.txt") Then
REsponse.write webPath & "<br>"
Response.write "error"
Response.End
End If
%>

There is no isapi fillter...or any ipsec and firewall restriction.


David Wang [Msft]

2005-12-23, 2:50 am

Are both sites configured to use ONLY anonymous authentication.

Your code will work for Anonymous and Basic authentication but not
Integrated Auth.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//

"Tolgay" <tgul@tgul.com> wrote in message
news:eAQSrYxBGHA.1676@TK2MSFTNGP09.phx.gbl...
> One of our IIS sever has two sites which are looked a same directory. I
> mean
> c:\data\test folder has two sites
>
> One of the sites name is pro.test.com and the other one is pro1.test.com.
> They are clone and all settings are the same. The site anonymous user
> also
> same. But some codes doesn't work pro1 and the other works. I don't
> uderstand same server, same settings same folder ... why the codes
> doesn't
> work
>
> What might be the problem?
>
> any advice would be helpfull
>
> Thank you
>
>
> test.asp
>
> <%
> Dim FSO
> Set FSO = Server.CreateObject("Scripting.FileSystemObject")
>
> If Not FSO.FileExists("\\10.1.10.21\c$\test.txt") Then
> REsponse.write webPath & "<br>"
> Response.write "error"
> Response.End
> End If
> %>
>
> There is no isapi fillter...or any ipsec and firewall restriction.
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com