This function has 14 required parameters and the error you receive:
... GetActiveAdsByQuery that has parameters: recordLimit, categoryId, memberId, maxPrice, searchTerm, location, adType, adLevel, dayRange, mustHaveImage, city.
Only has 11 parameters. So you need to modify where this is called to include those parameters.
What I would do is a Ctrl+F (search) the whole project for GetActiveAdsByQuery. This should show you where all the times you call that function. You could also try debugging and placing a breakpoint on the databind line where you receive the error. This
will allow you to step into the databinding event and see if GetActiveAdsByQuery is called and where.
Remember to mark as answer if this post answered or solved your problem.
b471code3
Star
13877 Points
2598 Posts
Re: Error in Search.aspx.vb after adding date columns in database
Feb 03, 2010 08:09 PM|LINK
The problem lies with this function:
Only has 11 parameters. So you need to modify where this is called to include those parameters.
What I would do is a Ctrl+F (search) the whole project for GetActiveAdsByQuery. This should show you where all the times you call that function. You could also try debugging and placing a breakpoint on the databind line where you receive the error. This will allow you to step into the databinding event and see if GetActiveAdsByQuery is called and where.