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.0Module Development using the TemplatesModule Development using the Templates
Previous
 
Next
New Post
1/18/2007 7:32 PM
 
Hey guys,

I am trying to create my first module on DNN 4.4.0 using the dynamic module template.
When I create the module, rename the folders I am installing it on the portal based on the .dnn
manifest file that is been created for me.
When I insert the module on a page I get the following errors:

Error: Test is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The stored procedure 'dbo.YourCompany_GetTests' doesn't exist. ---> System.InvalidOperationException: The stored procedure 'dbo.YourCompany_GetTests' 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.Test.SqlDataProvider.GetTests(Int32 ModuleId) in C:\asDV\Website\App_Code\Test\SqlDataProvider.vb:line 128 at YourCompany.Modules.Test.TestController.GetTests(Int32 ModuleId) in C:\asDV\Website\App_Code\Test\TestController.vb:line 59 at YourCompany.Modules.Test.ViewTest.Page_Load(Object sender, EventArgs e) in C:\asDV\Website\DesktopModules\Test\ViewTest.ascx.vb:line 70 --- End of inner exception stack trace ---


Yes, I haven't created any stored procedures etc. How can I fix this? How do I know what sp I need to create?
What if I don't need to connect my module to a database table?

Is there any tutorial that would help me develop a module using the module templates that come with the
DNN starter toolkit?

I couldn't find anything under the module documentation...

Many thanks
 
New Post
1/18/2007 8:11 PM
 

all you need to do is run the sql in teh template by pasting it into the SQL window under Host.

If you dont want to connect to the db just remove any code that calls the controller class.

 


Philip Beadle - Employee
 
New Post
1/18/2007 8:44 PM
 

George1234 wrote
Is there any tutorial that would help me develop a module using the module templates that come with the
DNN starter toolkit?

Using the DotNetNuke Website Starter Kit



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module Development using the TemplatesModule Development using the Templates


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