I've got a problem of integration and deployment of my website on server web.
The web site is developed with visual studio 2015. I created a C# webforms aspx project. I builded the project and I copied all the files in a folder on a server web IIS.
The configuration of the site with his files in IIS is good but the problem is when I'm trying to launch the web site on internet Navigator, I've got the following error message :
"" The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled
correctly. Requested URL: / ""
"" The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled
correctly. Requested URL: / ""
The 404 Not Found error indicates the path you request doesn't have related item, please check the url you request and make sure there is the aspx existing in the physical path.
And you can enable the detailed error page in IIS to display more detailed error message about this issue.
I like to know where can I put the name of the 1st page in IIS Service or WebConfig page to launch the web site ?
The 1st page is "WF1_Accueil.aspx".
Do you mean that you want to set the "WF1_Accueil.aspx" page as the default page of the application, when you type the url like
http://domain:port it will auto show the "WF1_Accueil.aspx"?
You can find how to set the default document in the following link.
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
I find the solution, As I use IIS Service, I pointed (associated) the web site url to the files folder in contextual menu "Add WebSite" and textbox field "Host Name".
Member
60 Points
217 Posts
Problem of web site ASP - C# integration and deployment on server web
Aug 03, 2017 12:39 PM|Rednuts72|LINK
Hello guys,
I've got a problem of integration and deployment of my website on server web.
The web site is developed with visual studio 2015. I created a C# webforms aspx project. I builded the project and I copied all the files in a folder on a server web IIS.
The configuration of the site with his files in IIS is good but the problem is when I'm trying to launch the web site on internet Navigator, I've got the following error message :
"" The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: / ""
Great for your solution !
God trust
All-Star
48570 Points
18081 Posts
Re: Problem of web site ASP - C# integration and deployment on server web
Aug 03, 2017 12:58 PM|PatriceSc|LINK
Hi,
Seems a problem with the default document as it complains about the / location. What if you try to enter the exact full url for your home page?
You could also try to add a test.htm file and see if you can reach it. Also the application pool is configured to handle ASP.NET ? See https://technet.microsoft.com/en-us/library/cc754523.aspx
Member
60 Points
217 Posts
Re: Problem of web site ASP - C# integration and deployment on server web
Aug 03, 2017 01:10 PM|Rednuts72|LINK
Hello,
I think that the problem comes about the cancelled webpage pointer. With the présents parameters, the 1st page of the web site is not launched.
I like to know where can I put the name of the 1st page in IIS Service or WebConfig page to launch the web site ?
The 1st page is "WF1_Accueil.aspx".
Contributor
6490 Points
2525 Posts
Re: Problem of web site ASP - C# integration and deployment on server web
Aug 04, 2017 02:45 AM|Jean Sun|LINK
Hi Rednuts72,
The 404 Not Found error indicates the path you request doesn't have related item, please check the url you request and make sure there is the aspx existing in the physical path.
And you can enable the detailed error page in IIS to display more detailed error message about this issue.
https://blogs.msdn.microsoft.com/rakkimk/2007/05/25/iis7-how-to-enable-the-detailed-error-messages-for-the-website-while-browsed-from-for-the-client-browsers/
Do you mean that you want to set the "WF1_Accueil.aspx" page as the default page of the application, when you type the url like http://domain:port it will auto show the "WF1_Accueil.aspx"?
You can find how to set the default document in the following link.
https://docs.microsoft.com/en-us/iis/configuration/system.webServer/defaultDocument/
Best Regards,
Jean
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
60 Points
217 Posts
Re: Problem of web site ASP - C# integration and deployment on server web
Aug 08, 2017 06:53 PM|Rednuts72|LINK
Hello,
I find the solution, As I use IIS Service, I pointed (associated) the web site url to the files folder in contextual menu "Add WebSite" and textbox field "Host Name".
Happiness ...