Click here to Skip to main content
15,909,373 members
Articles / Web Development / ASP.NET
Article

CMS console and JavaScript errors

Rate me:
Please Sign up or sign in to vote.
2.14/5 (4 votes)
22 Nov 20061 min read 23.3K   15   3
this is a most common problem with the CMS web sites

Introduction

If you are creating CMS web site so I think you will face this problem, you did every thing but when you try to open the console and switch to edit it gives JavaScript error and doesn't work so what is problem?

Solution

  1. open IIS
  2. expand the your website node
  3. you will find a virtual site called MCMS
  4. expand this virtual
  5. a folder called CMS will be under this virtual
  6. right click on this folder and choose properties
  7. copy the path in the Local Path
  8. click cancel
  9. right click on the main site and create new virtual directory and name it CMS
  10. in the directory step paste the path that you copied before
  11. complete the wizard
  12. right click on this virtual site and remove the application from it
  13. Browse your site and enjoy it.


Why This solution?
this Virtual Folder contains all the CMS menus and forms and it has to be part of every CMS site. The trick you do with the Virtual Folder enables you to share the same folder between several sites.
When you create a new CMS site using the CMS this Virtual folder should exist.If you create the CMS site manually , then you'll probably have a problem.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Egypt Egypt
This is Shady Mohamed Khorshed from Egypt,
I'm working as web Team Lead in LINKdotNET the largest ISP in egypt.
I'm working for link since march 2004 .

Comments and Discussions

 
GeneralEXCELENT ANSWER Pin
Gerardo S6-Aug-07 11:04
Gerardo S6-Aug-07 11:04 
Generalpretty uninformative Pin
mayafit5-Sep-06 5:59
mayafit5-Sep-06 5:59 
Yuo should explain in more details why does the problem happens and why the solution works. this Virtual Folder contains all the CMS menus and forms and it has to be part of every CMS site. The trick you do with the Virtual Folder enables you to share the same folder between several sites.
When you create a new CMS site using the CMS this Virtual folder should exist.If you create the CMS site manually , then you'll probably have a problem.

Alon Mayaffit
GeneralRe: pretty uninformative Pin
Shady Khorshed5-Sep-06 20:32
Shady Khorshed5-Sep-06 20:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.