| | |
permission denied error
Please support our ASP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Mar 2007
Posts: 11
Reputation:
Solved Threads: 0
i am doing a small program to create the new text file and insert
data to it , but this new created file not in the server it has to be created
in one of the machines in the network
my code is as the following
<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
'set f=fs.CreateTextFile("d:\uploaded_files\newswitch.txt",true)
set f=fs.CreateTextFile("<A href="file://\\172.31.224.99\uploaded_files\newswitch.txt",true">\\172.31.224.99\uploaded_files\newswitch.txt",true)
f.WriteLine("Hello World!")
f.close
set f=nothing
set fs=nothing
%>
but the error indicates that the permission denied , inspite that "uploaded_files"
folder is shared and allow access with read, wirte permissions to "Every One"
not that if i tried to created it in the server then no problem in that as
u can check that by commenting the line 7 and uncommenting the line 6
data to it , but this new created file not in the server it has to be created
in one of the machines in the network
my code is as the following
<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
'set f=fs.CreateTextFile("d:\uploaded_files\newswitch.txt",true)
set f=fs.CreateTextFile("<A href="file://\\172.31.224.99\uploaded_files\newswitch.txt",true">\\172.31.224.99\uploaded_files\newswitch.txt",true)
f.WriteLine("Hello World!")
f.close
set f=nothing
set fs=nothing
%>
but the error indicates that the permission denied , inspite that "uploaded_files"
folder is shared and allow access with read, wirte permissions to "Every One"
not that if i tried to created it in the server then no problem in that as
u can check that by commenting the line 7 and uncommenting the line 6
![]() |
Similar Threads
- Disable access to .htaccess (Linux Servers and Apache)
- AJAX not working on firefox (JavaScript / DHTML / AJAX)
- Error: uncaught exception: Permission denied to call method XMLHttpRequest.open (HTML and CSS)
- ActiveX DLL - Permission Denied Error (Visual Basic 4 / 5 / 6)
- ASP Active Directory (ASP.NET)
- i have a dialer or something running in background.. (Web Browsers)
Other Threads in the ASP Forum
- Previous Thread: how to retrive data from different Ms Access tables using ASP
- Next Thread: open search result in text file
| Thread Tools | Search this Thread |
archive asp asp.net aspandmssqlserver2005 aspandmssqlserver2005connection aspconnection calendar changeable connection current database databaseconnection diagnostics dreamweaver excel fso html iis microsoft msmsql mssql2005 mssqlserver2005 mssqlserver2005andasp mssqlserverandasp opentextfile record searchbox selectoption server single specfic sqlserver sqlserverconnection toolkit web webserver windows7





