Itabyte®-Erro ao gravar registro no Delphi 2006 .net !!!!
Pessoal to tentando gravar um registro na tabela de produtos com Firebird 1.5 
usando SP , qdo clico no botão gravar meu servidor de internet ta retornando a 
mensagem descrito logo abaixo , ja fiz de tudo mais nao obtive sucesso alguem 
ja passou por isso ou ja viu esse erro ???
Server Error in '/ItabyteShop' Application. 
--------------------------------------------------------------------------------

Object reference not set to an instance of an object. 
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.NullReferenceException: Object reference not set to 
an instance of an object.

Source Error: 


      An unhandled exception was generated during the execution of the current 
web request. Information regarding the origin and location of the exception can 
be identified using the exception stack trace below.  


Stack Trace: 


[NullReferenceException: Object reference not set to an instance of an object.]
   System.Web.UI.HtmlControls.HtmlInputFile.get_PostedFile() +6
   cadastroprodutos.TWebForm1.SalvaRegistro()
   cadastroprodutos.TWebForm1.btnsalvar_Click(Object sender, EventArgs e)
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
   
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
 eventArgument) +57
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, 
String eventArgument) +18
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain() +1292
JESUS TE AMA !!! 



--------------------------------------------------------------------------------

Itabyte Tecnologia®-www.itabyte.com
MarcioCC®
Analista/Programador - Delphi
MSN : [EMAIL PROTECTED]
SKYPE : itabytetec
Fone : 15-3524-1946


[As partes desta mensagem que não continham texto foram removidas]



-- 
<<<<< FAVOR REMOVER ESTA PARTE AO RESPONDER ESTA MENSAGEM >>>>>

<*> Para ver as mensagens antigas, acesse:
    http://br.groups.yahoo.com/group/delphi-br/messages

<*> Para falar com o moderador, envie um e-mail para:
    [EMAIL PROTECTED]
 
Links do Yahoo! Grupos

<*> Para visitar o site do seu grupo na web, acesse:
    http://br.groups.yahoo.com/group/delphi-br/

<*> Para sair deste grupo, envie um e-mail para:
    [EMAIL PROTECTED]

<*> O uso que você faz do Yahoo! Grupos está sujeito aos:
    http://br.yahoo.com/info/utos.html

 

Responder a