Trying to access SSRS Web service in my .NET Project using web reference - getting error permissions are insufficient for user - soap

I am trying to access a SOAP web service in my VB.NET Project so that I can print a report directly to printer without any pop up or confirmation click by user .I tried to access the SOAP web service in my project using this link
http://myservername/reportserver/ReportExecution2010.asmx
But i get the error permissions granted for this user are insufficient to perform this operation .
For a normal report i know that i should go to reports folder and give access to datasets,datasources and any other folder with the id's that i want to deploy and also access.
But i dont know where to give access for accessing SOAP web service .I searched on the internet majority of the solutions are about report access and not web service .

ReportExecution2010.asmx web service uses the same security behaviors as the SSRS website. Try giving your domain\user account the Content Manager role within the SSRS website first.

Related

public website with sapui5 and without credentials

I want to create public website(actually web page), with some inputs and send the data back to sap. My problem is that the website should be open for everyone and still be connected to sap(which requires username and password).
Is there a way to create sapui5 website without the need to give credentials(and still keep the sap system safe)?
If you do not mean to work with the user information/authentication which I assume is true because you do not want the user to log in, in that case, you can
Create a destination in SCP with basic authentication and store the username and password of the backend system you wish to communicate. An example to refer destination creation in SCP
Deploy the app in the SAP Cloud platform using the destination in your app to post the data.
Hope this should solve your problem.
Some more references:
how to set the authentication method to none in UI5 app in SAP Cloud Platform
How to deploy a simple UI5 app to SCP
Get a free trial account of SAP Cloud Platform

Do I need account-based permissions to initialize an mssoap client from a wsdl file?

I'm getting the this error when I try to use an ASP.NET WebService through an MSSOAP Client:
"WSDL Reader: Loading of the WSDL file failed HRESULT=0X80040154 Class not registered - Client: An
unanticipated error occured during the processing of this request.HRESULT=0x1812040:Class not registered."
At first I thought the SOAP library was not properly registered. But when I debugged the code I realized the error was being raised at the time of reading the web service definition (The Soap client does get created).
SOAPClient.mssoapinit "wsdl_URL"
Now, the issue only occurs when I execute the code as certain account (as for the rest of the accounts the code works pretty well). The original client is a Classic ASP page but I've reproduced the problem using a vbs script.
I run the script under several accounts, but just one presents the wsdl-reading failure.
I've granted reading permissions to the directory that contains the
asmx file to the failing account.
I've changed the physical path of the virtual directory where the
webservice is hosted to a general non-particular-profile location
like C:.
Ironically the application pool identity of the web application is
the account that presents the failure.
All the accounts can read the wsdl file through a browser just typing
the url (but still one of them can't from client code)
Do I need to grant additional permissions for the account in order to read the web service definition and initialize the soap client?

Access Denied while connecting to External Rest API from SharePoint Designer page

While trying to connect external Restful API from my SharePoint designer page (On Premises) I am getting access denied error may be its because its cross domain but now I am getting No "Transport error".Last time I had the same situation to i ran some power shell command(3 Line) which i got from website in which they enable cross site scripting for web application if possible can someone send me that script again like below.
spwebapp = get-spwebapplication
spwebapp = enable/allow.crosssite
spwebapp.update
I think that power shell command modify the file
xmlhttprequest

IIS accessing resources via logged in user and NOT pool identity. How to enforce POOL Identity

I have a classic asp website with following IIS settings:
1. windows authentication is enabled
2. Impersonation is disabled, so are anonymous and basic authentication
3. App pool is .Net 4.0, Integrated pipeline with a custom Process model identity. This identityt is given exclusive full access to unc local and network shares, batch files etc
The asp application
1. displays user information of the user logging intot he web application,
2. accesses the above mentioned shares to display reports,
3. creates reports by calling DLLs which POST to an asp file in this web application (uing webrequest) and get XMl and write the XML to the share.
The issue I am facing is all the above calls are being made on the behalf of the application user instead of the Process Model Identity User in the app pool. Because of this, most of requests throw up Permission denied or 401 errors.
QUESTION: How can we configure the web site so that the calls made can be on behalf of the app pool user only?

Report Server - User permissions to access all users folders

I have a application .net that search a folder on report server and reads the reports inside that folder and display on asp.net page. The permissions for the asp.net user are working fine to deploy and execute on website.
Now, I want to users to deploy on "My reports" folder, so they only see theirs reports.(The users have access to report server and use report builder).
I search and I could not find a solution for this:
I want to give permissions to an a user (the same that is running on asp.net server), to access all "My reports" folder of all users(Users Folder), so I can execute the reports inside users folder on website.
I put the asp.net server user as local administrator of the report server, but with that permission te user can only see the content of the folder, this user can not execute the report. Any idea what is the problem?
I finally found a solution, and does not involve add users to local administrator of the machine.
I used the IAuthorizationExtension.
I found this example that enable anonymous access for all users witch was a start.
On my implementation I used WindowsAuthorization, because I want to keep the existing authorization and give access to one specific user. On all CheckAccess methods I check if the user is the one I want to give access and return true otherwise return the WindowsAuthorization.CheckAccess(...). On all others methods of the interface I also used the WindowsAuthorization.
With this solution the user running website can access all content of reporting services.