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.0Issue when Distributing Module!Issue when Distributing Module!
Previous
 
Next
New Post
9/8/2008 12:33 PM
 

Hi,

I am having problems compiling and distributing my current module! The funny thing is that it is working on my local machine were I developed the module!

I compiled the module created a install package and installed it on our test server but when i try to open the page I get following error (Event Viewer):

Message: DotNetNuke.Services.Exceptions.PageLoadException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: The stored procedure 'dbo.GetMoistureSensitiveItems_All' 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 DotNetNuke.Modules.MoistureSensitiveItems.SqlDataProvider.GetMoistureSensitiveItems_All(Int32 PortalID, Int32 BagID, String Item, String Status) at DotNetNuke.Modules.MoistureSensitiveItems.MoistureSensitiveItemsController.GetMoistureSensitiveItems_All(Int32 PortalId, String p_sortExpression, String p_sortDirection, Int32 BagID,

For some reason it does not see the stored procedures! Ichecked on the server but they all exist and I can execute them.

Any Idea what causes this behavior?

 

 
New Post
9/8/2008 3:22 PM
 

Does the module package you created include a SqlDataProvider file (ie., 01.00.00.SqlDataProvider where the numbers match the version number or earlier in your module definition file [modulename].dnn)?  If not you'll need to create one that builds your tables and creates the stored procedures. 


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
New Post
9/8/2008 4:41 PM
 

I figured out what it was!

because I moved the Portal to another server i recreated the database users! Now the Sql login user did not have the same name as the databes user!

The Permission were not set correctily when I updated the module! When I set the permission manually everything worked fine!

Is this a know Issue or did I scrue something up?

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Issue when Distributing Module!Issue when Distributing Module!


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