Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TableAdapter.Fill() fails but no error message
Message
 
 
À
28/01/2013 18:02:41
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
01564371
Message ID:
01564414
Vues:
27
>>>Hi,
>>>
>>>I've been working on a local report and created a stored procedure which accepts a parameter and pulls back the relevant records. I have configured my report viewer on a form and load the data up like this:
>>>
>>>
>>>invoicesReportTableAdapter.Fill(dataset.InvoicesSelectByManifestNumber, this.manifestNumber);
>>>
>>>Prior to making some changes to the underlying stored procedure everything was working great. I then realised I had pulled out an incorrect field and missed two others that I needed for the report. I changed the SP and reconfigured the xsd by editing it and choosing to configure it again. But whenever that line of code runs, it takes a few seconds and then my application shuts down before it returns. No error message. Any idea what this could be or how to debug it?
>>
>>Stop the debugger just before this line.
>>Run SQL Profiler and then step down in debugger, see what is sent to SQL Server.
>>You can copy and run this code with SSMS.
>
>Hmmm, I can't find SQL Profiler. Is that not part of SQL Server Express 2008 R2?

Sql Server Express doesn't have SQL Profiler.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform