I have SQL Server 2008 and Visual Studio 2010. I install Crystal Report XI and it's fine. I can see that I can have it in my Visual Studio and in toolbox as well.
But the problem start when I want to connect database to Crystal Report. I tried everything means I check server name, all possibility of server name. I got .\SQLEXPRESS server. So when I make new connection using OLE DB and choosing provider for SQL Server, it's asking me to type server name, and user id, password, database.
So I am using integrated login as I am, but there is no server popping down. So I am putting .\sqlexpress but in database field I can't see my database, I can see is those 4 database like master, model, etc. I checked for this problem all over internet but there is no solution.
Related
I am really new on visual studio. I am using visual studio 2015 and only installed microsoft sql server 2008 pack 1.
So the problem goes like this, when I created a database.mdf and add new table it seems like something was not right there because after I created table, I cannot view list of the table (when I expanded the table folder) through server explorer. then noticed that inside my microsoft sql server 2008 pack 1 file, there was no SQL Server Database File. Only configuration tools.
Someone please tell me, what should I do? Am I need to re-install it or update it to the latest? or is there anything else I should install?
You can not see mdf file in sqlserver side. The mdf file and table in used sqlexpress and accessible in visual studio too(sqlexpress was inbuilt installed with visual studio)
Eigher you can see in visual studio's server explorer (Ctrl + alt + s) or if you want in sqlserver, you open SSMS and connect sqlexpres as "yourpcname/sqlexpress"
How to connect to local instance of SQL Server 2008 Express
cannot connect to pc-name\SQLEXPRESS
https://msdn.microsoft.com/en-us/library/sxds9ett%28v=vs.90%29.aspx
To use this database and table use this connection string in web.config as
How do I connect to an .mdf (Microsoft SQL Server Database File) in a simple web project?
https://learningsqlserver.wordpress.com/2011/02/13/how-can-i-open-mdf-and-ldf-files-in-sql-server-attach-tutorial-troublshooting/
I'm unable to generate a report from the web based interface (Report Manager). The same report in my Visual Studio project works perfectly.
The error which appear when trying to generate the report from the web is
"Cannot create a connection to data source"
The log file error is the fallowing
Cannot get edition information from catalog server.
The report data is retreived from an SQL Azure database.
How come the report can work inside my Visual Studio project but no more once deployed?
I've tried both SQL Server 2012 and SQL Server 2008 on fresh machines and both gives the same result.
Thanks,
After a half day of troubleshooting this issue, I discovered it was because the edition of SSRS I am using does not support Azure SQL Databases as a data source.
I am using 2008 Express Advanced Edition. It appears Standard or above is required for this.
See this article for more information:
http://www.sqlservercentral.com/blogs/sqltact/2016/09/25/sql-ssrs-express-edition-cannot-connect-to-azure-sql-databases/
I have multiple reports that have been created over the years and anytime a RDLC file is opened in the VS2010, it is asking for an upgrade. I have seen many posts about changing the .config file, but these files are not using config files since they are application based. I have Microsoft.ReportViewer.Winforms, .Common, .ProcessingObjectModel and, .WebForms 9.0 and 8.0 installed on the lab machine.
After upgrading a report and trying to run it on the lab machine ( ms server 2008) I am returned an error of: "The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition' which cannot be upgraded.
Does Report Viewer 2010 Redistributable Package fix this issue? I cannot find a distinct answer. If not, is there another workaround without changing server modes from local to server?
You should really be opening those using the SQL Server Business Intelligence Development Studio (BIDS), which can be found under the Microsoft SQL Server 2008R2 folder on the Programs menu.
I have recently installed full sql server 2008 (trial version), for doing a research on SSAS.
I created a SSAS project (with sqlserver business intelligence studio), deployed locally (where sql server instance is) with success.
The problem is that I dont see it in databases list with SSMS.
Is there a special way to connect to SSAS instance? Because looking at link text I see SSMS opened with other structure in object explorer.
When you create a connection (File -> Connect Object Explorer) ... just make sure that Analysis Services is selected in the "Server Type" drop down, instead of Database Engine.
I am new to the Visual Studio.
I have MS SQL Server 2005 and 2008 preinstalled in my Windows Vista computer.
Are they real servers?
Or just some add-on for their server and I need to buy a server version of Windows for it?
If not,
How to run them?
How to add a database, etc.?
And basically how to connect Visual Studio 2008 to MS SQL Server 2008/2005 and MySQL?
I assume you mean that you have SQL Server Express installed when you say "ms sql server 2005 and 2008 preinstalled in my vista ". If not, you can download it for free; it is a lightweight version of SQL Server that has a few limitations (2GB max database size, max 10 connections, etc) but otherwise works more or less like the real thing and is great for development and/or learning.
Visual Studio should have a "servers" tab (by default on the right hand side) and there is a "Data Connections" node on it. Right-click on it to add your instance(s) of SQL Server. This will let you browse the tables/views and create new ones and will also let you create LINQ-to-SQL classes. If you want to access the database in code in other ways, you will need to read up on the System.Data.SqlClient namespace.