Issue in Accessing Azure Diagnostics connection string

Hi Guys,
I'm trying to bring Azure PaaS application in SCOM Monitoring to create custom level monitors and rules, but unable to get discover, getting the message "Storage account for Windows Azure Diagnostics could not be discovered " Event ID 34022.
We have changed the string as suggested in MP Doc, not it is pointing to new changed value "
Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString", further digging it looks like there is major changes happened in new Azure SDK 2.5 guess this should be blocking."https://msdn.microsoft.com/en-us/library/azure/dn186185.aspx".Can someone help on this regards,Thanks in Advance!
- Thanks, Sai

Hi,
In earlier versions of the Windows Azure SDK, the default Windows Azure Diagnostics string provided by the Visual Studio template in the service configuration file was named
DiagnosticsConnectionString. Later Windows Azure SDKs have changed this name to
Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString. By default, however, the SCOM 2007 R2 Windows Azure Management Pack continues to reference the
DiagnosticsConnectionString setting in order to find the storage account from which to collect diagnostics. This has obviously caused some chagrin for those who have deployed new applications and setup SCOM to monitor them only to see no results
in SCOM.
I would like to suggest you go through the two articles below to troubleshoot this issue:
http://robertgreiner.com/2012/05/system-center-operations-manager-windows-azure-storage-account-error/
http://blogs.msdn.com/b/walterm/archive/2012/01/16/resolving-windows-azure-diagnostics-connection-string-issues-with-scom-2007-r2.aspx
Regards,
Yan Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Similar Messages

  • SSRS 2012 - Windows Server 2012 R2 issue with OLEDB Connection String

    Hoping someone can help. As stated above, we are running SQL Server 2012 with SP1 on Windows Server 2012 R2. When I create a Data Source as follows in Reporting Services, I receive the following error message. Any thoughts on why this fails? The same data
    source works on Windows Server 2008 R2 Enterprise SQL Server 2008 R2. 
    Data Source type: OLE DB
    Connection string: Provider=Microsoft.ACE.OLEDB.12.0;Data Source="\\networknamehere\CSVFiles";Mode=Read;Extended Properties="text;HDR=YES;FMT=CSVDelimited"
    ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'CSV_Datasource'. ---> System.Data.OleDb.OleDbException:
    Unspecified error
       at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
       at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.OleDb.OleDbConnection.Open()
       at Microsoft.ReportingServices.DataExtensions.ConnectionExtension.Open()
       at Microsoft.ReportingServices.Diagnostics.DataExtensionConnectionBase.OpenConnection(IProcessingDataSource dataSourceObj, DataSourceInfo dataSourceInfo, IDbConnection conn)
       --- End of inner exception stack trace ---;

    Hi ABAA101,
    According to your description, when you use csv file as data source in SSRS 2012 report, you got the error message.
    I tested the issue in my local machine, due to some policy restrictions, I could not install Access in my local machine. To workaround the issue, we can use the connection string like below:
    Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\report;
    Extended Properties="text;HDR=Yes;FMT=Delimited"
    The csv file is stored in report folder in C driver.
    In Query text box in the dataset, we can use the query like below:
    Select * from new.csv
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Connection strings in Biztalk Config

    HI
    We have a Helper class Lib where we have the connection string in the calss files, this tends to be risk as we need to build each and everytime we change the environemnt. I plan to move the same to biztalk config files. Will that be good.  Few suggest
    to use Appconfig files. but since i just deploy the helper dll alone how can i refer the appconfig files. Any example would help.
    Regards
    Suresh

    If your connection string contains a username/password then configuration file is NOT recommended because of security related issues. If however your connection string are SQL and using Windows Integrated security (which implies that there is no username/password
    mentioned in the connection string) then you may consider using the configuration file.
    The BizTalk configuration file is equivalent to a app.config file as your helper would be loaded within the BTSNTSvc (or its 64 bit equivalent) service and you can use the same .Net methods (NameValueCollection) to read the configuration sections.
    If using passwords/usernames in your connection string, it is preferred to use the SSO Affiliate application for the purpose. Refer to
    http://www.codeproject.com/Tips/559597/How-to-store-BizTalk-configuration-in-the-SSO-data for how to build a SSO Helper to permit you to access the SSO Affiliate Apps. Look at using Richard Seroter SSO config tool at
    https://seroter.wordpress.com/2007/09/21/biztalk-sso-configuration-data-storage-tool/
    Regards.
    PS: Have a look at
    http://geekswithblogs.net/michaelstephenson/archive/2008/05/25/122381.aspx where various options are discussed.

  • Connect String for the front end app to access Lite Database in the Client

    Hi,
    I have been using an app developed in VB.net for accessing the Oracle Lite Database from the client machine. Can anyone please help me out how to set the Connect String in the config file of my front end app to access the Oracle Lite Database from my client machine. Do anyone have the syntax of the connect string to access the lite database in client machine.
    Thanks a lot in advance.

    Hi...
    -->Select example
    create or replace procedure get_emp(rc out sys_refcursor)
    is
    begin
    open rc for select * from emp;
    end;
    -->DML example
    create or replace procedure do_dml_emp(pempid in number,
    pempname varchar2,
    result out number)
    is
    begin
    insert into emp(empid,empname) values(pempid,pempname) returning empid into result;
    exception
    when others then
    result:=-1;
    end;
    -->DDL example
    create or replace procedure ddl_emp(colname varchar2,
    coltype varchar2,
    result out number)
    is
    begin
    result:=-1;
    execute immediate 'alter table emp add column ' || colname || ' ' || coltype ;
    result:=1;
    end;

  • JDBC connection string to an MS Access DB

    Hello,
    I was searching for a package that will allow me to do
    a JDBC connection to an MS Access DB. I found out about RMIJDBC, but I am not sure what I need to specify as my connection string. In SQL Server you usually give a url as well, but how about MS Access?
    How do you do a connection??
    Thank you for your help!
    -Lia-

    Why not using the Jdbc/Odbc driver with the Odbc connection of MS Access ? The driver name is "sun.jdbc.odbc.JdbcOdbcDriver" and the URL is something like "jdbc:odbc:myAccessOdbcName".
    Of course, this is not the fastest driver, but it is provided in standard with the JDK.
    Matthieu

  • Converting connection string to localDB to database in azure

    Hello there, I have an application that I'd like to upload on Azure (I have the free subscription, not that it matters anyway) and this application connects to a database where I store a few bits of data (only text based entries so really small). Now, on
    my localhost, this is the function that handles the connection:
    protected void clearTable(object sender, EventArgs e)
    hookUp = new SqlConnection("Server=(localdb)\\v11.0;Database=test4;" + "Integrated Security=True");
    strInsert = "DELETE FROM Overtime";
    sqlCmd = new SqlCommand(strInsert, hookUp);
    hookUp.Open();
    sqlCmd.ExecuteNonQuery();
    hookUp.Close();
    So what should I replace this with?
    hookUp = new SqlConnection("Server=(localdb)\\v11.0;Database=test4;" + "Integrated Security=True");

    Hi Jazzotto,
    The connection strings for different drivers are available in the azure portal. After creating the database, navigate to the database dashboard (click on the database name in the overview list). On the right hand side you will find a few links, one of them
    is called 'Show connection strings'.
    Before attempting to connect you should also make sure you have the firewall rules configured correctly.
    Best,
    Jan

  • Managing connection strings Azure Cloud service deployment

    I have an azure cloud service project which comprises of one worker role and one web role. I need to have both staging and live deployments but I need them to have different connection strings because the worker role generates lots of data which is reported
    by the web application and I would not want to have test data in production.
    What's the best way to configure this so that I can quickly swap or promote from staging to live and have the connection strings just update without having to republish from visual studio using a different configuration.

    Hi,
    Two ways to do it - 
    1. Keep your connection strings in cscfg so that you can change those on the fly after the deployment using azure management portal.
    2. Keep connection string in the web configuration file at the time of deployment and have cscfg settings which can override those i.e. re-write those in the web configuration file when role instances are restarted.
    I too experienced something similar to this but not for connection strings, it was for ACS i.e. authentication settings which I needed to have differently on both deployment slots, refer my blog post http://passionatetechie.blogspot.in/2014/02/moving-acs-settings-in-cloud.html you
    can do similar for connection strings of your application.
    Bhushan | < href='http://www.passionatetechie.blogspot.com'>Blog | <a href="http://in.linkedin.com/pub/bhushan-gawale/29/327/405"> LinkedIn</a> | <a href="http://twitter.com/BhushanGawale">Twitter</a>

  • TimesTen issue with connection string on a 64-bit system

    Hello dear members,
    I need to write code in vbscript that is creating a connection to oracle timesten database.
    The TimesTen database is located on a unix server, and the client application is on windows server.
    this is my code:
    Set mCnTT = CreateObject("ADODB.connection")
    mCnTT.ConnectionString = "Provider=MSDASQL.1;DSN=" & TT_DSN & ";" & "TTC_SERVER=" & TT_SERVER & ";" & "TTC_SERVER_DSN=" & TT_SERVER_DSN & ";" & "UID="& TT_UID & ";" & "PWD=" & TT_PWD & ";"
    mCnTT.Open
    When ran from 64-bit application it will work fine.(I tried it on a stand-alone vbscript)
    My problem is that I need this code to work on a 64-bit system server, BUT from a 32-bit application (QTP)
    and I'm getting the following error:
    "[Microsoft][ODBC Driver Manager] Data Source name not found and no default driver specified"
    any idea how to build a connection string that will work? Maybe use a differnet provider?
    is MSDAORA provider supporting timesten?
    any suggestions will be welcome!
    thanks,
    Rachel

    So you will be running a 32-bit application on 64-bit Windows connecting to 64-bit TimesTen on a Unix server; is that correct? Assuming that it is then you need to:
    1. Install the 32-bit TimesTen Windows client rather than the 64-bit TimesTen Windows client (a TT 32-bit client will work with a TT 64-server just fine)
    2. Use the 32-bit ODBC Administrator applet to configure the DSN rather than the default 64-bit applet
    Point (2) is especially important. 32-bit and 64-bit ODBC DDNs are held in completely different places in the Windows registry; 32-bit Apps can't see/use 64-bit DSNs and vice versa.
    None of this is directly related to TimesTen; this is all standard Windows 64-bit functionality and issues.
    Chris

  • Php access connection string

    hi
    I use dreamweaver 8.
    I want to build a php site, with an access database.
    How do I write a connection string?
    I saw there is no "connection" string choise in the
    "application/databases" panel.
    many thanks for help

    ababa wrote:
    > I use dreamweaver 8.
    > I want to build a php site, with an access database.
    > How do I write a connection string?
    Dreamweaver does not support PHP with Access. You must use a
    MySQL
    database. Even if you write a connection string for Access,
    none of the
    Dreamweaver server behaviors will work.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • #Name in Access table - Connection string problem

    Dear All,
    Hope you can help with this one. I am using the 9.0.1.8 ODBC driver set to connect to our Oracle817 database. Usually when connecting tables everything is fine, and no problems appear. There are, however, a small handful of tables that cause ODBC Call Failed errors when I attempt to connect and open them, they display an incorrect record count, and fill all columns with #Name.
    After checking someone else's PC, I have found that the problem is caused by the connection string. Obviously the connection string is genereated from the setting used in the ODBC Admin panel, but how do I get it to include or exclude the settings that are causing the problems?
    With thanks in advance,
    Paul.

    The Application Name is used for the database administrator to see the name of the application that is connecting to SQL Server. If it is not provided, the default value is '.NET SQLClient Data Provider'.

  • BIAPPS 7.9.6.3 Informatica connect string to PeopleSoft FINSCM issue

    I receive tns error when Informatica Workflow runs mappings:
    MAPPING> DBG_21075 Connecting to database [PSFTFS.peoplesoft.com], user [SYSADM]
    MAPPING> CMN_1761 Timestamp Event: [Sun May 06 18:04:10 2012]
    MAPPING> CMN_1022 Database driver error...
    CMN_1022 [
    Database driver error...
    Function Name : Logon
    ORA-12154: TNS:could not resolve the connect identifier specified
    I created an Application Connection (versus relational) in Informatica Workflow Manager as:
    Name:PSFT_9_1_FINSCM
    User:SYSADM
    Connect String:PSFTFS.peoplesoft.com
    The DAC is able to connect to both Informatica repository and integration service ok. I have 11gClient installed and can tsnping and sqlplus to the PeopleSoft database PSFTFS and also can connect using sqldeveloper:
    I am able to tnsping PSFTFS
    tnsping PSFTFS                          # nacgdbobil002 - ok
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = nacxxxxxx.oracle.com)(PORT = 10200))
    (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = PSFTFS)))
    OK (60 msec)
    Also I can connect using sqlplus using full connect string:
    sqlplus PSFTFS.peoplesoft.com               #nacgdbobil002 - ok
    /u100/app/TSTOBI/aptestob2/ora11gClient/product/11.2.0/client_2/bin
    sqlplus 'SYSADM/SYSADM@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=nacxxxxxx.oracle.com)(PORT
    =10200)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=PSFTFS.peoplesoft.com)))'
    The connect string field will not hold all the characters for the full connect string listed above. So should I use a connect string like:
    PSFTFS:10200/PSFTFS.peoplesoft.com ??
    Do I also need to create a relational connection with the same name as the application connection??
    Any other suggestions to get the connection to work for Informatica Workflows?
    Thanks

    solved by adding .peoplesoft.com to tns service name

  • Dsnless Access connection string for Dreamweaver CC

    Connection string works with CS6 and prior, but does not show tables or allow creation of a recordset when using Dreamweaver CC

    You should ask in Dreamweaver support forum
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Ultrasearch Connection string format issue

    Hi,
    I have been wrestling with Ultrasearch installation and keep encountering this error when I attempt to load the Ultrasearch Portlet in the 10G MT.
    oracle.ultrasearch.query.SearchException: WKG17005: connection failure: Io exception: Invalid connection string format, a valid format is: "//host:port/service_name"
    My data_sources.xml file is configured as follows:
         <data-source
         class="oracle.jdbc.pool.OracleConnectionCacheImpl"
         name="UltraSearchDS"
         location="jdbc/UltraSearchPooledDS"
         username="Ultrasearch"
         password="*******"
         url="jdbc:oracle:thin:@//hostname:1521:sid"
         inactivity-timeout="30"/>
    I have verified the setup of the Ultrasearch user in the database, and have verified the Ultrasearch.properties file setup.
    I'm not sure if TNS is setup correctly or if the DAD settings for the portal have something to do with this - I was not able to find any referecne to configuration of those files in the Oracle Documenation.
    Any help would be greatly appreciated.
    Regards,
    Roy

    Roy
    "jdbc:oracle:thin:@//hostname:1521:sid" isn't a valid url. You have to remove the "//", i.e. "jdbc:oracle:thin:@hostname:1521:sid".
    The syntax "//host:port/service_name" is used when to want to use a service name instead of SID.
    HTH
    Chris

  • Error while updating a custom Windows Azure Diagnostics configuration xml from powershell. "Invalid update to extension reference for role"

    I am attempting to upload a manually edited WADConfig xml to my VM. The WAD service is functioning correctly, I needed to add some custom WinEventLogs. The prescribed steps result in an error.
    What am I overlooking?
    I am following these instructions:
    Step 5: Remotely install Diagnostics on your Azure Virtual Machine
    azure.microsoft.com/en-in/documentation/articles/cloud-services-dotnet-diagnostics/#virtual-machine
    $storage_name = "wadexamplevm"
    $key = "<StorageAccountKey>"
    $config_path="c:\users\<user>\documents\visual studio 2013\Projects\WadExampleVM\WadExampleVM\WadExample.xml"
    $service_name="wadexamplevm"
    $vm_name="WadExample"
    $storageContext = New-AzureStorageContext
    -StorageAccountName $storage_name -StorageAccountKey $key
    $VM1 = Get-AzureVM
    -ServiceName $service_name -Name $vm_name
    $VM2 = Set-AzureVMDiagnosticsExtension
    -DiagnosticsConfigurationPath $config_path
    -Version "1.*"
    -VM $VM1 -StorageContext $storageContext
    $VM3 = Update-AzureVM
    -ServiceName $service_name -Name $vm_name
    -VM $VM2.VM
    Unfortunately, I am receiving this error:
    Update-AzureVM : BadRequest: Invalid update to extension reference for role: XXXXXX and reference: IaaSDiagnostics.
    What's missing from the above script?

    Hi,
    Since Azure SDK 2.5 uses the extension model the diagnostics extension, the configuration and the connection string to the diagnostic storage are no longer part of the deployment package and cscfg. All the diagnostics configuration is contained within the
    wadcfgx. The advantage with this approach is that diagnostics agent and settings are decoupled from the project and can be dynamically enabled and updated even after your application is deployed. 
    Due to this change some existing workflows need to be rethought – instead of configuring the diagnostics as part of the application that gets deployed to each environment you can first deploy the application to the environment and then apply the diagnostics
    configuration for it.  When you publish the application from Visual Studio this process is done automatically for you. However if you were deploying your application outside of VS using PowerShell then you have to install the extension separately through
    PowerShell.
    There PowerShell cmdlets for managing the diagnostics extensions on a Cloud Service are -
    Set-AzureServiceDiagnosticsExtension
    Get-AzureServiceDiagnosticsExtension
    Remove-AzureServiceDiagnosticsExtension
    You can use the Set-AzureServiceDiagnosticsExtension method to enable diagnostics extension on a cloud service. One of the parameters on this cmdlet is the XML configuration file. This file is slightly different from the diagnostics.wadcfgx file. You can
    create this file from scratch by either following the article that you are referring to or  you can modify the wadcfgx file and pass in the modified file as a parameter to the powershell cmdlet.
    To modify the wadcfgx file –
    Make a copy the .wadcfgx.
    Remove the following elements from the Copy:
    <DiagnosticsConfiguration xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
       <PrivateConfig xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
         <StorageAccount name=" " endpoint="https://core.windows.net/" />
       </PrivateConfig>
       <IsEnabled>false</IsEnabled>
    </DiagnosticsConfiguration>
    Make sure the top of the file still has xml version and encoding –
       <?xml version="1.0" encoding="utf-8"?>
    Effectively you are stripping down the Wadcfgx to only contain the <PublicConfig> section and the <?xml> header. You can then call the PowerShell cmdlet along with the appropriate parameters for the staging slots and roles:
    $storage_name = ‘
    <storagename>’
    $key= ‘<key>’
    $service_name = '<servicename>'
    $public_config = '<thepublicconfigfrom_diagnostics.wadcfgx>'
    $storageContext = New-AzureStorageContext –StorageAccountName $storage_name –StorageAccountKey $key
    Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -DiagnosticsConfigurationPath $public_config –ServiceName $service_name -Slot ‘Staging’ -Role ‘WebRole1’
    Hope this helps !
    Regards,
    Sowmya

  • Connection String with Crystal Report XI R2

    Hello,
    I am having an issue with Crystal Reports XI R2 and figured this would be a good place to start and post my question.
    I created a report in Crystal Reports XI and am now trying to pass the user id and password so that the user can just run the report. I attempted to use the Crystal Report connection string setup but receive an Microsoft ODBC error when trying to use that.
    My question is how can you pass a userid and password to crystal report XI so that when you open the report it runs without prompting the user? I do not have access to .NET. Can this be done using Crystal Reports XI only?
    Thanks in advance for your help
    Shaun

    Hi Shawn,
    Standalone CR can only do that if using a URL to open a report in BOE.
    For CR Designer itself the only option is to turn on Trusted Authentication in your Server, used Mixed mode and then import all of your users into SQL Server. Refer to MS's Help file on how to.
    Now when the user runs the reports CR will simply pass the local user info to SQL Server and no prompting will be required. We still respect DB security so if the user is not allowed to access the table then CR respects that.
    Thank you
    Don

Maybe you are looking for