• 0
Sign in to follow this  
Guest - Ulisses -

Dundas Upload

Question

Guest - Ulisses -

Olá pessoal,

Estou tendo um problema para usar o dundas upload, gostaria que me dessem uma ajuda, por favor

o erro :

Tipo de erro:

Objeto Server, ASP 0177 (0x800401F3)

Seqüência de classe inválida

estou usando as linhas:

----

<%

'On Error Resume Next

Set Upload = Server.CreateObject("Dundas.Upload.2") ------- essa linha que indica o erro

Upload.UseVirtualDir = True

Upload.UseUniqueNames = False

Upload.Save "caminho"

//if Upload.Files.Count = 1 then

//origName1 = Upload.GetFileName(Upload.Files(0).Path)

//elseif Upload.Files.Count = 2 then

//origName1 = Upload.GetFileName(Upload.Files(0).Path)

//origName2 = Upload.GetFileName(Upload.Files(1).Path)

//elseif Upload.Files.Count = 3 then

//origName1 = Upload.GetFileName(Upload.Files(0).Path)

//origName2 = Upload.GetFileName(Upload.Files(1).Path)

//origName3 = Upload.GetFileName(Upload.Files(2).Path)

//elseif Upload.Files.Count = 4 then

//origName1 = Upload.GetFileName(Upload.Files(0).Path)

//origName2 = Upload.GetFileName(Upload.Files(1).Path)

//origName3 = Upload.GetFileName(Upload.Files(2).Path)

//origName4 = Upload.GetFileName(Upload.Files(3).Path)

//elseif Upload.Files.Count = 5 then

//origName1 = Upload.GetFileName(Upload.Files(0).Path)

//origName2 = Upload.GetFileName(Upload.Files(1).Path)

//origName3 = Upload.GetFileName(Upload.Files(2).Path)

//origName4 = Upload.GetFileName(Upload.Files(3).Path)

//origName5 = Upload.GetFileName(Upload.Files(4).Path)

//else

//end if

Set Upload = nothing

If Err <> 0 Then

Response.Write Err.Description & " " & Err.Number & "<br>"

Response.Write fonte02 & "<b>Houve erro(s) ao carregar o(s) arquivo(s) anexado(s)!<br><a href=javascript:history.back(-1)>Voltar</a></b>"

Else

%>

----

Me ajudem por favor

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
Se você está rodando localmente, instalou o Dundas Upload? Se está rodando na web, verifique se seu servidor oferece suporte ao Dundas

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this