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

  • Home
  • SEARCH
  • 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 206883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:41:10+00:00 2026-05-11T17:41:10+00:00

I have started to play with xVal as my validation framework for an ASP.Net

  • 0

I have started to play with xVal as my validation framework for an ASP.Net MVC application. I use the Spring.Net IoC container to hold the app together.

I have followed the instructions on Steve Sanderson’s blog to get server side validation working fine. But when I try to get client side working, I get the following runtime exception:

Spring.Objects.Factory.NoSuchObjectDefinitionException was unhandled by user code

Message="No object named ‘Scripts’ is defined : Cannot find definition for object [Scripts]"

I presume this is because the Site.Masterpage has the following code in it:

<script type="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery-1.2.6.js")%>"></script>
<script type="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery.validate.js")%>"></script>
<script type="text/javascript" src="<%= ResolveUrl("~/Scripts/xVal.jquery.validate.js")%>"></script>

Which is trying to resolve ~/Scripts/ using Spring.

How do I get either Spring to cope with this (i.e. what goes into the config XML), or what do I change in Site.Master so this does not happen?

  • 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-05-11T17:41:10+00:00Added an answer on May 11, 2026 at 5:41 pm

    Opps, with Steve’s help I found the answer. Don’t blindly copy and paste samples from the web, I have jquery-1.3.2.js in my scripts folder, not 1.2.6. By changing the reference in the Site.Master file to be the correct version number, it all started working.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have started to use spring aop for cross cutting aspects of our application
I have started using aspects for parameter validation in our development framework. It works
We have started using Spring framework in my project. After becoming acquainted with the
After the release of MVC 2, I have started to check and play with
I have started to play a little with Qt 4. And then I have
I have started coding an FTP client application (for fun). I’m trying to represent
I have started design of a ColdFusion application that is entirely web based. Not
I have started to play around with boost python a bit and ran into
I've just started to play with WPF. Is it possible to have the size
So today I started learning ASP.NET. Unfortunately I haven't found any good tutorials online,

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.