Missing some stored procedures...http://forums.asp.net/t/1323765.aspx/1?Missing+some+stored+procedures+Sat, 04 Oct 2008 22:21:12 -040013237652637381http://forums.asp.net/p/1323765/2637381.aspx/1?Missing+some+stored+procedures+Missing some stored procedures... <p>I uploaded the Beerhouse onto Godaddy.com and it appears that I am missing some stored procedures in the datebase.&nbsp; You can see the error I am getting by clicking on my website link&nbsp; <a href="http://www.bertelsenwinery.com/">http://www.bertelsenwinery.com</a>&nbsp; I executed the script <a href="file:///C:/Documents">file:///C:\Documents</a> App_Data\CreateAllObjects.sql in my Godaddy.com database.&nbsp; </p> <p>Any help would be appreciated!</p> <p>Thanks in advance,</p> <p>Photon</p> 2008-09-22T14:55:06-04:002637566http://forums.asp.net/p/1323765/2637566.aspx/1?Re+Missing+some+stored+procedures+Re: Missing some stored procedures... <p>Photon,</p> <p>I think there may be more to your issue than the missing sp, however, here's the actual sp that you need:</p> <p>CREATE PROCEDURE [dbo].[tbh_Polls_GetPollByID]<br> (<br> &nbsp;&nbsp; @PollID&nbsp; int<br> )<br> AS<br> SET NOCOUNT ON<br> <br> SELECT PollID, AddedDate, AddedBy, QuestionText, IsCurrent, IsArchived, ArchivedDate,<br> &nbsp;&nbsp; (SELECT SUM(Votes) FROM tbh_PollOptions WHERE PollID = @PollID) AS Votes<br> &nbsp;&nbsp; FROM tbh_Polls<br> &nbsp;&nbsp; WHERE PollID = @PollID </p> <p>&nbsp;</p> <p>Give it a try and see if that works for you. You may be better to upload the actual database from the download as i seem to recall that the database has some objects (perhaps the above sp being one of them) that aren't included in the CreateAllObjects.sql file.<br> </p> 2008-09-22T16:03:12-04:002637623http://forums.asp.net/p/1323765/2637623.aspx/1?Re+Missing+some+stored+procedures+Re: Missing some stored procedures... <p>You were right on the mark Jimibt!&nbsp; CreateAllObjects.sql is must be missing more than one script because I uploaded your script you shared with me and now I am missing another one.&nbsp; How does one &quot;upload the actual database from the download&quot;&nbsp; that you suggested?&nbsp; Can the database on vs2005 be converted to a script?&nbsp; or is there another way?</p> <p>&nbsp;Thanks,</p> <p>Photon</p> 2008-09-22T16:28:18-04:002640770http://forums.asp.net/p/1323765/2640770.aspx/1?Re+Missing+some+stored+procedures+Re: Missing some stored procedures... <p>Photon,</p> <p>Depending on your hosting company, you'll be able to use the control panel to upload your entire database in a single action. I'm with webhost4life for some of my stuff and this works flawlessly. the other option is to use a tool (which i believe eric engler wrote) which does indeed upload the entire database as a file. i've never used this, so can't verify it's stability/suitability etc.</p> <p>anyway, you can find that by hunting around the wrox beerhouse forum:</p> <p>http://p2p.wrox.com/forum.asp?FORUM_ID=261</p> <p>[edit] - this is the link to the script: http://p2p.wrox.com/topic.asp?TOPIC_ID=60895 <br> </p> <p>jimi <br> </p> 2008-09-23T18:32:30-04:002663237http://forums.asp.net/p/1323765/2663237.aspx/1?Re+Missing+some+stored+procedures+Re: Missing some stored procedures... <p>I did what the link you were nice enough to share suggested.&nbsp; And now I am getting the following error <a href="http://www.bertelsenwinery.com/">http://www.bertelsenwinery.com</a>&nbsp; (click on the link to see the error message).&nbsp; My hosting&nbsp;company is Godaddy.com.&nbsp; Anyone have any ideas why I am getting this error message?&nbsp; Has anyone had any luck getting the Beerhouse up and running on Godaddy.com?</p> <p>Thanks,</p> <p>Photon</p> 2008-10-04T22:21:12-04:00