Classic ASP web app trying to acces remote SQL Server.

Hi
I have a classic asp web application which accessing a remote SQL Server 200. I am trying to connect using the following connection string in Global.asa file. For some reason not connecting to the remote SQL Server 200. The string is as follows.
Session("dsn") = "provider=SQLOLEDB;app=AppName;server=SERVERNAME;uid=;password=;database=DBName;Trusted_Connection=No"
Session("datadsn") = "data provider=SQLOLEDB;app=AppName;server=SERVERNAME;uid=;password=;database=DBName;Trusted_Connection=No"
Session("server") = "SERVERNAME"
Let me know if I am missing something or doing something wrong?
Varun

SQL Server Error Log has no error
But I found couple of errors in Application EventViewer
The VB Application identified by the event source logged this Application Globalization: Thread ID: 5312 ,Logged: -2147168246 New transaction cannot enlist in the specified transaction coordinator.  Error Source: Microsoft OLE DB Provider for SQL Server->ValidateUser
A caller has attempted to propagate a transaction to a remote system, but MSDTC network DTC access is currently disabled on machine 'MyMachineName'. Please review the MS DTC configuration settings.
Varun

Similar Messages

  • Iam trying to acces Remote corba Server

    im trying to access Remote corba Server from beans in WLS.
    the client program is corba client. When i ever that JSP page Excuted ,
    it is not able to find Remote Corba Server...what should i add to access
    that Corba Server.
    what classpath should i add in WLS.
    is there any examplein which corba client from bean call Remote Corba
    Server
    thanks
    khaleel.

    1)i start WLS by runnig "startWeblogic" in this file i set java_home =.\jre1_2\jre ..if i run using this
    ***orb class = class com.inprise.vbroker.orb.ORB id diplayed
    Error in binding Corba objects
    org.omg.CORBA.OBJECT_NOT_EXIST:
    Could not locate the following POA:
    poa name : /rx_agent_poa
    minor code: 0 completed: No
    Mon Oct 09 18:06:41 CDT 2000:<E> <ServletContext-General> Servlet failed with Exception
    2) but if i run the WEBLogic by seting java_home="jdk1.3"
    i get this out put
    ***** orb class = class com.sun.corba.se.internal.iiop.ORB
    java.lang.NoClassDefFoundError: com/inprise/vbroker/CORBA/portable/ObjectImpl
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
    at weblogic.boot.ServerClassLoader.findLocalClass(ServerClassLoader.java
    :334)
    at weblogic.boot.ServerClassLoader.loadClass(ServerClassLoader.java:102)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    at PreQual.PreQualManager.qualifyService(PreQualManager.java:66)
    at PreQual.Main.main(Main.java:40)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:148)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)
    Tue Oct 10 00:23:01 CDT 2000:<E> <WebLogicServer> Failed to invoke startup class
    qualify=PreQual.Main
    java.lang.NoClassDefFoundError: RX/_preQualifyStub
    at PreQual.PreQualManager.qualifyService(PreQualManager.java:66)
    at PreQual.Main.main(Main.java:40)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:148)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    khaleel wrote:
    when i run the sample program as startup it prints
    *** orb class = class com.inprise.vbroker.orb.ORB
    Eduardo Ceballos wrote:
    When you run the sample program as a startup, what does the following print?
    //Initialize the orb
    org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(args,null);
    System.out.println("\n\n***** orb class = "+orb.getClass());
    Also, why is the 1.2 jre involved? You wrote that you've added an orb.properties file, in
    " i added orb.properties file in weblogic\jre1_2\jre\lib "
    I think that, for what you are trying to do, it might work better that you run in 1.2.
    In 1.3, you may also need to reset the property value for javax.rmi.CORBA.UtilClass and javax.rmi.CORBA.PortableRemoteObjectClass. If these are weblogic classes, set them to com.sun.corba.se.internal.javax.rmi.CORBA.Util and com.sun.corba.se.internal.javax.rmi.PortableRemoteObject, respectively. In
    1.3, we set them to to classes that only work to support our implementation of rmi-iiop.
    khaleel wrote:
    hi
    thanks for your help in advance...
    1)ya, i had set jspcomplier classpath and Servlet's loader's class path.
    i using WLS5.1 and jdk1.3... visibroker4.1....
    these are jsp.properties in properties page...
    weblogic.httpd.register.*.jsp=\
    weblogic.servlet.JSPServlet
    weblogic.httpd.initArgs.*.jsp=\
    pageCheckSeconds=1,\
    compileCommand=D:/jdk1.3/bin/javac.exe,\
    workingDir=E:/weblogic/myserver/classfiles,\
    verbose=true
    (2) i wrote standalone test program to comminicate with Corba Server, and
    executed it outside WLS and it runs succesfully... here is the code from
    that stand alone program which comunicates the server
    //Initialize the orb
    org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(args,null);
    // Get the preQualify Id
    byte[] preQualifyId = "Qualify".getBytes();
    RX.preQualify qualify = RX.preQualifyHelper.bind(orb, "/rx_agent_poa",
    preQualifyId);
    (3) when i tried this in startup class it gives this error
    Error in binding Corba objects
    org.omg.CORBA.OBJECT_NOT_EXIST:
    Could not locate the following POA:
    poa name : /rx_agent_poa
    minor code: 0 completed: No Mon Oct 09 23:26:51 CDT 2000:<E>
    <WebLogicServer>
    Failed to invoke startup class qualify=PreQual.Main
    (4) and when i tries this in servlet it again gives same error as in (3)
    more Info ---
    i added orb.properties file in weblogic\jre1_2\jre\lib
    thanks in advance
    your help will be appriciated..
    thanks
    khaleel

  • Trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.

    I am trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.
    It verifies the connection and then throws the error:
    The request to add or remove features on the specified server failed. The operation cannot be completed, because the server you specified requires a restart.
    WSUS Server : Windows Server 2012 R2
    Remote SQL Server: 2012 SP1 CU7 hosted on Windows Server 2012 R2
    Please let me know if anyone has experienced this issue.

    We were trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.
    It verifies the connection and then throws the error:
    The request to add or remove features on the specified server failed. The operation cannot be completed, because the server you specified requires a restart.
    Same error even after rebooting the server multiple times.
    WSUS Server : Windows Server Standard2012 R2
    Remote SQL Server: Windows Server 2012 SP1 CU7 hosted on Windows Server 2012 R2
    Event ID 7000:
    The Windows Internal Database service failed to start due to the following error:
    The service did not start due to a logon failure.
    Event ID 7041
    The MSSQL$MICROSOFT##WID service was unable to log on as NT SERVICE\MSSQL$MICROSOFT##WID with the currently configured password due to the following error:
    Logon failure: the user has not been granted the requested logon type at this computer.
    Service: MSSQL$MICROSOFT##WID
    Domain and account: NT SERVICE\MSSQL$MICROSOFT##WID
    This service account does not have the required user right "Log on as a service."
    User Action
    Assign "Log on as a service" to the service account on this computer. You can use Local Security Settings (Secpol.msc) to do this. If this computer is a node in a cluster, check that this user
    right is assigned to the Cluster service account on all nodes in the cluster.
    If you have already assigned this user right to the service account, and the user right appears to be removed, check with your domain administrator to find out if a Group Policy object associated
    with this node might be removing the right.
    I found following article:
    "MSSQL$MICROSOFT##WID service was unable to log on as NT SERVICE\MSSQL$MICROSOFT##WID" error when you install WID in Windows Server 2012
    http://support.microsoft.com/kb/2832204/en-us
    To work around the issue, use one of the following methods:
    Assign the Log on as a service user right to NT SERVICE\ALL SERVICES in the GPO that defines the user right.
    Exclude the computer from the GPO that defines the user right.
    We moved the SCCM server to OU where no policies were getting applied and then applied the new GPO to that OU. Restarted the server and we were able to install WSUS role.
    Regards
    PR

  • Null connection when trying to connect to SQL Server 2000 in Tomcat4.1.29

    Hi All,
    I am still struggling with null connection when trying to connect to sql server 2000 with tomcat using sun.jdbc.odbc.JdbcOdbcDriver
    Here is my server.xml
    <Server port="8005" shutdown="SHUTDOWN" debug="0">
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
    debug="0"/>
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
    debug="0"/>
    <GlobalNamingResources>
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved">
    </Resource>
    <ResourceParams name="UserDatabase">
    <parameter>
    <name>factory</name>
    <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
    </parameter>
    <parameter>
    <name>pathname</name>
    <value>conf/tomcat-users.xml</value>
    </parameter>
    </ResourceParams>
    <Resource auth="Container" description="Users and Groups
    Database" name="UserDatabase"
    scope="Shareable"
    type="org.apache.catalina.UserDatabase"/>
    <Resource name="jdbc/DefaultDS" scope="Shareable"
    type="javax.sql.DataSource"/>
    <ResourceParams name="UserDatabase">
    <parameter>
    <name>factory</name>
    <value>org.apache.catalina.users.
    MemoryUserDatabaseFactory</value>
    </parameter>
    <parameter>
    <name>pathname</name>
    <value>conf/tomcat-users.xml</value>
    </parameter>
    </ResourceParams>
    <ResourceParams name="jdbc/DefaultDS">
    <parameter>
    <name>validationQuery</name>
    <value></value>
    </parameter>
    <parameter>
    <name>user</name>
    <value>sa</value>
    </parameter>
    <parameter>
    <name>maxWait</name>
    <value>5000</value>
    </parameter>
    <parameter>
    <name>maxActive</name>
    <value>4</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>sa</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:odbc:JBoss-SQL://localhost:1433;databaseName=Development;selectMethod=cursor;</value>
    </parameter>
    <parameter>
    <name>driverClassName</name>
    <value>sun.jdbc.odbc.JdbcOdbcDriver</value>
    </parameter>
    <parameter>
    <name>maxIdle</name>
    <value>2</value>
    </parameter>
    </ResourceParams>
    </GlobalNamingResources>
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Tomcat-Standalone">
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8080" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="100" debug="0" connectionTimeout="20000"
    useURIValidationHack="false" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to -1 -->
    <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8443" minProcessors="5" maxProcessors="75"
    enableLookups="true"
    acceptCount="100" debug="0" scheme="https" secure="true"
    useURIValidationHack="false" disableUploadTimeout="true">
    <Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
    clientAuth="false" protocol="TLS" />
    </Connector>
    -->
    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8009" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" connectionTimeout="0"
    useURIValidationHack="false"
    protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
    <!-- Define an AJP 1.3 Connector on port 8009 --><Logger className="org.apache.catalina.logger.FileLogger"
    prefix="catalina_log." suffix=".txt"
    timestamp="true"/>
    <!-- Define the default virtual host -->
    <Host name="localhost" debug="0" appBase="webapps"
    unpackWARs="true" autoDeploy="true">
    <Logger className="org.apache.catalina.logger.FileLogger"
    directory="logs" prefix="localhost_log." suffix=".txt"
    timestamp="true"/>
    <Environment name="maxExemptions" type="java.lang.Integer"
    value="15"/>
    <Parameter name="context.param.name" value="context.param.value"
    override="false"/>
    <Resource name="jdbc/DefaultDS" auth="container" type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/DefaultDS">
    <!-- Maximum number of dB connections in pool.
    Set to 0 for no limit.
    -->
    <parameter>
    <name>maxActive</name>
    <value>8</value>
    </parameter>
    <!-- Maximum number of idle dB connections to retain in pool.
    Set to 0 for no limit.
    -->
    <parameter>
    <name>maxIdle</name>
    <value>4</value>
    </parameter>
    <!-- Maximum time to wait for a dB connection to become available
    in ms, in this example 10 seconds. An Exception is thrown if
    this timeout is exceeded. Set to -1 to wait indefinitely.
    -->
    <parameter>
    <name>maxWait</name>
    <value>5000</value>
    </parameter>
    <!-- MS Sql Server dB username and password for dB connections
    -->
    <parameter>
    <name>user</name>
    <value>sa</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>sa</value>
    </parameter>
    <!-- Class name for MS Sql Server JDBC driver
    -->
    <parameter>
    <name>driverClassName</name>
    <value>sun.jdbc.odbc.JdbcOdbcDriver</value>
    </parameter>
    <!-- The JDBC connection url for connecting to MS Sql Server dB.
    -->
    <parameter>
    <name>url</name>
    <value>jdbc:odbc:JBoss-SQL://localhost:1433;databaseName=Development;selectMethod=cursor;</value>
    </parameter>
    <!-- This Databae Connection Pool Description.
    -->
    <parameter>
    <name>description</name>
    <value>JDBC Driver: sun.jdbc.odbc.JdbcOdbcDriver</value>
    </parameter>
    </ResourceParams>
    <Resource name="mail/Session" auth="Container"
    type="javax.mail.Session"/>
    <ResourceParams name="mail/Session">
    <parameter>
    <name>mail.smtp.host</name>
    <value>localhost</value>
    </parameter>
    </ResourceParams>
    <ResourceLink name="linkToGlobalResource"
    global="simpleValue"
    type="java.lang.Integer"/>
    </Host>
    </Engine>
    </Service>
    </Server>
    and my web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <!-- Standard Action Servlet Mapping -->
    <web-app>
    <resource-ref>
    <res-ref-name>jdbc/DefaultDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    and JBoss-SQL is data source I created from control panel settings and here is way I am retrieving connetion
    InitialContext initCtx = new InitialContext();
    DataSource ds = (DataSource) initCtx.lookup("java:comp/env/jdbc/DefaultDS");
    Connection con = ds.getConnection();
    return con;
    I tried connecting as mentioned in this website
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html#Common%20Problems.But didn't help
    Please help urgent
    Sorry for long file. Can any one please help me in solving this problem.
    Thanks in advnace
    Kurakula

    I'd recommend that you not use the JDBC-ODBC bridge driver to connect to SQL Server. M$ and jTDS are two free type IV JDBC drivers that you should use instead. Put those JARs in the WEB-INF/lib directory.
    The database URL you're using is not correct if you change drivers. Consult the docs to find out what the proper syntax is.
    MOD

  • Is there one tell  me the correct way to access remote SQL server

    Hi
    I have tried to access a remote SQL server by many ways but all failed
    here is my trying :
    String driver = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
    String url= "jdbc:microsoft:sqlserver://217.52.98.102:1433";
    Class.forName(driver);
    Connection conn = DriverManager.getConnection(url,"sa"," " );
    String selectStr = "select * from FleetWatch..table_name";
    Statement st = conn.createStatement();
    ResultSet rs = st.executeQuery(selectStr);
    DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());
    // connect to the DB by using the driver.
    String connString = "217.52.98.102:1433;databasename=FleetWatch";
    String strDBConnect = "jdbc:microsoft:sqlserver://" + connString;
    conn = DriverManager.getConnection(strDBConnect, "sa", "");
    String driver = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
    Class driverClass = Class.forName(driver, true, jdbcLoader);
    Driver currDriver = (Driver)driverClass.newInstance();
    Properties prop = new Properties();
    prop.setProperty("sa", (String)paras.get("sa");
    prop.setProperty("password", (String)paras.get(" ");
    String url= "jdbc:microsoft:sqlserver://217.52.98.102:1433";
    conn = currDriver.connect((String)paras.get(url, prop);
    pls tell if you know the correct way to access a remote sql server and
    access it befor tell me its step to ensure it's connect

    String driver = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
    String url= "jdbc:microsoft:sqlserver://your servername:1433";
    Class.forName(driver);
    Connection conn = DriverManager.getConnection(url,"username ","password " );
    this user name and password may be diff becoz if u have only sql authentication then u have to know that user name or it can have windows nt authentication so if it is so then no probs can use ur windows nt login..
    know the server name where ur sqlserver is connected to.
    set the classpath for the sqlserverdrivers jar files which u have downloaded where ur working on.
    then it works
    i did the same and worked for me.
    try it.

  • How to connect to remote sql server database?

    Hallo,
    I am a new member, so please excuse me if my questions are dummy.
    I am using CR2008 SP2 to make reports from sql server 2005 databases.
    Localy there is no connection problem and everything works perfect.
    I would like to establish a connection with a remote sql server 2005,
    but i am not familiar with remote data retriving. which driver should i use? static ip? vpn? server ports?
    Any answer will be really appreciated

    Hello,
    This is more a question for Microsoft to see what and how they support remote connections to databases. As long as you have the connection made CR will not have any problems. You may find it is slow so optimizing your queries is highly recommended. Passing a million records through your web connector is going to take time.....
    I've personally used a VPN connection and then set the ODBC or OLE DB connection info to my test server here at work and it worked fine. But they were small data sets.
    Thank you
    Don

  • Oracle 10.2 on AIX -- need to connect to remote SQL server by dblink

    oracle 10.2 on AIX -- need to connect to remote SQL server by dblink
    i didn't see a odbc diectory in our oracle home path. how do i know odbc driver is installed in the oracle on our AIX server.
    If it is there, do i just need to modify the odbc.ini and then the inithsodbc.ora, linster.ora, tnsnammes.ora files, or am I missing something
    Appreciate your response
    Edited by: user10876711 on May 12, 2011 9:18 AM
    Edited by: user10876711 on May 12, 2011 9:18 AM

    when you want to connect from Oracle to a SQl Server you need the Oracle Gateway (HSODBC or even better Dg4ODBC) and a FOREIGN ODBC DRIVER for your foreign database - a SQL Server ODBC driver. You have to get this driver from a 3rd party vendor - Oracle does not offer any foreign ODBC drivers.
    So before being able to use DG4ODBC/HSODBC you need to install from a 3rd paryt vendor a SQL Server ODBC driver. Commercial vendrs are for example Data Direct, Openlink or Easysoft.
    On Unix ODBC drivers commonly also require a driver manager. If the ODBC driver vendor does not ship one with the ODBC driver you can get it from www.unixodbc.org

  • SCCM 2012 R2 configure WSUS got error remote SQL Server 2012

    Hi All,
    I got question ask on when i want to configure the WSUS component it failed as per screenshot and my SCCM cant work with it.
    SCCM Server : Windows Server 2012 R2 (WSUS featured installed)
    SCCM Version: System Center Config Manager R2
    Remote SQL Server : Windows Server 2012 R2
    SQL Version: SQL Server 2012 SP1 -11.0.3153
    WSUS Error:
    SCCM Error:
    Hope you all can provide me a good solution on it I had no clue on this.
    Regards,
    Sam

    Sam,
    Recommend you 
    Remove SUP
    Remove WSUS role
    Delete the SUSDB on the remote SQL server
    Reboot the server
    Reinstall WSUS feature
    Reinstall SUP
    Take a look at my blog on installing a SUP on 2012 from the section 'Install WSUS on the remote SUP server'
    http://sccmentor.wordpress.com/2014/09/11/installing-a-remote-sup-in-sccm-2012-r2-on-windows-server-2012-r2/
    Make sure you run the Post Install tasks as well.
    Cheers
    Paul | sccmentor.wordpress.com

  • While i am trying to start the sql server agent job getting the error

    Hi,
    when ever i am trying to executing the sql server agent job's through manual that time  i am getting the below error.

    Hi,
    when ever i am trying to executing the sql server agent job's through manual that time  i am getting the below error.
    I searched  net for this type of error and found that Latest SP can fix this issue.See below link
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/12181324-bc51-41a5-a8a5-608bfe2725e9/could-not-load-type-smoagentjobbasecollection?forum=sqlsmoanddmo
    Can you also refer to this link 
    http://www.sqldbadiaries.com/2010/12/20/could-not-load-file-or-assembly-error-while-using-tdp-makes-a-come-back/
    Also please see this connect also
    http://connect.microsoft.com/SQLServer/feedback/details/280907/sql-agent-job-actions-fail-from-job-activity-monitor
    hope this helps
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Extremely slow results when console queries remote SQL server

    We have a SCCM 2012 environment set up on our test network. Everything is virtual. I have a VM that has a primary site and VM that is a remote SQL server. Both are running Server 2008 R2. It has been running for a few month now and I have not had any
    issues with console speed until now. When I try and look at updates in an update package, it will take about a half hour to display the 250ish updates that are in that package. The CPU on the Primary site server is running below 10% and the RAM is running
    right at half. At the same time while SCCM is looking up the results the SQL box jumps to about 25% CPU and the RAM stays steady at about half as well. There are a couple other things on this SQL VM and it has 12 GB of RAM. I also see this behavior
    when searching all updates, and general movement around the console. I have a maintenance task set up in SCCM to rebuild indexes every Saturday. There are only 80 clients inside of this test environment. What could cause this? Any ideas on how
    to fix it?

    The log said reindexing completed. Things look fine on the performance side. The VM running Configuration manager is a bit over powered and the VM running the SQL stuff seems to be about right. If I want to look in update packages, update groups, or
    at all updates it is still extremely slow.
    For example, there are 998 updates when this screen would finally load. It takes almost a half hour to populate the list. If I try and look at these and go somewhere else like administration it bogs the console down to an unusable state unless you let
    it sit there for a half hour or restart the Configuration Manager server to break the query.

  • Accessing remote SQL server

    Hello, all.
    This is the first time I've ever needed to access a remote SQL server, and I'm getting an attribute validation error for the cfquery tag.
    The CFQUERY tag currently opens as:
    <cfquery name="[queryName]" debug="1" username="#User#" password="#Pass#" dbserver="[SQL Server IP]" dbname="[databaseName]">
    What are the attributes that I need in order to remotely access the database?
    Thanks,
    ^_^

    You need to setup a datasource in the CF admin pointing to the remote
    server, using dbServer will not work.
    Mack

  • How do I activate Office 2013 that I have deployed using ODT and App-V onto a Remote Desktop Server?

    I am setting up a demo Server 2012 R2 environment (1 DC server, 2 RDSH servers, 1 App-V server).
    I have created an Office 2013 volume license App-V package using the latest Office Deployment Toolkit. I have deployed the App-V package to an RDS server and it all works fine. However, I am unable to activate Office 2013 using the MSDN Office 2013 retail
    key because it tells me the product key is invalid for this version of Office. I've looked at the alternative of using the App-V Sequencer to create the Office 2013 package, but from what I've read this is not a Microsoft supported method.
    Is there any way that I can activate Office 2013 (volume license on RDS) using the method I've outlined above, or is there any way of using the Office2013 download from MSDN such that it can be packaged by the ODT (or App-V Sequencer) for successful deployment
    using App-V and activation using the retail Office 2013 product key on MSDN?

    True, VL channel media can't be activated with MSDN Retail pkeys (that's what I was trying to get you to understand, I figured you would be attempting that, as so many people do :(
    I've not attempted your scenario myself.
    It sounds like you aren't following the supported scenarios as (poorly) described by MS;
    The way I read their guide, for an RDS scenario, you must use a VL key [either MAK or KMS] (since a subscription product+key can't be used on RDS):
    i.e.: <Product ID="ProPlusVolume">
    http://support.microsoft.com/kb/2772509
    http://support.microsoft.com/kb/2915745
    http://technet.microsoft.com/library/dn481351.aspxhttp://blogs.technet.com/b/office_resource_kit/archive/2013/12/02/announcing-app-v-5-0-sp2-support-for-office-2013-volume-licensing-editions.aspx
    So, that all means that for RDS, you can't use anything other than VL "product" (in
    the form of an ODT-generated output) with a VL pkey. So, for your RDS demo setup, you need to use real product and real pkeys.
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • ASP Website - Web Config provider problem with EF4 / Sql Server Compact 4.0

    I am setting up a website which will exchange data with remote Windows Desktop applications and am using SQLCE4.0 and EF4.0 to upload and deserialize an entity to the database with the following code:
    Using dc As ContribDataEntities = New ContribDataEntities
       Dim sc As SaleComp = ByteToCSC(comp)
       dc.SaleComps.Add(sc)  <-- Exception occurs here
       dc.SaveChanges()
    End Using
    The exception I get is:
    System.Data.Entity.Core.MetadataException was unhandled by user code
      HResult=-2146232007
      Message=Schema specified is not valid. Errors:
    App_Code.ContribData.ssdl(2,2) : error 0152: No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlServerCe.4.0'. Make sure the provider is registered in the 'entityFramework' section of the application config file.
    See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
      Source=EntityFramework
    I do not see an entity framework section in my Web.Config, but SqlServerCe.4.0 appears to be there. 
    Any ideas?  Thanks.
    -BGood

    Thanks, ErikEJ. 
    Deleting and re-installing the NuGet packages got around the metadata exception, but I am now having a new problem relating to my DateTime database columns.  This is described in a separate thread:
    http://social.msdn.microsoft.com/Forums/en-US/59befc98-bbd0-4b1a-93a0-f32c94a53b1b/overflow-when-saving-datetime-data-type-in-sql-server-compact-40-with-ef4?forum=sqlce
    -BGood

  • How can I develope a native mobile cross platform app that can access an SQL server.

    I would do it in html5 as a web app but I also need to access an SQL server and upload data(text) pictures from the camera and
    geolocation data etc.
    I've developed many web based applications, but this is this first attempt to integrate native device functions AND interact with an SQL database.
    So it would have to be able to use form data  then add a photo and geolocation and send everything to the database.
    A site with examples and/or tutorials would be nice.
    To make things worse, I'd also have to be able to work offline and re-sync when networks connections allow.
    If a native app would be too complex, then I was thinking I might be able to develope an app that gathers data then
    passes the info on to a browser to connect with the database.
    But as much as possible I don't want to have to swing back and forth between a browser and an app.
    Pete

    Here is a page a I bookmarked a while back to use jQUERY to access a php scripts sitting on a server that can then interact with the database in the usual way. This means that you will be able to use DW to create the usual HTML CSS and jQuery to make an interactive app.
    I havn't yet tried this but a quick look over the script looks good. Make sure you use php that sanitizes input.
    http://stackoverflow.com/questions/8246380/adding-a-database-to-jquery-mobile-site
    Let me know how you go.

  • No HS to remote SQL Server Data Source using NT Authentication?

    I am attemping to use Generic Connectivity to pull SQL Server 2000 data into 10g.
    We have the DSN configured, the oracle files modified properly (we have done similar setups before), and are able to successfully tnsping the SQL Server.
    However, after creating our database, when trying to execute a query against the remote source I receive the following error message:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC SQL Server Driver][SQL
    Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. (SQL State: 28000;
    SQL Code: 18456)
    ORA-02063: preceding 2 lines from IDW_LINK
    As the message indicates that the error is coming from the SQL Server, I assume a connection is being established.
    I remember reading postings here from a couple years back about HS not being able to connect to remote SQL Servers when NT Authentication is required. Is this still the case?
    I did in fact provide to the link my "domain\username", "password" combination that has access to the sql server, but this is of course using NT Authentication.
    Any ideas on why HS would be sending "NT AUTHORITY\ANONYMOUS" to the sql server? Is this still the already existing problem of no NT Auth for remote data sources?

    Have you found a solution for this? Thanks.

Maybe you are looking for

  • How can I make the URL change to show which page of flash I'm on?

    Hey, this is a bit confusing to explain, but say I have a flash site, just one swf file embedded in an html file. So you go to www.mysite.com/index.html, and you see the main page. In the flash site you have a button that just goes to a different fra

  • Do I have to have a capture card to use FCP?

    I'm considering laying out the dough to upgrade from FCE to FCP but I noticed that the apple site says I have to have a "support 3rd partycapture card". I'll admit I'm green on what that means. I currently import all my video media directly from my s

  • Exporting threshold settings in SunMC

    1. Is there any way to export out the list of current thresholds for all monitored servers under SunMC via command-line? 2. Closely related, is there any way to have an audit trail if any changes are made to the threshold settings? Thanks.

  • I can't purchase a license

    Hi. I am from Mozambique. I had downloaded from Adobe the XI Pro trial, and it has already expired. Now I'm trying to purchase a license since yesterday and I can't. Help me please. It is urgent.

  • N95 8GB Newbie question re Text Messaging

    Hello Folks, I live in the USA an have AT&T as a provider. I am just learning my around the N95 8GB. When I try to send a text message I get a screen with two window. One is label "Text message Center" and the other has "message center number" in it.