Asked by:
Impossible to open .aspx files that constitute a Web-App; Red Mark in every .aspx file

Question
-
User-1008049040 posted
Hello, I have a problem when I try to display into a browser a web-application, developed in .aspx and .aspx.vb format (through the Visual Studio 2017 environment). I distributed the app itself on a Windows 2012 R2 server, in which I uploaded both the ASPX 2.0 and 4.5 frameworks and the IIS.
In the IIS, through the Server Manager, I connected the app to the website on which I want to view it. The problem, however, is that when I type the address of the site and the name of the .aspx file on the browser, I read the following words: "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable".
"Locally", when the web-app is located on the C and/or D disks (inside the server), I can see the file that I'm interested in visiting. Point out that ASP.NET is up and running.
Within the .aspx files on the Aruba server, I see that at the top of the first row there is a red dot. Why?
So, I would like to understand how to delete the following words: "The resource you are looking for has been removed" on browser and solve the "red dot" problem at the beginning of the .aspx files.
How can I solve everything? Thank you in advance.
Thursday, February 15, 2018 12:22 PM
All replies
-
User475983607 posted
IIS is not configured correctly or you are not using the correct URL.
- Remote into the web server.
- Open IIS. Select the web application.
- Select "Browse" in Manage Application.
The browser will open and you should see the web site. If it does not work, then you have not properly configured IIS
See IIS support.
Within the .aspx files on the Aruba server, I see that at the top of the first row there is a red dot. Why?Unclear.
Thursday, February 15, 2018 12:45 PM -
User-1008049040 posted
Thanks for your interest. I tried to Browse the web application in Manage Application and it works, even if it isn't as perfect as it is when I open it in Visual Studio (and I don't know why....???). But, nevertheless, the .aspx files don't open. I checked the URLs and there aren't/weren't errors. Have you got other advice, please?
alesmazz
Within the .aspx files on the Aruba server, I see that at the top of the first row there is a red dot. Why?Unclear.
I want to use my website to link users to my web-application. So, I store all the .aspx files in a subdirectory on the hosting that I use (it is called Aruba). When I access every single .aspx file I find the following red mark in the first row of the code.
Thursday, February 15, 2018 2:51 PM -
User475983607 posted
Contact your hosting provider for assistance setting up the site.
Other than that it looks like you are editing the source file on the server? If so, don't.
Anyway, the problem you are trying to solve is not clear. My best guess is IIS is not configured correctly and you are trying to solve the problem by opening the site in Visual Studio or you are seeing the source files in the browser.
Thursday, February 15, 2018 3:16 PM -
User753101303 posted
Hi,
For now it seems ASP.NET is not installed so locally you see the source code and remotely the file is not served as a safety measure. Check the support for your provider. For now it seems you have to enable ASP.NET support.
Thursday, February 15, 2018 3:16 PM -
User-1008049040 posted
mgebhard
Anyway, the problem you are trying to solve is not clear. My best guess is IIS is not configured correctly and you are trying to solve the problem by opening the site in Visual Studio or you are seeing the source files in the browser.How can I configure the IIS correctly? Thank you
PatriceSc
Ciao,Per ora sembra che ASP.NET non sia installato così localmente si vede il codice sorgente e in remoto il file non è servito come misura di sicurezza. Controlla il supporto per il tuo provider. Per ora sembra che tu debba abilitare il supporto di ASP.NET.
How can I install and configure ASP.NET correctly? Thank you
Friday, February 16, 2018 8:33 AM -
User753101303 posted
Check the support for your hosting service.. It"s weird this is not preconfigured. You are managing your own VM or could it be that ASP.NET is just not supported on this hosting service ?
Edit: try perhaps https://docs.microsoft.com/en-us/iis/install/installing-iis-85/installing-iis-85-on-windows-server-2012-r2
If you don't have access to this, check with the support.
Friday, February 16, 2018 9:43 AM