PC Review


Reply
Thread Tools Rate Thread

can't execute SP

 
 
NuB
Guest
Posts: n/a
 
      20th Jan 2006
I'm trying to fill my gridview (asp.net 2.0) from a sp, When I create my
SQLDataSource connection and test it, the SP works, but when I run my page,
my grid does not load with the data.
I tried to run a SP against a test DB (northwind) and it works, but I can't
get it working against my database. What am I missing here?



 
Reply With Quote
 
 
 
 
Hans Kesting
Guest
Posts: n/a
 
      20th Jan 2006
> I'm trying to fill my gridview (asp.net 2.0) from a sp, When I create my
> SQLDataSource connection and test it, the SP works, but when I run my page,
> my grid does not load with the data.
> I tried to run a SP against a test DB (northwind) and it works, but I can't
> get it working against my database. What am I missing here?


Some questions to debug this:
* does your SP run (check SqlProfiler)?
* does it return data? Try filling a DataSet and examine that
* are table and column-mappings correct (does the grid expect the data
in the table where it is returned, do you mention specific columns and
are they really present in the DataSet?)
* any errors that you maybe ignore (just a wild guess)?

Hans Kesting


 
Reply With Quote
 
joshuacoad@gmail.com
Guest
Posts: n/a
 
      20th Jan 2006
You may want to check that the proper permissions are set on the stored
procedure as well.

 
Reply With Quote
 
Kim Quigley
Guest
Posts: n/a
 
      20th Jan 2006
Does the stored procedure have any parameters?

"NuB" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm trying to fill my gridview (asp.net 2.0) from a sp, When I create my
> SQLDataSource connection and test it, the SP works, but when I run my
> page, my grid does not load with the data.
> I tried to run a SP against a test DB (northwind) and it works, but I
> can't get it working against my database. What am I missing here?
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
execute batch file does not execute all command lines John Grandy Microsoft C# .NET 3 17th Dec 2009 01:01 AM
"Error trying to execute Frontpage (open as HTML Coul not execute. =?Utf-8?B?Um9k?= Microsoft Frontpage 0 1st Jul 2006 03:28 AM
MSI to execute Tomi Microsoft Windows 2000 MSI 4 22nd Sep 2005 02:15 PM
Could not execute Gary Microsoft Excel Worksheet Functions 1 20th Dec 2004 06:20 PM
qd.execute Lynn Microsoft Access VBA Modules 1 16th Sep 2004 12:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:26 AM.