Access SQL Server data at time of Windows OS Boot Process
It is possible to access SQL Server data at time of Windows OS Boot Process and before login into Windows.
if anybody any idea on this.
If you think my suggestion is useful, please rate it as helpful.
If it has helped you to resolve the problem, please Mark it as Answer.
Varinder Sandhu www.varindersandhu.in
No, you need to identified before accessing to SQL Server. It is like you try turn on electric cooker before you open the door.
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
Similar Messages
-
Access SQL-Server Data from Oracle 10gXE
Hello,
I want to access sql-server data from oracle 10g XE. I need the same functionality provided by Sql-server by Linked Servers, by which we can query on any data source(oracle, Excel, Access).
do, Oracle 10gXE provide us with same functionality ???
any pointers ???Yes, it does work with Express Edition.
Here is a thread from the XE forum with examples.
Re: Database Link to MS Access
They refer to a MS Access database, but the procedure is the same.
Doug -
Failure Installing SQL Server Data Tools 2012 on Windows 8.1
I am trying to install SQL Server 2012 with SQL Server Data Tools on my laptop with Windows 8.1 standard edition. It fails each time when it gets to the SSDT installation with the same 1935 error, other features still install. The error
text is as follows:
The following error has occurred:
SQL Server Setup has encountered an error when running a Windows Installer file.
Windows Installer error message: An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.4053",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="amd64",type="win32"'. Please
refer to Help and Support for more information. HRESULT: 0x80073715.
Windows Installer file: F:\1033_ENU_LP\x64\setup\x64\SharedManagementObjects.msi
Windows Installer log file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140220_201634\SharedManagementObjects_Cpu64_1.log
Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and continue setup.
For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xDC80C325
I have disabled any antivirus software that may have been interfering and am not sure what else to try. Any assistance on how to resolve this error would be greatly appreciated.Hello,
Please read the following article about the cause of that error:
http://support.microsoft.com/kb/2688946/en-us
I would like to recommend you the following procedure:
http://www.sqlcoffee.com/SQLServer2012_0008.htm
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Grant login Access to Sql Server to a User on Windows 8
Hi!
We have Sql Server installed on Windows 8.1 PC and on this PC, we have multiple Users with Microsoft email accounts. As we just migrated from WIndows 7 to WIndows 8, I am finding it challenging to grant permissions to every User with an account on the PC.
Please I anticipate your reply. ThanksHello,<o:p></o:p>
If those PCs are not part of an active directory domain, and they
are just part of a workgroup of computers, then you need to create SQL Server
logins to provide access to users working from other PCs.<o:p></o:p>
Please read instructions on the following article about how to
create SQL Server logins on SQL Server and use them to access SQL Server
databases.<o:p></o:p>
http://www.codeproject.com/Articles/37274/Working-with-SQL-Server-Logins
Hope this helps.<o:p></o:p>
Regards,<o:p></o:p>
Alberto Morillo
SQLCoffee.com<o:p></o:p> -
Unable to Access SQL Server 2005 Remotedly
Not sure if this is the right forum to post this...
After going through lot of old posts in various forums and changing lot of settings, i'm still not able to access my Server remotely.
This is Windows 2003 Server machine with Sonicwall Firewall, i have allowed Port 1433 in both Firewall and ISA and call is getting through but i'm getting following error msg :-
{"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"}
This machine is also having Sql Server 2000, and the SQL Server 2005 is installed with named instance.
My connection string is :-
"Data Source=192.168.0.1\MYSERVER;Initial Catalog=MyDatabase;Integrated Security=True"
In example above, i'm showing dummy values but actual string is having the actual live IP address and correct named instance and database.
If i use a local address like 192.168.0.1 then i'm able to connect.
My TCP/IP Address in Sql configuration is having my Live IP Address and the port 1433.
Any help will be highly appreciable..i'm still checking on this. i have changed the port now to 1434 and changed in all places.
my connection string is also changed now, so now i'm using :- MYIP\MYSERVER,1434
now i'm getting a different error msg
{"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)"}
this can also be due to firewall or something else is blocking it, i will rechk n post back final answer. -
Errro while installing sql server 2012 express edition on Windows 8 -64 version
Hi,
Im trying to install sql server 2012 express edition on windows 8 machine(64 bit),however im getting same error every time.
The following error has occurred:
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337
i've googled and checked all prerequisite which is already installed.so not finding the reason behind this error.
it would be great if any one can help on resolving this error.
Thanks in advance
Regards
RiteshHi ,
Thanks for help. here is the log summary text
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2068051679
Start time: 2014-02-05 12:30:44
End time: 2014-02-05 12:36:21
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, and then try the setup process again.
Next step for Replication: Use the following information to resolve the error, and then try the setup process again.
Machine Properties:
Machine name: IDEA-PC
Machine processor count: 4
OS version: Future Windows Version
OS service pack:
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID
Feature Language
Edition Version Clustered
SQL Server 2008 R2 MSSQLSERVER MSSQL10_50.MSSQLSERVER Database Engine Services
1033 Developer Edition 10.50.1600.1 No
SQL Server 2008 R2 MSSQLSERVER MSSQL10_50.MSSQLSERVER SQL Server Replication
1033 Developer Edition 10.50.1600.1 No
SQL Server 2008 R2 MSSQLSERVER MSSQL10_50.MSSQLSERVER Full-Text and Semantic Extractions for Search 1033
Developer Edition 10.50.1600.1 No
SQL Server 2008 R2
Management Tools - Basic 1033 Developer Edition
10.50.1600.1 No
SQL Server 2008 R2
Management Tools - Complete 1033 Developer Edition 10.50.1600.1
No
SQL Server 2008 R2
Client Tools Connectivity 1033 Developer Edition 10.50.1600.1
No
SQL Server 2008 R2
Client Tools Backwards Compatibility 1033 Developer Edition 10.50.1600.1 No
SQL Server 2008 R2
Client Tools SDK 1033
Developer Edition 10.50.1600.1 No
SQL Server 2008 R2
Integration Services 1033 Developer Edition
10.50.1600.1 No
Package properties:
Description: Microsoft SQL Server 2012 Service Pack 1
ProductName: SQL Server 2012
Type: RTM
Version: 11
SPLevel: 0
Installation location: c:\b33170cf028067db5b8335d2\x64\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: Disabled
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: false
FEATURES: SQLENGINE, REPLICATION, SNAC_SDK
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\Microsoft SQL Server\
INSTANCEID: SQLFASHION
INSTANCENAME: SQLFASHION
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: *****
SECURITYMODE: SQL
SQLBACKUPDIR: <empty>
SQLCOLLATION: Latin1_General_CI_AI
SQLSVCACCOUNT: NT Service\MSSQL$SQLFASHION
SQLSVCPASSWORD: <empty>
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: idea-pc\lenovo
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: false
TCPENABLED: 0
UIMODE: AutoAdvance
UpdateEnabled: true
UpdateSource: MU
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\ConfigurationFile.ini
Detailed results:
Feature: Database Engine Services
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, and then try the setup process again.
Component name: SQL Server Common Files
Component error code: 2337
Component log file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\sql_common_core_Cpu64_1.log
Error description: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337.
Error help link:
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, and then try the setup process again.
Component name: SQL Server Common Files
Component error code: 2337
Component log file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\sql_common_core_Cpu64_1.log
Error description: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337.
Error help link:
Feature: SQL Client Connectivity
Status: Passed
Feature: SQL Client Connectivity SDK
Status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\SystemConfigurationCheck_Report.htm -
Accessing Sql Server from AS400 Java program
Hi everybody,
I am trying to access Sql Server from an AS400 Java program. I have tried various Sql Server JDBC drivers including the Microsoft one but no luck yet. When i try to compile my Java program (with driver file in the classpath) it gives some errors on the driver jar file and also it throws out lots of unreadable text characters. This gave me a feeling that probably its a character coding issue with the jar file, so i tried ftp the file in binary mode as well as copying through the Operations Navigator. But still compilation is giving the same kind of errors.
Do I need to have some special JDBC Drivers compiled for AS400 specifically. My understanding was that Java is platform independent so any JDBC Type 4 driver will work.
We are running Java 1.3 on the AS400. Any help on this issue would be great.
Thanks
InderThanks for the help. I am writing a Java program after a long time that's why was making that mistake. Now the program gets compiled correctly but on running the program i am getting the following error message:
java 001-0070: Exception JVAB544 not expected
/myjava/test/msbase.jar: 001-0050 Syntax error on Line 1: token ')' not expected
/myjava/test/msutil.jar: 001-0050 Syntax error on Line 1: token ')' not expected
/myjava/test/mssqlserver.jar: 001-0050 Syntax error on Line 1: token ')' not expected
I have no idea what is this error about. Though the same driver files don't give any error when running on a Windows machine.
Thanks -
Hello,
I use Entity Framework code first approach.
My project is working fine with SQL Server. But, I want to access Oracle too. I want to switch SQL Server and Oracle in run time.
I am able to access Oracle using "Oracle.ManagedDataAccess.EntityFramework.dl" in a new project.
But, Is this possible to access SQL Server and Oracle in the same project.
Thanks,
MuruganThis should be possible with a Code-First workflow. In Code-First the database mapping layer is generated at runtime.
David
David http://blogs.msdn.com/b/dbrowne/ -
I am trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.
It verifies the connection and then throws the error:
The request to add or remove features on the specified server failed. The operation cannot be completed, because the server you specified requires a restart.
WSUS Server : Windows Server 2012 R2
Remote SQL Server: 2012 SP1 CU7 hosted on Windows Server 2012 R2
Please let me know if anyone has experienced this issue.We were trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.
It verifies the connection and then throws the error:
The request to add or remove features on the specified server failed. The operation cannot be completed, because the server you specified requires a restart.
Same error even after rebooting the server multiple times.
WSUS Server : Windows Server Standard2012 R2
Remote SQL Server: Windows Server 2012 SP1 CU7 hosted on Windows Server 2012 R2
Event ID 7000:
The Windows Internal Database service failed to start due to the following error:
The service did not start due to a logon failure.
Event ID 7041
The MSSQL$MICROSOFT##WID service was unable to log on as NT SERVICE\MSSQL$MICROSOFT##WID with the currently configured password due to the following error:
Logon failure: the user has not been granted the requested logon type at this computer.
Service: MSSQL$MICROSOFT##WID
Domain and account: NT SERVICE\MSSQL$MICROSOFT##WID
This service account does not have the required user right "Log on as a service."
User Action
Assign "Log on as a service" to the service account on this computer. You can use Local Security Settings (Secpol.msc) to do this. If this computer is a node in a cluster, check that this user
right is assigned to the Cluster service account on all nodes in the cluster.
If you have already assigned this user right to the service account, and the user right appears to be removed, check with your domain administrator to find out if a Group Policy object associated
with this node might be removing the right.
I found following article:
"MSSQL$MICROSOFT##WID service was unable to log on as NT SERVICE\MSSQL$MICROSOFT##WID" error when you install WID in Windows Server 2012
http://support.microsoft.com/kb/2832204/en-us
To work around the issue, use one of the following methods:
Assign the Log on as a service user right to NT SERVICE\ALL SERVICES in the GPO that defines the user right.
Exclude the computer from the GPO that defines the user right.
We moved the SCCM server to OU where no policies were getting applied and then applied the new GPO to that OU. Restarted the server and we were able to install WSUS role.
Regards
PR -
Accessing SQL Server from Oracle
I found an article:
http:www.databasejournal.com/features/oracle/article.php/3442661
It shows how to setup a connection from Oracle to SQL Server.
I am new to Oracle Using SQL Loader and PL/SQL.
I would like to use the SQL Loader in Oracle to load a table in SQL Server. It is my understanding that a ctl file is used and is called by an Oracle application.
I would not have an Oracle application. I would like to use the ctl file to load the SQL Server table. Can someone point me on how to use the ctl file for SQL Server?
Also, in PL/SQL would there be a connection string to connect to SQL Server when accessing a table.
Is there a book or some documentation that would address the above?
Thanks in Advance.that article shows you how to access SQL Server database through Oracle, therefore you have no need to use SQL Loader to load data from SQL Server bcos it can be queried directly by using simple select statement.
If you want to load the data into Oracle just use CREATE TABLE ... AS SELECT ...
in PL/SQL, what you need is the database link.
Cheers,
NH -
We have SSIS installed on a machine that is not part of a cluster but it is accessible by the cluster.
Our job we have running on the cluster is failing with the following error:
Error: 2014-01-31 09:14:37.52 Code: 0xC000F427 Source: SCR - DP1 Connections
Description: To run a SSIS package outside of SQL Server Data Tools you must install SCR - DP1 Connections of Integration Services or higher. End Error
Any advice or information on how to resolve this would be great.
Many Thanks.Hi NessaBella,
Integration Services service is not a cluster-aware service, and does not support failover from one cluster node to another. Therefore, in a clustered environment, Integration Services should be installed and started as a stand-alone service on each node
in the cluster.
Based on the error message, it seems that SSIS is not installed on the cluster node on which the job was running. Although SSIS is installed on a machine that is not part of the cluster and can be accessed by each cluster node, the SSIS service installed
on a remote server cannot be used a cluster node. So, please install the shared feature SQL Server Integration Services on each cluster node. Besides, if certain packages need to run in 32-bit mode in certain jobs and the SQL Server installed is 64-bit version,
you also need to install BIDS/SSDT on the cluster node to get the 32-bit runtime of SSIS.
References:
Integration Services (SSIS) in a Cluster
Loading and Running a Remote Package Programmatically
Regards,
Mike Yin
TechNet Community Support -
Problem accessing Sql server Procedure from Crystal with JDBC driver
I have some Crystal reports using SQL Server procedures, most of them are working very well; however, I have 2 that have problems accessing sql server procedures. These reports are working using OLE DB connection without problem, but when I try to relocate the connection to JDBC Crystal generates an error like that the procedure not return records.
The procedure is working with other products including OLE DB connections from crystal.
What can I do?
Thanks in Advance,
JaimeCI am using:
Crystal report 11 - 11.0.0.1282 and Crystal 2008 = 12.0.0.683
SQL Server 2005 - Microsoft SQL Server Management Studio Express 9.00.4035.00
Windows XP
I have discovered that the procedures create and work temporary tables. In other cases when is working ok, the procedures have not working temporary tables.
Thanks,
Jaime Carrillo -
Hi all,
I realize that this may be a little bit out of the scope of this forum, but I thought I'd ask anyway.
I'm trying to figure out how to select a date in the format mm/dd/yyyy from a SQL Server date/time field. I've browsed the internet on this but haven't found any quick/easy way to do this. Can anyone please help me out here?
Thanks!
-Stephen Spalding
Web Developer
GraybarHi Stephen,
You can use the convert function in sql to change the format of the date time field.
select convert(varchar(13),getdate(),101) gives u the current date in mm/dd/yyyy format.
If you want that in java you can use the SimpleDateFormat class to change the format.
import java.text.Format;
import java.text.SimpleDateFormat;
import java.util.Date;
Date currentDate = null;
Format formatter = null;
String date = "";
currentDate = new Date();
formatter = new SimpleDateFormat("MM/dd/yyyy");
date = formatter.format(currentDate);
This should give in the mm/dd/yyyy format.
But both the results will be in String Format and not datetime.
Hope this will be useful to you.
Regards
Prakash -
HI,
I want to get data on SQL Server from SAP.
What is the procedure to do the above.
Thanks.hi
in the SAP HELP Content,followthe instructions for Tutorial 2: Accessing SQL Server
<u><i><b>also take alook at this presentation</b></i></u>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2e81685c-0701-0010-0eb3-918c6d56783a
Below: is the Tutorial 2 instructions.
In this tutorial you will create a portal component that retrieves and displays information from an MS SQL Server database. Your portal component will display information from the Northwind Categories table in a SAP NetWeaver .NET Table control. You will create a dataset to fill with the data and bind the Table control to this dataset to display data.
Note: using a dataset is one of the data access options, which is not always recommended. You will use a dataset in this tutorial for the simplicity.
To complete this tutorial, you need:
Access to a MS SQL Server with valid permissions for the Northwind sample database
Access to a running portal
A portal user account with administrator's permissions
The tutorial is split into a number of smaller pieces:
Section 1. Creating the SAP Portal Application project
Section 2. Creating and configuring the dataset
Section 3. Adding the SAP NetWeaver Table control and binding it to the data
Section 4. Adding code to fill the dataset and display the data
Section 5. Viewing the component in the portal
Section 1.
=========================================================
Creating the SAP Portal Application Project
On the File menu, point to New, and then click Project.
1. In the New Project dialog box, do the following:
(a)In the Project Types pane, choose Visual C# Projects or Visual Basic Projects.
(b)In the Templates pane, choose SAP Portal Application.
(c)Specify a different name and location, or accept defaults.
(d)Click OK.
A new SAP Portal Application project is created at the specified location. A new portal component named PortalComponent1.ascx is added to your project automatically.
Section 2.
=========================================================
Creating and Configuring the Dataset
Prior to creating a dataset, you need to create and configure the data connection and data adapter.
To create the data connection and data adapter
1. From the Data tab of the Toolbox, drag an SqlDataAdapter object onto your portal component form. Data Adapter Configuration Wizard will help you create both the connection and the adapter.
2. In the wizard, do the following:
2(a)In the Choose Your Data Connection pane, create or select an existing connection to the SQL Server Northwind database.
Important: when you configure the database connection, select the option Use a specific user name and password for server logon information. If your password is not blank, select the Allow to save password checkbox, and then select to Include the password in the connection string, when prompted. Although this is not a recommended practice, we use it in this tutorial for simplicity.
2(b) In the Choose a Query Type pane, select the Use SQL statements option.
2(c) In the Generate the SQL Statements pane, create the following SQL statement:
SELECT CategoryID, CategoryName, Description FROM Categories
If you need to build a different SQL statement, click Query Builder to open the Query Builder dialog box.
2(d) Click Finish.
The wizard adds two objects to your portal component: the SqlConnection1 object containing the database connection information and the SqlDataAdapter1 object containing the data definition.
To generate the dataset
1. From the Data menu, choose Generate DataSet. The Generate Dataset dialog box opens.
Tip: If you do not see the Data menu, click the form; the form must have focus for the menu to appear.
2. Select the New option and name the dataset dsCategories.
3. Select the Categories table in the Choose which table(s) to add to the dataset listbox.
4. Select the Add this dataset to the designer checkbox and click OK.
Visual Studio generates the new dsCategories dataset class and the dsCategories.xsd schema that is added to Solution Explorer. An instance of the new dataset class (dsCategories1) is then added to the form.
Section 3.
=========================================================
Adding the SAP NetWeaver .NET Table and Binding It to The Data
1. From the SAP NetWeaver tab of the Toolbox, drag a Table control onto the portal component.
2. Right-click it to open the Properties box.
3. Set the DataSource property to dsCategories1.
4. Set the DataMember property to Categories.
Section 4.
=========================================================
Adding Code to Fill the Dataset and Display the Data
Although the table is bound to the dataset, the data is not displayed automatically. You must explicitly fill the dataset and bind the table to its data source.
To fill the dataset and display data in the Table control
1. Double-click the form to switch to Code Editor.
2. In the Page_Load event handler, call the data adapter's Fill method, passing it the dataset you want to fill:
[C#]
sqlDataAdapter1.Fill(dsCategories1);
[Visual Basic]
sqlDataAdapter1.Fill(dsCategories1)
3. Call the DataBind method of the Table control to bind it to the dataset:
[C#]
Table1.DataBind();
[Visual Basic]
Table1.DataBind()
4. Save your project.
Section 5.
=========================================================
Viewing the Component in the Portal
Deploy the PAR to the current portal.
In Solution Explorer, right-click the portal component and choose View in Portal.
The table with the list of categories is displayed in the browser.
regards
navjot
reward accordingly
Message was edited by:
navjot sharma -
Error installing SQL Server Data Tools - Business Intelligence for Visual Studio 2013
Hi
I am trying to install SQL Server Data Tools - Business Intelligence for Visual Studio 2013 and am getting the following error
This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package.
I am running
Windows 8.1 x64
SQL Server 2014 Developer Edition x64
Visual Studio 2013 Professional
Any help would be appreciated.
Thanks
Biztalk DeveloperCould you please check if Windows Installer service is running and is in automatic startup mode.
The other thing is, if you’re running an x64-based SQL instance (64-bit), make sure to select “New Instance” on the Installation Type page, and NOT “Add features to an existing instance”.
http://stackoverflow.com/questions/24989187/64-bit-microsoft-sql-server-data-tools
Maybe you are looking for
-
BPM with conditional start not getting triggered
Hi I have developed a BPM which collects a few IDocs with a correlation based on the message content. When triggering the BPM in Development, everything works as intended. (Messages are collected together based on the value of the correlation) After
-
Hi Guys , I have some really frustrated issue. I have 10 cashiers desk with windows 7-64bit that installed with RMS application (point of sale application) also installed with scanner driver/app and printer Epson driver. My issue started when the ca
-
Laptop difficult finding printer on bootcamp imac
Hello ! Thank you very much for your time ! Info: iMac is bootcamp with Windows 7. Printers have been set up and shared on both OSX/Windows on the network. iMac is the main computer. Drivers have been installed on all computers. Problem: Asus Laptop
-
Unable to connect to my network (DHCP issue)
Hello, Here is a description of my issue: My thinkpad T43 (running on XP/SP2) has lost its connectivity to my router (Netgear WGR614) after being connected without an issue for several months. Both wireless and ethernet adapters are unable to reconne
-
As a new Mac user is there a step by step guide for ex PC users
Is there any step by step guides on the basics online for ex Pc users, Its a new experance so need to know basic's such as is my Mac protected by Virous software and if not which is best for Mac, etc,etc,etc. Its a whole differant experance, but look