How to redirect from url: https://myfavourite.test.com/Account/LogOn?ReturnUrl=/ to url: https://myfavourite.test.com/ using IIS7.5 - asp.net-mvc-2

Can anyone help me to know how I can redirect the url: https://myfavourite.test.com/Account/LogOn?ReturnUrl=/ to the url: https://myfavourite.test.com/ using IIS7.5
I have implemented ADFS for authentication of my application. The application is developed using ASP.NET MVC2.
Thanks & Regards,
Santosh Kumar Patro

I followed the steps mentioned in the below mentioned article and it helped me.
http://www.trainsignal.com/blog/iis7-url-rewrite-extension-on-windows-server-2008
I used the Redirect option and then added a Blank rule with the following regular expression:
account$|account/(?!LogOff)
and that helped me to resolve the redirection issue.

Related

How to enable SSL in Telerik Reporting CORS REST Service

I am trying to enable SSL in a Telerik Reporting CORS REST Service. It is a .Net Framework 4.7 REST Api. Here's the screenshot of the error reflected in the browser.
I think I have a similar situation explained here, however my certificate was already trusted and adding it to the Root didn't solve the problem. Any ideas? Thanks
My issue was related to IIS Express. Uninstalling it and installing it back fixed the problem. Thanks a lot to this post.

How to Implement SSO in Openbravo

In the openbravo wiki it is mentioned that SSO is one of the module of openbravo but found it to be an archive document. Is it still available in openbravo, if it is available how can I implement it? I tried implementing it using "http://www.wirabumisoftware.com/en/openbravo-developer-guide/openbravoerpdevtutorial/2-oberphowtoid/51-openbravoerpssohowto?start=3" this link, the problem is my openbravo is not redirecting to CAS server but my lam server is redirecting to CAS server and I'm able to login to the CAS server but again I need to login to openbravo application seperately.
Please help me fix it.
Please refer below mentioned openbravo wiki for Authentication
http://wiki.openbravo.com/wiki/Authentication

C# version of HelloIntuitAnywhere demo - does anyone know Intuit app URLs to use?

Brand new to QuickBooks integration, so hello everyone.
Following the java step-by-step instructions for Hello World (intuit_anywhere demo app) becasue there doesn't seem to be a doc for the .Net version.
The second thing it tells you to do is go to "My Development Center" and create an app. And it says to use the following values;
Name of App: HelloWorldIA
Host Name Domain: The host and domain of your web server
App URL: http:///HelloWorldIA
Disconnect URL: http:///HelloWorldIA/disconnect.jsp
Manage Users URL: http:///HelloWorldIA/manageusers.jsp
OpenID URL: http:///HelloWorldIA/LoginInitServlet**
The problem is the pages used in the last three don't exist in the C# version and I can't figure out what to enter.
Has anyone done the C# version and know these values?
Thanks so much!!
Disconnect URL: http://HelloWorldIA/Disconnect.aspx
Manage Users URL: http://HelloWorldIA <- Not used
OpenID URL: http://HelloWorldIA/DirectConnectToIntuit.aspx
If you are using the ASP.Net MVC sample app, you can use:
Open ID Url: http://HelloWorldIA/OpenId
This will make the flow work when using the "login via Intuit" button from your web page.

ASP.NET MVC2 Deploying to a server

Hey I created a default MVC2 project just to see if i could get it to run on my site hosted by MochaHost. Unfortunately it doesn't seem to display the page instead it just displays the directory.
Has anybody had this problem before? Or know of a tutorial that may help?
Did you confirm with MochaHost if they are running on IIS6? I suggest open a ticket with them and understand what they have in the environment.
Here is a tutorial for deploying MVC with IIS6: http://blog.stevensanderson.com/2008/07/04/options-for-deploying-aspnet-mvc-to-iis-6/
You can also try disabling the directory browsing so that you know if there is a real problem.

ASP.Net MVC + Wordpress

I have ASP.Net MVC project. Plus wordpress blog under a subfolder "/Blog".
Now, when I access the URL www.domainname.com/Blog, I get the following error:
"The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map."
I guess the problem is because the Blog url is accessing a .php files (Wordpress) which MVC Routing handler does not understand.
Can you please help? What can be done?
Does your hosting support PHP? It does not look like a routing exception, more like a server config error.
I found the solution.
In my server admin (Plesk), I had an option to run php as CGI app, FastCGI or ISAPI Extension.
Earlier it was CGI app. So it did not work.
I set it to ISAPI Extension and it worked.
Thanks.