wrong url after deployment

Daniel Rentsch 1 Reputation point

i created Visual Studio vb.net web-application. When i deploy the app to my own IIS all is working perfect, when i deploy it to the azure app-service i get the status 404 ( file not found ) on linked scripts.
The site master looks like this:


After starting the app all looks fine


Now i click on my sigin-button wich make a call to the javascript function


this function the open the login-page, this page is located in the root-dir


The page is shown but after that the urls to all javascript is gone


The url for the script is now ...test.ch/Login/AdminLET... instead of ...test.ch/AdminLTE...

When look to the loaded source it seams that the site Login.aspx is transformed to a directory !?


but i don't have a directory "Login", on my own IIS the sources are ok, not directory Login but a page Login


Many thanks for help

An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,841 questions
Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,326 questions
Internet Information Services
{count} votes

1 answer

Sort by: Most helpful
  1. Daniel Rentsch 1 Reputation point

    Hi, yes i has allready try but without success.
    After that removed the Login.aspx completly, the i create a new site with a different name.
    After that it works but i cannot say why.
    Anyway now it works, thanks