Get local sql server data in sharepoint online
Hi
Can anyone tell, how to get local sql server data in SharePoint online.
Hi Partha,
Are you taking about local content db to SharePoint Online, if yes then there is not direct way to restore your local content db to online instead if you have small data then you can save your site as a template including content and the upload that template
and create site on online using that template.
Below mentioned link might also help:
http://www.dos2web.com/Cloud/index.php/introducing-sharepoint-in-the-cloud/migrating-from-on-premises-to-sharepoint-online
If want to display data from any SQL database into your online site, please follow the below link
http://community.office365.com/en-us/f/148/t/178875.aspx
https://nhutcmos.wordpress.com/tag/show-sql-data-to-sharepoint/
Best Regards,
Brij K
Similar Messages
-
CLR to get the SQL Server Data into .CSV File
Hi,
I transformed 10 columns 1000 rows from the source table to 1 column 1000 rows in the destination table by making the comma separated columns ( Just like ..
Insert into DestinationTable
SELECT col1+','+col2 ....
FROM SourceTable
Then I want to take this column into CSV file.
I dont have the rights to command shell.
I heard that we may use CLR procedure for this. Can someone throw light?using System;
using System.IOM
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using Microsoft.SqlServer.Server;
public class ExportFileClass {
[Microsoft.SqlServer.Server.SqlProcedure]
public static void export_file()
using (SqlConnection connection = new SqlConnection(
"context connection=true"))
connection.Open();
// Operation to open file goes here.
SqlCommand command = new SqlCommand("SELECT col FROM YourTable");
// Consume result set and write rows.
Build this from the command line:
sn -k keypair.snk
csc /target:library /keyfile:keypair.snk exportfile.cs
Then run in SQL Server (assuming that the files are in C:\temp on the SQL
Server machine:
[sql]
USE master
go
-- To be able to create an external-access assembly, we need to load
-- the key, the assembly is signed with. The key needs a password, but we
-- don't need to know the password.
DECLARE @sql nvarchar(MAX),
@password char(40)
SELECT @password = convert(char(36), newid()) + 'Ab4?'
SELECT @sql = 'CREATE ASYMMETRIC KEY slog_loopback FROM FILE = ' +
'''C:\temp\keypair.snk'' ' +
'ENCRYPTION BY PASSWORD = ''' + @password + ''''
PRINT @sql
EXEC(@sql)
-- And then a login to carry the permission.
CREATE LOGIN exportfile$asymkey FROM ASYMMETRIC KEY ExportFile
GRANT EXTERNAL ACCESS ASSEMBLY TO exportfile$asymkey
go
-- Now we can go back to our regular database and create the assembly.
USE youddatabase
go
CREATE ASSEMBLY ExportFile FROM 'C:\temp\exportfile.dll'
WITH PERMISSION_SET = EXTERNAL_ACCESS
go
CREATE PROCEDURE ExportFile AS
EXTERNAL NAME ExportFile.ExportFileClass.export_file
[sql]
It is likely that you will have to do ask your DBA to do things in the
master database.
Erland Sommarskog, SQL Server MVP, [email protected] -
The error below makes absolutely no sense! I'm using Enterprise Core...yet I'm being told I can't use remote data sources:
w3wp!library!8!03/05/2015-19:08:48:: i INFO: Catalog SQL Server Edition = EnterpriseCore
w3wp!library!8!03/05/2015-19:08:48:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedException: , Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedException: The feature: "The edition of Reporting
Services that you are using requires that you use local SQL Server relational databases for report data sources and the report server database." is not supported in this edition of Reporting Services.;
Really? This totally contradicts the documentation found here:
https://msdn.microsoft.com/en-us/library/ms157285(v=sql.110).aspx
That article says remote connections are completely supported.
ARGH! Why does this have to be so difficult to setup?!?Hi jeffoliver1000,
According to your description, you are using Enterprise Core edition and you are prompted that you can’t use remote data sources.
In your scenario, we neither ignore your point nor be doubt with what you say. But actually we have met the case before that even though the SQL Server engine is Enterprise but the reporting services is still standard. So I would recommend you to find the
actual edition of reporting services you are using. You can find Reporting Services starting SKU in the Reporting Service logs ( default location: C:\Program Files\Microsoft SQL Server\<instance name>\Reporting Services\LogFiles). For more information,
please refer to the similar thread below:
https://social.technet.microsoft.com/Forums/en-US/f98c2f3e-1a30-4993-ab41-acbc5014f92e/data-driven-subscription-button-not-displayed?forum=sqlreportingservices
By the way, have you installed the other SQL Server edition before?
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
No visibility of local SQL Server instance when configuring ODBC data source
I am setting up an app. requiring ODBC access to a SQL Server DB using a Windows Server 2008 R2 OS on a VM, with a local SQL Server 2014 instance. When configuring either a new user or system ODBC DSN, using the ODBC Driver 11 for SQL Server
(version 2014.120.2008.08), the dropdown list of servers is empty. How do I get it to see the local SQL Server instance?For the local default instance, just enter "." or "(local)" for the server name. For a named instance, the SQL Server Browser service needs to be running to enumerate the named instances automatically but you can still type the
instance name.
Dan Guzman, SQL Server MVP, http://www.dbdelta.com -
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 -
SQL Server Reporting Services SharePoint Integrated mode - Power View is not supported
Hi there,
My environment is the following:
SharePoint Server 2013
SQL Server 2012 SP1 Enterprise edition
I am getting the following message when trying to open BISM item with PowerView icon:
"The feature: "Power View" is not supported in this edition of Reporting Services."
My problem is that the first time I installed SQL Server Reporting Services SharePoint integrated, I used the SQL Server 2012 Standard edition ISO. But then I learned that Power View is only available with Enterprise and BI editions. So I uninstalled Reporting
Services Add-in from Control Panel, Reporting Services from the installation media and deleted the three Reporting DBs in the SharePoint DB server.
Then I used SQL Server 2012 SP1 Enterprise media to install again Reporting Services but not sure why I am still getting the message:
"The feature: "Power View" is not supported in this edition of Reporting Services."
Anyone can advice me what could be the problem? Maybe I have not complete deleted the previous SQL Server Reporting Service Share Point integrated mode from the previous installation? What would be the proper way to uninstall Reporting Services?
Any help will be welcome.
Thanks and best regards,
JossHi Joss,
I am in the same situation,
SQL Server was installed in the standard mode because of that the powerview option is not working.
I have changed teh edition using maintenance --> upgrade edition. the sql server components like DB engine, SSAS and integration services are now showing in enterprise edition. The reporting services are installed from the application end still showing
as the reporting services are standard.
we reinstalled the reporting services but still persists the issue.
suggest me is there any work around to fix the issue other than reinstalled the whole SQL Server.
Thanks
Ramu -
Can't add datasource for local SQL Server Express
I can't get new datasource to connect to a local SQL Server Express (2008).
On SSE, I enabled non-NTLM authentication, created an account specifically for CFServer, and was able to log into SQL Server through Management Studio. But the datasource still won't connect.
When I enter computerName/SQLServerName for the Server, I get a message saying "...The requested instance is either invalid or not running."
When I enter just SQLServerName, message says "Error establishing socket. Unknown host: SQLServerName."
When I enter (local), I get a message saying "Error establishing socket. Unknown host: (local)"
When I enter 127.0.0.1, message says "Error establishing socket to host and port: 127.0.0.1:1433. Reason: Connection refused: connect"
I don't know why the first is considered invalid, or why the fourth is refusing connection. Am I forgetting something?I found the solution, which doesn't have to do with Coldfusion, but rather with configuring SQL Server for TCP/IP. In case someone else ever stumbles upon this post with a similar problem, I wrote about it at http://forums.devshed.com/ms-sql-development-95/trying-to-connect-to-sql-server-on-localho st-1433t-958558.html.
-
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 -
Hello Team,
I am trying to execute a SSIS package from web page. When i try to do that i am getting following error.
"To run a SSIS package outside of SQL Server data tools you must install <task name used in package> of Integration service or highter."
In my machine Integration Services are installed and its service is also in running state.
Please help me on this.
Thanks,
Ramesh
Thanks, Ramesh ArigeThe SSIS package developed using SSIS 2008 Server R2 and Integrations Services 10.0 is exists in my machine. Is this wrong configuration, please help me on this.
I am using the below code copied from CodeProject
Thank you so much for responding.
Ramesh
Thanks, Ramesh Arige
Which way are you using from the provided blog? Using 1) C# Code or 2) C# and Stored Procedure?
Cheers,
Vaibhav Chaudhari
MCP, MCTS, MCSA (SQL Server 2012) -
System Center 2012 R2 install: SQL server Data file and log file
This might be a dumb question, but I can't find the answer anywhere.
I'm installing a new instance of System Center 2012 R2 on a new server, I'm stuck on the SQL Server data file section. Everytime I put in a path, it says that tne path does not exist. I'm I supposed to be creating some sort of SQL Server
data file and log file before this installation, I didn't get this prompt when installing System Center 2012 SP1 or hen I upgraded from System Center 2012 SP1 to System Center 2012 R2
My SQL is on a different server
Thank you in advancedHave you reviewed the setup.log?
On a side note, why would you put the database file on the same drive as the OS? That defeats the whole purpose of having a remote SQL Server. Why use a remote SQL Server in the first place.
Jason | http://blog.configmgrftw.com -
SQL Server PowerPivot for SharePoint
We already have SQL Server 2012 standard edition installed with SharePoint 2013. We then upgraded SQL Server 2012 to the Endterprise Edition. Now we want to install Powerpivot and we did but it looks like we did or could not previously check the box on
the SQL Server 2012 installation for SQL Server PowerPivot for SharePoint. How would I get this option turned on now that we already have our sharepoint up and running without it? Is it possible?
Michael RobeyNeed to install a new named instance. Please follow the below link
http://blog.cloudshare.com/2012/05/22/step-by-step-guide-to-installing-sharepoint-with-sql-2012-powerpivot-powerview-and-reporting-services/
Regards, Pradyothana DP. Please Mark This As Answer if it solved your issue. Please Mark This As Helpful if it helps to solve your issue. ========================================================== http://www.dbainhouse.blogspot.in/ -
The February 2015 release of SQL Server Data Tools is now available for download
We'd like to announce the availability of the latest February 2015 release of SQL Server Data Tools.
This update is now available for Visual Studio 2012 and 2013. For Visual Studio 2012, use the SQL > Check for Updates tool inside Visual Studio. For Visual Studio 2013, check the Visual Studio update channel (Tools > Extensions and Updates > Updates)
for this update. Alternatively, administrative installs are available via the link below.
Get it here:
http://msdn.microsoft.com/en-us/data/hh297027
What’s New?
Support for the latest Azure SQL Database V12 features
Improved Cross-Platform Schema Comparison
New advanced publish options
Fixes for customer reported issues
For more details, see the SQL Server Data Tools team blog:
http://blogs.msdn.com/b/ssdt/archive/2015/03/03/sql-server-data-tools-and-data-tier-application-framework-update-for-february-2015.aspxWhile we are investigating this issue, you can revert to the November release with the links below. You will need to uninstall your current SSDT.MSI and then run the installer from these ISOs.
Visual Studio 2012 versions:
SSDT_11.1.41025.0_BR.iso
SSDT_11.1.41025.0_CN.iso
SSDT_11.1.41025.0_DE.iso
SSDT_11.1.41025.0_EN.iso
SSDT_11.1.41025.0_ES.iso
SSDT_11.1.41025.0_FR.iso
SSDT_11.1.41025.0_IT.iso
SSDT_11.1.41025.0_JA.iso
SSDT_11.1.41025.0_KO.iso
SSDT_11.1.41025.0_RU.iso
SSDT_11.1.41025.0_TW.iso
Visual Studio 2013 versions:
SSDT_12.0.41025.0_BR.iso
SSDT_12.0.41025.0_CN.iso
SSDT_12.0.41025.0_DE.iso
SSDT_12.0.41025.0_EN.iso
SSDT_12.0.41025.0_ES.iso
SSDT_12.0.41025.0_FR.iso
SSDT_12.0.41025.0_IT.iso
SSDT_12.0.41025.0_JA.iso
SSDT_12.0.41025.0_KO.iso
SSDT_12.0.41025.0_RU.iso
SSDT_12.0.41025.0_TW.iso -
Association rule in SQL Server Data Mining
I have been working on a problem on association rules in SQL Server Data Tools (Visual Studio 2008) for quite a while but have not yet been able to figure out the solution.
The problem is: I have a table named Sales_history in my SQL database. This table has following columns: CustomerID, ItemID, Month (from May2012 to April 2013), QtyShipped. I am looking to find association between Items and i want to provide recommendation
to the Customer (In this case CustomerID) based on their purchases.
Note: there are around 630 customers and about 34000 products in my table.
My approach:
I marked History_Table as both Key and nested. And in the Key, i checked CustomerID as input and Key whereas in nested, i checked ItemId as Key, input and Predict.
When i run the model, i get a solution but i am not sure if i am configuring it right. Also i am not sure how i can write prediction join query to generate Item recommendations . I am really struggling with
this problem, eagerly waiting for the reply. Thank you.Hi Tatyana,
Thank you so much for your reply. I have now been able to create the data mining model using association rule and by writing a DMX query, i am able to generate the item recommendations to be given to customers for items they have purchased. However, i have
noticed one thing that in the DMX query, it gives the same item recommendation for any item i put inside the query.
Also, if i put any item in the DMX query from the generated list of recommended items, the output of that query also shows the item that is inputted inside the query.
Here is the query, that i am writing to generate item recommendations
SELECT predictassociation (CrossSellingModelV3.[Ztb Customer Item v3],INCLUDE_STATISTICS,5)
FROM CrossSellingModelV3
NATURAL PREDICTION JOIN
(SELECT
(SELECT '17IS56126' as m )
AS Ms)
AS t
What can be the possible reason behind this? Is this something related to the kind of data i have? In my data, there are 632 distinct customers and 34000 distinct products.
If i execute this query in management studio.
select customer_CD, COUNT(Item_CD) from ztb_Sales_History
group by customer_CD
order by 2 desc
the output shows that there are some customers who have bought just 1 item and also there are customers who have bought 2400 items. i mean the range is very high. -
SQL Server Data Tools - for visual studio 2013
Hi
I have recently installed Visual Studio 2013 and need to install the SQL Server Data Tools too, as I have done in Visual Studio 2012, but I can not find the software, where can I get it?
thanks
MsdnMezzoHi,
I hope you serve.Regards
SQL Server Data Tools for Visual Studio 2013 - 12.0.40403.0
Portuguese (Brazil)
http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/BR/SSDTSetup.exe
Chinese (PRC)
http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/CN/SSDTSetup.exe
German
http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/DE/SSDTSetup.exe
English (United States)
http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/EN/SSDTSetup.exe
Spanish
http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/ES/SSDTSetup.exe
French
http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/FR/SSDTSetup.exe
Italian
http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/IT/SSDTSetup.exe
Japanese
http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/JA/SSDTSetup.exe
Korean
http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/KO/SSDTSetup.exe
Russian
http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/RU/SSDTSetup.exe
Chinese (Taiwan)
http://download.microsoft.com/download/2/A/4/2A4211D0-AA9B-4496-A9D4-48CDBED5C25C/TW/SSDTSetup.exe -
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
-
I set up a sync account to sync between my former laptop (PC) but have since changed to a new one (Mac) and wish to sync my iPhone with the new one. I would like to set up the new sync account using the same e-mail address as the old account, but whe
-
Import excel data from OWB10.2
I wanted to import excel data into OWB 10gr2. So i have followed the steps in the attached link. But i cannot perform the operations from step 6 in OWB 10rR2. In OWB10.2 how could i create a new database link. Inorder to create a new module below ODB
-
Table not showing correctly in IE but ok in other browsers
The following code works in most browsers but not so well in IE, there seems to be an extra block of css shading in the last box in the row. this is what we really want removed. has anyone got any ideas how the issue IE can be fixed. thanks in advanc
-
Dll issues after deploying application Equitrac Express Client 4.2.1
We have deployed .msi application using command following cmd /c xcopy "Equitrac Express Client.msi" "c:\" /E /C /R /H /K /Y&msiexec.exe /i "c:\Equitrac Express Client.msi" EQCASNAME="EQUITRAC-CAS" EQLANGUAGE="en" ADDLOCAL="Common,DRC,DesktopPrinting
-
Products not copied from Sales Quotation to Service Order
Hi All, I am trying to create a Service Quotation as a follow up to a Sales order. There are multiple line items in the Sales Order - ex: 1 sales item and 1 service item. I want to create a service order as a follow up to the sales order and want the