Publish my system in IIS and it is not loading multiple files

-4

I published my system to IIS (locally) and when I access it, it does not load a range of required application files.

I believe I published correctly, but I can not solve this problem. How do I load all these files? NOTE: When compiling the system in Visual Studio, it works perfectly.

    
asked by anonymous 20.12.2017 / 16:36

2 answers

1

The first step you can try is to simply convert your directory to an application.

Open the IIS manager (type inetmgr in the "run" windows)

But you may still need some adjustments to your application for baseURL

Another alternative is to create a new site using another port and pointing to your directory. If this server will only run this site, in Default Web Site change the mapped path to your directory and be happy.

    
20.12.2017 / 18:58
0

Usually this error happens by running locally with a different virtual directory from the server.

For example, on your machine the address is link and on the server link

If this is the problem, just keep both environments with the same virtual directory.

    
20.12.2017 / 18:45