Sql server conncetion string c# by using Sharepoint 2013

 
I  have design a page by using  visual studio sharepoint . But I am not able to connection my sharepoint server.
Design pages added in sharepoint platform. Now I want to added/insert some contact information from my design pages. But I am not able to connection string .
Can anybody help me..

Hi,
From your description, I understand you want to design a page with form and store contact information into tables of SQL Server database with this page.
In SharePoint, I suggest that you store contact information with OOB Contacts List.
Using a Contact List in SharePoint 2013:
https://www.youtube.com/watch?v=v4iPObhryGU
If I misunderstand your requirement, please provide more information about your requirement for further research.
Best Regards
Vincent Han
TechNet Community Support

Similar Messages

  • Do we require to install microsoft excel in sharepoint 2013 server?. if require to use sharepoint 2013 excel services.

    Do we require to install microsoft excel in sharepoint 2013 server?. if require to use sharepoint 2013 excel services.
    In our organisation, development team is asking to install office 2013 in SharePoint 2013 server to use different services, where as architecture team not allowing for the same. I need to provide proper justification for installing office 2013 in SharePoint
    2013 server. Please provide me the correct solution for the same.

    No, you do not need to install Office on the SharePoint server to utilize the Excel Services. Office should not be installed on the SharePoint server.
    Do they need Office Web Apps? Are they looking to have the capability to edit documents in the browser maybe? Or have document preview on search? Office Web Apps would be required for this, but this is a different product than Office.
    Brandon Atkinson
    Blog: http://sharepointbrandon.com

  • Sql server 2008 r2 reportserver integration with sharepoint 2010 datasource credential

    hello,
    I am using sharepoint 2010 and sql server 2008 r2 and integrated in sharepoint integration mode and i am using windows authentication ,not keberos ,so i deletd negotiate in authentication tag in rssharepoint.config file,but when i tried to create data source
    i am getting credential error and when windows credential is used it is getting connected.
    please help.
    thanks

    Hi Krishnakumar_DeV,
    Based on the current description, I understand that you should use the Windows NTLM authentication and delete the Negotiatein in authentication tag from RSReportServer.config which is located in the folder “C:\Program Files\Common Files\Microsoft Shared\Web
    Server Extensions\XX\WebServices\Reporting”. You can use a local account or domain account to connect report server, while there is credential error message when creating data source, right?
    To narrow down the issue, I want to confirm some information below:
    1. To connect to remote data source, we can specify the following credentials’ ways:
    •Prompt the user for credentials
    •Store credentials
    •Use Windows integrated security
    •Use no credentials
     Which credential way is you using and what’s the detailed error message?
    2. How do you create the data source?
    If I have any misunderstanding, please feel free to contact me.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • [Oracle][ODBC SQL Server Driver]String data, right truncation {01004}

    While importing data from SQL Server 2005 to Oracle gateway 11g Release2, i am getting following error:
    insert into CSDescr select * from CSDescr@sqlserver
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    +[Oracle][ODBC SQL Server Driver]String data, right truncation {01004}+
    ORA-02063: preceding 2 lines from SQLSERVER
    Oracle database characterset is AL32UTF8
    SQLServer database characterset is SQL_Latin1_General_CP1_CI_AS
    Following is the configuration in the parameter file for gateway:
    HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
    HS_NLS_LENGTH_SEMANTICS=CHAR
    I think setting the HS_LANGUAGE parameter shall fix the error but I  want to know what should be the value of this parameter?

    HS_LANGUAGE needs to be set to a character set that is used by the foreign database
    So try: HS_LANGUAGE=american_america.WE8MSWIN1252
    Also specify HS_NLS_NCHAR=UCS2 as the nvarchars of a SQl Server are stored in UCS2 character set

  • Installing SQL Server 2012 remotely via Powershell using Invoke-Command

    I am trying to perform a SQL Server 2012 command line installation using Powershell Invoke-Command on Windows 2012 Datacenter.
    The code I am using is as follows:
     $ret = Invoke-Command -ComputerName $COMPUTER -ArgumentList $MEDIA,$ACTION,$FEATURES,$INSTALLDIR,$INSTANCEID,$INSTANCENAME,$SQLDATADRIVE,$SQLLOGDRIVE,$DOMAIN,$SQLSERVERSERVICEUSER,$SQLSERVICEPASSWORD,$PRODUCTKEY,$SQLSERVERSA,$username,$ADMINPASSWD
    -Credential $cred -ScriptBlock {
      param($MEDIA,
         $ACTION,
         $FEATURES,
         $INSTALLDIR,
         $INSTANCEID,
         $INSTANCENAME,
         $SQLDATADRIVE,
         $SQLLOGDRIVE,
         $DOMAIN,
         $SQLSERVERSERVICEUSER,
         $SQLSERVICEPASSWORD,
         $PRODUCTKEY,
         $SQLSERVERSA,
         $USERNAME,
         $PASSWD)
      Set-Location $MEDIA
      Import-Module ServerManager
      if (-not [IO.Directory]::Exists($MEDIA)){
       $hn = hostname
       return 0,"Failed to find SQL Server Installer at $MEDIA on $hn"
      $tran = ""
      Try{
       & $MEDIA\setup.exe /ACTION=$ACTION /Q /FEATURES=$FEATURES /IACCEPTSQLSERVERLICENSETERMS /UPDATEENABLED=False /INSTALLSHAREDDIR="$INSTALLDIR\Program Files\Microsoft SQL Server" /INSTALLSHAREDWOWDIR="$INSTALLDIR\Program Files
    (x86)\Microsoft SQL Server" /RSINSTALLMODE="FilesOnlyMode" /INSTANCEID="$INSTANCEID" /INSTANCENAME="$INSTANCENAME" /INSTANCEDIR="$INSTALLDIR\Program Files\Microsoft SQL Server" /ENU="True" /AGTSVCSTARTUPTYPE="Automatic"
    /SQLSVCSTARTUPTYPE="Automatic" /NPENABLED=1 /TCPENABLED=1 /RSSVCStartupType="Automatic" /ERRORREPORTING=0 /SQMREPORTING=0 /INDICATEPROGRESS /INSTALLSQLDATADIR="$SQLDATADRIVE\DATA" /SQLUSERDBDIR="$SQLDATADRIVE\DATA" /SQLUSERDBLOGDIR="$SQLLOGDRIVE\LOG"
    /ASDATADIR="$SQLDATADRIVE\OLAP\DATA" /ASLOGDIR="$SQLLOGDRIVE\OLAP\Log" \ASBACKUPDIR="$SQLDATADRIVE\OLAP\Backup" \ASTEMPDIR="$SQLDATADRIVE\OLAP\Temp" /ASCONFIGDIR="$SQLDATADRIVE\OLAP\Config" /ASCOLLATION="Latin1_General_CI_AS"
    /SQLCOLLATION="SQL_Latin1_General_CP1_CS_AS" /SQLSVCACCOUNT="$DOMAIN\$SQLSERVERSERVICEUSER" /SQLSVCPASSWORD="$SQLSERVICEPASSWORD" /AGTSVCACCOUNT="$DOMAIN\$SQLSERVERSERVICEUSER" /AGTSVCPASSWORD="$SQLSERVICEPASSWORD"
    /ASSVCACCOUNT="$DOMAIN\$SQLSERVERSERVICEUSER" /ASSVCPASSWORD="$SQLSERVICEPASSWORD" /RSSVCACCOUNT="$DOMAIN\$SQLSERVERSERVICEUSER" /RSSVCPASSWORD="$SQLSERVICEPASSWORD" /FTSVCACCOUNT="NT AUTHORITY\LOCAL SERVICE"
    /INDICATEPROGRESS > $out
      } Catch [System.Exception] {
       return 0,$_.Exception.ToString()
      if ($tran -ne ""){
       $out += $tran
      return 1,$out
    The media resides on the server that I am remoting to in powershell and the server is on the same domain. The credentials I pass are for a Domain Admin, but SQL Server fails to validate the credentials for the passed parameter for the sql service user with
    a Access Denied.
    If I run the same command with the same user directly on the server it works fine.
    My guess is that the elavated privs for Administrator are not being set when using Invoke-Command? Is there a way to utilize powershell to install SQL Server 2012 with command line option using the invoke-command and passing credentials? Or is this a limitation
    to the SQL Server installer. If there is can a example be provided?

    Ok, so with the help of some friends, we found a fix that works!
    Prior to running the Invoke-Command I now run:
    # enable CredSSP on a client computer; this command allows the client credentials to be delegated to the server01 computer.:
    Enable-WsManCredSSP -Role Client -DelefateComputer server.some.domain.com
    Then I add the -Authentication option to my Invoke-Command with option Credssp.
    The install the works fine. Hope this helpes all.

  • Using SharePoint (2013) groups in SSRS

    We had a report deployed in SharePoint 2007 that identified which SharePoint Group the user was in and used this in a parameter in the report. This used the method suggested in this question: http://social.technet.microsoft.com/Forums/sqlserver/en-US/c6ce0af7-2467-4ed8-8833-9bad438a28ad/how-to-get-sharepoint-group-in-ssrs?forum=sqlreportingservices
    Following an upgrade to SharePoint 2013, this no longer functions. The error refers to the specific dataset using the query suggested and returns a 'Soap Fault: The remote server returned an error: (500) Internal Server Error'.
    I would guess that I need to direct the <SoapAction> to look in another location, but I can't see any obvious location to look in.
    Suggestions for the correct location, or other solution, would be helpful.
    Thanks
    Ray

    Hi,
    According to your post, my understanding is that you wanted to use SharePoint 2013 hosted in Office 365 to power Portal Authentication-type experience.
    Per my knowleadge, configuring SSO helps you to enforce your organization's password policies and account restrictions in both your on-premises directory and your Office 365 directory.
    For more information, you can refer to:
    Overview of single sign-on for Office 365
    Step-By-Step: Setting up AD FS and Enabling Single Sign-On to Office 365
    Office 365 – Single Sign-On for SharePoint, Skydrive, CRM, etc. via Smart Links
    Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
    Office 365 forum
    http://community.office365.com/en-us/forums/default.aspx
    Thanks,
    Linda Li                
    Forum Support
    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]
    Linda Li
    TechNet Community Support

  • How many server licenses do I need for SharePoint 2013?

    I am new to the concept of CAL. I am reading about it. I found this linkhttp://sharepoint.stackexchange.com/questions/101914/how-many-server-licenses-do-i-need-for-sharepoint-2013
    Suppose there are 2 users in the sharepoint farm. As per above link we requires 7/8 server license. So my question is do we requires 7/8 licences per user basis (2*7/8) or we requires 7/8 licences once only then we require 2 more licenses for 2 users (7/8 +2)?

    The second option.
    If you have 7 SharePoint servers then you need 7 SharePoint Server Licenses.
    If you have two people in your company who can use SharePoint then you need two Client Access Licenses (7 server, 2 CAL).
    If you had two hundred thousand users who could then you would need two hundred thousand CALs, but the number of server licenses would not change. (7 server, 200,000 CALs).

  • Update Column value after current item is Approved and then publish major version using Sharepoint 2013 designer workflow

    Hi,
    We have a requirement to update a column value once the item has been approved.
    Following settings have been made in the publishing articles list:
    Require content approval for submitted items : yes
    Create major and minor (draft) versions
    Who should see draft items in this document library? :Only users who can edit items
    Require documents to be checked out before they can be edited? : yes
    I have createdatu a Sharepoint 2013 workflow to check if Approval sts of current item = 0 i.e. Approved , then check out and update the item and finally checkin the item. Everything works fine till this point except that the minor version of the item is
    checked in. Due to this the updated columns are not published to others.
    Also, I created a Sharepoint 2010 workflow to SET CONTENT APPROVAL = APPROVED and started this workflow from my list workflow above, but the item does not get checked-in and always shows "In Progress" status with comment "The item is currently
    locked for editing. Waiting for item to be checked in or for the lock to be released.".
    Please let me know where I am missing out so that once the item is approved, column value gets updated and current item is still in Approved status.
    Thanks

    Hi,
    According to your post, my understanding is that you want to update Column value after current item is Approved and then publish major version using Sharepoint 2013 designer workflow.
    You will get into this kind of Catch-22 situation trying to set the Content Approval Status in SharePoint Designer workflow:
    - You must check out the document before you can change the Content Approval Status
             - You can't change the Content Approval Status once the document in checked out
    Since you set the Require documents to be checked out before they can be edited=Yes, you will need to check out the document when run the workflow on the item. But you cannot approve a document when it is checked
    out. So the logic in workflow conflicts.
    As a workaround, you can use the Start Another Workflow action to start the normal Approval workflow on the document.  The built-in Approval workflow can work with a document that’s not checked out.
    The designer approval workflow also can work with a document that’s not checked out.
    You can create two workflow using SharePoint Designer 2013.
    First, create a SharePoint 2010 platform workflow.
    Then, create a SharePoint 2013 platform workflow.
    Then when the SharePoint 2013 platform workflow start, it will start the SharePoint 2010 platform workflow to set content approval status, then the SharePoint 2013 platform workflow will update current item value.
    More information:
    SharePoint Designer Workflow Content Approval Issue
    SharePoint 2010 Approval Workflow with Content Approval
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • What needs to be done to rebuild a current Sharepoint 2010 Server farm to work as a Sharepoint 2013 Server farm?

    Hello Community
        Currently I have a Sharepoint 2010 Server farm.
        One server contains the database and DNS server
    because it is the the domain controller.
        The other server Contains the Sharepoint 2010 Server software
    and is the the application server where applications such as Metadata,
    UPs, etc, reside (including web applications with sites built with the UI).
        Now I am going to change to Sharepoint 2013 Server because currently
    there is no newer version of Sharepoint available.
        I am ready to rebuild the current Sharepoint 2010 farm configuration into
    a Sharepoint 2013 Server farm from scratch.
        The question  is what do needs to be added and\or changed to make the current
    Sharepoint 2010 Server farm configuration work as a Sharepoint 2013 Server farm?
        Thank you
        Shabeaut

    There is no direct in-place uprade method for SharePoint 2010 to 2013. You need to create a new SharePoint 2013 farm from scratch and attach service and content databases to upgrade them. Check out Upgrade
    to SharePoint 2013 for more information about the process.
    If you have another server, you would install SharePoint 2013 on this. If you don't, you'll need to remove SharePoint 2010 from your existing server and then install SharePoint 2013. Check out Hardware
    and software requirements for SharePoint 2013 before starting to make sure your server meets the minimum requirements for SharePoint 2013:
    Web server or application server in a three-tier farm
    Pilot, user acceptance test, or production deployment of SharePoint Server 2013 or SharePoint Foundation 2013.
    12 GB memory
    64-bit, 4 processor cores
    80 GB for system drive
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • Add datetime property to "MetaInfo" field using SharePoint 2013 CSOM

    When uploading a file along with metadata using SharePoint FP RPC (using the "method= put document") it allows me to properly add datetime properties. My metainfo looks like this:
    "MetaInfo":"...MyCustomDate:TW|05 Jan 2015 12:58:31 -0000\r\n..."
    Then later on, when I try to update "MyCustomDate" property from the "MetaInfo" field using CSOM, it fails while updating it. (In this case I am using CSOM because I am updating some more fields and I want to avoid extra round-trips)
    After that update my metainfo looks like this:
    "MetaInfo":"...MyCustomDate:FX|0x01d028e7|0x4d1c4880\r\n..."
    Does anyone know why?, is there any workaround?
    Thanks

    Hi,
    If you want to add datetime property to "MetaInfo" field using SharePoint 2013 CSOM, the following code snippet for your reference:
    using (ClientContext context = new ClientContext("http://yourserver/"))
    context.Credentials = new NetworkCredential("user", "password", "domain");
    List list = context.Web.Lists.GetByTitle("Documents");
    ListItem oListItem = list.GetItemById(1);
    oListItem["MetaInfo"] = "MyCustomDate:TW|08 Jan 2015 12:58:31 -0000";
    oListItem.Update();
    context.ExecuteQuery();
    Best Regards
    Dennis Guo
    TechNet Community Support

  • SQL Query Works in MS SQL Server 2008 but not when using Database Toolkit

    I have this SQL query:
    DECLARE @DataTypeTable TABLE (
    Name varchar(128),
    TypeID INT)
    --Add comma delimeted data type names to temp table
    INSERT INTO @DataTypeTable (Name)
    SELECT * FROM WhatWeShouldDoRead.func_Split(@DataTypeTrimmed,',')
    SELECT Name FROM @DataTypeTable
    Which takes a comma delimited string and returns the string as a table.  It works correctly in Microsoft SQL Server Management Studio.  When I run this as a stored procedure  I get back nothing.  There are no errors, SQL or otherwise.  I've verified that I am connected to the correct database and that the stored procedure is loaded by changing the no error string that is reported from this stored procedure (that code is not shown in the above example).  Has anyone seen this problem before, or have any experiance with SQL/Labview interfaces to tell me what I'm doing wrong?
    Thanks in advance. 
    Solved!
    Go to Solution.

    After doing some more research it appears that the database toolkit cannot interface with any table results from any type of temp table.  It may have to do with the fact that MS SQL 2008 stores temp tables in a seperate database (tempdb) and not the database you are currently connected to.  See this link for a good artical on temp tables:
    http://databases.aspfaq.com/database/should-i-use-a-temp-table-or-a-table-variable.html
    If possible,  I'd like a someone to prove me wrong, but for now will have to settle for exporting the contents of a temp table through a string.

  • MS SQL Server/VB6 to Oracle 8i using OBDC

    OMW,
    I presently connect to MS SQL in Visual Basic 6.0 using ODBC. I
    would like to connect to Oracle in the same manner. Does the OMW
    do this, and if so are there any things I should know before
    attempting to use it in this application? I have purchased and
    installed a trial version of Oracle 8i, but I am experiencing
    some slight difficulties in the way Oracle handles Resultsets
    (RDO Components) compared to MS SQL.
    thanks
    g
    null

    Gary,
    There is some information in the faq (reproduced below), showing
    how the application may not need to be changed.
    Some of the functionality provided by the intersolve driver is
    now available in the oracle 8.1.5.3 odbc driver.
    Turloch
    Oracle Migration Workbench team
    from the faq (shipped with the workbench):
    How are result sets/dynasets returned to the calling program?
    The Oracle Migration Workbench parser adds an extra argument
    of type REF CURSOR for result sets/dynasets. This type is
    understood and can be
    manipulated by both PL/SQL and Oracle JDBC. Oracle8 release
    8.0.5 ODBC drivers support REF CURSORs which means that the
    additional argument must
    be explicitly handled by the application, and the client
    application code must be changed. However, some third-party
    vendors such as Intersolv supply ODBC
    drivers for Oracle that support REF CURSORs and can, in
    addition, implicitly make use of REF CURSORs for using result
    sets/dynasets. Therefore, no
    change is required in the client application code. This is
    illustrated in the following examples of an MS SQL Server stored
    procedure and its equivalent Oracle
    package and stored procedure as generated by the Oracle
    Migration Workbench parser.
    MS SQL Server Stored Procedure
    CREATE PROCEDURE byroyalty
    AS
    select au_id from titleauthor
    GO
    Oracle8i Package and Stored Procedure
    PACKAGE BYROYALTYPkg AS
    TYPE RT1 IS RECORD (
    au_id titleauthor.au_id%TYPE
    TYPE RCT1 IS REF CURSOR RETURN RT1;
    END;
    PROCEDURE byroyalty(
    RC1 IN OUT byroyaltyPkg.RCT1)
    AS
    StoO_selcnt INTEGER;
    StoO_error INTEGER;
    StoO_rowcnt INTEGER;
    StoO_errmsg VARCHAR2(255);
    StoO_sqlstatus INTEGER;
    BEGIN
    OPEN RC1 FOR
    SELECT au_id FROM titleauthor;
    END byroyalty;
    The following example illustrates the typical ODBC code used
    by Intersolv to call the above MS SQL Server stored procedure.
    This code also works for the
    above Oracle8i package and stored procedure. Note that error
    handling must be added in a real application:
    SQLPrepare(...,'{call byroyalty()}',...)
    SQLExecute()
    SQLBindCol()
    SQLFetch()
    Comments:
    SQLPrepare(...,'{call byroyalty()}',...) is the ODBC SQL
    syntax used to execute stored procedures.
    SQLExecute()executes the stored procedure.
    SQLBindCol()assigns storage for result column 1 in the
    result set (au_id).
    SQLFetch() fetches the first record from the result set
    generated by the stored procedure.
    The following examples illustrate how to call the above MS
    SQL Server stored procedure with result sets/dynasets in Visual
    Basic using DAO and RDO on
    top of ODBC. This code works for Oracle8i packages and
    stored procedures if you use an Intersolv ODBC driver to
    understand Oracle REF CURSORs.
    DAO
    Private Sub Command2_Click()
    Dim sSql As String
    sSql = "{call byroyalty()}"
    'In Oracle ODBC driver use refcusor argument to get
    result set
    Set rCustomers = dbsServer.OpenRecordset(sSql,
    dbOpenDynamic)
    Text4 = rCustomers.Fields(0)
    theend:
    End Sub
    Please note, this example assumes that a DAO connection has
    been set up already.
    RDO
    Private Sub Command1_Click()
    StrSql = "{call byroyalty}"
    'in oracle odbc driver uses refcusor argument to get
    result set
    Set Ps = connx1.CreatePreparedStatement("PsTest",
    StrSql)
    Set Rs = Ps.OpenResultSet(rdOpenStatic
    Text3 = Rs!au_id
    Rs.Close
    End Sub
    Please note, this example assumes that an RDO connection has
    been set up already.
    Gary (guest) wrote:
    : OMW,
    : I presently connect to MS SQL in Visual Basic 6.0 using ODBC. I
    : would like to connect to Oracle in the same manner. Does the
    OMW
    : do this, and if so are there any things I should know before
    : attempting to use it in this application? I have purchased and
    : installed a trial version of Oracle 8i, but I am experiencing
    : some slight difficulties in the way Oracle handles Resultsets
    : (RDO Components) compared to MS SQL.
    : thanks
    : g
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Problem in JDBC-SQL Server connection string

    Anyone could help me to write proper connection string using JDBC with SQL Server 2000. The descp:
    Server name: CD
    databaseName: songs
    Using Window NT authentication.
    I dont know whether to include username and password.
    When I executed the statement below:
    DriverManager.getConnection("jdbc:microsoft:sqlserver://CD:1433;databaseName=songs");
    Recieved error: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket
    Plz help!! Thank you very much.

    Look at the URl below:
    How to connect to Microsoft SQL server with Type 4 JDBC driver
    http://www.java-tips.org/content/view/615/29/

  • SQL Server Connexion string throw a proxy with EF

    I have asked some day later about config of the EF (Entity Framework) to connect to the sql server via proxy.
    https://social.msdn.microsoft.com/Forums/en-US/387e675e-9d74-46d0-a0c3-aafdec205a24/config-entity-framework-to-use-proxy-to-connect-to-the-server?forum=adodotnetentityframework
    I don't have any replay according to my probleme. So if here we can help me please.
    So, 
    Now I want to get a StringConnexion for EF that allow proxy or the config is included to the StringConnexion.
    The connexion now is using a url,port exemple: mydb.example.com,23455 like as follow:
    connectionString="metadata=res://*/Data.DatabasesMappers.MyDBMapper.csdl|res://*/Data.DatabasesMappers.MyDBMapper.ssdl|res://*/Data.DatabasesMappers.MyDBMapper.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=tcp:mydb.mydns.com,23455;initial catalog=MyDB;user id=MyUser;password=ThePassword;MultipleActiveResultSets=True;App=EntityFramework&quot;"
    What I could add on the ConnexionString to be able to connect throw a proxy.
    Thanks

    Hi,
    What you need to do, is to ensure your connection string is something like
    <connectionStrings>
    <add name="conn2" connectionString="Data Source=192.?.?.?\your_db_instance;Initial Catalog=your_db_schema;Integrated Security=False;User ID=your_db_login;Password=??????" providerName="System.Data.SqlClient"/>
    </connectionStrings>
    within Web.config/app.config file in your project, to ensure the project will work fine with the database.
    Many Thanks & Best Regards, Hua Min

  • How can i connect to SQL Server 7.0 on Windons Using JDBC

    How can i connect to Microsoft SQL Server 7.0 on a windows enviroment ?
    in sql server 2000 some jar files are required that is
    What you need to do is actually add all three jar files to your class path individually. There are three jar files that come with this driver the msbase.jar, msutil.jar, and mssqlserver.jar. for sqlQ server 2000.
    now the problem is that i cant find these files on my system. firstly where these files will be located. secondly are they will be used to connect to SQL Server 7.0. thirdly if not what is the procedure.
    My next Problem is that I have Websphere Studio Application Developer. in which their is this facility of Database Webpages its like a wizard which makes automatically beans servlets and JSP but before that you need a Driver Name and and Class Name for to Connect to the Database.
    Can you tell what is the specific Driver Path for the Microsoft SQL Server 7.0 . secondly is this the class which is used to connect to SQL server 7.0 "com.microsoft.jdbc.sqlserver.SQLServerDriver" where can i find this one. for SQL server 7.0.
    please provide some guidance in this regard.

    You can search for the JDBC drivers at, http://industry.java.sun.com/products/jdbc/drivers
    All the three jars that you specified are part of MsSQL Server jdbc driver. You need them (in the classpath) to get connected to the database.
    "com.microsoft.jdbc.sqlserver.SQLServerDriver" is the class in mssqlserver.jar. This is the driver class which will be used to get connected to the database.
    You can search in this forum for writting jdbc code (for Sql Server). If you don't find these jars, give me your e-mail id.
    Sudha

Maybe you are looking for

  • Is the iPhone still banned in America?

    I am on vacation to America. Living in Houston Texas and enjoying my visit. The only bad experience was on day one of my vacation when I got robbed by AT&T. I asked if was possible to buy a sim card for my unlocked iPhone. One that supplied data. I w

  • Error in Deductiion of quotas

    Hi All, I have an issue related to quota deduction My user is having 3 types of quotas right now 1) Leave(a) 2) Leave(a1) current one 3) Standard leave As per his company rules and norms he delimited the Leave(a) record in the month of March and enca

  • Ref: No Valid Appraisal Documents in ECM (Hight Priority)

    Hi Team, I have did complete IMG activity for ECM as per client specifications. According to that I have created Budgets (by Using BSP's). Now, When I loged as MSS user and selecting the Review of mine. I am getting an error saying that "Error occurr

  • An error occurred during the installation of assembly component

    I am receiving this message when I try to install adobe reader (tried both reader X and reader 9) Same message came out on screen every time I try to install adobe reader program.... An error occurred during the installation of assembly component {B7

  • MetaData Cleanup - Remove Domain Implications

    Morning All, I am working on a customers environment and after an AD health check, it is obvious they have Tombstoning domain controllers from a sub domain that shut down back in Jan (well over the 60 days). This is a single forest 'forest.local', wi