I have my SSRS configured on a server different from my network, I configured ssrs web service URL in native mode ,I would like to add this web service URL in my asp.net mvc4 , but the problem is whenever i add this URL in service reference it says link not found.
I have the ports in the manner mentioned below in the link https://msdn.microsoft.com/en-us/library/bb934283.aspx
and also tried doing this https://social.msdn.microsoft.com/Forums/sqlserver/en-US/f7a8ba16-173f-4537-aa2c-5b85a2d83d0e/unable-to-access-ssrs-2008-report-manager-url-from-other-machines-which-are-in-same-network?forum=sqlreportingservices
Please Help..!
Yayyy..!I figured it, I have to include a new end point in cloud server so that it can accept request from outside net
Related
In Company where I work, we have an ASP.NET web application that is hosted on IIS server and binded already with CertificateA. This certificate is owned by the company.
There is another Company let say CompanyB that is providing some Rest API service based on paid subscription.
CompanyB provides subscribers with CertificateB and ask them to send CirtificateB along with the http request when invoking the Rest service.
We have subscribed and received a copy of the CertificateB.
We imported CertificateB on the server and uses Restsharp package from NuGet library to achieve the goal.
It works perfectly and get the proper response when I run the application from within Visual Studio.
However, when I publish it on IIS and run the application I am getting error says:
"The request was aborted: Could not create SSL/TLS secure channel."
Provided that both IIS and visual studio installed on the same machine.
As I said the binding of our web application is already using CertificateA.
Is there any configuration on IIS need to be done regarding CertificateB.
Thank u
I wish we get rid of this error
I got the issue resolved. All I have to do is to give the right permission to the application pool identity to be able to access the certificate.
I'd like to capture custom request headers in my Azure websites but I don't have access to the website's source code (ASP.NET). I do of course have access to the web.config.
Can I capture custom request headers via a configuration change? I see that IIS allows enabling of advanced logging (https://www.iis.net/learn/extensions/advanced-logging-module/advanced-logging-for-iis-custom-logging#server_logging) which can capture custom request headers but I don't see how to do it on Azure websites.
I don't think Azure Web Sites has enabled the Advanced Logging (or Enchanced Logging) so this doesn't seem to be possible using the standard Azure logging mechanism.
But to make sure, have you tried enabling the diagnostics for your site? Especially the Web Server Logs should be interesting for you. The following Azure documentation deals with logging on Azure Web Sites.
Enable diagnostics logging for web apps in Azure App Service
I need to find out the base URI of an ASP.NET Web API application hosted in IIS 7.5+, right after the app's startup, but before any client request may have reached it. The scenario where I need this is the following: a periodic check is performed, through a timer that runs independent of user requests and which is triggered together with the app startup (same process); if this check passes certain conditions, some registered users will receive an email containing a hyperlink to my web application. Now, I don't want to hardcode that link anywhere, but rather get it dynamically from the web application itself. It would be simple to figure it out from inside the context of a client request and then cache it in memory but, as you can imagine, the timer might go off before any request reaches the server.
How could I then determine correctly the application's base URI? I was thinking the most appropriate place would be the Global.asax.cs file, during the web app's startup, yet i couldn't find anything that looked helpful.
Given a full URL such as "http://mydomain.com/MyApplication/Controller/Action", you can get some of this information from the System.Web.Hosting.HostingEnvironment.ApplicationHost object. You can get the following:
ApplicationVirtualPath -> "/MyApplication"
SiteName => "Default Web Site"
However, you will not be able to get the domain name before an actual request comes in. This is because an IIS website can accept requests for many different domains, some of which are only known via DNS and never configured anywhere.
For example, your website could respond to both mydomain.com and www.mydomain.com. Which is the correct one that you want to put in your link?
You can configure your IIS website to only accept connections that request a particular host, but that cannot be retrieved from an ASP.NET application.
Guys,
I have made two web application, both application deployed on differnent server with database. one have SQL and other Oracle.
server 1: Web application 1/SQL Database.
Server 2: Web Application 2/Oracle Database.
I have given link of Web application 2 on web Application 1. its means single sign on logic. I have login in web application 1 and click link of web application 2, when I click on link I want to authenticate to user in oracle databse (on server 2) if user is valid or not.
Please help how could do this.
its urgent.
You can think an httpwebrequest to the other site.
On the other site you request the data that you wish for on a regular page and you send it to the first that just show it.
For the security, you need to think ether an ssl connection and exchange some login data, or just say that this page can only accept data from that computer, or what ever...
HttpWebRequest myReq =
(HttpWebRequest)WebRequest.Create("http://www.secondserver.com/data.aspx?dataid=23321");
i need to connect to two different domains from a single flex application.
the problem is the domain other than the current hosted domain is unable to login.
letz say i hosted the application at LOCAL server. im able to login to the local server .
From the existing application i need a login to the MAIN server too. The problem comes up here.
flash security is not allowing login to MAIN server.
in crossdomain we allow-access-from MAIN server. but i want access to the MAIN server from LOCAL server.
is ther nything i need to put extra in crossdomain.xml ?
plz i need a solution!!
ThnQ
Sris
You need to put a crossdomain.xml on your "MAIN" server and allow-access-from "LOCAL"; you don't need to put a crossdomain.xml on the server where your SWF is hosted. The cross domain file is intended to be placed on a 3rd party server to indicate that SWFs hosted from particular domains have permission to access its services.
Another short explanation is here:
http://www.flexafterdark.com/docs/Flash-CrossDomain