0

Let's say that I have a website with address www.MyWebsite.com. Under that site I have a dotnet cshtml "application" found at www.MyWebsite.com/MyApplication. The actual start page of the application is www.MyWebsite.com/MyApplication/Home/Index.

When a user simply inputs www.MyWebsite.com/MyApplication that should be interpreted by IIS as www.MyWebsite.com/MyApplication/Home/Index. But that doesn't happen, causing the application not to load an image whose path it cannot find.

Suggestions?

Scott Pendleton
  • 1,021
  • 3
  • 16
  • 32

1 Answers1

1

I added a script to test for '/home/index' in the document.location.href, and if not found, to add that to the document.location.href. Works instantly.

Scott Pendleton
  • 1,021
  • 3
  • 16
  • 32