Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Error Creating Control

Posted on 2011-09-13
2
Medium Priority
?
281 Views
Last Modified: 2012-08-14
I got the following error at dsign time. The application compiles and runs. How can I fix it?
System.Web.UI.scriptreferenceCollection must have items of type 'System.Web.UIi.ScriptReference'. 'asp:ScriptReference' is of type 'System.Web.UIi.ScriptReference'

By searching the internet, it looks like removing the script control and adding again seems to work. see http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/design-time-errors.aspx

But how to removing the script control and adding again ?

Thanks.
0
Comment
Question by:minglelinch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
Bill Nolan earned 2000 total points
ID: 36532397
Just try re-loading everything.

1) remove the control (& everything related to it, including dll references) via designer or manually from .aspx/.cs
2) clean the solution
3) close and re-open the IDE
4) rebuild the solution
0
 
LVL 1

Author Closing Comment

by:minglelinch
ID: 36542861
Thanks for the comment. I believe it will work. As my application is near done, I'm afraid to remove those at this time. But I'll do it for my next one. Thanks.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question