Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8167495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T20:12:30+00:00 2026-06-06T20:12:30+00:00

Script link on master page: <head runat=server> <script src=<%=ConfigurationManager.AppSettings[ApplicationURL].ToString()%>Scripts/jquery-1.7.2.js type=text/javascript language=javascript></script> </head> Default.aspx page

  • 0

Script link on master page:

<head runat="server">
<script src="<%=ConfigurationManager.AppSettings["ApplicationURL"].ToString()%>Scripts/jquery-1.7.2.js" type="text/javascript" language="javascript"></script>
</head>

Default.aspx page

<a class="level1" href="VideoLibrary/VideoUpload.aspx">Video Library</a>

When i click on this hyperlink i got following error message:

enter image description here

What should i do?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T20:12:31+00:00Added an answer on June 6, 2026 at 8:12 pm

    You can’t use expression in <head runat="server"> tag. What you need to add <script> via Page.Header property.

     HtmlGenericControl script = new HtmlGenericControl("script");
     script.Attributes.Add("src", System.Configuration
                .ConfigurationManager
                .AppSettings["ApplicationURL"] 
                     + "Scripts/jquery-1.7.2.js");
     script.Attributes.Add("type", "text/javascript");
     Page.Header.Controls.Add(script);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

in my master page I have <script src=js/jquery-1.7.1.min.js type=text/javascript></script> and plenty other script/link elements.
I have this code in my master page in the head section: <head runat=server>
my master page is inside a form runat=server like this: <body> <form id=Form1 runat=server>
I have a master page with the following lines inside my <head> tags. <link
I have a link to a page which invokes the 'Sexy Alert Box' script
In the master page I have the following code: <!DOCTYPE html> <html> <head> <meta
For some reason by css link in a webforms master page is getting mangled
I got this script called rapidshare link checker v2 php by Bigfish At the
Is there any way to link batch script (.bat files) so that they run
Anyone know a good external link tracking script ? IE. to catch links and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.