I get an error when following step 7 (https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-get-started-sample/) in the console app to update the connection strings for a direct query connection.
I tried to complete step 7 by providing the connection string to my db from azure and just replacing user name and password.
The error that the console app produces is a red message saying "Bad Request"
Without being able to complete this step 7, the web app with the embedded report produces the following error:
Couldn't load the data for this visual
Error CodeDMTS_DatasourceHasNoCredentialError
Step 7 finally worked.
I understood step 7 after looking the following link that shows its code (line 500):
https://github.com/Azure-Samples/power-bi-embedded-integrate-report-into-web-app/blob/master/ProvisionSample/Program.cs
Just to be clear, the "Username: " and "Password: " to provide on this step correspond to the Azure SQL credentials.
I could skip the step: "Connection String (enter to skip): " given the connection was defined on the PBIX report uploaded.
The report was using Direct Query.
After completing step 7, the report is working on the web app.
Just a small addition that will maybe to help someone. If you need to change also connection string, you should state it in following format:
Data Source=xxxx.database.windows.net;Initial Catalog=dbName;User ID=xxx;Password=xxx;
Credit goes to Nithya from PBI forum: https://community.powerbi.com/t5/Developer/PowerBI-Embedded-Sample-Connection-string/td-p/27454
I had same issue today. The new CLI does not work to do step 7 right now. You get bad request. Go to GitHub and download an older version. I did that, allowed me to set connection string and it all started working.
Related
I'm trying to create a project of the labeling tool from the Azure form recognizer. I have successfully deployed the web app, but I'm unable to start a project. I get this error all every time I try:
I have tried with several app instances and changing the project name and connection name, none of those work. The only common factor and finding here as that it is related to the connection.
As I see it:
1) I can either start a new project or use one on the cloud:
First I tried to create a new project:
I filled the fields with these values:
Display Name: Test-form
Source Connection: <previuosly created connection>
Folder Path: None
Form Recognizer Service Uri: https://XXX-test.cognitiveservices.azure.com/
API Key: XXXXX
Description: None
And got the error from the question's title:
"Invalid resource name creating a connection to azure storage "
I tried several combinations of names, none of those work.
Then I tried with the option: "Open a cloud project"
Got the same error instantly, hence I deduce the issue is with the connection settings.
Now, In the connection settings I have this:
At first glance, since the values are accepted and the connection is created. I guess it is correct but it is the only point I failure I can think of.
Regarding the storage container settings, I added the required CORS configuration and I have used it to train models with the Forms Recognizer, So that part does works.
At this point at pretty much stuck, since I error message does not give me many clues on where is the error.
I was facing a similar error today
You have to add container name before "?sv..." in your SAS URI in connection settings
https://****.blob.core.windows.net/**trainingdata**?sv=2019-10-10..
I'm referring this tutorial to create a device identity. However, getting an exception as below:
Here is my config file:
Edit:
What is this Instrumentation key and value in App.Config? I just copied from the sample code. However, from where can I get it, in case I'm using a real device?
Am I missing any SDK or anything else?
Do I need to download something extra? the tutorial does not suggest anything.
Even when I'm running sample code from GiTHub getting the same error.
the following screen snippet shows a reason of this error, such as connectionString.
Use the connectionString from your Azure IoT Hub - see the tutorial section Create an IoT Hub step 6.
Can you check that the connection string you're using is in the correct format. It should look like:
"HostName={your hub name}.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey={your key}"
You can copy the complete connection string from the portal as described in the tutorial.
Issue resolve: I was missing my connection string.Which I got from "IoTHubOwner" from Azure portal login. :)
I want to integrate office 365 API's and i'm following this sample git code enter link description here i follow all the steps and everything is working fine in localhost but when i deploy the same asp application on git it gives me following error **Unable to read beyond the end of the stream.**It can be this git line issue // place the entry in memory
this.Deserialize((Cache == null) ? null : Cache.cacheBits);
I debug my app, when i debug this app by providing localDB connectionString It works fine but when i change connectionString to online it throws above mention exception on the above mention line
I have sold issue by replacing local DB connection String to Online GB Connection String and than run migration
The problem was with migrated data actually when we deploy on Azure htat's why we have to run online migration first than deploy
Good Morning,
I am trying to connect to a Mysql Data base using SqlYog, I have created a new connection and I have entered all the necessary informations (login,password & port). But when I click “ok”, I get this error message (Error 2007 : Protocol mismatch; server version = 1, client version = 10) . I have pinged the data base and it responds me successfully !!!
Could you please tell me how can I solve this problem, I need to access to the data base urgently.
Thanks a lot.
This is usually due to using a very old MySQL server (before 3.22.x) which has a different protocol version.
You can take a look at this link to see what all server versions are supported.
To check your server protocol version, go to the MySQL command line and type:
SHOW VARIABLES LIKE "%version%"
SQLyog supports only the protocol version 10.
I have a scheduled LotusScript agent that I want to loop through documents in a view and extract the attached file(s) to a folder on the server:
'extract file
If Not IsEmpty(rtitem.embeddedObjects) Then
ForAll o In rtitem.EmbeddedObjects
If (o.Type = EMBED_ATTACHMENT) Then
Call o.ExtractFile("\\TestServer\TestFolder\"+o.name)
End If
End ForAll
End If
This agent works fine when ran through the Notes client. However, when the agent is scheduled I get the following error: "Error: 4005 - Notes error: Logon failure: unknown user name or bad password". It errors at the "Call o.ExtractFile(..." line above.
I've tried changing the security level on the agent to "Allow restricted operations with full admin rights" and "Run as Web user" but the error persists.
Any thoughts are greatly appreciated.
This appears to be a network error and not an error within Lotus Notes. Make sure the account under which the server is running has access to the share.
This is very common issue: If you are going to extract the file on
some location then also check the drive is exists on server or not.
Make sure you have proper rights to create a file on the folder, it means folder should have full access.
Agent should have proper rights.