| | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: 07/11/2010 6:41:23 AM Posts: 785, Visits: 3,559 |
| The following error was received when I attempted to run a people search, then double-clicked on one of the results:
Could not find stored procedure 'dbo.PeopleMaintenance_RetrieveAllData'.
I thought I downloaded the most recent version.
Thanks,
Bill
|
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 07/06/2010 6:04:33 PM Posts: 6,275, Visits: 6,165 |
| | Is that sproc in the database you have? You can find it through SSMS in the programmability area. |
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: 07/11/2010 6:41:23 AM Posts: 785, Visits: 3,559 |
| | No. It is not located in the list of sprocs. |
| | | | 
StrataFrame VIP
       
Group: StrataFrame Users Last Login: Today @ 10:39:38 AM Posts: 1,590, Visits: 9,189 |
| Hi Bill,
Here is the sp:
USE [StrataFlix]
GO
/****** Object: StoredProcedure [dbo].[PeopleMaintenance_RetrieveAllData] Script Date: 03/01/2010 14:00:55 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[PeopleMaintenance_RetrieveAllData] @peoplePk INT,
@includePeople BIT
AS
BEGIN
-- Determine if the people result set should be included
IF @includePeople = 1
BEGIN
-- Retrieve the people data result set
SELECT
*
FROM People
WHERE pl_pk = @peoplePk;
END
-- Retrieve all of the movies (filmography) for the person
SELECT
MovieCast.*,
Movies.mv_Title,
Movies.mv_Year
FROM MovieCast
LEFT JOIN Movies ON mc_mv_pk = mv_pk
WHERE mc_pl_pk = @peoplePk
ORDER BY Movies.mv_Year;
-- Retrieve the images associated with the people
SELECT
*
FROM PeopleImages
WHERE pli_pl_pk = @peoplePk;
END
GO
EXEC sys.sp_addextendedproperty @name=N'DDT_Priority', @value=10 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'PROCEDURE',@level1name=N'PeopleMaintenance_RetrieveAllData'
GO
Edhy Rijo
(Using VB.Net 2010/SQL Server 2008) |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 07/06/2010 6:04:33 PM Posts: 6,275, Visits: 6,165 |
| | Hmmm....Edhy is getting you going but I am concerned that you don't have the most recent. Did you download this from the My Account area? |
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: 07/11/2010 6:41:23 AM Posts: 785, Visits: 3,559 |
| | Yes...I downloaded and reinstalled it yesterday. It is still not showing up. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 07/06/2010 6:04:33 PM Posts: 6,275, Visits: 6,165 |
| | OK, I will take a look at this and see what is going on. |
| | | | 
StrataFrame User
       
Group: StrataFrame Users Last Login: 07/19/2010 10:43:54 AM Posts: 434, Visits: 2,072 |
| | I'm having the same issue and I downloaded it this morning. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 07/06/2010 6:04:33 PM Posts: 6,275, Visits: 6,165 |
| I will repost this database when the next update is posted. Sorry for the trouble! |
| | | | StrataFrame Beginner
       
Group: StrataFrame Users Last Login: 2 days ago @ 11:35:31 PM Posts: 15, Visits: 162 |
| | Hi Edhy, Thanks for the stored procedure, but after successfully creating the stored procedure, I am now getting another error. The error is: Invalid object name 'PeopleImages'. I am just a beginner and have no idea why this is happening. Sam Tenney |
| |
|
|