DNNCommunity / DNN.Vendors

The Vendors module project allows admins to manage Vendor relationships and add Advertising banners to their site.
MIT License
7 stars 10 forks source link

Error on redirect #7

Closed martingithubch closed 5 years ago

martingithubch commented 7 years ago

Hi All, after the upgrade to DNN 8.x I had to install the Vendors Module from github. I recognized today that the redirect doesn’t work. I’ve another error then on post before where the redir file wasn’t found. I got the errro:

Line 31: using DotNetNuke.Services.Vendors; "The type or namespace name 'Vendors' does not exist in the namespace 'DotNetNuke.Services' (are you missing an assembly reference?)”

Any ideas how to solve this issue? I’ve already tried a reparation of the module, Thanks Martin

roman-yagodin commented 7 years ago

@martingithubch, do you have this error with your skin or with Banners module? Note that current Vendors package doesn't contains a banner skinobject (see #1).

I have similar issue with a skin which use banner skin object. If it is your case also, find following using directive in /Admin/Skins/Banner.ascx.cs (if you have one remaining from previous DNN version):

using DotNetNuke.Services.Vendors;

And replace it with following 2 directives:

using Dnn.Modules.Vendors;
using Dnn.Modules.Vendors.Components;

Banners should start to display after that, but you should still have a redirect issue (see #6).

valadas commented 5 years ago

I am closing this issue because it duplicated #1 and #6, please follow up on those if needed.