Using SQL Server in Window Authentification mode from Coldfusion

I've received the following private message and don't know
how to answer. Can anyone else help?
quote:
Is there any some simple way to use the sql server in windows
authentication mode from coldfusion??? Other the creating the ODBC
Socket.

Hi Colum,
get these quite often, which is why I turn PM off most of the
time.
Just send them to the right forum:
http://www.adobe.com/cfusion/webforums/forum/index.cfm?forumid=1
Cheers
Craig

Similar Messages

  • JDBC Connectivity for SQL Server 2005 Windows Authentication Mode

    Hi Everyone,
    In my Scenario we are using SQL Server 2005 with Mixed Mode Authentication. Now we are planning to move only with Windows Authentication Mode.
    We have configured DB with Window authentication mode & user id have been configured in PI channels however we are getting error. We checked microsoft site, which says Windows Authentication mode DB can not be connected using JDBC drivers.
    http://support.microsoft.com/kb/313100
    In this above link see Basic Connectivity Troubleshooting Section.
    Please let me know if someone confirued JDBC Channel Successfuly with Windows Authentication Mode.
    Thanks In Advance
    Regards,
    Bharathi.

    I think this issue is related to the way that Vista, Windows 7 and Windows 2008 / 2008 R2 treat users who are logged on to the system with an account that is a member of the local administrators group when SQL is running locally.
    If your SQL setup has left you with BUILTIN\Administrators being a member of the sysadmin server role and you start up SQL Management Studio you'd expect to be mapped to the sysadmin role if your user account is in the local administrators group, however
    these OS disable this ability and when you try to connect to the database engine SQL server doesn't know you are a member of the local administrators group.
    To get round this, close all your open SQL management studio windows and then start a new window by right clicking the icon in the start menu and chosing to run as administrator. This time when you try to connect to the SQL database engine, windows doesn't
    "hide" the fact that you are an administrator. If you need to do this a lot you can go to the compatibility tab on the properties of the shortcut and set it to always run as administrator.
    Alternatively you can install the admin tools remotely and you don't get this effect.
    Tim

  • Need a guideline to install the appropriate version of SQL Server on Windows 8

    Hi Everybody, I just started to learn database programming with C#, but i am facing problems over problems. Actually I'm running Windows 8 Pro, x64 Architecture. I tried installing SQL Server 2008 Express and SQL Server Management Studio Express, it do
    get installed but was not working when i linked it to c# code. Anybody please guide me about how to install SQL Server and make it running on Windows 8 Pro... Thanks in anticipation
    Regards,
    Yasir Lateef 

    Hi Yasir,
    Firstly, besides Saeid’s post, you can also install
    SQL Server 2008 SP3 Express ,
    SQL Server 2008 R2 SP2 Express or
    SQL Server 2012 Express on Windows 8. For more details, please review this article:
    How to use SQL Server in Windows and Windows Server environments.
    Secondly, about how to install SQL Server on Windows 8, you can follow the steps in this similar blog:
    How to Install SQL Server 2012 on Windows 8.1.
    Thirdly, from your description, SQL Server 2008 doesn’t work on your system, please help to post more details for analysis. We need to know that if you can successfully connect to SQL Server 2008 using SQL Server Management Studio and the error message you
    get.
    In addition, if you connect to remote SQL Server Express, please complete these steps described in this similar
    blog to configure SQL Server Express to allow remote connections.
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Using SQL Server as a Database sources for Essbase and Planning

    I was reading Jake Turrell white Paper on Hyperion Planning "sandbox" enviroment on a laptop and he stated that you can use SQL Server, u guess my question is i have been using oracle 11gr2 is there really any different
    also
    is best to build different schema for
    Shared Services
    workspace
    Essbase Admin Srvices
    Planning system Respostory
    Planning App's
    Calc manager
    and
    Finanical Reporting and web analysis
    i have been just buildint the Instance n Oracle and making a schema for planning
    Please advise
    Edited by: Next Level on Oct 18, 2012 9:27 PM
    Edited by: Next Level on Oct 18, 2012 9:30 PM
    Edited by: Next Level on Oct 18, 2012 9:31 PM
    Edited by: Next Level on Oct 18, 2012 10:11 PM

    FWIW, my own (ugh) install of 11.1.1.3 32 bit on my laptop (oh, soon I am going to jettison this thing and move to a 32 gig laptop) I am using SQL Server 2005. A client from last year used the same release of SS but I think the 64 bit release. John Booth's EPM AMI uses SQL Server Express 2008. IOW, yeah, you can totally use SQL Server with the EPM suite. I think that there is an exception for ERPi, but I could be wrong about that. For sure I used ODI 11.1.1.5 with SQL Server as I (gasp) set that up myself out on the cloud.
    Regards,
    Cameron Lackpour

  • Connecting to SQL Server on Windows 8 from WindowsCE

    Hello,
    I need to make a connection to SQLServer 2008 which is on my developer machine, later it will be SQL Server on some production machine from .Net Compact Framework developed app on WindowsCE.
    When I using local sdf file I use SqlCeConnection for DB connection but how to connect from same app local SQL Compact databse and SQL Server on some server.
    Thanks in advance...

    Related blog: How to connect to SQL Server from a Windows Mobile Emulator
    Forum thread:
    Windows mobile connect with sql server 2008 r2
    Kalman Toth Database & OLAP Architect
    Free T-SQL Scripts
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • SP 2013 - Database Recovery Mode When Using SQL Server Mirroring

    Hello Community,
    Our DBA is configuring a High Availability Architecture for our SharePoint 2013 Farm.  Essentially he is using SQL Server Database mirroring with a clustered automatic failover using a witness server.  He has informed me that mirroring requires
    that the databases are set to Full Recovery Mode, but that several of the databases are set to Simple Recovery Mode, the databases are the following:
    SearchService_DB
    SearchService_DB_CrawlStore
    SearchService_DB_AnalyticsReportingStore
    SearchService_DB_LinksStore
    WSS_UsageApplication
    User_Profile_DB
    User_Sync_DB
    User_Social_DB
    However, when I checked the following article -
    http://technet.microsoft.com/en-us/library/cc678868.aspx - I see that Simple Recovery Mode is the default configuration for these databases.  So, finally, here is my question - will it be detrimental to these databases to set them to the Full Recovery
    Mode?
    Thanks!
    Tom
    Tom Molskow - Senior SharePoint Architect - Microsoft Community Contributor 2011 and 2012 Award -
    Linked-In - SharePoint Gypsy

    This really depends on your recovery objectives. The main reason for taking log backups, aside from truncating the log, is to be able to recover to a specific point-in-time. This is very helpful in mission-critical, highly transactional systems. I have not
    seen a SharePoint environment require a point-in-time restore of the content or application service database. So for this case, you can overwrite the LDF bakups. Just make sure that you can recover your databases appropriately and meet your recovery objectives
    on the farm level.
    As far as the log file growth is concerned, you are correct. If you cap the size of your LDF file to let's say 10 GB, regular log backups will truncate the log, thereby, having space for additional transaction log records. The only risk here is when your
    log backups are not frequent enough that the LDF file fills up before the next log backup runs to truncate the log. You run the risk of your database behaving as read-only and that will affect the site collections/applications using those databases
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • How to disable the archive logs in SAP IDES(Windows) using SQL Server

    can any body tell us How to disable the archive logs in SAP IDES(Windows 2003) using SQL Server 2000.SP4.?

    Hi,
    Unfortunately, SQL Server does not have the option to turn off transaction logging. You can set the recovery mode to SIMPLE, instead of FULL. This will result in the transaction log being truncated on checkpoint.
    http://support.microsoft.com/kb/873235 - check this microsoft article
    This will help in reduction of the size of the transcation log.
    - Regards, Dibya

  • Cannot set Start Mode using SQL Server Configuration Manager

    I have SQL Server 2012 Express installed on Windows 8.1 and am trying to change the Start Mode to Manual using SQL Server Configuration Manager. However, when I open the Properties dialog and use the drop-down for Start Mode on the Service tab the drop-down
    is inoperative. A "vertical bar" appears but no options.
    Is there some other way that I can change the Start Mode?

    I have SQL Server 2012 Express installed on Windows 8.1 and am trying to change the Start Mode to Manual using SQL Server Configuration Manager. However, when I open the Properties dialog and use the drop-down for Start Mode on the Service tab the drop-down
    is inoperative. A "vertical bar" appears but no options.
    Is there some other way that I can change the Start Mode?
    I have seen that on my laptop as well and it was due to display /resolution setting. Please see if that helps you. BTW, as already answered, services.msc is another way of changing it.
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • SAP Crystal Report using SQL Server Authentication and Windows Authenticati

    I'm a SAP Crystal Report, version for Visual Studio 2010 Beginner
    my ingredients are
    1.windows 7 ultimate service pack1
    2.sql server 2008 standard edition
    3.visual studio 2010 pro
    4.SAP Crystal Report, version for visual studio.net
    I was created a report named customersByCity.rpt using OLE DB (ADO) -> Microsoft OLE DB Provider for SQL Server -> I'm supply Server, User ID, Password and Database. I assume me using SQL Server Authentication for my report
    Then, my ASP.NET files as following
    //ASP.NET
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="viewCustomersByCity.aspx.cs" Inherits="viewCustomersByCity" %>
    <%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
        Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div><asp:Label ID="lblMsg" runat="server" BackColor="Yellow" ForeColor="Black"></asp:Label>
     <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true"></CR:CrystalReportViewer>
        </div>
        </form>
    </body>
    </html>
    //code-behind
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Collections;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    public partial class viewCustomersByCity : System.Web.UI.Page
        private const string PARAMETER_FIELD_NAME = "city";   
        private ReportDocument customersByCityReport;
        private void ConfigureCrystalReports()
            ConnectionInfo connectionInfo = new ConnectionInfo();
            connectionInfo.ServerName = @"WKM1925-PCWKM1925";
            connectionInfo.DatabaseName = "Northwind";
            connectionInfo.UserID = "sa";
            connectionInfo.Password = "sysadmin25";
            SetDBLogonForReport(connectionInfo);
        private void SetDBLogonForReport(ConnectionInfo connectionInfo)
            TableLogOnInfos tableLogOnInfos = CrystalReportViewer1.LogOnInfo;
            foreach (TableLogOnInfo tableLogOnInfo in tableLogOnInfos)
                tableLogOnInfo.ConnectionInfo = connectionInfo;
        private void SetCurrentValuesForParameterField(ReportDocument reportDocument, ArrayList arrayList)
            ParameterValues currentParameterValues = new ParameterValues();
            foreach (object submittedValue in arrayList)
                ParameterDiscreteValue parameterDiscreteValue = new ParameterDiscreteValue();
                parameterDiscreteValue.Value = submittedValue.ToString();
                currentParameterValues.Add(parameterDiscreteValue);
            ParameterFieldDefinitions parameterFieldDefinitions = reportDocument.DataDefinition.ParameterFields;
            ParameterFieldDefinition parameterFieldDefinition = parameterFieldDefinitions[PARAMETER_FIELD_NAME];
            parameterFieldDefinition.ApplyCurrentValues(currentParameterValues);
        protected void Page_Load(object sender, EventArgs e)
            customersByCityReport = new ReportDocument();
            string reportPath = Server.MapPath("customersByCity.rpt");
            customersByCityReport.Load(reportPath);
            ConfigureCrystalReports();
            ArrayList arrayList = new ArrayList();
            arrayList.Add("paris");
            arrayList.Add("Madrid");
            arrayList.Add("Marseille");
            arrayList.Add("Buenos Aires");
            arrayList.Add("Sao Paulo");
            ParameterFields parameterFields = CrystalReportViewer1.ParameterFieldInfo;
            SetCurrentValuesForParameterField(customersByCityReport, arrayList);
            CrystalReportViewer1.ReportSource = customersByCityReport;
    1st scenario
    When in a runtime, it's keep appear a dialog box. This dialog box ask me to suppy Server, User ID, Password and Database. Once all information is supplied, my report display the data as expected
    2nd scenario
    I change my report using OLE DB (ADO) -> Microsoft OLE DB Provider for SQL Server -> checked on Integrated Security. I just choose Server, and Database. I assume me using Windows Authentication
    When in a runtime, there's no dialog box as above. My report display the data as expected. really cool
    Look's like, when report using SQL Server Authentication there's some problem. but, when report using Windows Authentication, it's fine.
    I'm looking for comment. Please help me

    Hello,
    MS SQL Server 2008 requires you to install the MS Client Tools for 2008.
    Once install then update all of your reports to use the SQL Native 10 as the OLE DB driver.
    The try again, if it still fails search, lots of sample log on code in this forum.
    Don

  • Not able to access database from a remote machine using SQL Server Management Studio

    Hi,
    I have a DB_BOX with SQL Server 2008 R2 installed. I can access the databases on the local machine using SQL Server Management Studio but it is not accessible from other machines, though the machines are in same domain.
    I have remote enabled on SQL Server box, TCP enabled, firewall off. I checked with IP Address too, all SQL Server services are running.
    The SQL Server log shows the message
    The requested service has been stopped or disabled and is unavailable at this time. The connection has been closed.
    I get the below message in SSMS from remote machine.
    Details of error message are
    ===================================
    Cannot connect to DB_BOX.
    ===================================
    A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=64&LinkId=20476
    Server Name: DB_BOX
    Error Number: 64
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
       at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()
       at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
       at System.Data.SqlClient.TdsParserStateObject.ReadByte()
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       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.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

    Sorry, missed the message from the errorlog in the original post. You shouldn't have included that big .Net dump that hid the important facts. :-)
    My first Google attempt on that message (which I have never seen before) suggests that the TCP Enpoint is stopped, so try this:
    ALTER ENDPOINT [TSQL Default TCP]
    STATE=STARTED;
    Erland Sommarskog, SQL Server MVP, [email protected]
    This solves the problem. Thanks...

  • Best way to push change data from sql server to windows/web application

    i apologized that i do not know should i ask this question in this forum or not.
    i have win apps which will load all data initially from db and display through grid but from the next time when any data will change in db or any data will be inserted newly in db then only change or newly inserted data need to be pushed from db side to
    my win apps. now only sql dependency class is coming to my mind but there is a problem regarding sql dependency class that it notify client but do not say which data is updated or inserted.
    so i am looking for best guidance and easy way to achieve my task. what will be the best way to push data from sql server to win or web client.
    there is two issue
    1) how to determine data change or data insert. i guess that can be handle by trigger
    2) next tough part is how very easily push those data from sql server end to win apps end.
    so looking for expert guide. thanks

    Hello,
    Yes, you can create DML trigger on INSERT and UPDATE to get the changed data into a temp table. And then query the temp table from application.
    If you are use SQL Server 2008 or later version, you can also try to use
    Change data capture, which
    can track insert, update, and delete activity that is applied to a SQL Server table and store the changed values on the Change Table.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Using SQL Server 2012 SSIS to Extract Data From SAP

    Hi
    What is the current best practice for using SQL Server 2012 SSIS to extract data from SAP R3? Please note we are looking for a solution that does not use SAP BW or SAP OHS.
    Ideally we would like to build our ETL SSIS process to make a .NET call to an SAP RFC procedure and avoid using web services.
    With SS2012 can we use any of these without using SAP BW:
    - SAP .NET Connector
    - MS ADO .NET
    - BizTalk .NET 3.0 Adapter
    Thanks and take care,
    Shayne

    Hi Shayne,
    You can use the .NET Framework Data Provider for mySAP Business Suite along with SQL Server Integration Service (SSIS) to import data from an SAP system into SQL Server database tables, flat files, or other compatible destination types. You can create an SSIS
    package that can be executed to import data from an SAP system.
    You must use the SQL Server Import and Export wizard to import data into the SQL Server database. You must provide a select query to specify data to be imported. The query must confirm to the semantics supported by the Data Provider for SAP. You can start the
    SQL Server Import Export Wizard either from the SQL Server Management Studio or from an Integration Service project in Visual Studio. Detail steps please see:
    Importing SAP Data Using SQL Server Management Studio:
    http://msdn.microsoft.com/en-us/library/cc185161(v=bts.10).aspx
    Importing SAP Data Using Visual Studio:
    http://msdn.microsoft.com/en-us/library/cc185254(v=bts.10).aspx
    Please feel free to ask if you have any question.
    Thanks,
    Eileen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.

  • Open Window Media Player Database using Sql Server?

    I have a copy of Windows Media Player database that nolonger relates to actual files.
    I would like to be able to list the file paths stored in that database.
    I don't suppose that I could use SQL Server to do that, could I?
    Is there any other way at all to make such a list?
    Even a suggestion to try something would be appreciated.
    Thanks in advance for any help at all.

    Hello,
    Please try to post your question on the following forum:
    http://answers.microsoft.com/en-us/windows/forum/pictures?tab=Threads
    You may get a faster response in that forum, since it is more relevant to the subject.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Any comments on speed and robustness of RH Server running on Windows 7 and using SQL Server Express?

    Hi. Can anyone comment on their experience using RH Server on Windows 7 and using SQL Server Express? That is, is it stable and fast enough for delivering Web Help Pro documentation to support occasional viewer browses. (We would have approx 250 customers who would occasionally access the HTML docs that support our software.)
    Our company is not keen on spending $s on Windows Server and an MS or Oracle database.
    Thanks in advance.
    -Kurt

    Hi Kurt. You should have no problems with that configuration and user numbers. See Recommended OS/database combinations for RoboHelp Server « Technical Communication Suite

  • From SharePoint Content Database, Using SQL-Server Query how to fetch the 'Document GUID' based on 'Content Type'

    I want to get all the documents based on content type using SQL Server Query. I know that, querying the content database without using API is not advisable, but still i want to perform this action through SQL Server Query. Can someone assist ?

    You're right, it's not advisable, may result in corruption of your databases and might impact performance and stability. But assuming you're happy to do that then it is possible.
    Before you go down that route, have you considered using something more safe like PowerShell? I've seen a script exactly like the one you describe and it would take far less time to do it through PS than it would through SQL.

Maybe you are looking for

  • Business scenarios for daily, weekly and nightly loads!!

    Can any body tell some Business scenarios for daily, weekly and nightly loads where we monitor the loads in Production support. Regards srikanth.ch

  • IPad 4 iOS 6.0.1 cannot connect to Facebook

    Hi all, I have a strange problem that I'm trying to solve. I have an iPad 2 (iOS 5.1.1), iPhone 4S (iOS 5.1.1) and now an iPad 4 (iOS 6.0.1) Using the WiFi network at work the new iPad cannot connect to Facebook properly. The two older devices, on iO

  • 24" iMac intel--Sleep issues--simple as widgets

    Had major sleep issue with brand new new gorgeous 24" intel 2.8 imac. It wouldn't autosleep no matter what I did--reset PRAM, SMU, archive and install, checked console logs, etc. After some common sense thought, I figured it might be a really simple

  • T510i eSATA/USB3.0 combo port: eSATA cable doesn't fit

    Hello, my T510i has a eSATA/USB3 combo port. I assume that an eSATA plug should fit in there. But the eSATA cable I bought doesn't fit. (It fits into my external hard drives eSATA port, though.) Can you help me with this, please? Thanks a lot in adva

  • Acrobat-X

    I recently deleted Acrobat-7 and replaced it with Acrobat-X and just about everything has gone wrong.  I even had problems with Safari!  Safari would no longer display or download PDF files.  Little by little I've been fixing the problems but it's be