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 8230079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:00:58+00:00 2026-06-07T17:00:58+00:00

My project is in two domain. When I open it from my localhost domain

  • 0

My project is in two domain. When I open it from my localhost domain scripts are not working. For example in other domain 192.168.1.3/myProject, script are working, but in my localhost for example localhost:49416/myProject, scripts are not working. What could be the problem?

scripts and css refrences like this.Css works.

<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/jquery-1.7.2.min.js")" type="text/javascript"></script>

for js files, this error occurs: failed to load resource, in localhost.

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-07T17:01:01+00:00Added an answer on June 7, 2026 at 5:01 pm

    First check if the Javascript is loaded correctly. You can do this by looking into the source code or better with Firebug (FF) or developer tools (IE, Chrome) in the network tab. There it will tell you if the resources have been loaded correctly (status code 200).

    If you are certain that the JS is embedded correctly, then check if Javascript is enabled for localhost. Especially Internet Explorer I believe doesn’t allow scripts to be run from localhost by default.

    If you still have problems check if you have script errors in your code. For example in Firebug under Console.

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

Sidebar

Related Questions

I have two projects in my solution... a domain project and MVC3 web project
I have several projects open in an Eclipse workspace. Like so: com.harbl.project.one com.harbl.project.two com.harbl.project.three
I have two project, one which generates some artifacts from a WSDL file using
I am working on a domain model using Hibernate for a new project. I
In the book .NET Domain-Driven Design with C# from Tim McCarthy there's an example
I have two Eclipse Maven Java projects. A domain project that is laden with
I just moved a project from localhost over to my remote server, and noticed
I need to build java project. The project should include two modules: domain and
I have a site that redirects from www.domain.com to www.domain.com/sub I have two domains
There are two project in which I collaborate, they live in different servers, A

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.