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

Error after publish to IIS

2 Answers 77 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Daryl
Top achievements
Rank 1
Daryl asked on 17 Aug 2012, 08:38 AM
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 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 21 Aug 2012, 08:17 AM
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.
0
Daryl
Top achievements
Rank 1
answered on 22 Aug 2012, 02:03 AM
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!
Tags
General Discussions
Asked by
Daryl
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Daryl
Top achievements
Rank 1
Share this question
or