Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

More Network Problmes

Status
Not open for further replies.

zzfive03

Programmer
Jun 11, 2001
267
I have an ASP Page with this code:
<%
DIM FSO, FExtBegPos, BrowsedFile, BrowseContents, FExtTotal, FExt
set FSO = Server.CreateObject(&quot;Scripting.FileSystemObject&quot;)
Set BrowseContents = FSO.GetFolder(&quot;//ticasna05fs/PrintFiles/003&quot;)
response.write &quot;<TABLE>&quot;
for each BrowsedFile in BrowseContents.Files
FExtBegPos = InStrRev(BrowsedFile.Name, &quot;.&quot;)
FExtTotal = len(BrowsedFile.Name)
FExt = Right(BrowsedFile.Name, FExtTotal - FExtBegPos)
if FExt = &quot;CAB&quot; or FExt = &quot;cab&quot; then
Response.Write &quot;<tr><td>&quot; & BrowsedFile.Name
Response.Write &quot;</td></tr>&quot;
end if
next

response.write &quot;</table>&quot;

Set FSO = Nothing
Set BrowseContents = Nothing
%>

This page looks at '//ticasna05fs/printfiles&quot; for any CAB files. It works fine from my web server. But if I try to access this page from any other computer on my network, I get this error:
Server object error 'ASP 0177 : 800a004c'

Server.CreateObject Failed

/mark.asp, line 5

The operation completed successfully.

I went to the web properties and set it so the shared direcotry &quot;printfiels&quot; would allow ISUR_Severname but for some reason, any computer other than the actual web server will not let me in.

Any ideas?

Thanks in advance. Mark
 
Please disreguard.. it works now..

Mh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top