Inetpub directory question

Inetpub directory question

am 27.08.2007 20:10:03 von jack

I need to copy intranet file from a NT server to a windows 2003 server. After
copying I found out that the default asp page is not working on the 2003
server. The copy was exact. So, do I have to look for something different
here. Another thing I found that the intranet directory is not under the
inetpub\wwwroot but at c:\work. I am not sure how the intranet can be used
without putting it on the intetpub\wwwroot directory. Thanks for any help in
advance.

Re: Inetpub directory question

am 27.08.2007 21:20:48 von Kristofer Gafvert

Hello,

The most common reason why ASP does not work is that you have forgotten to
enable the ASP web service extension. ASP pages are not allowed by default
on Windows Server 2003.

If this is the case, you should have a 404 status code logged in the IIS
log file, as well as a substatus code of 2.

This page has more information how to fix this:

"ASP files generates "404 - File or directory not found""
http://www.gafvert.info/notes/ASP404NotFound.htm

If this is not the case, then we need more information about the issue.
"Does not work" is not very informative and does not give us anything to
work with. What do you see in your browser? What is logged in the IIS log
file? Any error messages?

To answer your other question. You can have a folder outside the wwwroot
folder. It is called a virtual directory. You create a virtual directory
from IIS Manager.

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


Jack wrote:

>I need to copy intranet file from a NT server to a windows 2003 server.
>After
>copying I found out that the default asp page is not working on the 2003
>server. The copy was exact. So, do I have to look for something different
>here. Another thing I found that the intranet directory is not under the
>inetpub\wwwroot but at c:\work. I am not sure how the intranet can be used
>without putting it on the intetpub\wwwroot directory. Thanks for any help
>in
>advance.

Re: Inetpub directory question

am 28.08.2007 17:32:02 von jack

Thanks for your help Kristofer. However, I checked the asp was already
enabled. Now I am having difficulty to get to the log file error. I saw
logfiles folder. However, not sure if those are for errors or not. Any
advise. Thanks
Avi

"Kristofer Gafvert" wrote:

> Hello,
>
> The most common reason why ASP does not work is that you have forgotten to
> enable the ASP web service extension. ASP pages are not allowed by default
> on Windows Server 2003.
>
> If this is the case, you should have a 404 status code logged in the IIS
> log file, as well as a substatus code of 2.
>
> This page has more information how to fix this:
>
> "ASP files generates "404 - File or directory not found""
> http://www.gafvert.info/notes/ASP404NotFound.htm
>
> If this is not the case, then we need more information about the issue.
> "Does not work" is not very informative and does not give us anything to
> work with. What do you see in your browser? What is logged in the IIS log
> file? Any error messages?
>
> To answer your other question. You can have a folder outside the wwwroot
> folder. It is called a virtual directory. You create a virtual directory
> from IIS Manager.
>
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> Jack wrote:
>
> >I need to copy intranet file from a NT server to a windows 2003 server.
> >After
> >copying I found out that the default asp page is not working on the 2003
> >server. The copy was exact. So, do I have to look for something different
> >here. Another thing I found that the intranet directory is not under the
> >inetpub\wwwroot but at c:\work. I am not sure how the intranet can be used
> >without putting it on the intetpub\wwwroot directory. Thanks for any help
> >in
> >advance.
>

Re: Inetpub directory question

am 28.08.2007 19:16:30 von Kristofer Gafvert

Open the folder associated with the website, open the latest log file and
find a request for an asp file that has failed to work. Paste the line
here so we can help (if you cannot understand it yourself).

The file should be located in following place:

C:\Windows\System32\LogFiles\W3SVCNNNN where NNNN is the website id.

The file contains all responses by IIS, not only errors.


--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


Jack wrote:

>Thanks for your help Kristofer. However, I checked the asp was already
>enabled. Now I am having difficulty to get to the log file error. I saw
>logfiles folder. However, not sure if those are for errors or not. Any
>advise. Thanks
>Avi
>
>"Kristofer Gafvert" wrote:
>
>>Hello,
>>
>>The most common reason why ASP does not work is that you have forgotten to
>>enable the ASP web service extension. ASP pages are not allowed by default
>>on Windows Server 2003.
>>
>>If this is the case, you should have a 404 status code logged in the IIS
>>log file, as well as a substatus code of 2.
>>
>>This page has more information how to fix this:
>>
>>"ASP files generates "404 - File or directory not found""
>>http://www.gafvert.info/notes/ASP404NotFound.htm
>>
>>If this is not the case, then we need more information about the issue.
>>"Does not work" is not very informative and does not give us anything to
>>work with. What do you see in your browser? What is logged in the IIS log
>>file? Any error messages?
>>
>>To answer your other question. You can have a folder outside the wwwroot
>>folder. It is called a virtual directory. You create a virtual directory
>>from IIS Manager.
>>
>>--
>>Regards,
>>Kristofer Gafvert
>>http://www.gafvert.info/iis/ - IIS Related Info
>>
>>
>>Jack wrote:
>>
>>>I need to copy intranet file from a NT server to a windows 2003 server.
>>>After
>>>copying I found out that the default asp page is not working on the 2003
>>>server. The copy was exact. So, do I have to look for something different
>>>here. Another thing I found that the intranet directory is not under the
>>>inetpub\wwwroot but at c:\work. I am not sure how the intranet can be
>>>used
>>>without putting it on the intetpub\wwwroot directory. Thanks for any help
>>>in
>>>advance.
>>

Re: Inetpub directory question

am 28.08.2007 23:20:02 von jack

Kristofer,
I have the latest log file report as the following:

GET /_Admin/-MainCentent.asp |7|
ASP_0175_:_80004005|Disallowed_Path_Characters 80 - 10.193.121.29 ..
Any further thoughts? Thanks

"Kristofer Gafvert" wrote:

> Open the folder associated with the website, open the latest log file and
> find a request for an asp file that has failed to work. Paste the line
> here so we can help (if you cannot understand it yourself).
>
> The file should be located in following place:
>
> C:\Windows\System32\LogFiles\W3SVCNNNN where NNNN is the website id.
>
> The file contains all responses by IIS, not only errors.
>
>
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> Jack wrote:
>
> >Thanks for your help Kristofer. However, I checked the asp was already
> >enabled. Now I am having difficulty to get to the log file error. I saw
> >logfiles folder. However, not sure if those are for errors or not. Any
> >advise. Thanks
> >Avi
> >
> >"Kristofer Gafvert" wrote:
> >
> >>Hello,
> >>
> >>The most common reason why ASP does not work is that you have forgotten to
> >>enable the ASP web service extension. ASP pages are not allowed by default
> >>on Windows Server 2003.
> >>
> >>If this is the case, you should have a 404 status code logged in the IIS
> >>log file, as well as a substatus code of 2.
> >>
> >>This page has more information how to fix this:
> >>
> >>"ASP files generates "404 - File or directory not found""
> >>http://www.gafvert.info/notes/ASP404NotFound.htm
> >>
> >>If this is not the case, then we need more information about the issue.
> >>"Does not work" is not very informative and does not give us anything to
> >>work with. What do you see in your browser? What is logged in the IIS log
> >>file? Any error messages?
> >>
> >>To answer your other question. You can have a folder outside the wwwroot
> >>folder. It is called a virtual directory. You create a virtual directory
> >>from IIS Manager.
> >>
> >>--
> >>Regards,
> >>Kristofer Gafvert
> >>http://www.gafvert.info/iis/ - IIS Related Info
> >>
> >>
> >>Jack wrote:
> >>
> >>>I need to copy intranet file from a NT server to a windows 2003 server.
> >>>After
> >>>copying I found out that the default asp page is not working on the 2003
> >>>server. The copy was exact. So, do I have to look for something different
> >>>here. Another thing I found that the intranet directory is not under the
> >>>inetpub\wwwroot but at c:\work. I am not sure how the intranet can be
> >>>used
> >>>without putting it on the intetpub\wwwroot directory. Thanks for any help
> >>>in
> >>>advance.
> >>
>

Re: Inetpub directory question

am 29.08.2007 06:05:28 von Kristofer Gafvert

Hello,

See this KB article:

"Enable Parent Paths Is Disabled by Default in IIS 6.0"
http://support.microsoft.com/kb/332117

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


Jack wrote:

>Kristofer,
>I have the latest log file report as the following:
>
>GET Admin-MainCentent.asp |7|
>ASP_0175_:_80004005|Disallowed_Path_Characters 80 - 10.193.121.29 ..
>Any further thoughts? Thanks
>
>"Kristofer Gafvert" wrote:
>
>>Open the folder associated with the website, open the latest log file and
>>find a request for an asp file that has failed to work. Paste the line
>>here so we can help (if you cannot understand it yourself).
>>
>>The file should be located in following place:
>>
>>C:\Windows\System32\LogFiles\W3SVCNNNN where NNNN is the website id.
>>
>>The file contains all responses by IIS, not only errors.
>>
>>
>>--
>>Regards,
>>Kristofer Gafvert
>>http://www.gafvert.info/iis/ - IIS Related Info
>>
>>
>>Jack wrote:
>>
>>>Thanks for your help Kristofer. However, I checked the asp was already
>>>enabled. Now I am having difficulty to get to the log file error. I saw
>>>logfiles folder. However, not sure if those are for errors or not. Any
>>>advise. Thanks
>>>Avi
>>>
>>>"Kristofer Gafvert" wrote:
>>>
>>>>Hello,
>>>>
>>>>The most common reason why ASP does not work is that you have forgotten
>>>>to
>>>>enable the ASP web service extension. ASP pages are not allowed by
>>>>default
>>>>on Windows Server 2003.
>>>>
>>>>If this is the case, you should have a 404 status code logged in the IIS
>>>>log file, as well as a substatus code of 2.
>>>>
>>>>This page has more information how to fix this:
>>>>
>>>>"ASP files generates "404 - File or directory not found""
>>>>http://www.gafvert.info/notes/ASP404NotFound.htm
>>>>
>>>>If this is not the case, then we need more information about the issue.
>>>>"Does not work" is not very informative and does not give us anything to
>>>>work with. What do you see in your browser? What is logged in the IIS
>>>>log
>>>>file? Any error messages?
>>>>
>>>>To answer your other question. You can have a folder outside the wwwroot
>>>>folder. It is called a virtual directory. You create a virtual directory
>>>>from IIS Manager.
>>>>
>>>>--
>>>>Regards,
>>>>Kristofer Gafvert
>>>>http://www.gafvert.info/iis/ - IIS Related Info
>>>>
>>>>
>>>>Jack wrote:
>>>>
>>>>>I need to copy intranet file from a NT server to a windows 2003 server.
>>>>>After
>>>>>copying I found out that the default asp page is not working on the
>>>>>2003
>>>>>server. The copy was exact. So, do I have to look for something
>>>>>different
>>>>>here. Another thing I found that the intranet directory is not under
>>>>>the
>>>>>inetpub\wwwroot but at c:\work. I am not sure how the intranet can be
>>>>>used
>>>>>without putting it on the intetpub\wwwroot directory. Thanks for any
>>>>>help
>>>>>in
>>>>>advance.
>>>>
>>

Re: Inetpub directory question

am 29.08.2007 17:26:00 von jack

Kristofer,
I appreciate your help so much. Finally it worked. I have learned quite a
bit of configuration stuff. Thanks again.

"Kristofer Gafvert" wrote:

> Hello,
>
> See this KB article:
>
> "Enable Parent Paths Is Disabled by Default in IIS 6.0"
> http://support.microsoft.com/kb/332117
>
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> Jack wrote:
>
> >Kristofer,
> >I have the latest log file report as the following:
> >
> >GET Admin-MainCentent.asp |7|
> >ASP_0175_:_80004005|Disallowed_Path_Characters 80 - 10.193.121.29 ..
> >Any further thoughts? Thanks
> >
> >"Kristofer Gafvert" wrote:
> >
> >>Open the folder associated with the website, open the latest log file and
> >>find a request for an asp file that has failed to work. Paste the line
> >>here so we can help (if you cannot understand it yourself).
> >>
> >>The file should be located in following place:
> >>
> >>C:\Windows\System32\LogFiles\W3SVCNNNN where NNNN is the website id.
> >>
> >>The file contains all responses by IIS, not only errors.
> >>
> >>
> >>--
> >>Regards,
> >>Kristofer Gafvert
> >>http://www.gafvert.info/iis/ - IIS Related Info
> >>
> >>
> >>Jack wrote:
> >>
> >>>Thanks for your help Kristofer. However, I checked the asp was already
> >>>enabled. Now I am having difficulty to get to the log file error. I saw
> >>>logfiles folder. However, not sure if those are for errors or not. Any
> >>>advise. Thanks
> >>>Avi
> >>>
> >>>"Kristofer Gafvert" wrote:
> >>>
> >>>>Hello,
> >>>>
> >>>>The most common reason why ASP does not work is that you have forgotten
> >>>>to
> >>>>enable the ASP web service extension. ASP pages are not allowed by
> >>>>default
> >>>>on Windows Server 2003.
> >>>>
> >>>>If this is the case, you should have a 404 status code logged in the IIS
> >>>>log file, as well as a substatus code of 2.
> >>>>
> >>>>This page has more information how to fix this:
> >>>>
> >>>>"ASP files generates "404 - File or directory not found""
> >>>>http://www.gafvert.info/notes/ASP404NotFound.htm
> >>>>
> >>>>If this is not the case, then we need more information about the issue.
> >>>>"Does not work" is not very informative and does not give us anything to
> >>>>work with. What do you see in your browser? What is logged in the IIS
> >>>>log
> >>>>file? Any error messages?
> >>>>
> >>>>To answer your other question. You can have a folder outside the wwwroot
> >>>>folder. It is called a virtual directory. You create a virtual directory
> >>>>from IIS Manager.
> >>>>
> >>>>--
> >>>>Regards,
> >>>>Kristofer Gafvert
> >>>>http://www.gafvert.info/iis/ - IIS Related Info
> >>>>
> >>>>
> >>>>Jack wrote:
> >>>>
> >>>>>I need to copy intranet file from a NT server to a windows 2003 server.
> >>>>>After
> >>>>>copying I found out that the default asp page is not working on the
> >>>>>2003
> >>>>>server. The copy was exact. So, do I have to look for something
> >>>>>different
> >>>>>here. Another thing I found that the intranet directory is not under
> >>>>>the
> >>>>>inetpub\wwwroot but at c:\work. I am not sure how the intranet can be
> >>>>>used
> >>>>>without putting it on the intetpub\wwwroot directory. Thanks for any
> >>>>>help
> >>>>>in
> >>>>>advance.
> >>>>
> >>
>