Environment : [IIS 6.0 on Win 2003]
Situation is like this:
i have several ".sql" files in one of my folder, say /usefulsql
this folder is accesible thru web by pointing my browser to:
[n.b. directory brosing is allowed for this folder in IIS]
Problem Statement :
but the problem is when i am opening one of the sql file say "1.sql"
i m getting 404 error.
I am sure due to security reason or some s*it like that IIS is not fetching that file for me.
On further R'nD i found that in Win 2003 "Find files or folder" if i specify
file named *.sql *containing text* - Insert it is returning me 0 files. but I
can clearly see sevral Insert writting in those sql file
when i changed the file ext of 1.sql to 1.txt it shows :
1 file *containing text* - Insert
so both of my findings suggest that win 2003 is treating .sql file is some
strange way, that is why it is not getting fetched by IIS and the text
written it is not getting searched by "Find files or folder"
I went to
file explorer~tool~folder options~File types
and recreated the .sql and notepad assosiation but in vein