Respected Imar sir,
first of all sorry for being posting a thread in wrong forum...but i want answer from you...because you always siplify the things...sorry once agin....
I have made a website in classic asp, and after checking all bugs...i have moved website on server where i have registered a domain...
Website was working finely..but yesterday i got thr problem while uploading a photo on website...when i click on upload , it gave me an error:
Microsoft VBScript runtime error '800a0046'
Permission denied
/member/methods/save_file_mtds.asp, line 69
code in my file is
Code:
'******** FUNCTION saveToFile **********************
Public Function saveToFile(name, path)
' Response.Write("<SPAN STYLE='font-family: verdana; font-size: 8pt; font-weight: bold;'> Revecied in save to file " & path & "</SPAN><br>")
If dict.Exists(name) Then
Dim temp
temp = dict(name).Item("Value")
Dim fso
Set fso = Server.CreateObject("Scripting.FileSystemObject")
Dim file
Set file = fso.CreateTextFile(path) //this is line 69
For tPoint = 1 to LenB(temp)
file.Write Chr(AscB(MidB(temp,tPoint,1)))
Next
file.Close
saveToFile = True
Else
saveToFile = False
End If
End Function
...I have cheked all my code again..it is write...when i googled the error, i m getting solutions like, go to IIS...set permissions..(and most of the problems are related to SMTP and mail..but i m getting this error while uploading photo) ..but i m confused, i have transfer the website to server which is hosted by another person..if i want to make any changes in site, i do it using filezilla..when i called him, he said its all ok from my side, it is programming issue ..what is problem , is it in code or on server side?? plz help
Thanx in advance
Sushant