Welcome Guest Search | Active Topics | Members | Log In | Register

Installation problem - Installing YAF as DNN module
jennc Offline
#1 Posted : Monday, November 20, 2006 2:45:31 AM(UTC)
Rank: YAF Forumling

Joined: 11/20/2006(UTC)
Posts: 2

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Hello, help wanted . . .

After adding the module definitions and all that, I tried to add a YAF module onto a new page. Yet, I rec'd this error message:


Unhandled error loading module.
DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/DotNetNuke/controls/DesktopModuleTitle.ascx' does not exist. ---> System.Web.HttpParseException: The file '/DotNetNuke/controls/DesktopModuleTitle.ascx' does not exist. ---> System.Exception: The file '/DotNetNuke/controls/DesktopModuleTitle.ascx' does not exist. ---> System.Web.HttpException: The file '/DotNetNuke/controls/DesktopModuleTitle.ascx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(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.BaseTemplateParser.GetReferencedType(VirtualPath virtualPath, Boolean allowNoCompile) at System.Web.UI.BaseTemplateParser.GetUserControlType(VirtualPath virtualPath) at System.Web.UI.MainTagNameToTypeMapper.ProcessUserControlRegistration(UserControlRegisterEntry ucRegisterEntry) at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() 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 ---




The error message says that the file named DesktopModuleTitle.ascx doesn't exist. Indeed it is nowhere on my harddisk (I did a search). If it is not in the ZIP file I extracted, then where can it be from?

Any ideas are appreciated!

JC

Boskone Offline
#2 Posted : Monday, November 20, 2006 6:30:41 AM(UTC)


Rank: YAF MVP

Medals: Medal of Honor: Portal Puzzle Master: Given to YAF community members who help unravel the Portal Puzzle and YAF.

Joined: 3/26/2004(UTC)
Posts: 193
Location: Canada

Thanks: 3 times
Was thanked: 1 time(s) in 1 post(s)
It sounds like you have an older version of the yaf dnn interface dll (yaf_dnn.dll).
The DesktopModuleTitle.ascx is no longer used by DNN
Boskone - A DotNetNuke user.
DotNetNuke Modules
jennc Offline
#3 Posted : Monday, November 20, 2006 10:55:17 PM(UTC)
Rank: YAF Forumling

Joined: 11/20/2006(UTC)
Posts: 2

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Thanks for your input, Boskone.

My yaf_dnn.dll file came from the DNN version of the YAF that I downloaded from the YAF site last week (I can neither use the stand-alone nor the Rainbow versions for my client.) I assume that the DNN version is up-to-date. If indeed the yaf_dnn.dll that comes with it is outdated, then if I can find & replace with an updated version, does it mean things will work? Or is there a more current version of the DNN version of YAF?

Our DNN version is 4.0.3. Does anyone else out there have success getting YAF to work within DNN given a problem like mine? What was your fixes?

Thanks for your insights!
JC

NDmeistr Offline
#4 Posted : Tuesday, November 21, 2006 4:29:07 AM(UTC)
Rank: YAF Forumling

Joined: 11/20/2006(UTC)
Posts: 3
Location: Greensboro, NC

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I wish that I could help you with your problem but I am new to DNN and YAF and am still learning it.

I had some similar problems also but different error messages. My errors had to do with the default.config file. I changed the name to web.config and put in my connection strings correctly I think because I received no errors debugging for the connection string.
but I did get this when i tried to launch the "http://localhost/install/default.aspx" in a browser:



I believe it has something to do with the virtual directory for YAF not being an application but I don't understand why. None of the installation instructions indicate that we need to make it one. Also, if it is a module under my DNN website, doesn't it reference the core DNN directory as the application?

Update

Here is what I get when I try and compile it:



Please Help.
Boskone Offline
#5 Posted : Tuesday, November 21, 2006 6:18:19 AM(UTC)


Rank: YAF MVP

Medals: Medal of Honor: Portal Puzzle Master: Given to YAF community members who help unravel the Portal Puzzle and YAF.

Joined: 3/26/2004(UTC)
Posts: 193
Location: Canada

Thanks: 3 times
Was thanked: 1 time(s) in 1 post(s)
jennc wrote:
Thanks for your input, Boskone.

My yaf_dnn.dll file came from the DNN version of the YAF that I downloaded from the YAF site last week (I can neither use the stand-alone nor the Rainbow versions for my client.) I assume that the DNN version is up-to-date. If indeed the yaf_dnn.dll that comes with it is outdated, then if I can find & replace with an updated version, does it mean things will work? Or is there a more current version of the DNN version of YAF?

Our DNN version is 4.0.3. Does anyone else out there have success getting YAF to work within DNN given a problem like mine? What was your fixes?

Thanks for your insights!
JC


First off I would suggest to upgrade your DNN to 4.3.6.
I have run a YAF forum since DNN2 and have had a few problems along the way but lately all my upgrades run without a hitch.

I have the YAF DNN interface here here
Let me know if it works as I am not sure which versions of YAF and DNN I compiled this for.
Boskone - A DotNetNuke user.
DotNetNuke Modules
Boskone Offline
#6 Posted : Tuesday, November 21, 2006 6:22:02 AM(UTC)


Rank: YAF MVP

Medals: Medal of Honor: Portal Puzzle Master: Given to YAF community members who help unravel the Portal Puzzle and YAF.

Joined: 3/26/2004(UTC)
Posts: 193
Location: Canada

Thanks: 3 times
Was thanked: 1 time(s) in 1 post(s)
NDmeistr:
When YAF is run in DotNetNuke, you do not need a web.config in the YAF directory. You have to merge the required information into the web.config in the DNN root directory.
There are some instruction in the file you downloaded. Unzip it any you should be able to find INSTALLATION.TXT

YAF is written as a Web Applicaton Project and will not run or compile with Visual Studio Express.
Boskone - A DotNetNuke user.
DotNetNuke Modules
NDmeistr Offline
#7 Posted : Tuesday, November 21, 2006 10:40:18 PM(UTC)
Rank: YAF Forumling

Joined: 11/20/2006(UTC)
Posts: 3
Location: Greensboro, NC

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Thanks Boskone,

Another question, after reading the text, in what section do I merge the <yafnet></yafnet> statement to?

It doesn't look like it's in <appsettings> or any other section. It looks like it's in the root of <configuration>, is that correct?
Boskone Offline
#8 Posted : Wednesday, November 22, 2006 6:20:16 AM(UTC)


Rank: YAF MVP

Medals: Medal of Honor: Portal Puzzle Master: Given to YAF community members who help unravel the Portal Puzzle and YAF.

Joined: 3/26/2004(UTC)
Posts: 193
Location: Canada

Thanks: 3 times
Was thanked: 1 time(s) in 1 post(s)
Yes. I put mine right after the </dotnetnuke> and before the </configuration>
Boskone - A DotNetNuke user.
DotNetNuke Modules
NDmeistr Offline
#9 Posted : Wednesday, November 22, 2006 6:26:47 AM(UTC)
Rank: YAF Forumling

Joined: 11/20/2006(UTC)
Posts: 3
Location: Greensboro, NC

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Thanks, Got it working! Woot!Cheesy Grin
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 RC4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.197 seconds.