Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error in code - with Stored Proc
Message
De
27/07/2004 11:21:09
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00928301
Message ID:
00928322
Vues:
20
It sounds to me like oCompany hasn't been instantiated yet.

~~Bonnie

>I have stepped through it, i never get into the this.oCompnay object. It bombs right away.
>I have removed the ds in front of it, and it bombs.
>I have tested the storeproc from with in the VS.IDE server manager and it returns the right results.
>
>It also compiles fine, it is only at runtime.
>
>Thanks!
>
>
>
>>Hi, Shawn,
>>
>>Generally, that error means that you're trying to refer to an object that hasn't been instantiated.
>>
>>I can't tell from the code if the error refers to the dataset or the object reference 'oCompany'. Maybe the dataset has a null reference because the stored proc errored out...or maybe oCompany isn't set.
>>
>>If you step through the code one line at a time and set a watch on those two things, that might help.
>>
>>Kevin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform