Azure Machine Learning Studio - Input port Dataset is unconnected - web-services

I want to get the input file as a web service input. But it says gives the error "Input port dataset is unconnected". I want to take the input file from the user and send the model results back to ASP.NET web page. Please help on how to do that. Above is the screenshot of the experiment

Related

How to prevent URI Mismatch error when sending email using Gmail

I have looked at just about every page on the web searching for an answer to this question. I am trying to programmatically send an email message using Gmail. I am writing the web application using C# with Visual Studio 2022. Here is a screen print of the error I am receiving:
From various pages around the web, the issue is that the "Authorized JavaScript Origins" URI and the "Authorized Redirect URIs" are incorrect on the Google Developers Console. Note that the port number on the error message:
http//127.0.0.1:**50711**/authorize
It changes every time I run the application (which tries to send an email message). In previous editions of Visual Studio, you could set this port number on the properties page of the project. In the properties page of my project (Properties | debug | general | open debug launch profiles UI), there are several URIs which I have tried to no avail. But I admit that I do not fully understand how web servers work.
So I am really asking two questions:
How do I resolve the error from Google Developers Console and where can I learn more about how servers work?
Thank you for your assistance.

C++ windows service program called DLL is not working properly

I wrote a websocket server program running on Windows service.According to project needs, a DLL is called. This DLL needs to read my computer shagn a file under my document.However, the windows service program called DLL can succeed, but DLL failed to read the file under my document. When the server is not running as the windows service, DLL can read the files under my document successfully. I'm so depressed, I don't know why.Who can help me.Thank you
When several users using the same PC, each regular user have a My Document dir, and can't access other user's My Document.
When You run a service, it run by default as Local System or Local Service which are restrict users, and doesn't have access to your My Document dir.
You must think: how the service can choose from all other users in your PC which is the user it should take the file from?
The simple solution is to run the service as your user. You can try it manually by open the service Properties (on services, right click and choose Properties, or double click), choose Log On tab, and fill the acount username and password to your username and password.
A real solution is to place the file in a fixed place, like %LocalAppData%\AppName, not depending on any user.

How do I connect my MySQL database to my c++ code?

I am making a simple c++ login program and I wish to connect my c++ code to my MySQL database. When the user signs up the program is supposed to send the user's mail and a hash of the password to the database and store it there. (I've already done the hashing with sha256). When the user logs in the program, it supposed to send the user's mail and password to the database where it checks if both are correct and send a acces granted or acces denied back.
I just started working with MySQL and not being able to find any video or topic online of how to do this, making a post myself is my last hope.
The best way to get this done is by:
Creating an PHP/ASP script that connecting to the MySQL (like an API), or
Creating an C++ server program that functioning as an API.
If you want to choose the second one, you need to download the C++ connector: MySQL C++ connector
Check the Documentation from MySQL for more information and the examples.

Read data from different system in different format, like xml, csv, database, etc in IBM BPM

I am very new to IBM BPM. I want to know how can i read/write data from/to different system to IBM BPM ? What are the different formats supported ? like xml, csv, database, WSDL etc. ??
Let us suppose I have a system from where i can get some data, may be in the form of xml, csv or database, etc (without WSDL contract. Now I want to create an interface in my IBM BPM, which can be used to read/extract data from above mentioned system. Is this possible without a WSDL contract ?
IBM BPM provides out of the box connectors for both the standard (BPMN) and advanced (BPEL) products. For BPM Standard the System Data Toolkit has built in ready to go integration points for databases, SOAP, XML parsing, HTTP requests, and more. There are a few examples of connectors in the L2-SampleApps project. There are more here on the BPM Tutorials page and here. and a full PDF of simple how to samples.
For the advanced side, there are some example here which have code you can review for connecting to various outside systems.
When you say "import from a remote location" which of the following do you mean
A user looking at a coach and uploading to the server from their computer
A user lookking at a coach and uploading to the server from a network location
A user looking at a coach and selecting from a location on the BPM server
The server accessing a file on its file system
The server accessing a file on another file system
If it is one of the coach options, you could use the file upload widget for coaches and then parse the file that is uploaded from the file repository using one of the open source java packages that allow reading of excel spreadsheets.
You can get this information here:
https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014873642

Sharepoint 2013 CMIS Workbench Login Fails with "One or more of the input parameters to the service method is missing or invalid"

Sharepoint 2013 CMIS Workbench Login Fails with "One or more of the input parameters to the service method is missing or invalid"
I have an install of Sharepoint 2013 and in the site settings I have enabled "Content Management Interoperability Services (CMIS) Producer". I am using CMIS Workbench 0.9.0 (the latest at this time) to connect to the Sharepoint 2013 CMIS service.
I am logging in with this URL:
http://machinip:35382/cmis/_vti_bin/cmis/rest?getRepositories
When I click "Load Repositories" and I get a selection of 2 repositories to choose from: 1. "Administrative Report Library" 2. "Shared Document". Regardless of which repository I pick, I get the following error: InvalidArgument: One or more of the input parameters to the serivce method is missing or invalid.
I have tried using the machine name instead of the IP address, and I receive the same error.
I also have an "Internal" url setup with the machine name and port as "default":
"http://machinename:35382"
I have authentication setup as "Basic". I'll admit that I am not a Sharepoint expert. I have also tried running workbench directly on the machine hosting SharePoint 2013 and still receive the same error. I have also tried adding the machine name to the hosts file on the client running Workbench but that did not fix the problem.
I am able to connect to the InMemory server. I have also successfully connected to a different machine running SharePoint 2010.
Can someone help with this issue? Are there other settings that need to be setup to make this work?
I found this issue that says an alternate mapping needs to be setup, but I believe I have one setup correctly already using the machine name.
Login error to Sharepoint 2013 repository using openCMIS Workbench
I have found this link and I am not sure if it applies. If it does, how can I get around this issue? If this is the problem, I would not be able to utilize the solution.
https://issues.apache.org/jira/browse/CMIS-294
I receive the same error when I tried to connect to Sharepoint 2013 with my own application that works OK with the InMemory and SharePoint 2010 servers.
Here is the log from CMIS Workbench:
11:19:04 ERROR hemistry.opencmis.workbench.ClientHelper: CmisInvalidArgumentException: One or more of the input parameters to the service method is missing or invalid.
org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: One or more of the input parameters to the service method is missing or invalid.
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:423)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.read(AbstractAtomPubService.java:554)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getTypeDefinitionInternal(AbstractAtomPubService.java:821)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.getTypeDefinition(RepositoryServiceImpl.java:88)
at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getTypeDefinition(RepositoryServiceImpl.java:137)
at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getTypeDefinition(SessionImpl.java:518)
at org.apache.chemistry.opencmis.workbench.model.ClientSession.createOperationContexts(ClientSession.java:244)
at org.apache.chemistry.opencmis.workbench.model.ClientSession.createSession(ClientSession.java:195)
at org.apache.chemistry.opencmis.workbench.LoginDialog$2.actionPerformed(LoginDialog.java:204)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2006)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2329)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:398)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:247)
11:19:04 ERROR hemistry.opencmis.workbench.ClientHelper: Error code: 0
I was getting the same error as you. Double check your Alternate Access Mapping Settings:
Go to the Central Administration page
Under System Settings, click Configure Alternate Access Mappings
There should be at least two urls. One with server short name and one with server full name.
If the url is missing, click Add Internal Urls
For the Alternate Access Mapping Collection, click the No Selection link, change and select:
SharePoint - 80
Set the url such as http://myserver.abc.xyz.com
Set Zone: any such as Intranet
Click Save
(Note: I had posted the question that you had referenced and only finally had the time to get back to it)