The ASP code getting the below error while writing text to file.
Microsoft VBScript runtime error '800a0005'
Invalid Procedure call or argument
The Line in which i get the above error is below,
oFile.Write Chr(AscB(MidB(FileData,nIndex,1)))
The issue is caused when I am uploading a file. I will face this error only in Development environment. But the same code is working good in the Production environment. I could not understand why the error causes in Dev environment only.