Reports & Microsoft SQL Server 2012 Express LocalDB support policy
Hello,
Willing to move some databases into Microsoft SQL Server 2012 (2014) Express LocalDB, I have tryed to map some reports on that database.
Using OLE DB SQL Native Client (v11) and SAP CR RunTime SP10 (>SP9), I still have trouble when using this data source:
After drawing some simple reports (standard ones with 2-3 fields from the database):
- VS designer:
+ when "checking database" or "getting a preview" of the report, it always complains about missing tables.
+ when trying to "re-map" tables from one SQL Server 2012 Express LocalDB to another one it fails, complaining about not findind resources.
- Running application (.NET 4.0, 32 or 64-bits):
+ without any change to the report configuration: CR Viewer complains with multiple error codes (17, ...) that it cannot find the tables
+ trying to change the configured database from the report: CR VIewer complains with some more error codes
=> Is Microsoft SQL Server 2012 Express LocalDB now officially supported by CR ?
=> Is changing datasource/database configuraton during execution now officially supported by CR ?
Feel free to provide an any links / howto's / white paper about how managing Microsoft SQL Server 2012 Express LocalDB with SAP CR !
Many thanks in advance.
Regards.
Don,
I did not want you to think that I am not willing to change anything...
The issue is that LocalDB specs (http://msdn.microsoft.com/en-us/library/ms130822(v=sql.110).aspx) are not (seems not) fulfiled by what SAP APIs provide.
Following specs, I need to provide ADO DB/SQL Native Client v11 an "AttachDBFileName" property which, for LocalDB instance, is equal to the DatabaseName property (check below screenshot from MS Mgmt Studio connected to a SQL Server 2012 LocalDB instance).
Moreover, OLEDB discovery provide in CR 2013 UI this same list of "DatabaseName":
When connected, this same CR 2013 UI got the right "view" of connected "MDF-labelled" names:
Moreover, CR connected datasource properties also provide an "initial catalog" (databasename) value with that "MDF-labelled" name:
That is what I saw previously in API dumped objects and what I tryed to reproduce in my code:
As previously explained, after adding tables, I am also beeing able to add fields from those tables in my fresh-new report document:
It fikrst shows results in preview but as soon as I try to refresh / add some more fields / ask CR to "check database" / "change database source", the interface always complain about having "lost" objects:
Site note for Ludek Uher: CR 2013 StandaAlone fresh-new builded reports are not working neither using CR runtime SP10 when opening/updating that report..
So YES, I am OK to change whatever is required but please explain me what to use/put into the "crConnectioninfo.DatabaseName" property for a SQL Express 2012 LocalDB case.
Or leave it as is, LocalDB not being supported by CR ...
(all my reports & c# code are working well while using SQL Express 2012 "classic" (not localdb)).
Thanks again for your time.
Regards.
Similar Messages
-
SQL Server 2012 Express LocalDB parm for keeping unicode char
in developer's windows 8.1 pc, the SQL Server 2012 Express LocalDB does not seem to keep Unicode like \U2221. it get translated to the plain - instead of keeping as
−.
what parameter od I need to setup to make sure it keep such character as isHi fs - ab,
You know that this forum is to discuss the VS IDE, to make this issue clearly, could you share us a screen shot for this issue? Where did you change your localDB with Unicode?
I did some research about it.
LocalDB supports two kinds of instances: Automatic instances and named instances.
•Automatic instances of LocalDB are public. They are created and managed automatically for the user and can be used by any application. One automatic instance of LocalDB exists for every version of LocalDB installed
on the user’s computer. Automatic instances of LocalDB provide seamless instance management. There is no need to create the instance; it just works. This allows for easy application installation and migration to a different computer. If the target machine
has the specified version of LocalDB installed, the automatic instance of LocalDB for that version is available on the target machine as well. Automatic instances of LocalDB have a special pattern for the instance name that belongs to a reserved namespace.
This prevents name conflicts with named instances of LocalDB. The name for the automatic instance is a single v character followed by the LocalDB release version number in the format xx.x. For example, v11.0 represents SQL Server 2012.
•Named instances of LocalDB are private. They are owned by a single application that is responsible for creating and managing the instance. Named instances provide isolation from other instances and can improve performance
by reducing resource contention with other database users. Named instances must be created explicitly by the user through the LocalDB management API or implicitly via the app.config file for a managed application (although managed application may also use
the API, if desired). Each named instance of LocalDB has an associated LocalDB version that points to the respective set of LocalDB binaries. The instance name of a LocalDB is sysname data type and can have up to 128 characters. (This differs from regular
named instances of SQL Server, which limits names to regular NetBIOS names of 16 ASCII chars.) The name of an instance of LocalDB can contain any Unicode characters that are legal within a filename.
A named instance that uses an automatic instance name becomes an automatic instance.
Reference:
http://technet.microsoft.com/en-us/library/hh510202(v=sql.110).aspx
It seems that it is related to the SQL Server, am I right? If so, maybe the SQL Server forum would be better for this issue.
If I have misunderstood this issue, please feel free to let me know.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
SQL Server 2012 Express LocalDB parm for keeping unicode char from TextBox
Platform: developer's windows 8.1 pc with visual studio 2012 pro, .net 4.5, sql express 2012 express and localDB
in a textbox, say textTbx on a windows form, if there is Unicode like \U2221, I can have to save to file and read back without change using textTbx.Text value.
however for the content in the textTbx.Text value, upon saving to
SQL Server 2012 Express LocalDB, and then retrieved, the content gets changed for some Unicode like
U2221. it get translated to the plain - instead of keeping as
−.
what parameter do I need to setup to make sure it keep such character as is?
Btw: I had posted to visual studio general forum but was asked to post herePlatform: developer's windows 8.1 pc with visual studio 2012 pro, .net 4.5, sql express 2012 express and localDB
in a textbox, say textTbx on a windows form, if there is Unicode like \U2221, I can have to save to file and read back without change using textTbx.Text value.
however for the content in the textTbx.Text value, upon saving to
SQL Server 2012 Express LocalDB, and then retrieved, the content gets changed for some Unicode like
U2221. it get translated to the plain - instead of keeping as
−.
what parameter do I need to setup to make sure it keep such character as is?
Btw: I had posted to visual studio general forum but was asked to post here
Hello,
In this case, we could convert the text value to varbinary type before storing them to sql, and we could convert it back to the encoded one, you could change UTF-8 to the one you are dealing with.
You could refer to the suggestions shared by Filip Ekberg in the following thread.
http://stackoverflow.com/questions/11859926/load-or-convert-varbinary-from-sql-to-textbox-text
Here's an example on how you convert a text to bytes and then back again:
var bytes = Encoding.UTF8.GetBytes("test");
This will give you a byte array that looks like this:
{ 116, 101, 115, 116 }
Now to get the text again, you can use Encoding.UTF8.GetString() like this:
Encoding.UTF8.GetString(bytes);
This means that you could simple do this when saving the value:
cmdb.Parameters.AddWithValue("@text", Encoding.UTF8.GetBytes(textreview.Text));
And then when loading it back you simply do this:
textreview.Text = Encoding.GetString((byte[])dr["text"]);
Regards.
Carl
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I have been having a very frustrating time trying to connect to a localDB instance of SQL Server 2012. So I started again from scratch on another computer (Windows 7). I first installed sql server 2012 Express with tools (via ENU\x64\SQLEXPRWT_x64_ENU.exe)
and then installed the LocalDB Edition via sqlLocalDB.msi. The first installation seems to have gone OK. The second installation proceeded normally and finally advised that "Setup has installed SQL Server 2012 Express LocalDB successfully."
A whole lot of files were installed in C:\Program Files\Microsoft SQL Server\110\LocalDB\Binn, including sqlservr.exe. But the SqlLocalDB.exe utility was
not amongst them.
Does anyone have any idea what is happening here? From where can I download a copy of sqlLocalDB.exeA whole lot of files were installed in C:\Program Files\Microsoft SQL Server\110\LocalDB\Binn, including sqlservr.exe. But the SqlLocalDB.exe utility was
not amongst them.
The tool is located in
C:\Program Files\Microsoft SQL Server\110\Tools\Binn
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Microsoft SQL server 2012 express
i recently downloaded ENU\x86\SQLEXPR_x86_ENU.exe and ENU\x86\SQLManagementStudio_x86_ENU.exe from microsoft SQL server 2012 from official download centre page. First i installed SQLEXPR_x86 (database engine) with mixed mode authentication, then i installed
management studio with new installation option rather than selecting add new features.after both the successfull installation i learnt that in the object explorer, expanding database+system database+master i dont have a table option to create
new tables as earlier found in sql 2005 and 2008 versions. in simple words i dont have a table designer to create table, i have to type the statments using query editor to create and do manipulations in the table. for your further help i want to
tell you some related information:
1.i tried to get the table option with ENU\x86\SQLEXPRADV_x86_ENU.exe and ENU\x86\SQLEXPRWT_x86_ENU.exe without installing management studio as studio is already present in these packages. but still the problem persist.
2.i have windows 7 home basic installed on PC and windows 7 home premium on laptop both with service pack 1 with all the new updates.
3.after installation of sql server 2012 service pack, i thought problem might get solved but no.
i really need table designer feature.Hello,
It is simple : in SSMS , after having connected to your SQL Server instance, you should see in the left panel a TreeView with the name of your instance. Right-click on the name of your instance .I n the context menu , click on Facets ( 12th item just above
Start PowerShell ).You will open a new form labeled "View Facets" followed by the "full" name of your SQL Server. In the bottom left part , you should see view the connection string .Click on it.
If the name of your database is master , it means that you are connected to the master database . The master database is a system database in which you are not allowed to create a new table ( it is an essential database containing information essential to
the survival of your SQL Server ).See this link ( even if it was for SQL Server 2012, it is always valuable )
http://www.mssqltips.com/sqlservertip/1420/sql-server-system-databases/
I would suggest to have a look at this link :
http://msdn.microsoft.com/en-us/library/ms187837.aspx ( special 2012 ) and especially the part recommendations.
As you have not yet created an user database , you connect automatically to the master database which is at least dangerous when you want to create a new table.
You have before to create a new database in which you will create your new table. It is what I have explained in my former post.
If you don't know how to create a new database, you have not posted in the good forum ( a curious habit from the original posters , maybe because they don't understand how to find the "good" forum but I recognize that I am often hesitating before finding
the most appropriate forum even if I am moderator since 6 years ). It is possible that I have not been clear enough but English is not my mother tongue ).
So don't hesitate to post again to obtain more help and explanations : this forum is full of highly-qualified persons always ready to help persons lost in SQL Server.
For me , you have 2 important steps :
- create a new database
http://msdn.microsoft.com/en-us/library/ms176061(v=sql.120).aspx
http://msdn.microsoft.com/en-us/library/ms186312(v=sql.120).aspx
- create a new table
http://msdn.microsoft.com/en-us/library/ms174979.aspx
According to me , it is simpler to create a new database or/and table without using TRANSACT-SQL through the visual interface of SSMS
for a database : right-click on the Databases node of your SQL Server instance and click on Create Database
for a table : as soon as you have created your database , its name should appear in the list under the Databases node.
Click on the little + on the left of this name to expand the node related to this new database.
Right-click on the Tables node and choose New Table. You should arrive to a new form making relatively easy the creation of the table , more exactly , the structure of the table with its columns ( names and data types ).
Don't hesitate to post again if you need more help( it is what I am doing when I am lost ) : you will find always someone available to help you at any time as moderators/answerers are nearly from every continent at any hour of the day ( when USA is sleeping
, Europe and Asia are awake ... )
Have a nice day
Mark Post as helpful if it provides any help.Otherwise,leave it as it is. -
Error Installing SQL Server 2012 Express LocalDB on Windows 8.1 64-bit
TriSys Business Software
Hello,
Did you install .NET Framework 4.0 or enable .NET Framework 3.5 SP1 on Windows 8.1 which is requirement for SQL Server 2012?
SQL Server installs .NET 4.0 during the feature installation step. But if you are installing the SQL Server Express editions, ensure that an Internet connection is available on the computer. SQL Server Setup downloads and installs the .NET Framework 4
because it is not included in the SQL Server Express media.
In you case, please try to download and install
.NET Framework 4.0 or
.NET Framework 3.5 SP1 and then run the SQL Server setup.exe again.
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Can not install Microsoft SQL Server 2012 Express on Win7, 64 bit
Hi,
I had a Win7 Ultimate 64bit, Intel(R) Core(TM) 2 Duo 2.8Ghz, 4GB SDRAM, 500GB HDD. I have been used Visual
studio 2010, SQL Server 2008 R2 (SQL Management Studio), SQL Server Express2005, SQL Server Express2008, Microsoft Office 2010. I downloaded setup from microsoft.com/en-us/download/details.aspx?id=29062,
after extract files and run setup which it's giving me an error message.
"The operation system on this computer or its service pack level does not meet the minimum requirements for SQL server 2012. To determine the minimum required operating system supported for this SQL server release, see Hardward and software
Requirement for installing SQL server 2012 at: http://go.microsoft.com/fwlink/?LinkID=195092"
Anyone help me this issueit requires a minimum of Windows 7 SP 1 before installing SQL server 2008.
It can be downloaded from below:
http://support.microsoft.com/kb/976932/en-us
For more details check below:
http://msdn.microsoft.com/en-us/library/ms143506.aspx
Please click the Mark as answer button and vote as helpful if this reply solves your problem -
I had a Win7 Ultimate 64bit, Intel(R) Core(TM) 2 Duo, 4GB SDRAM, 500GB HDD. I have been used Visual
studio 2010, SQL Server 2008 R2 (SQL Management Studio), SQL Server Express2005, SQL Server Express2008, Microsoft Office 2010. I downloaded setup from microsoft.com/en-us/download/details.aspx?id=29062,
after extract files which it's giving me an error message.
Anyone help me this issue.
Other questions is What if I want to use SQL management Studio 2008 R2 and connect SQL Server 2012 on Windows 7I downloaded setup from microsoft.com/en-us/download/details.aspx?id=29062,
after extract files which it's giving me an error message.
Anyone help me this issue.
I'd ask them over here.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlexpress
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
Unable to install SQL Server 2014 Express LocalDb on Windows 8.1 Update 1
Apologies if this is not the right place or this has been posted before (I looked and didn't find anything)
I am unable to install SQL Server 2014 Express LocalDb on Windows 8.1 Update 1, as I get an 'Operating System not Supported' error message right away.
What can I do to get this working?Hi Zgreve,
Usually, from
hardware and software requirements for installing SQL Server 2014, we can install SQL Server Express version on the Windows 8.1. For more information, see:
Microsoft SQL Server 2014 Express.
Before you install SQL Server 2014 Express version, you should ensure installing the .NET Framework 4, then run as administrator for the SQL Server setup.exe again.
There is a similar detail about install SQL Server Express LocalDB via GUI and command line. You can also review the following steps.
http://www.mssqltips.com/sqlservertip/2694/getting-started-with-sql-server-2012-express-localdb/
If the same error about OS still exists, I recommend you submitting a feedback to Microsoft such issues at
https://connect.microsoft.com/SQLServer/Feedback, Your feedback enables Microsoft to offer the best software and deliver superior services, meanwhile you can learn more about and contribute to the
exciting projects on Microsoft Connect.
Thanks,
Sofiya Li
Sofiya Li
TechNet Community Support -
Windows 7 Home Premium, SP1
64-bit
I just installed SQL Server 2012 express - Express with Advanced Services (contains the database engine, Express Tools, Reporting Services, and Full Text Search),
file name - SQLEXPRADV_x64_ENU.
Opening SQL Server Management Studio causes the error -
"Could not load the file or assembly 'Microsoft.VisualStudio.OLE.Interop,
Version=7.1.40304.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The
system cannot find the file specified."
Do I need to install another file? Did I download the wrong version?
Any suggestions? Thanks for any help.Hello,
The issue may occure when the installation of your SQL Server is not a complete or a successful one. Did you try to repair or reinstall the SQL Server Express? You can also try to install
Service Pack 1 for SQL Server 2012
to check if the issue presists.
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
MCTS 70-466 Implementing Data Models and Reports with Microsoft SQL Server 2012
I am searching for training kit for Exam 70-466 (Implementing Data Models and Reports with Microsoft SQL Server 2012) but I think is not published yet. I was expecting its release in Jan or Feb 2014. Would any one can tell me its release date or any place
where I can find this book.
Thanks
Hi Azhar lqbal Gondal,
According to your description, since the issue regards training and certification,
I suggest you post the question in the Learning forums at
http://social.technet.microsoft.com/Forums/en-US/home?category=learning. It is appropriate and more experts will assist you. If you have a specific technical question about Microsoft SQL Server,
you can visit and post your question on the SQL Server Forum.
There is some detail about Exam 70-466 Implementing Data Models and Reports with Microsoft SQL Server 2012, you can review the following articles.
Exam content can be found here:
http://www.microsoft.com/learning/en-us/exam-70-466.aspx
http://borntolearn.mslearn.net/certification/database/w/wiki/525.466-implementing-data-models-and-reports-with-microsoft-sql-server-2012.aspx#fbid=Mn-t6aRhs-H
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support -
Share Data Source between multiple report projects in Microsoft SQL Server 2012 Reporting Services
I have a reports solution in 2012 which contains multiple report projects one each for target deployment folder and we use TFS 2012 for report deployment.
We have a template project which has a bunch of template reports and all the datasources used in different reports.
When I develop a report, I cannot "Preview" in TFS but, for deploy this used to work fine util the reports solution was in TFS 2010 & Visual Studio 2008 R2. Since we moved to TFS 2012 & SSRS 2012 not being able to deploy till I create all
the necessary datasources for each project and now all the developers complaining that they cannot develop reports in TFS itself as they cannot preview (this problem was existing previously) and now not being able to deploy as it errors for each report "Could
not find specified rds file". I tried messing around with the .rptproj file DataSources tag that did not help either by modifying it like below.
<DataSources>
<ProjectItem>
<Name>DB.rds</Name>
<FullPath>Template\Data Source\DB.rds</FullPath>
</ProjectItem>
</DataSources>
Is there a way I could share a Data Source between multiple projects in Microsoft SQL Server 2012 Reporting Services?
Thanks in advance.............
IoneHi ione721,
According to your description, you want to create a shared data source which works for multiple projects. Right?
In Reporting Services, A shared data source is a set of data source connection properties that can be referenced by multiple reports, models, and data-driven subscriptions that run on a Reporting Services report server. It must be within one project.
We can't specify one data source working for multple projects. In this scenario, we suggest you put those reports into one project. Otherwise you can only create one data source for each project.
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
SAP NetWeaver BI with Microsoft SQL Server 2012 Reporting Services using XMLA
I am currently implementing SAP BW and am trying to connect the Microsoft SQL Server 2012 Reporting Services product. I am able to connect to SAP BW but there is one problem when i click on Query Designer after adding a DataSet the screen just displays the dialog prompt saying '' NO CUBES WERE FOUND. VERIFY THAT YOU HAVE SELECTED A VALID CATALOG''.
The advanced information depicts the following:Hi Raunak T,
Just a very basic question from my end:
I believe that "Microsoft SQL server Report Builder" is the 3rd party which uses MDX as interface.
Have you set the property using OLE DB for OLAP in your queries?
BR
Prabhith -
Microsoft SQL Server 2012 Management Studio Express silent installation very slow
Iam doing silent installations often on several Systems.
I install the Microsoft SQL Server 2012 Management Studio Express with this command:
"SQLManagementStudio_x64_DEU.exe /ACTION=INSTALL /QUIET /IAcceptSQLServerLicenseTerms="True" /FEATURES=CONN,BC,SSMS /indicateprogress"
The installation will take almost an hour to finish.
I never get error messages or so. The installation afterwards is fine.
Is there a way to speed up the installation process?
Thanks!Hi Dennis,
When installing SQL Server Management Studio, it is normal for us taking an hour to finish the installation.
Personally, if you want to speed up the installation process, I recommend improve your hardware device on your computer, such as CPU, RAM, hard disk and so on.
Or you can submit an submit the requirement at https://connect.microsoft.com/SQLServer/.
If the requirement mentioned by customers for many times, the product team may consider to add or improve this requirement in the future SQL Server version. Thanks for your understanding.
Thanks,
Sofiya Li
Sofiya Li
TechNet Community Support -
Microsoft SQL Server 2012 Management Studio Express
Hello,
I have a question, Can I use Microsoft SQL Server 2012 Management Studio Express tool to administrate my SQL Server 2008 Enterprise database without a restriction or limitations?.
Basically, I have a SQL server 2008 R2 database as production enviroment(Enterprise version) and I would like to know if I can use Microsoft SQL server 2012 Management Studio Express tool to manage my database without limitations.
ThanksSSMS2012 is backwards compatible so you can use ..
http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/0151c2e8-2281-4a78-86b0-20cc1bfd57ac
Raju Rasagounder MSSQL DBA
Maybe you are looking for
-
How do I get at individual pictures in iphoto library?
Hi All, A few weeks ago I got so fed up of my laptop running so slow because i didnt have enough disk space, that I went out and bought a hard drive. So I started to use time machines, and made moved my whole iPhoto library to the hard drive, and del
-
Unable to log into Planning App Wizard
Hi Friends, Error message on screen when trying to log in: User must have the Planning Application Creator and Dmension Editor roles to manage applications Tried to assign apllication creator and dimension editor roles in shared services.But those ro
-
When I first installed CS6 the 3D option disappeared when I tried to use it. I found out that this was because my graphics card was not adequate. So I purchased and installed a new graphics card and reinstalled CS6 but I cannot find the 3D option t
-
HP Officejet 8500 continually runs a maintenance check
My HP Office Jet 8500 is rumming a system check and tells me not to push any buttons or turn it off. Problem is that it has been doing that for 3 days. Can anyone help?
-
Backup location during Duplicate db
hi, Is it possible to change the RMAN backup Location for the Auxillary db. ie., say on my Target the bakup location is /u03/rman/backup and on Auxillary host i copy the backup to /u01/rman backup How to tell RMAN to look at different destination dur