Click to See Complete Forum and Search --> : .ASP page works fine locally; problems on the Server


mousebear
04-09-2006, 07:40 PM
I just went live with my website (still in development, but wanted to see what kind of problems might be popping up from the real server). I have a critical .ASP page that works fine locally, but generates an error on the server. Other .ASP files (like the navigation menu) load fine (in IE6 at least) in both locations.

The problem page retrieves a list of the files in a subdirectory, sorts them in an included .ASP file, then displays them in a simple, linkable list on the main page. Like I say, works like a charm locally. It has the following vbscript in it:

<!--#include file ="../../archiveEngine.asp"-->
<%
Dim rsFSO
Set rsFSO = kc_fsoFiles("downloads\", "ExcludeStr")
While Not rsFSO.EOF
rsFSOname = rsFSO("Name").Value
rsFSOtrunc = left(rsFSOname, inStrRev(rsFSOname, ".") - 1)
%>

<tr>
<td align="left" class="downloadLink"><a href='downloads/<%= rsFSOname %>'><%= rsFSOtrunc %></td>
</tr>

<%
rsFso.MoveNext()
Wend
rsFSO.close()
Set rsFSO = Nothing
%>

The code in the included file is longer, so I won't try to put it in here, unless you need me to.

The main page is: http://clubs.ca4h.org/sanmateo/pacifica/archives/genMinutes/genMinutes.asp

The included file is:
http://clubs.ca4h.org/sanmateo/pacifica/archiveEngine.asp
But I don't see any code for this file with IE6's VIEW SOURCE.

The webmaster of the server site states the following:
"The server is equipped with ASP and ASP.NET server-side scripting using javascript or VBScript.
The server is equipped with PHP version 5 service-side scripting.
A MySQL database can be provided upon request."

Finding and displaying these files is very important for us. Any help would be greatly appreciated. Thanks in advance

Ribeyed
04-10-2006, 04:05 AM
Hi,
this sounds like it is a permission problem. You have the correct permissions for IUSR_yourcomputer on your local server but the same permissions don't match on your live server. Check make sure that the folder on the live server has permissions for IUSR_yourcomputer.

mousebear
04-10-2006, 04:19 AM
I should have identified myself as a newbie. I started with HTML code 3 weeks ago, so I don't understand the first thing about permissions. I have sent the link to this thread to the webmaster of our host server, hoping he will know what you are talking about.

Thanks,

Barber77r
04-10-2006, 11:06 AM
hi...

i think that ribeyed is correct... the directory and files that you are trying to view are not open to this type of access normally... your provider must have a feature that allows you to grant permissions to users - go daddy refers to this as having custom dirtectories...

good luck...
the barber...