Jump to content
Fórum Script Brasil
  • 0

Complicação para configurar settings.asp


Guest Carla Machado

Question

Guest Carla Machado

Oi pessoal pehguei na internet um escript asp que envia arquivos para o servidor porem não estou conseguindo fazer funcionanr no servidor no IEE funciona mas quando jogo na web da

Erro interno do servidor na barra azul do IE.

abaixo o código que está no settings.asp

<% Set Connect = Server.CreateObject("ADODB.Connection")

Connect.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & Server.MapPath("db/db.mdb")&";"

Set objFSO = Server.CreateObject("Scripting.FileSystemObject")

Set objFolder = objFSO.GetFolder("i:\Inetpubwwwroot4www.meusite.nom.br\pagina\mensagem\images")

strImageFolder="/images/"

folder1 = strImageFolder

folder2 = Server.MapPath(folder1)

Set files = Server.CreateObject("Scripting.FileSystemObject")

If Not files.FolderExists(folder2) Then

files.CreateFolder(folder2)

End If

Set objfolder = files.getFolder(folder2)

%>

Sou novata em asp.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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.



  • Forum Statistics

    • Total Topics
      152k
    • Total Posts
      651.5k
×
×
  • Create New...