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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsLinksLinksLinks Module , Cannot remove link.Links Module , Cannot remove link.
Previous
 
Next
New Post
4/25/2006 9:00 AM
 

I'm using DNN 4 and every time I try to remove a link in the links module I recieve an error message telling me that 'dbo.DeleteLink' doesn't exist. Anyone have any ideas?

Full error message:

Error: Edit Links is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The stored procedure 'dbo.DeleteLink' doesn't exist. ---> System.InvalidOperationException: The stored procedure 'dbo.DeleteLink' 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.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Links.SqlDataProvider.DeleteLink(Int32 ItemId) at DotNetNuke.Modules.Links.LinkController.DeleteLink(Int32 ItemID) at DotNetNuke.Modules.Links.EditLinks.cmdDelete_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

 
New Post
4/25/2006 12:24 PM
 
Do all other DNN functions work correctly? My first guess would be that the object qualifier in the web.config file isn't set. Look at the database and see if table and stored procedure names start with dnn_. If so, make sure your web.config file uses this as well.

If the object qualifier isn't the problem, check to see if the stored procedure is really there. If not, someone probably deleted it on accident. You can get a copy of it by going to the Links Module's provider directory and re-running that part of the latest upgrade script. Just remember to replace {databaseOwner} and {objectQualifier} with their respective values when running the script.

Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
 
New Post
4/26/2006 10:55 AM
 

Thanks ! I checked the webconfig file, everything seems OK. Checked the Database, the procedure was missing. Checked the table dependancies and all the other procedures were there including a DeleteContentLink procedure that looked the same code wise. Anyway, I've created the procedure and it seems to be working OK. Thanks again for the help, I just don't understand where that procedure went, unless a third party module I have removed has removed it as well.

 

Phil    

 
New Post
4/26/2006 12:11 PM
 
There's no telling. It could've been a third party module not configured correctly or someone who accidentally renamed it. Glad you were able to fix it.

Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
 
New Post
10/31/2006 6:50 AM
 

Hi

I've just experienced the same thing with a 4.3.5 new build:

Error: Edit Links is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The stored procedure 'dbo.dnn_DeleteLink' doesn't exist. ---> System.InvalidOperationException: The stored procedure 'dbo.dnn_DeleteLink' 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.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Links.SqlDataProvider.DeleteLink(Int32 ItemId) at DotNetNuke.Modules.Links.LinkController.DeleteLink(Int32 ItemID) at DotNetNuke.Modules.Links.EditLinks.cmdDelete_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

Cheers

Alex

 



Alex Shirley


 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsLinksLinksLinks Module , Cannot remove link.Links Module , Cannot remove link.


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