This is a migrated thread and some comments may be shown as answers.

500 error on deployment

3 Answers 238 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 23 Jun 2015, 11:25 PM

From the console I get this error when using the radmenu onitemclick: Sys.WebForms.PageRequestManagerServerErrorException, ... "PRM_UnknownToken":"Unknown token: \u0027{0}\u0027.","PRM_MissingPanel":"Could not find UpdatePanel with ID \u0027{0}\u0027.  While the controls to appear and seem to work they do not call my onitemclick event and instead generate the error.

The code works fine when running from the developer or IIS manager.  I noticed IIS added the app pool name to the path so using http://localhost:86/SR05C works but not just using the web reference without specifying the pool, ie localhost:86 brings up the site and the controls but the code behind the Telerik controls do not..  Same problem when I tried to deploy to a godaddy server.  I tried without AJAX with the same result.

3 Answers, 1 is accepted

Sort by
0
Jeff
Top achievements
Rank 1
answered on 24 Jun 2015, 09:26 PM
Per support I changed the web site to be the localhost default with the same result, controls wont execute code unless I also add the application pool name to the path (http://localhost/poolName).  I don't use any panels but the error seems to reference a missing handle to an update panel generated by the Microsoft Ajax.js scripts.  Can't deploy till I get this working.
0
Jeff
Top achievements
Rank 1
answered on 25 Jun 2015, 10:05 PM
Rebuilt a basic site with the same radmenu and found If I include the default document in the http:// address the code behind works but not just using the domain name. For example http://www.dnssite.com the controls do not work, http://www.dnssite.com/default.aspx then the controls do work.  Is this a DNS or Web site setting I am missing?
0
Ivan Danchev
Telerik team
answered on 26 Jun 2015, 02:10 PM
Hello,

Please see the following post which provides more detailed information on the Alias or the application name and how it is used in order for the deployed website to be accessed. The Default Document pane in IIS Manager allows the default page to be specified, which makes possible accessing the website without entering the page name after the Alias.

Regards,
Ivan Danchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Jeff
Top achievements
Rank 1
Answers by
Jeff
Top achievements
Rank 1
Ivan Danchev
Telerik team
Share this question
or