Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

I think there is some issue with script loading, let me explain

when i am opening my site on visual studio 2012 and its using default web server for debugging so its showing url like : "http://localhost:1119/220716_Filter_Home/faq.html"
so script working fine
but now i have created this same site using MVC and running it on Visual Studio 2015
which is using IIS Express for debugging so its url is like : "http://localhost:53380/FAQ"

framework is 4.6.1 and MVC version 5.2.3.0

and script is not working here
Please tell me what is the problem
Thanks

What I have tried:

i was trying to overwrite the url but not getting something related to overwrite also
Posted
Updated 28-Jul-16 0:33am
Comments
F-ES Sitecore 28-Jul-16 5:17am    
By script do you mean javascript? If so javascript works with both webforms and mvc so if you have a problem then the issue is with your script.
Kishor Khatri 28-Jul-16 5:20am    
Yes its a javascript file, but at both places i have same file, when i was creating it on mvc i doesn't change anything, it's same on both folders
F-ES Sitecore 28-Jul-16 6:20am    
We don't know anything about your script as you have given us no information at all. Off the top of my head I can think of two or three things that won't work on MVC that will work on webforms.
Kishor Khatri 28-Jul-16 6:22am    
so tell me how can i show you? i will
F-ES Sitecore 28-Jul-16 6:41am    
Update the original question to add the relevant bits of code.

1 solution

Hi friend,
You may be missed script or you may not be add script in in vs 2015.
 
Share this answer
 
Comments
Kishor Khatri 28-Jul-16 6:48am    
Dear i have same script file in both projects and doesn't change anything for vs 2015 MVC solution but its working for vs 2012 project which are html files and not working for MVC and also i checked it many times there is no mistake to attach the file
[no name] 28-Jul-16 12:04pm    
Hi Kishor. will check and tell you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900