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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Modified web.config, now nothing worksModified web.config, now nothing works
Previous
 
Next
New Post
3/2/2011 6:52 PM
 
I was trying to install the silverlight chat module today.  I backed up my web.config file, then took to modifying it.  I made all the changes recommended on this page (http://dnnsilverlight.adefwebserver.com/FAQ/InstallingSilverlight/tabid/80/Default.aspx), and my site broke.  It would still load, but images didn't work, and the OWS modules didn't work right.  Backup to the rescue. 

I tried installing this module (http://www.adefwebserver.com/DotNetNukeHELP/Misc/LinqPrep) which is supposed to change the web.config to prepare it for linq.  It installed, but didn't work.  It gave an error about permissions, and couldn't read or make changes to web.config.  Ok. 

I added the following lines to the <system.webserver> section of the web.config:
<staticContent>
     <mimeMap fileExtension=".EXTENSION" mimeType="TYPE/SUBTYPE" />
   </staticContent>

This resulted in breakage of the site again - no images, no form.... all funky.  Once again, I restored web.config with the backup, but now the site does nothing.  It just shows me a blank white page, and the spinny thing that says it's still working just spins infinitely.  I tried changing customerror mode to off, hoping to get something, but alas, there are no errors to show - just a blank page.

I am able to navigate to mysite/install/install.htm, so I know the dns is working, my url is going to the right place, etc.  This has affected all of the domains/sites that are pointed to this instance of dnn. 

Can anyone suggest where to go with this? 
 
New Post
3/2/2011 7:00 PM
 
CORRECTION:
The following lines are incorrect:
<staticContent>
     <mimeMap fileExtension=".EXTENSION" mimeType="TYPE/SUBTYPE" />
   </staticContent>

The actual lines I put in were:
<staticContent>
     <mimeMap fileExtension=".xap" mimeType="Application/Silverlight-App" />
   </staticContent>

These three lines caused the pages to break, and load without images or much formatting.  But after restoring web.config from the backup, it stopped working completely.  This was the last thing I did.
 
New Post
3/3/2011 1:25 AM
 
Problem resolved - I re-uploaded the upgrade files and the sites all work again.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Modified web.config, now nothing worksModified web.config, now nothing works


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