Server Error Resource cannot be found 404 when trying to access directory using HTTPS on IIS 8.5 but works using HTTPCould not establish trust relationship for SSL/TLS secure channel — SOAPRESTful WCF Service returns “The resource cannot be found.” errorServer Error in '/' Application, The resource cannot be foundasp.net 404 The resource cannot be foundServer Error in '/' Application. Resource Cannot Be Found. ASP.NET MVCThe resource cannot be found when use global.asaxThe resource cannot be found. Requested URL: /login.aspxGetting 404 Not Found when trying to access Web API on IIS 8.5During adding new View ,I got “The resource cannot be found”The resource cannot be found iis

Is it legal to use cash pulled from a credit card to pay the monthly payment on that credit card?

Can the 2019 UA Artificer's Returning Weapon and Radiant Weapon infusions stack on the same weapon?

Giant space birds hatching out of planets; short story

Print sums of all subsets

How acidic does a mixture have to be for milk to curdle?

Trying to build a function to compute divided difference for arbitrary list of points

Keeping an "hot eyeball planet" wet

TSA asking to see cell phone

Anybody know what this small Nintendo stand is for?

3D Statue Park: U shapes

Why did Saturn V not head straight to the moon?

Are there any examples of technologies have been lost over time?

Request for a Latin phrase as motto "God is highest/supreme"

What to do when you reach a conclusion and find out later on that someone else already did?

Iterate over non-const variables in C++

How can I prevent corporations from growing their own workforce?

Integral of the integral using NIntegrate

Why is drive/partition number still used?

How to deal with a player who makes bad characters and kills them?

What is the difference between 1/3, 1/2, and full casters?

kids pooling money for Lego League and taxes

How can I receive packages while in France?

How can I stop myself from micromanaging other PCs' actions?

Assuring luggage isn't lost with short layover



Server Error Resource cannot be found 404 when trying to access directory using HTTPS on IIS 8.5 but works using HTTP


Could not establish trust relationship for SSL/TLS secure channel — SOAPRESTful WCF Service returns “The resource cannot be found.” errorServer Error in '/' Application, The resource cannot be foundasp.net 404 The resource cannot be foundServer Error in '/' Application. Resource Cannot Be Found. ASP.NET MVCThe resource cannot be found when use global.asaxThe resource cannot be found. Requested URL: /login.aspxGetting 404 Not Found when trying to access Web API on IIS 8.5During adding new View ,I got “The resource cannot be found”The resource cannot be found iis






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I set up a new app in my preexisting Site in IIS (version 8.5) Windows server 2012 R2. All works fine when accessing the new directory using HTTP but when I try HTTPS it finds the initial directory but if I try to go to any of the registered routes it throws a "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".



I have wasted a lot of time on this issue and am unable to find the issue here. The bindings on the site work just fine for the rest of the apps.



I'm thinking that the issue may be in the web.config in the service endpoint but all changes I make don't seem to lead anywhere useful.



Important to note that what I'm setting up is almost a direct copy of another app running on the same IIS site minus some of the routes and the app pool it is in.



If anyone can offer a path I can take with getting SSL to work for this It would be extremely useful.










share|improve this question
























  • I suggest you dive into the sites and bindings once again, by using Binding Diagnostics, docs.jexusmanager.com/tutorials/binding-diagnostics.html That should reveal who handles the HTTPS requests and gives you the 404 messages. Probably another site (and its binding) takes precedence and handles the request instead of your expected one.

    – Lex Li
    Mar 26 at 22:46











  • Thank you. I was able to get this to work setting my bindingConfiguration security mode to "Transport" it was originally set to "None" I'm not really sure why this was causing it to not work though.

    – PMH
    Mar 27 at 12:46











  • of you found the cause, post your own answer and accept it.

    – Lex Li
    Mar 27 at 13:17

















0















I set up a new app in my preexisting Site in IIS (version 8.5) Windows server 2012 R2. All works fine when accessing the new directory using HTTP but when I try HTTPS it finds the initial directory but if I try to go to any of the registered routes it throws a "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".



I have wasted a lot of time on this issue and am unable to find the issue here. The bindings on the site work just fine for the rest of the apps.



I'm thinking that the issue may be in the web.config in the service endpoint but all changes I make don't seem to lead anywhere useful.



Important to note that what I'm setting up is almost a direct copy of another app running on the same IIS site minus some of the routes and the app pool it is in.



If anyone can offer a path I can take with getting SSL to work for this It would be extremely useful.










share|improve this question
























  • I suggest you dive into the sites and bindings once again, by using Binding Diagnostics, docs.jexusmanager.com/tutorials/binding-diagnostics.html That should reveal who handles the HTTPS requests and gives you the 404 messages. Probably another site (and its binding) takes precedence and handles the request instead of your expected one.

    – Lex Li
    Mar 26 at 22:46











  • Thank you. I was able to get this to work setting my bindingConfiguration security mode to "Transport" it was originally set to "None" I'm not really sure why this was causing it to not work though.

    – PMH
    Mar 27 at 12:46











  • of you found the cause, post your own answer and accept it.

    – Lex Li
    Mar 27 at 13:17













0












0








0








I set up a new app in my preexisting Site in IIS (version 8.5) Windows server 2012 R2. All works fine when accessing the new directory using HTTP but when I try HTTPS it finds the initial directory but if I try to go to any of the registered routes it throws a "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".



I have wasted a lot of time on this issue and am unable to find the issue here. The bindings on the site work just fine for the rest of the apps.



I'm thinking that the issue may be in the web.config in the service endpoint but all changes I make don't seem to lead anywhere useful.



Important to note that what I'm setting up is almost a direct copy of another app running on the same IIS site minus some of the routes and the app pool it is in.



If anyone can offer a path I can take with getting SSL to work for this It would be extremely useful.










share|improve this question
















I set up a new app in my preexisting Site in IIS (version 8.5) Windows server 2012 R2. All works fine when accessing the new directory using HTTP but when I try HTTPS it finds the initial directory but if I try to go to any of the registered routes it throws a "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".



I have wasted a lot of time on this issue and am unable to find the issue here. The bindings on the site work just fine for the rest of the apps.



I'm thinking that the issue may be in the web.config in the service endpoint but all changes I make don't seem to lead anywhere useful.



Important to note that what I'm setting up is almost a direct copy of another app running on the same IIS site minus some of the routes and the app pool it is in.



If anyone can offer a path I can take with getting SSL to work for this It would be extremely useful.







c# windows-server-2012-r2 iis-8.5






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 26 at 17:48







PMH

















asked Mar 26 at 17:40









PMHPMH

11 bronze badge




11 bronze badge












  • I suggest you dive into the sites and bindings once again, by using Binding Diagnostics, docs.jexusmanager.com/tutorials/binding-diagnostics.html That should reveal who handles the HTTPS requests and gives you the 404 messages. Probably another site (and its binding) takes precedence and handles the request instead of your expected one.

    – Lex Li
    Mar 26 at 22:46











  • Thank you. I was able to get this to work setting my bindingConfiguration security mode to "Transport" it was originally set to "None" I'm not really sure why this was causing it to not work though.

    – PMH
    Mar 27 at 12:46











  • of you found the cause, post your own answer and accept it.

    – Lex Li
    Mar 27 at 13:17

















  • I suggest you dive into the sites and bindings once again, by using Binding Diagnostics, docs.jexusmanager.com/tutorials/binding-diagnostics.html That should reveal who handles the HTTPS requests and gives you the 404 messages. Probably another site (and its binding) takes precedence and handles the request instead of your expected one.

    – Lex Li
    Mar 26 at 22:46











  • Thank you. I was able to get this to work setting my bindingConfiguration security mode to "Transport" it was originally set to "None" I'm not really sure why this was causing it to not work though.

    – PMH
    Mar 27 at 12:46











  • of you found the cause, post your own answer and accept it.

    – Lex Li
    Mar 27 at 13:17
















I suggest you dive into the sites and bindings once again, by using Binding Diagnostics, docs.jexusmanager.com/tutorials/binding-diagnostics.html That should reveal who handles the HTTPS requests and gives you the 404 messages. Probably another site (and its binding) takes precedence and handles the request instead of your expected one.

– Lex Li
Mar 26 at 22:46





I suggest you dive into the sites and bindings once again, by using Binding Diagnostics, docs.jexusmanager.com/tutorials/binding-diagnostics.html That should reveal who handles the HTTPS requests and gives you the 404 messages. Probably another site (and its binding) takes precedence and handles the request instead of your expected one.

– Lex Li
Mar 26 at 22:46













Thank you. I was able to get this to work setting my bindingConfiguration security mode to "Transport" it was originally set to "None" I'm not really sure why this was causing it to not work though.

– PMH
Mar 27 at 12:46





Thank you. I was able to get this to work setting my bindingConfiguration security mode to "Transport" it was originally set to "None" I'm not really sure why this was causing it to not work though.

– PMH
Mar 27 at 12:46













of you found the cause, post your own answer and accept it.

– Lex Li
Mar 27 at 13:17





of you found the cause, post your own answer and accept it.

– Lex Li
Mar 27 at 13:17












1 Answer
1






active

oldest

votes


















0














The solution was in the bindingConfiguration that was being used for the endpoint in the web.config had to be changed from security mode="None" => security mode="Transport"



I also needed to update the "mex" binding from binding="mexHttpBinding" => binding="mexHttpsBinding"






share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55363259%2fserver-error-resource-cannot-be-found-404-when-trying-to-access-directory-using%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The solution was in the bindingConfiguration that was being used for the endpoint in the web.config had to be changed from security mode="None" => security mode="Transport"



    I also needed to update the "mex" binding from binding="mexHttpBinding" => binding="mexHttpsBinding"






    share|improve this answer



























      0














      The solution was in the bindingConfiguration that was being used for the endpoint in the web.config had to be changed from security mode="None" => security mode="Transport"



      I also needed to update the "mex" binding from binding="mexHttpBinding" => binding="mexHttpsBinding"






      share|improve this answer

























        0












        0








        0







        The solution was in the bindingConfiguration that was being used for the endpoint in the web.config had to be changed from security mode="None" => security mode="Transport"



        I also needed to update the "mex" binding from binding="mexHttpBinding" => binding="mexHttpsBinding"






        share|improve this answer













        The solution was in the bindingConfiguration that was being used for the endpoint in the web.config had to be changed from security mode="None" => security mode="Transport"



        I also needed to update the "mex" binding from binding="mexHttpBinding" => binding="mexHttpsBinding"







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 28 at 16:55









        PMHPMH

        11 bronze badge




        11 bronze badge


















            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55363259%2fserver-error-resource-cannot-be-found-404-when-trying-to-access-directory-using%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현