Forums
This topic is locked
Pure ASP Upload 3 runtime error
Posted 15 Nov 2006 12:06:31
1
has voted
15 Nov 2006 12:06:31 Peter Stewart Dolan posted:
Hi there,I am currently developing a content managed website. The page i am using for editing contains a form displaying values to be edited that are taken from a record set. There are 2 text fields and an image that i am trying to edit. On my pages with no images everything works ok but on pages with images i am getting the following error:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'MM_IIF'
/editStandardPage.asp, line 40
Line 40 reads: MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param3", 202, 1, 50, MM_IIF(UploadFormRequest("file", UploadFormRequest("file", UploadFormRequest("upload_org_file")) ' adVarWChar
I am using Pure Asp Upload 3 for image uploading. Any help with this would be great.
Thanks in advance.
Replies
Replied 22 May 2007 14:40:00
22 May 2007 14:40:00 Dimitris Kouris replied:
I have the same problem!
I try to upload an image using v2.2 PU and access.
Its a very annoing error as it doesnt give much info about it.
Any ideas?
Thanks
I try to upload an image using v2.2 PU and access.
Its a very annoing error as it doesnt give much info about it.
Any ideas?
Thanks
Replied 08 Jul 2011 09:00:42
08 Jul 2011 09:00:42 Naya Brandt replied:
I have the same problem, did you find a solution for this?
Replied 08 Jul 2011 13:10:18
08 Jul 2011 13:10:18 Naya Brandt replied:
I found the solution.
This bit of code was missing on the page:
<%
' IIf implementation
Function MM_IIf(condition, ifTrue, ifFalse)
If condition = "" Then
MM_IIf = ifFalse
Else
MM_IIf = ifTrue
End If
End Function
%>
This bit of code was missing on the page:
<%
' IIf implementation
Function MM_IIf(condition, ifTrue, ifFalse)
If condition = "" Then
MM_IIf = ifFalse
Else
MM_IIf = ifTrue
End If
End Function
%>