Unable to find the requested .Net Framework Data Provider.
16/05/2008
0
Tenho uma aplicação asp.net, criada no radstudio 2007.
É um castro simples e quando clico no botão salvar ele apresenta esta mensagem.
Unable to find the requested .Net Framework Data Provider. It may not be installed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.
Alguem pode me ajudar???
É um castro simples e quando clico no botão salvar ele apresenta esta mensagem.
Unable to find the requested .Net Framework Data Provider. It may not be installed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.
Alguem pode me ajudar???
Xandinhosk8
Curtir tópico
+ 0
Responder
Posts
21/05/2008
Xandinhosk8
Este botão cotem apenas um insert
procedure TDefault.Button1_Click(sender: System.Object; e: System.EventArgs);
var dv:dataview;
cod:integer;
data:DateTime;
begin
dv:= dataview(SqlDataSource1.Select(DataSourceSelectArguments.Create.Empty));
cod:= dv.Count + 1;
data:= system.DateTime.Now;
sqldatasource1.insertcommand :=´insert into curriculum (ID_CURRICULUM, NOME, IDADE,´+
´TEL1, TEL2, FUNCAO, LIDA) VALUES (´+cod.ToString+´,´+´´´´+textbox1.text+´´´´+´,´+textbox2.text+
´,´+´´´´+textbox3.text+´´´´+´,´+´´´´+textbox4.text+´´´´+´,´+´´´´+textbox5.Text+´´´´+´,´+´´´´+´false´+´´´´+´ )´;
SqlDataSource1.Insert;
SqlDataSource1.DataBind;
Response.Redirect(´sucesso.aspx´);
end;
esse dai é o botão, no meu pc local funciona normal, gravando no banco na locaweb, agora quando mando a aplicação pra locaweb ela nao funciona.
procedure TDefault.Button1_Click(sender: System.Object; e: System.EventArgs);
var dv:dataview;
cod:integer;
data:DateTime;
begin
dv:= dataview(SqlDataSource1.Select(DataSourceSelectArguments.Create.Empty));
cod:= dv.Count + 1;
data:= system.DateTime.Now;
sqldatasource1.insertcommand :=´insert into curriculum (ID_CURRICULUM, NOME, IDADE,´+
´TEL1, TEL2, FUNCAO, LIDA) VALUES (´+cod.ToString+´,´+´´´´+textbox1.text+´´´´+´,´+textbox2.text+
´,´+´´´´+textbox3.text+´´´´+´,´+´´´´+textbox4.text+´´´´+´,´+´´´´+textbox5.Text+´´´´+´,´+´´´´+´false´+´´´´+´ )´;
SqlDataSource1.Insert;
SqlDataSource1.DataBind;
Response.Redirect(´sucesso.aspx´);
end;
esse dai é o botão, no meu pc local funciona normal, gravando no banco na locaweb, agora quando mando a aplicação pra locaweb ela nao funciona.
Responder
Clique aqui para fazer login e interagir na Comunidade :)