Error after publish to IIS

3 posts, 0 answers
  1. Daryl
    Daryl avatar
    2 posts
    Member since:
    Aug 2012

    Posted 17 Aug 2012 Link to this post

    Hi, 

    I've just published a website I've developed (using Visual Studion 2010 using .NET 4.0) in my IIS Server. I have two pages I'm testing: the Login page which does not contain any Telerik controls and another page to which I am directed after logging in. This second page now contains Telerik controls.

    Unfortunately, the page is not rendered at all and I'm getting this error instead. 

    An unhandled exception occured...

    Error Message: Object reference not set to an instance of an object.
    Stack Trace: at Telerik.Web.UI.ScriptEntrySlot.GetSerializedAssemblyInfo(ScriptEntry scriptEntry) at Telerik.Web.UI.ScriptEntryUrlBuilder.TryAddScriptEntry(ScriptEntry scriptEntry) at Telerik.Web.UI.ScriptEntryUrlBuilder.RegisterScriptEntry(ScriptEntry scriptEntry) at System.Web.UI.ScriptManager.RegisterScripts() at System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Is there something you could suggest that I could check or change?
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4526 posts

    Posted 21 Aug 2012 Link to this post

    Hello Daryl,

    Have you included scripts in the RadScriptManager? If so, can you confirm they are present in the deployed site so that the manager can actually find and combine them? What happens if you remove these script references, or at least the offending one? In the meantime you can also try the CDN we offer for our scripts and include your own in <script> tags on the page.

    It is also possible that some authentication mechanism is preventing access to the websresources so you can check this help article on the matter (look for the <location> element).


    Regards,
    Marin Bratanov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Daryl
    Daryl avatar
    2 posts
    Member since:
    Aug 2012

    Posted 21 Aug 2012 Link to this post

    Hi Marin,

    GREAT! It works! I added the scripts for CDN and everything seems to be going ok now. Thanks a lot for the help! :)

    Have a good one!
Back to Top