Connecting Tech Pros Worldwide Forums | Help | Site Map

800a005b error behind SSL

Mark
Guest
 
Posts: n/a
#1: Jul 19 '05
Hi - I have a problem with the code below - I get the error message:

Scripting error '800a005b'

Object variable or With block variable not set

...on the server.createobject line.

if FileName<>"" then
'**** next line causes error
Set objFSO2 = Server.CreateObject("Scripting.FileSystemObject")
Set MyFile = objFSO2.CreateTextFile(ImageCateg&"\"&FileName)
MyFile.Write getString(value)
MyFile.Close
end if


However, I only get the error when I try and run the code from behind
SSL - go to the page directly on the server, with no SSL - and it works.

Is there something my host needs to setup to allow SSL to allow this?

Thanks for any help,

Mark






*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Bob Barrows [MVP]
Guest
 
Posts: n/a
#2: Jul 19 '05

re: 800a005b error behind SSL


Mark wrote:[color=blue]
> Hi - I have a problem with the code below - I get the error message:
>
> Scripting error '800a005b'
>
> Object variable or With block variable not set[/color]

Most likely this:
http://www.aspfaq.com/show.asp?id=2180

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


Mark
Guest
 
Posts: n/a
#3: Jul 19 '05

re: 800a005b error behind SSL


Hi Bob - thank you once again - I've lost count of the number of times
you've given me guidance.

I've forwarded on the link to the host - 1and1 - to find out if they
have had anything similar installed over the last few days on their
servers. They always blame user code errors though - ah well!

Cheers, Mark



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Closed Thread