wrong url after deployment

Daniel Rentsch 1 Reputation point
2023-01-03T12:28:45.073+00:00

Hi,
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:

275668-image.png

After starting the app all looks fine

275714-image.png

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

275703-image.png

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

275684-image.png

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

275685-image.png

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 !?

275676-image.png

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

275670-image.png

Many thanks for help
Dani

Internet Information Services
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,569 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,865 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Daniel Rentsch 1 Reputation point
    2023-01-04T15:38:55.72+00:00

    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