Caros colegas,
estou iniciando Faculdade de Sistemas de Informação e estou com uma dúvida num código AP
esta aparecendo o seguinte erro:
>|
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x12dc Thread 0xa20 DBC 0xf071024 Jet'.
/enquete/enquete/index.asp, line 39
<|
o que pode ser isso?
Abraços
Marcos
segue abaixo o codigo completo:
*********
<!--#include file="connect.asp"-->
<html>
<head>
<script>
function popUpPoll(){
var theans=0
//For each radio button if it is checked get the value and quit.
for (var i = 0; i < document.theform.poll.length; i++){
if (document.theform.poll[i].checked){
theans = document.theform.poll[i].value;
}
}
//alert(theans)
if (theans!=0){ window.open('poll.asp?action=vote&poll='+theans+'','poll','resizable=yes,width=400,height=200,scrollbars=no');
}
}
function popUpArchive(){
window.open('archive.asp','archive','resizable=yes,width=450,height=400,scrollbars=no');
}
</script>
<style>
#spec{color:blue}
#menu{color:white}
a{color:silver}
a:hover{text-decoration:none;color:black;background-color:white}
</style>
<title>myscript</title>
</head>
<body>
<%
Set Conn = Server.CreateObject("ADODB.Connection")
Set Rs = Server.CreateObject("ADODB.Recordset")
Conn.Open dsn
SQL = "SELECT * from que where id=1"
rs.open sql,conn
%>
<form action="java script:popUpPoll()" method="post" name="theform">
<%= rs("que") %>
<br>
<%
sql1 = "select * from ans"
set rs1=conn.execute(sql1)
do while not rs1.eof
response.write "<input type=radio name='poll' value='"&rs1("id")&"'>"& rs1("ansdesc") & "<br>"
rs1.movenext
loop
%>
<input type=submit name="submit" value="vote"><br>
<a id=spec href="#" onclick="popUpArchive()">Click For archive</a>
</center>
</body>
</html>
*************
Publicidade
|
|
Page 1 of 1
enquete asp com erro '80004005' Conn.Open dsn
Share this topic:
Page 1 of 1
Similar Topics
| Topic | Forum | Started By | Stats | Last Post Info | |
|---|---|---|---|---|---|
|
Alternando cores na tabela Repetida
Comando Repeat Region |
Dreamweaver |
LegionInvader
|
|
|
|
Gameloft fatura US$ 25 mi com loja virtual da Apple em 2009
|
Notícias |
Notícias
|
|
|
|
Livraria Cultura começa a vender e books até o fim do mês
|
Notícias |
Notícias
|
|
|
|
Adobe vai cobrar usuários por acesso ao Acrobat.com
|
Notícias |
Notícias
|
|
|
|
Judeus ultra-ortodoxos pedem proibição dos computadores
|
Notícias |
Notícias
|
|
|
|
Como começar?
Dúvidas de um cara que sonha :) |
Profissões |
ZiPP3R
|
|
|
|
www.genegould.com/michaelkorsoutlet510.htmllq21
[url=http://www.genegould.com/michaelkorsoutlet510.html][b]michael kor |
Eventos |
Tonarrand
|
|
|
|
Problemas com Popup
Porque faz isso?? |
Flash & ActionScript |
guns_lp
|
|
Publicidade
|
|

Help













