Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Links Module [L...  Cannot delete a link (
Previous Previous
 
Next Next
New Post 8/16/2007 4:09 PM
User is offline Frosty
5 posts
10th Ranked


Cannot delete a link ( 

I am running DNN v4.5.1 with Links v3.0.7

When I login as 'admin' and try to delete a link (e.g. the "Croydon Christian Church" link on website:  www.frostbyte.com.au) at get an error:

Error: Edit Links is currently unavailable

If I then login as 'host' and try to perform the same function I get the following error display:

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, Int32 ModuleId) at DotNetNuke.Modules.Links.EditLinks.cmdDelete_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

The detailed error message seems pretty clear ... I can confirm that there is no stored procedure dbo.DeleteLink in the SQL database ... can you shed any light on "why" this is so?

Thanks for any help,

Steve.

 
New Post 8/16/2007 4:32 PM
User is offline Frosty
5 posts
10th Ranked


Re: Cannot delete a link ( 

Minor typo above ... Links module is of course v3.3.7

 
New Post 8/16/2007 4:39 PM
User is offline Frosty
5 posts
10th Ranked


Re: Cannot delete a link ( 

Hmmm. Weird. We have another server also running DNN 4.5.1 which was upgraded the same day and by the same person that upgraded the one I've mentioned above.  The other server does have a dbo.DeleteLink stored procedure, as follows:

************************************************************/
/*****              SqlDataProvider                     *****/
/*****                                                  *****/
/*****                                                  *****/
/***** Note: To manually execute this script you must   *****/
/*****       perform a search and replace operation     *****/
/*****       for dbo. and   *****/
/*****                                                  *****/
/************************************************************/

/** Change the procedure to allow for ModuleID to be passed in. **/
CREATE procedure dbo.DeleteLink

 @ItemId int,
 @ModuleId int

as

delete
from dbo.Links
where  ItemID = @ItemId AND ModuleID = @ModuleId
GO

So is this fix going to be as simple as creating the SP with the code I've posted above?  I have just enough knowhow to be dangerous, but should be able to manage this if its the right way out of the situation.

Of course, now I'm starting to wonder whether there are OTHER sp's which might be missing after the upgrade ....

 
New Post 8/16/2007 4:46 PM
User is offline Frosty
5 posts
10th Ranked


Re: Cannot delete a link ( 

... and to answer my own question ... having engaged the assistance of some of our I.T. people ... yes, I've been able to create the dbo.DeleteLink stored procedure by copying the one from the other DNN installation ... and yes, that's fixed the problem.

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Links Module [L...  Cannot delete a link (
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


UK DotNetNuke CMS installation, hosting & support
UK based installation, branding, customising, integration, hosting, training, support and maintenance services for DotNetNuke
www.deburca.co.uk
Need Help with your DotNetNuke website?
Jango Studios offers exclusive DotNetNuke Skin Design, Module Development, Web Marketing and Web Hosting.
www.jangostudios.net
Where Every Home is an Investment
Where Every Home is an Investment
www.nestbrokers.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP