You need to Register for free and Login to post a message in the forum.

Forum

Subject: Blog improvements on new version?
Prev Next
You are not authorized to post a reply.

Author Messages
BaronRojoSJ
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:3

29 Jan 2008 7:16 PM  

Has anybody done the blog improvements on the latest DNN version?  I tried to make the changes, and since I'm new to DNN I'm a bit clueless on what to do!

Here is what I've done:
http://www.dnncreative.com/Tutorials/ModuleDevelopment/HowtoimproveaDotNetNukemodule/tabid/312/Default.aspx

Thanks,
Steve

Here is the error:

ModuleId: 399
ModuleDefId: 103
FriendlyName: Blog_Archive
ModuleControlSource: DesktopModules/Blog/Archive.ascx
AssemblyVersion: 04.08.00
PortalID: 0
PortalName: velonation.com
UserID: 1
UserName: host
ActiveTabID: 62
ActiveTabName: Blogs
RawURL: /Blogs/tabid/62/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 5fccb170-7550-41be-840a-048f1b09b84d
InnerException: c:\inetpub\wwwroot\DesktopModules\Blog\Archive.ascx(11): error BC32206: Indirect reference is being made to assembly DotNetNuke.Modules.Blog version 3.4.0.39875, which contains 'DotNetNuke.Modules.Blog.Data.SqlDataProvider'. This Project references a prior version of DotNetNuke.Modules.Blog version 3.4.0.39853. To use 'DotNetNuke.Modules.Blog.Data.SqlDataProvider', you must replace the reference to DotNetNuke.Modules.Blog with version 3.4.0.39875 or higher.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.Compilation.BuildManager.CompileWebFile
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: c:\inetpub\wwwroot\DesktopModules\Blog\Archive.ascx(11): error BC32206: Indirect reference is being made to assembly DotNetNuke.Modules.Blog version 3.4.0.39875, which contains 'DotNetNuke.Modules.Blog.Data.SqlDataProvider'. This Project references a prior version of DotNetNuke.Modules.Blog version 3.4.0.39853. To use 'DotNetNuke.Modules.Blog.Data.SqlDataProvider', you must replace the reference to DotNetNuke.Modules.Blog with version 3.4.0.39875 or higher. ---> System.Web.HttpCompileException: c:\inetpub\wwwroot\DesktopModules\Blog\Archive.ascx(11): error BC32206: Indirect reference is being made to assembly DotNetNuke.Modules.Blog version 3.4.0.39875, which contains 'DotNetNuke.Modules.Blog.Data.SqlDataProvider'. This Project references a prior version of DotNetNuke.Modules.Blog version 3.4.0.39853. To use 'DotNetNuke.Modules.Blog.Data.SqlDataProvider', you must replace the reference to DotNetNuke.Modules.Blog with version 3.4.0.39875 or higher. at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2371


29 Jan 2008 7:32 PM  
It looks like you've got a mismatch between some of the files.

Did you install the upgraded Blog module?
If so, did you install it using the module install procedure?
Did you get any error messages when you did the upgrade?

My recommendation is that you try reinstalling the new Blog module. Double check for errors.

If you do that and the errors persist, drop us another note and we'll go from there.

Joe Craig
DNN Creative Support
Subscribe to the website
BaronRojoSJ
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:3

29 Jan 2008 7:45 PM  
Joe,

Thanks for the quick response.  I've done the modifications on a fresh v4.6.0 portal.  Is there something in the stored procedure that could be the culprit?  I'm just cutting my teeth on DNN right now, so I will look up how to uninstall and reinstall the module.

Thanks again!
Steve
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2371


29 Jan 2008 8:23 PM  
If this is a new install, then I'd recommend what you've already figured out. Uninstall, and make sure that the files are deleted in the Desktop Modules folder and in the bin folder. Then reinstall.

If that doesn't work, head over to the Blog Project and drop a note. Antonio Chagoury, the lead for the Blog, is quire conscientious about fixing things, so I'd expect that you'll hear from him within a day.

Joe Craig
DNN Creative Support
Subscribe to the website
OVZh
Nuke Newbie
Nuke Newbie
Posts:1

20 Jun 2008 7:12 AM  

To get around this issue, remove the following two lines of code:

< %@ Import Namespace="DotNetNuke.Modules.Blog.Data" %>
< %@ Import Namespace="DotNetNuke.Modules.Blog.Business" %>

And change the line:

Dim sqlDataProvider As Blog.Data.SqlDataProvider = CType(Blog.Data.DataProvider.Instance(), Blog.Data.SqlDataProvider)

to:

Dim sqlDataProvider As SqlDataProvider = CType(DataProvider.Instance(), SqlDataProvider)

Thanks to Mr. Lee for figuring out the solution.

See the modified tutorial at http://www.olegzhukov.com/content/Articles/DotNetNuke/HowtoimproveaDotNetNukemodule/tabid/84/Default.aspx

leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3375

25 Jun 2008 4:55 AM  
Great, thanks for the info, I have also added this into the article on DNN Creative.

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > DotNetNuke® > Modules > Blog improvements on new version?



ActiveForums 3.7

Latest Forum Posts

RE: Email Set UP per Portal by jncraig
I think that the answer depends on how email is configured at your host. You'll probably have to co...
RE: skin/container error load by jncraig
I would suggest checking permissions for directories. Does this occur only when you upload a skin...
RE: Add New Profile Properties by jncraig
Hmmm ... I don't have an answer. Does anyone else?
RE: No Access for me too by ristori
it is ok now. Thanks for this action.
skin/container error load by islandman
Has anyone else run across this error when loading skins or containers from site settings?I am using...
Email Set UP per Portal by islandman
How do I set up a unique email address per domain name off 1 hosting environment. for example...m...
RE: localhost Install issues by cdees
Lee: I wanted to follow up on this for anyone following this thread. I have been unable to solve t...
RE: Add New Profile Properties by WSI
HI Joe, The DNN version is 4.5.5. Thanks, Cliff
Change Skin on URL by vinita
Hi,Can the skin be changed based on the url used to access a portal. Multiple portal aliases may be ...
problem creating child portal by kabamaro
  Hello all i have 4 Aliases for my parent portal , lets call them X,y,Z,WIn all Aliases i can creat...
problem creating child portal by kabamaro
  Hello all i have 4 Aliases for my parent portal , lets call them X,y,Z,WIn all Aliases i can creat...
Best DNN portal ever! by derpir
I have been a subscriber since august 2008, and DNNCreative.com is simply the best DNN Portal, their...
RE: skinning trouble by derpir
Hello Yes could you be so kind and take a look att the htm-file and css-file.I would be very gratef...
Search function is not working by kishorpawar
I am using Seach module in my project but not working, i have set   host setting alsoHost --> Schedu...
RE: backend is changing from sql2005 to sql2008 by leesykes
hello,There should not be any code changes needed, but you'll need to make sure that SQL 2008 upgrad...
RE: skinning trouble by leesykes
Hello,I would need to see your code to help you with this one, you can zip up your files and attach ...
RE: Installing DotNetNuke 4.9.00 on VWD 2005 w/ SQL server 2008 by leesykes
I have run a test with SQL Server 2008 express and DotNetNuke installed in exactly the the same way ...
RE: Issue 39 Interview by leesykes
thanks Bill, glad it was useful, we will have a think about the best way to approach this,Thanks,
RE: Issue 39 Authentication by leesykes
yes I have a live site in 4.9.0 at it seems stable as well.
backend is changing from sql2005 to sql2008 by meenu
hi all advance thanks. in my DNN0408 website am using sql2005 as backend.now planning to remove sq...
DotNetNuke Modules
RSS Feeds