CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > starter_kits_and_source_projects.personal_site_starter_kit Tags:
Item Type: Date Entered: 2/15/2006 1:32:22 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 30 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"Common Logic"
NewsGroup User
Personal Starter Kit Simple Error But Need Help2/15/2006 1:32:22 AM

0

Would anyone help me figure this problem out?

TIA

 

Server Error in '/WebSite3' Application.

Could not find stored procedure 'GetNonEmptyAlbums'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Could not find stored procedure 'GetNonEmptyAlbums'.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[SqlException (0x80131904): Could not find stored procedure 'GetNonEmptyAlbums'.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +177
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +68
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +199
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2305
   System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +31
   System.Data.SqlClient.SqlDataReader.get_MetaData() +62
   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +294
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +1021
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +314
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +20
   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +107
   System.Data.SqlClient.SqlCommand.ExecuteReader() +80
   PhotoManager.GetRandomAlbumID() +167
   PhotoManager.GetPhotos() +5

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
   System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +72
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +296
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
   System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance) +486
   System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1869
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +13
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +140
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +68
   System.Web.UI.WebControls.FormView.DataBind() +4
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +61
   System.Web.UI.WebControls.FormView.EnsureDataBound() +137
   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +67
   System.Web.UI.Control.EnsureChildControls() +97
   System.Web.UI.Control.PreRenderRecursiveInternal() +50
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5731


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

"jwadsworth" <>
NewsGroup User
Re: Personal Starter Kit Simple Error But Need Help2/15/2006 3:41:52 AM

0

Looks like your missing the stored procedure GetNonEmptyAlbums.
Jeremy

Extended Personal Site Starter kit
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













best place to keep my state

application_start/application_end not working

keep the track and save forecolor of the linkbutton within datalist

how to add and retrive dropdownlist control into viewstate ?

new to sessions

how can return to my previous set of results?

retain user control gridview values after postback

unable to serialize the session state. in asp.net v2.0

why my session variables are lost?

best way to expire session when we not need session is our apps

response.redirect does not end execution

deleting a cookie not working c#

error: an object reference is required for the non-static field, method, or property 'system.web.ui.usercontrol.session.get'

wot if i try this in my web.config..?

help needed with session and browser!!! very urgent!!!

web farm state management

timespan question

find session id on ie 7

unable to use session variables in my queries

session management and concurrent accesses

cache.add absolute expiration - utc based or not?

end session (rsa cookie)

are use of sessions bad ?

connect to different databases at runtime

shared variable in class module in multi user application

problem converting code for a provider! please help

request.urlreferrer in firefox

asp.net: individual session variables vs object saved in session

session data gets overriden?

random null sessions early in the web request life cycle.

sessions in web application

cannot maintain values of the file upload control after post back

problem with session and ajax requests

how can i create a chat communication channel between 2 users

iis recompiles everytime one of web sites (urgent)

session variable lost

how to handl sessions

how to know when user close the application

does session.abandon delete the cookie?

session lost at the time of delete the file

session lost on pop up

preserve webpage contents upon response.redirect

losing cookies

httpcacheability.server issue

compress viewstate problem by overriding pagestatepersister property.

ie8 and firefox compatability issue

can i find out what will be viewstate hidden field value?

reatining session values on postback

accessing values in viewstate that are saved automatically... possible?

cache.insert with parameter

   
  Privacy | Contact Us
All Times Are GMT