Please Help .Javascript Error: EPi is undefined

Vote:
 

 Hi All I am using Visual Studio 2008sp1 and EPiServer CMS5 R2.I am very new to EPiServer.

I am facing a problem, a javascript error when I login to my website as WebAdmin(Admin Role) .

The error message: EPi is undefined.

Detailed Message:" 'EPi' is undefined Login.aspx?ReturnUrl=%2fMyEPiServer%2fHome.aspx, line 128 character 21"

I am using Forms authentication .  

These are the lines the ie debugger showing:-

EPi.AddEventListener(window, 'load', SetupRCA_ContextMenu_43d59ee5_8927_4b64_b323_d62411e50d87);
EPi.AddEventListener(window, 'unload', DetachEvents_ContextMenu_43d59ee5_8927_4b64_b323_d62411e50d87);

Please help.Thanks in advance.

#29616
May 07, 2009 7:08
Vote:
 

Check this thread:

http://world.episerver.com/Forum/Pages/thread.aspx?id=15884

#29624
May 07, 2009 9:26
Vote:
 
Dear Andreas .Thanks for your reply.but my case is a little different that in my case

all the javascript  is been referred in html source rendered.

BUt still I am getting error "EPi is not defined" .

<script src="/MyEPiServer/util/javascript/episerverscriptmanager.js" type="text/javascript"></script>
<script src="/MyEPiServer/util/javascript/onpageedit.js" type="text/javascript"></script>
<script src="/MyEPiServer/util/javascript/contextmenu.js" type="text/javascript"></script>

Note: In my case no error working with .Visual Studio.error comes only when deployed in IIS.

#29638
May 07, 2009 13:02
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.