Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Create Module Package DNN 4.5.1Create Module Package DNN 4.5.1
Previous
 
Next
New Post
5/6/2007 2:10 PM
 

I'm getting the same issue on the View portion of the module.

 Error: test is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The stored procedure 'dbo.YourCompany_GetProspects' doesn't exist. ---> System.InvalidOperationException: The stored procedure 'dbo.YourCompany_GetProspects' doesn't exist. at System.Data.SqlClient.SqlCommand.DeriveParameters() at System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at YourCompany.Modules.Prospect.SqlDataProvider.GetProspects(Int32 ModuleId) in c:\Documents and Settings\bennett\My Documents\Visual Studio 2005\WebSites\dnn\App_Code\Prospect\SqlDataProvider.cs:line 178 at YourCompany.Modules.Prospect.ProspectController.GetProspects(Int32 ModuleId) in c:\Documents and Settings\bennett\My Documents\Visual Studio 2005\WebSites\dnn\App_Code\Prospect\ProspectController.cs:line 119 at YourCompany.Modules.Prospect.ViewProspect.Page_Load(Object sender, EventArgs e) in c:\Documents and Settings\bennett\My Documents\Visual Studio 2005\WebSites\dnn\DesktopModules\Prospect\ViewProspect.ascx.cs:line 98 --- End of inner exception stack trace ---

 
New Post
5/6/2007 5:29 PM
 

Does the 'dbo.YourCompany_GetProspects' stored procedure exist?



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
5/6/2007 7:30 PM
 
The StarterKit has its own templates. It seems to be using Version 01.00.00 of it's templates. Even though the 04.05.00 and 04.05.01 templates exist. I don't know yet how to change the defaults that the StarterKit does. I'd like to also see how to override the "YourCompany" entries as well. So my steps are as follows.

1. Add the new project
2. Remove the Namespace reference as instructed
3. Remove the Reference to the Library/bin/dotnetnuke.dll
4. Add reference to website/bin/dotnetnuke.dll
5. Search and replace "YourCompany" (do not check search for whole word)
6. Update those parameters in the .SqlDataProvider. Each newer version of DNN has changes to it's Database design and StoredProcedures. In this case the SPs are expecting more parameters that are missing in the 01.00.00 version of the sqldataprovider. It's not the actual data it's looking for. Passing NULL is fine. When/if you edit/update your module, those extra values will be modified.
7. Build the module
8. open up the 01.00.00.SqlDataProvider and copy all the text
9. Execute as script on your DNN site
10. Create the new module in DNN using the Manifest file that will show up in the drop down.
11. Add module to a page

Then to export the module
1. Create Module Package with only "Create Manifest File" checked.
2. Install module on new site.
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Create Module Package DNN 4.5.1Create Module Package DNN 4.5.1


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out