ASP and SQL Server Database

My AW7 pieces send user data to asp pages which relay the
data on to a SQLServer 2000 database. All works well with one
exception: when a new record is created, any spaces in the string
containing the user's name are deleted.
When AW7 sends the variable User_Name="John Doe" to the asp
page, it issues an SQL ADD command. The result: the SQLServer table
that receives the data displays the name JohnDoe. What might cause
the space to be deleted?
The asp page contains this code:
<%@ Language=VBScript %>
<%
Option Explicit
Response.expires = 0
dim conn, SQL, strConn, strSite, strUserName, strUserID,
ProcApproach, Rqmts1, Rqmts2, Rqmts3, Rqmts4, Rqmts5
dim CorT1, CorT2, CorT3, CorT4, CorT5, Audit1, Audit2,
Audit3, Audit4, Audit5, RoleMgrs1, RoleMgrs2, RoleMgrs3, RoleMgrs4,
RoleMgrs5
dim RoleMgrs6, RoleMgrs7, RoleMgrs8, ScoreTotal,
ModComplIntro, QComplProcApproach, QComplRqmts, QComplCorT,
QComplAudit, QComplRoleMgrs
'Get data from AW. IIS examples recommend the HTMLEncode
'method of the ASP Server object but the method doesn't work
w/ AW.
'Use Request.Form method.
strSite=Request.Form("Site")
strUserName=Request.Form("User_Name")
strUserID=Request.Form("User_ID")
ProcApproach=Request.Form("Proc_Approach")
Rqmts1=Request.Form("Rqmts_1")
Rqmts2=Request.Form("Rqmts_2")
Rqmts3=Request.Form("Rqmts_3")
Rqmts4=Request.Form("Rqmts_4")
Rqmts5=Request.Form("Rqmts_5")
CorT1=Request.Form("CorT_1")
CorT2=Request.Form("CorT_2")
CorT3=Request.Form("CorT_3")
CorT4=Request.Form("CorT_4")
CorT5=Request.Form("CorT_5")
Audit1=Request.Form("Audit_1")
Audit2=Request.Form("Audit_2")
Audit3=Request.Form("Audit_3")
Audit4=Request.Form("Audit_4")
Audit5=Request.Form("Audit_5")
RoleMgrs1=Request.Form("RoleMgrs_1")
RoleMgrs2=Request.Form("RoleMgrs_2")
RoleMgrs3=Request.Form("RoleMgrs_3")
RoleMgrs4=Request.Form("RoleMgrs_4")
RoleMgrs5=Request.Form("RoleMgrs_5")
RoleMgrs6=Request.Form("RoleMgrs_6")
RoleMgrs7=Request.Form("RoleMgrs_7")
RoleMgrs8=Request.Form("RoleMgrs_8")
ScoreTotal=Request.Form("Score_Total")
ModComplIntro=Request.Form("Mod_Compl_Intro")
QComplProcApproach=Request.Form("Q_Compl_ProcApproach")
QComplRqmts=Request.Form("Q_Compl_Rqmts")
QComplCorT=Request.Form("Q_Compl_CorT")
QComplAudit=Request.Form("Q_Compl_Audit")
QComplRoleMgrs=Request.Form("Q_Compl_RoleMgrs")
'Build SQL INSERT command.
SQL="INSERT INTO User_Data_TS VALUES ('" & strSite &
"','" & strUserName & "','" & strUserID & "',"
SQL=SQL & ProcApproach & "," & Rqmts1 & ","
& Rqmts2 & "," & Rqmts3 & "," & Rqmts4 &
"," & Rqmts5 & ","
SQL=SQL & CorT1 & "," & CorT2 & "," &
CorT3 & "," & CorT4 & "," & CorT5 & ","
SQL=SQL & Audit1 & "," & Audit2 & "," &
Audit3 & "," & Audit4 & "," & Audit5 & ","
SQL=SQL & RoleMgrs1 & "," & RoleMgrs2 & ","
& RoleMgrs3 & "," & RoleMgrs4 & "," & RoleMgrs5
& "," & RoleMgrs6 & "," & RoleMgrs7 & "," &
RoleMgrs8 & "," & ScoreTotal & ","
SQL=SQL & "'" & ModComplIntro & "','" &
QComplProcApproach & "','" & QComplRqmts & "','" &
QComplCorT & "','" & QComplAudit & "','" &
QComplRoleMgrs & "');"
'Create a connection object which opens a connection to the
server
'Establish a link to the SQL Server database with strConn
'Use the Execute method to send the SQL query to database
'Close recordset and db connection as early as possible
strConn="Provider=sqloledb; Data Source=BUSPC\QS; Initial
Catalog=ISO_TS; User ID=sa; Password=xxxxx"
set conn=Server.CreateObject("ADODB.Connection")
conn.open strConn
conn.Execute(SQL)
conn.close
set conn = nothing
%>
The SQLServer table uses the character data type for the
User_Name variable.
Thanks.
Jim

Seems like I have seen this before, but I can't recall what
caused it. Try
URL Encoding everything before you send it using the
URLEncode() function.
HTH;
Amy
"James_101" <[email protected]> wrote in
message
news:[email protected]...
> My AW7 pieces send user data to asp pages which relay
the data on to a
> SQLServer 2000 database. All works well with one
exception: when a new
> record
> is created, any spaces in the string containing the
user's name are
> deleted.
>
> When AW7 sends the variable User_Name="John Doe" to the
asp page, it
> issues an
> SQL ADD command. The result: the SQLServer table that
receives the data
> displays the name JohnDoe. What might cause the space to
be deleted?
>
> The asp page contains this code:
>
> <%@ Language=VBScript %>
> <%
> Option Explicit
> Response.expires = 0
>
> dim conn, SQL, strConn, strSite, strUserName, strUserID,
ProcApproach,
> Rqmts1,
> Rqmts2, Rqmts3, Rqmts4, Rqmts5
> dim CorT1, CorT2, CorT3, CorT4, CorT5, Audit1, Audit2,
Audit3, Audit4,
> Audit5,
> RoleMgrs1, RoleMgrs2, RoleMgrs3, RoleMgrs4, RoleMgrs5
> dim RoleMgrs6, RoleMgrs7, RoleMgrs8, ScoreTotal,
ModComplIntro,
> QComplProcApproach, QComplRqmts, QComplCorT,
QComplAudit, QComplRoleMgrs
>
> 'Get data from AW. IIS examples recommend the HTMLEncode
> 'method of the ASP Server object but the method doesn't
work w/ AW.
> 'Use Request.Form method.
>
> strSite=Request.Form("Site")
> strUserName=Request.Form("User_Name")
> strUserID=Request.Form("User_ID")
> ProcApproach=Request.Form("Proc_Approach")
> Rqmts1=Request.Form("Rqmts_1")
> Rqmts2=Request.Form("Rqmts_2")
> Rqmts3=Request.Form("Rqmts_3")
> Rqmts4=Request.Form("Rqmts_4")
> Rqmts5=Request.Form("Rqmts_5")
> CorT1=Request.Form("CorT_1")
> CorT2=Request.Form("CorT_2")
> CorT3=Request.Form("CorT_3")
> CorT4=Request.Form("CorT_4")
> CorT5=Request.Form("CorT_5")
> Audit1=Request.Form("Audit_1")
> Audit2=Request.Form("Audit_2")
> Audit3=Request.Form("Audit_3")
> Audit4=Request.Form("Audit_4")
> Audit5=Request.Form("Audit_5")
> RoleMgrs1=Request.Form("RoleMgrs_1")
> RoleMgrs2=Request.Form("RoleMgrs_2")
> RoleMgrs3=Request.Form("RoleMgrs_3")
> RoleMgrs4=Request.Form("RoleMgrs_4")
> RoleMgrs5=Request.Form("RoleMgrs_5")
> RoleMgrs6=Request.Form("RoleMgrs_6")
> RoleMgrs7=Request.Form("RoleMgrs_7")
> RoleMgrs8=Request.Form("RoleMgrs_8")
> ScoreTotal=Request.Form("Score_Total")
> ModComplIntro=Request.Form("Mod_Compl_Intro")
> QComplProcApproach=Request.Form("Q_Compl_ProcApproach")
> QComplRqmts=Request.Form("Q_Compl_Rqmts")
> QComplCorT=Request.Form("Q_Compl_CorT")
> QComplAudit=Request.Form("Q_Compl_Audit")
> QComplRoleMgrs=Request.Form("Q_Compl_RoleMgrs")
>
> 'Build SQL INSERT command.
>
> SQL="INSERT INTO User_Data_TS VALUES ('" & strSite
& "','" & strUserName &
> "','" & strUserID & "',"
> SQL=SQL & ProcApproach & "," & Rqmts1 &
"," & Rqmts2 & "," & Rqmts3 & ","
> &
> Rqmts4 & "," & Rqmts5 & ","
> SQL=SQL & CorT1 & "," & CorT2 & ","
& CorT3 & "," & CorT4 & "," & CorT5 &
> ","
> SQL=SQL & Audit1 & "," & Audit2 & ","
& Audit3 & "," & Audit4 & "," &
> Audit5 &
> ","
> SQL=SQL & RoleMgrs1 & "," & RoleMgrs2 &
"," & RoleMgrs3 & "," & RoleMgrs4
> &
> "," & RoleMgrs5 & "," & RoleMgrs6 & ","
& RoleMgrs7 & "," & RoleMgrs8 &
> "," &
> ScoreTotal & ","
> SQL=SQL & "'" & ModComplIntro & "','" &
QComplProcApproach & "','" &
> QComplRqmts & "','" & QComplCorT & "','"
& QComplAudit & "','" &
> QComplRoleMgrs
> & "');"
>
> 'Create a connection object which opens a connection to
the server
> 'Establish a link to the SQL Server database with
strConn
> 'Use the Execute method to send the SQL query to
database
> 'Close recordset and db connection as early as possible
>
> strConn="Provider=sqloledb; Data Source=BUSPC\QS;
Initial Catalog=ISO_TS;
> User
> ID=sa; Password=xxxxx"
> set conn=Server.CreateObject("ADODB.Connection")
> conn.open strConn
>
> conn.Execute(SQL)
>
> conn.close
> set conn = nothing
>
> %>
>
> The SQLServer table uses the character data type for the
User_Name
> variable.
>
> Thanks.
>
> Jim
>

Similar Messages

  • Migrating an Asp and SQL Server Application to ASP with Oracle 9i

    Dear All,
    We have an ASP + SQL Server 2000 application and want to use Oracle 9i database instead. I wanted to know what to use - whether oo40 or ADO and the pros and cons. Also if you know links to useful articles and sample codes for the same, please send them to me. Any help in this regard is highly appreciated.
    Thanks and Regards
    Suraj

    Assuming you have a reasonably functional ASP page using ADO to connect to SQL Server, you probably have developers & infrastructure in place that are comfortable using ADO. Because of this, I would advise staying with ADO when you migrate to Oracle.
    If you were going to implement a brand new application and didn't want the option to migrate to a different database, I'd suggest using OO4O. OO4O would give you the ability to use more of the Oracle database functionality (i.e. objects, etc) and would probably a bit faster than ADO. Of course, the drawback is that it's a Windows & Oracle-only API.
    Justin

  • Oracle and SQL Server Database Link errors

    I am having following error messages while setting up the ODBC connection. I want to access SQL Server tables from within Oracle8i. I have followed all the instruction of Oracle Generic Connectity document and have tested ODBC connection with ODBCPING as well as with TNSPING. Have created Database Link also within Oracle for SQL Server. But when I access the SQL Server table from within Oracle I get the following error messages.
    ORA-12500: TNS:listener failed to start a dedicated server process
    Could any body suggestion the solution please.
    Thanks and regards,
    Ghulam Mallah

    There is a Heterogenous Services/ Generic Connectivity forum that is probably going to have a lot more people familiar with these issues than you'll find in this forum. I would suggest posting over there.
    Justin

  • Access and SQL Server Database Developer

    This may be a silly question, but I want to make sure I'm correct. I have a query I created in SQL Server Express 2008 R2 which created a file with the sql extension.
    I'm using Access 2010 and I want to link the this sql file with the extension of sql in Access.  I can link to tables and views from SQL Server and able to view it in Access, but I can't open the sql file from Access.  I'm thinking I can only
    view tables and views in SQL Server from Access?
    If that's the case can someone explain what I doing wrong when I try to care a view with a filter and sort:
    This is the error message is get:
    Msg 1033, Level 15, State 1, Procedure VideosListFilter, Line 7
    The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP or FOR XML is also specified.
    use Videos;
    go
    create view Inventory.VideosListFilter
    as
    select Type, VideoName
    from Inventory.Videos
    where Type <> 'xxxx'
    and Type <> 'DVD'
    order by Type desc , VideoName asc
    Hope someone can help?

    The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP or FOR XML is also specified.
    Hello Xavier,
    in MS Access you can use an ORDER BY clause in a view without any restriction; but not in SQL Server, here we have several restriction; even because an ORDER BY in a view don't make sense! You have to use a
    TOP clause like:
    create view Inventory.VideosListFilter
    as
    select TOP 100 PERCENT Type, VideoName
    from Inventory.Videos
    where Type <> 'xxxx'
    and Type <> 'DVD'
    order by Type desc , VideoName asc
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Converting a SQLite database to a SQL Server database

    Hi
    I have a SQLite database. I want to convert it to SQL Sever 2005 database. Can u pls guide me how to do it?
    Imalka

    Hi
    There are several known tools for converting between SQLite database and SQL Server database. I id not check them all but you can get more information on each using Google, and then choose the one that fit your needs
    1. Convert SQL Server DB to SQLite DB
    http://www.codeproject.com/Articles/26932/Convert-SQL-Server-DB-to-SQLite-DB
    Written by, liron.levi, from Israel
    * Open source & free
    2. SQLite Manager 0.8.1
    https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/
    Written by, by lazierthanthou
    * This is Firefox free add-on (I ont think that they publish the source code)
    3. RazorSQL
    http://www.razorsql.com/index.html
    4.  MDB Tools project
    http://mdbtools.sourceforge.net/
    * Open source (LGPLv2) & Free
    5. You can use SSIS to import to/from SQL Server
    [Personal Site] [Blog] [Facebook]

  • Create a visual web part which get data from excel sheet and import it into sql server database in sharepoint 2010 (development)

    Hi,
    I want to create a visual webpart which will read data from excel sheet and import it in to sql server database.(using sharepoint development)
    I want to do it using visual webpart.
    Please help to solve the issue.
    Thanks in advance!
    Regards
    Rajni

    Hi  Rajni,
    Microsoft.Office.Interop.Excel assembly provides class to read excel file data, in your web part solution, reference the assembly, and following blog contains samples about how to read the excel file data,
    and import it to SQL  database.
    1.Create a Visual Web Part Project:Create
    Visual Web Parts in SharePoint 2010
    2.Read the excel workbook by using SPFile class:
    http://alancejacob.blogspot.in/2012/06/read-data-from-excel-file-and-insert-in.html
    http://stackoverflow.com/questions/14496608/read-excel-file-stored-in-sharepoint-document-library
    3.Export the excel workbook to SQL Server:
    http://www.c-sharpcorner.com/UploadFile/99bb20/import-excel-data-to-sql-server-in-Asp-Net/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to view the login log in window NPS after login cisco switch and without SQL server database

    how to view the login log in window NPS after login cisco switch and without SQL server database
    in summary 
    there is only log with event id 4400
    A LDAP connection with domain controller XCPAWS20.cyberport.noc for domain NOC2 is established.

    Hi adil,
    For your issue, you can create a custom security token service (STS) and then set up a trust relationship between a SharePoint 2010 farm and the custom STS.
    For more information, you can refer to the articles:
    http://forums.asp.net/t/1335229.aspx?Sharing+Authentication+Ticket+Between+ASP+NET+and+Sharepoint
    https://msdn.microsoft.com/en-us/library/office/ff955607(v=office.14).aspx
    http://www.paraesthesia.com/archive/2011/02/01/working-with-windows-identity-foundation-in-asp-net-mvc.aspx/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Is it possible to have different authentication mode for SQL Server Database Engine and corresponding SQL Server instance?

    Hi,
    I have installed the x64 SQL Server 2008 R2 Express with default settings and run MBSA 2.3 (using default settings too). It shows three SQL Server instances: MSSQL10_50.SQLEXPRESS, SQLEXPRESS and SQLEXPRESS (32-bit). For the first, authentication
    mode is Windows, for the rest two - mixed. Here https://social.msdn.microsoft.com/Forums/sqlserver/en-US/03e470dc-874d-476d-849b-c805acf5b24d/sql-mbsa-question-on-folder-permission?forum=sqlsecurity question
    about such multiple instances was asked and the answer is that "MSSQL10.TEST_DB
    is the instance ID for the SQL Server Database Engine of the instance, TEST_DB", so in my case, it seems that MSSQL10_50.SQLEXPRESS is the instance ID for SQL Server Database Engine  of the SQLEXPRESS instance.
    I have two questions:
    1) How can it be that SQL Server DB Engine instance has different authentication mode than corresponding SQL Server Instance?
    2) Why 32-bit instance reported although I installed only 64-bit version?
    Also, this https://social.technet.microsoft.com/Forums/security/en-US/6b12c019-eaf0-402c-ab40-51d31dce968f/mbsa-23-reporting-sql-32bt-instance-is-running-in-mixed-mode-when-it-is-set-to-integrated?forum=MBSA question seems to be related to this
    issue, but there is no answer :(.
    Upd: Tried on clean Windows 8 installation and Windows 7 with the same result.

      Because I DO NOT want the three people who will be having access to the production SQL Server to also have access to the primary host ProductionA.  Since I have to allow them to RDC into the box to manage the SQL Server, I figure why not create
    a separate VM for each one of them and they can RDC into those instead.
    Does this make any sense?
    Any tips are greatly appreciated.  The main reason for doing this is because the three people who will be accessing the box, I need to isolate each one of them and at the same time keep them off of the primary ProductionA.
    Thanks for your help.
    M
    Hello M,
    Since you dont want the 3 guys to have access to Production machine A.You can install SQL Server client .By client i mean SQL server management studio(SSMS) on there local desktop and then create login for them in SQL Server.Open port on which your SQL server
    is running for three of the machines so that they can connct.Now with SSMS installed on each machine each can connect to SQL server from there own machine.
    I would also like you to be cautious with giving Sysadmin privilege to all three of them ,first please note down what task they would do and then decide what rights to be provided.
    Your option will also work but you need to create 3 VM for that .Which is more tedious task.
    Hope this helps
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • I want to use the SQL Toolkit of NI and SQL Server as my databasis on a server. Do I need to install a client in each computer I want to handle the data into SQL tables or I need only a ODBC driver?

    I want to use the SQL Toolkit of NI and SQL Server as my databasis on a server. Do I need to install a client in each computer I want to handle the data into SQL tables or I need only a ODBC driver?

    You only need the ODBC driver on each computer. If you are distributing the SQL Toolkit app as an executable and do not install the whole toolkit on each computer, you'll need the SQL Toolkit support files. This is about a dozen files. You can get the list at http://digital.ni.com/public.nsf/websearch/b814be005f9da9258625658700550c75?OpenDocument.

  • Compare methods in C # to connect to SQL Server database in terms of speed,quality and functionality.

    Please compare
    methods in C # to connect to SQL Server
    database (for example,
    3-tier architecture of traditional and 
    entity Framework(linq to entity or linq to sql object model)
    and Linq to SQL) in terms of speed, quality and functionality
    to give me tips.
    Thank you.
    Mojtaba Malakouti.

    That means we need to compare and post the results here?
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Database Adapter and SQL Server procedure issue

    Hello,
    I am using Jdev 11.1.1.7.0 and SQL Server 2005.
    In the Database Adapter configuration wizard, Specify Stored Procedure step, I choose the “GEACupax” schema and got the following error after a click on “Procedure Browse” button:
    com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'GEACUPAX.INFORMATION_SCHEMA.SCHEMATA'.
    The command Database Adapter tried to execute was:
    (from jdev log:) select schema_name from GEACUPAX.INFORMATION_SCHEMA.SCHEMATA order by schema_name;
    Note, the schema name has changed to uppercase. I think that is the problem. If I try this query in SQLDeveloper, it returns the same error. I can fix it changing the schema name to “GEACupax”. The case matters.
    Any ideas?
    Leandro.

    Vijay,
    Thanks for you reply.
    I figure out a related bug:
    Bug 12859472: Cannot browse store procedure in case-sensitive MS SQL Database
    There are two possible workarounds:
    1. Use a database name with capital letters
    2. Do not use stored procedures, but access the tables directly.
    The notes on the Bug ticket describes that the issue would be scheduled to be fixed in PS7 which is 11.1.1.8.
    Cheers!
    Leandro.

  • What are the Basic Differences between Oracle and  MS-SQL server Database?

    Hello,
            anybody pls Guide me about the Differences between Oracle and MS-SQL server Database.and also IBM Databases also
    Regards,
    Balaram

    SQL Server only works on Windows-based platforms, including Windows 9x, Windows NT, Windows 2000 and Windows CE.
    In comparison with SQL Server , OracleDatabase supports all known platforms, including Windows-based platforms, AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, Linux Intel, Sun Solaris and so on.
    The SQL Server  advantages:
    SQL Server  holds the top TPC-C performance and price/performance results.
    SQL Server  is generally accepted as easier to install, use and manage.
    The Oracle  Database advantages:
    Oracle  Database supports all known platforms, not only the Windows-based platforms.
    PL/SQL is more powerful language than T-SQL.
    More fine-tuning to the configuration can be done via start-up parameters.
    Samrat

  • Database engine services and sql server replication failed in installation

    hi im trying to setup sql server on my laptop but it says the 'database engine services' and 'sql server replication' have failed due to some specified module being missing can anyone help me out?
    log file:
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2147467259
      Start time:                    2015-03-17 10:47:47
      End time:                      2015-03-17 11:08:11
      Requested action:              Install
    Setup completed with required actions for features.
    Troubleshooting information for those features:
      Next step for SQLEngine:       Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for Replication:     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
    Machine Properties:
      Machine name:                  SHARI
      Machine processor count:       2
      OS version:                    Future Windows Version
      OS service pack:               
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          32 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                   
    Feature                                  Language            
    Edition              Version         Clustered
      SQL Server 2008      SQLEXPRESS           MSSQL10.SQLEXPRESS             Database Engine Services                
    1033                 Express Edition      10.1.2531.0     No        
      SQL Server 2008      SQLEXPRESS           MSSQL10.SQLEXPRESS             SQL Server Replication                  
    1033                 Express Edition      10.1.2531.0     No        
      SQL Server 2012                                                         
    Management Tools - Basic                 1033                 Express Edition     
    11.0.2100.60    No        
      SQL Server 2012                                                         
    LocalDB                                  1033                
    Express Edition      11.0.2100.60    No        
    Package properties:
      Description:                   Microsoft SQL Server 2012 Service Pack 1
      ProductName:                   SQL Server 2012
      Type:                          RTM
      Version:                       11
      SPLevel:                       0
      Installation location:         c:\efa3a640a9b59ee651913f55719bf3b1\x86\setup\
      Installation edition:          Express
    Product Update Status:
      None discovered.
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      true
      AGTSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Disabled
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSERVERMODE:                  MULTIDIMENSIONAL
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 <empty>
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Manual
      CLTCTLRNAME:                   <empty>
      CLTRESULTDIR:                  <empty>
      CLTSTARTUPTYPE:                0
      CLTSVCACCOUNT:                 <empty>
      CLTSVCPASSWORD:                <empty>
      CLTWORKINGDIR:                 <empty>
      COMMFABRICENCRYPTION:          0
      COMMFABRICNETWORKLEVEL:        0
      COMMFABRICPORT:                0
      CONFIGURATIONFILE:             
      CTLRSTARTUPTYPE:               0
      CTLRSVCACCOUNT:                <empty>
      CTLRSVCPASSWORD:               <empty>
      CTLRUSERS:                     <empty>
      ENABLERANU:                    true
      ENU:                           true
      ERRORREPORTING:                true
      FEATURES:                      SQLENGINE, REPLICATION
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  <empty>
      FTSVCPASSWORD:                 <empty>
      HELP:                          false
      IACCEPTSQLSERVERLICENSETERMS:  true
      INDICATEPROGRESS:              false
      INSTALLSHAREDDIR:              c:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           c:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files (x86)\Microsoft SQL Server\
      INSTANCEID:                    SHARIINSTANCE
      INSTANCENAME:                  SHARIINSTANCE
      ISSVCACCOUNT:                  NT AUTHORITY\Network Service
      ISSVCPASSWORD:                 <empty>
      ISSVCSTARTUPTYPE:              Automatic
      MATRIXCMBRICKCOMMPORT:         0
      MATRIXCMSERVERNAME:            <empty>
      MATRIXNAME:                    <empty>
      NPENABLED:                     0
      PID:                           *****
      QUIET:                         false
      QUIETSIMPLE:                   false
      ROLE:                          AllFeatures_WithDefaults
      RSINSTALLMODE:                 DefaultNativeMode
      RSSHPINSTALLMODE:              DefaultSharePointMode
      RSSVCACCOUNT:                  <empty>
      RSSVCPASSWORD:                 <empty>
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         <empty>
      SECURITYMODE:                  <empty>
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLSVCACCOUNT:                 NT Service\MSSQL$SHARIINSTANCE
      SQLSVCPASSWORD:                <empty>
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           SHARI\Shari Donald
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  true
      TCPENABLED:                    0
      UIMODE:                        AutoAdvance
      UpdateEnabled:                 true
      UpdateSource:                  MU
      X86:                           true
      Configuration file:            C:\Program Files (x86)\Microsoft SQL Server\110\Setup Bootstrap\Log\20150317_104244\ConfigurationFile.ini
    Detailed results:
      Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred during the setup process of the feature.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x80004005
      Error description:             The specified module could not be found.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xEC717F7D%400xC24842DB&EvtType=0xEC717F7D%400xC24842DB
      Feature:                       SQL Server Replication
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x80004005
      Error description:             The specified module could not be found.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xEC717F7D%400xC24842DB&EvtType=0xEC717F7D%400xC24842DB
      Feature:                       SQL Browser
      Status:                        Passed
      Feature:                       SQL Writer
      Status:                        Passed
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files (x86)\Microsoft SQL Server\110\Setup Bootstrap\Log\20150317_104244\SystemConfigurationCheck_Report.htm

    Hello,
    As per the log details shared, installing version is SQL server express. Please go to control panel - add and remove programs and uninstall the
    SQL Server Database Engine Services Instance Features, and also Uninstall all SQL Services.
    Reboot and start the start the installation with RUN as Administrator.
    Thank You.
    Regards, Pradyothana DP. Please Mark This As Helpful if it helps to solve your issue. ========================================================== http://www.dbainhouse.blogspot.in/

  • How to create database link between oracle and SQL Server

    Hello Everyone,
    Here i have Oracle Database 9i and SQL Server 2005 databases.
    I have some tables in sql server db and i want to access from Oracle.
    How to create a database link between these two servers
    Thanks,

    Thanks for Everyone,
    I was struggle with this almost 10 days....
    I created Database link from Oracle to SQL Server
    Now it is fine.........
    Here i am giving my servers configuration and proceedure how i created the db link...@
    Using Generic Connectivity (HSODBC) we can create db link between Oracle and SQL server.
    Machine (1)
    DB Version : Oracle 9.2.0.7.0
    Operating System : HP-UX Itanuim 64 11.23
    IP : 192.168.0.31
    Host : abcdbt
    Machine (2)
    Version : SQL Server 2005
    Operating System : Windows server 2003 x86
    IP : 192.168.0.175
    Host : SQLDEV1
    User/PW : sa/abc@123! (Connect to database)
    Database : SQLTEST (exsisting)
    Table : T (“ T “ is the table existing in SQLTEST database with 10 rows)
    Prerequisites in Machine (2):
    a)     Oracle 10g software
    b)     User account to access SQL Server database (sa/abc@123!)
    c)     Existing SQL Server Database (SQLTEST)
    d) Tables (testing purpose) (T)
    Steps:
    1)     Install Oracle 10.2.0.1 (Only SW,No need of database) *(Machine 2)*
    2)     Create a DSN where your windows Oracle 10g SW resides *(Machine 2)*
    Control panel >> Administrative Tools >> Data Source (ODBC) >> System DSN ADD
    You can follow this link also.....
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    I created DSN as
    DSN name : SQLTEST
    User : SA/abc@123! (Existing user account)
    Host : 192.168.0.175 (machine 2)
    Already I have 1 database in SQL Server with the name SQLTEST
    You can create DSN with different name also (not same as db name also)
    3)     Create a hsodbc init file in $ORACLE_HOME\hs\admin *(Machine 2)*
    Create init<DSN NAME> file
    Ex: initSQLTEST
    Copy inithsodbc to initSQLTEST
    And edit
    initSQLTEST file
    HS_FDS_CONNECT_INFO = SQLTEST    <DSN NAME>*
    HS_FDS_TRACE_LEVEL = OFF*
    save the file....@
    4)     Configure Listener.ora *(Machine 2)*
    LISTENER_NEW =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
    SID_LIST_LISTENER_NEW =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = SQLTEST) *+< Here SQLTEST is DSN NAME >+*
    (ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
    (PROGRAM = hsodbc))
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc) )
    :> lsnrctl start LISTENER_NEW
    5)     Configure tnsname.ora *(Machine 2)*
    SQLTEST11 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = SQLTEST))
    (HS=OK)
    :> tnsping SQLTEST11
    If No errors then conti….
    6)     Configure a file *(Machine 1)*
    Cd $TNS_ADMIN ($ORACLE_HOME/network/admin)
    Create a file
    $ vi TEST_abcdbt_ifile.ora
    something=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST =192.168.0.175) (PORT=1525))
    (CONNECT_DATA=
    (SID=SQLTEST))
    (HS=OK)
    $ tnsping something
    $ sqlplus system/manager
    Your connected to Oracle database *(machine 1)*
    create database link xyz connect to “sa” identified by “abc@123!” using ‘SOMETHING’;
    select * from t@xyz;10 rows selected.
    Thanks,
    Edited by: ram5424 on Feb 10, 2010 7:24 PM

  • Developing database views between Oracle and SQL Server tables

    I am on Oracle 10.2, my organization has many SQL Server databases as well and has now made
    SQL server as company standard so many new databases will be developed in SQL Server. It is of course
    not possible to convert all Oracle databases to SQL Server, so a mix environment will exist. Two questions:
    1.     Is it possible to develop database views in Oracle (10g in my case) which join Oracle tables with tables in SQL Server 2008? If yes, how. I have seen some heterogeneous connectivity setup to connect SQL Server to Oracle, but not sure whether it is possible to develop a database view across two databases.
    2.     I know it is not a SQL Server forum, but many DBA’s know both Oracle and SQL Server. Is it possible to develop views in SQL Server (SQL Server 2008 R2 in my case) which join Oracle 10g and SQL Server 2008 tables? I know in SQL Server, there is way to set up linked servers, but do not know whether it is possible to develop views.
    Thanks a lot for your insight.

    You can create views that join local Oracle tables and remote SQL Server tables. I'm pretty sure you can do the reverse as well but I haven't personally done it.
    However, I would be very concerned about the performance you'd get if you created that sort of view. You'd very frequently end up in a situation where Oracle has to pull all the data in the remote table across the database link in order to apply predicates and join the data locally. That could be disastrous from a performance standpoint.
    Justin

Maybe you are looking for

  • NW 6.5 ABENDS

    I have been having frequent ABENDs on NW 6.5 server running appacke2. I applied SP8 in hopes of solving it, but after applying SP8 I got an ABEND yesterday that involving apache2 again. Can anyone tell me what appears to be causing this. See the atta

  • Error in java proxy generation due to xs:choice tag

    Hi all, I'm trying to generate a java proxy in the SAP XI design. The message interface I'm using is based on an external definition which i imported from an xsd file. The problem is that XI doesn't allow me to generate the java proxy because in the

  • WHat I'm sure is a simple problem but not for me...

    Greetings all, I am putting together a simple applet that accesses a MYSQL database, reads all the records out and writes them to the "graphic" screen via the paint method. Everything works fine when I run the applet in a player (Eclipse) but when I

  • Taxware User Exit ECC 6.0

    Moderator message: do not offer points Hi Experts, Working on FYTX0002 user Exit. I am tyin to write code inside the include within a function module EXIT_SAPLFYTX_USER_001. Depending upon some condition i need to decide whether or not to call the Ta

  • RPC Client Access Logs - Throttling Policy

    Trying to get useful information on who is being throttled by a specific policy. Created the policy: New-ThrottlingPolicy -Name LimitMessagesSent -RecipientRateLimit 5 -ThrottlingPolicyScope Organization Enabled RPC Client access logging: <add key="L