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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesNot Reading Module.css or JavascriptNot Reading Module.css or Javascript
Previous
 
Next
New Post
3/2/2013 4:28 PM
 

Update:

I tried manually creating App_Code/Links under my module.  No change.

After doing some searching, I saw references to problems with the following lines in web.config:
<codeSubDirectories>
    <add directoryName="Links" />
</codeSubDirectories>

I commented them out, and now I get a different error in my Windows event log:
Exception information:
Exception type: Configurati sException
Exception message: Could not load file or assembly 'DotNetNuke.HttpModules' or one of its dependencies. The system cannot find the file specified.

The request URL is for the module.css file:
Request information:
Request URL: http://dnndev.me/DesktopModules/RMSSo...
Request path: /DesktopModules/RMSSocial2/module.css

 
New Post
3/3/2013 9:10 AM
 
I think the Link module are changed to compiled module, and have now a dll file into the bin Folder. If so move out the entry for the link module from the codeSubDirectories part of your web.config file.
 
New Post
3/3/2013 3:00 PM
 
I am creating a module ATM. The Module.css just works.
1 - it has to be called module.css no flair or imagination in the name
2 - it has to be directly in the module's folder

You mentioned the path above - http://dnndev.me/DesktopModules/RMSSo... would that properly resolve to the file?

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
3/6/2013 9:24 AM
 

Update:

Just for grins, I tried installing the module on a Windows server running Server 2008 R2 and IIS 7.5.  In that environment - it works as it should.  On my development workstation (Windows 7 Pro x64) I tried completely removing all traces of its IIS installation.  It had IIS 8 Express, in addition to IIS 7.5.  I reinstalled IIS 7.5, but I still get the DotNetNuke.HTTPModules load error in the event log when attempting to load modules.css

I also came across the great article on Client Resource Management in the Wiki.  That solved my problems with loading my JavaScript.  I am tempted to try using it to load module.css, but I don't expect that to solve anything.

Wacky!

 
New Post
3/6/2013 10:07 AM
 
This *MIGHT* explain it. Under 'real' IIS a request for *.css or *.js, or *.jpg etc is handled by IIS ASP.Net NEVER SEES IT.

Under the precursor to IIS Express - Cassini - Cassini handled ALL the requests - even those listed above so the ASP.Net pipeline handled them.

If that's the same in IIS Express it may explain why the DNN modules see the request. It does not explain why it breaks the site.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesNot Reading Module.css or JavascriptNot Reading Module.css or Javascript


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