How can I use Windows Indexing service in Windows server 2012 - windows-server-2012

How can I use Windows Indexing service in Windows server 2012? I had used window indexing in windows server 2003 and windows server 2008. I am unable to find window indexing in window server 2012.

On Win2008 and 2012, what you want is "Windows Search Service" (note, "Service" -- that is the key word). This is the current version of index server.
Note that when querying windows index server via ADO driver, there are some small differences in the response structure from Win2003 to Win2008+. It is easy, however, to port ADO / SELECT queries from old index server to new Search Server.
NOTE that there is another Microsoft product, called "Search Server" that is a different animal. You prob do not need that one (it is a discrete download). Search Service is part of the Windows server core, and is what you want as the new / current version of what used to be called "index server." (See below)
On Win7/8 desktop OS, this is installed be default (I believe). On server, you have to enable the feature.
Installing this lets you set up what to index, and gives you the ADO driver. We ported an app from Win2003 Index Server to Win2012 Search Service via this path. Very small code changes were needed to the SELECT and the connection string.

Related

How to get extended metadata properties of a video file on windows server 2012 r2?

I'm using WindowsAPICodePack to collect metadata properties of a video file. Here is the github repo. internally it returns all the objects as you perform right click on file and see details information and properties. See below screenshot.
I can retrieve all the properties in my windows 10 machine. I expect the same behaviour on windows server 2012 r2 machine. The left side of image is contains properties from windows server and right side contains properties from windows 10 os. I'm unable to find anything relevant? What windows feature do I need to enable from windows server 2012 r2?
I was able to get all those properties after enabling desktop experience as shown in this tutorial. Initially windows server can not play video files. this feature adds video streaming facility and extra features that comes with Windows server essential media pack
There is one more library available if you don't want to install Windows Server essential mediapack. Here is the link and https://mediaarea.net/en/MediaInfo

Developing C# Winforms software using SQL Server 2012 in Visual Studio 2012 and running it on other system without installing SQL Server 2012

I wanted to develop a C# application oriented software using SQL Server 2012 in Visual Studio 2012. But if I install the software on another computer with out installing SQL Server 2012 database, how will this software work and access the data?
Is there any method and function or namespace that can provide the default storage space to store the data after the software is installed on a system?
If you develop an application that use Sql Server 2012 as storage for your data then you need to install it in a way or another. There are numerous versions of Sql Server, like Sql Server Express and LocalDB. In every case you need the bits that supports your coding calls.
This magazine article summarizes relevant infos on the various version of Sql Server
I suppose that the right product for you is Sql Server LocalDB. A version of Sql Server that could be distributed easily with your application setup and doesn't require a complex installation procedure.
However, if you don't foresee the need to escalate you application to a full Client-Server model and you need only a local storage for a single user, you could choose a single file database like Sql Server Compact Edition or SQLite or even MS Access.

SQL Server 2012 "SQL Browser" Service

As a preface, I have done some checking around on this issue but found nothing that solves my question. This question was the closest I found but the answer did not resolve my issue.
Information about configuration: My local machine is Windows 7 with Visual Studio 2012 Update 3 and SSDT-BI installed. On the server machine I have SQL Server 2012 Developer Edition installed on Windows Server 2012 Standard. The data is coming from a third party database installed on a CentOS5 server.
I am trying to deploy a cube to my Analysis Services server, but I am getting the following error: "A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running."
I have checked and the SQL Browser service is running both on my local machine and the server machine. As well, rather than connecting via < Server Name >\< Instance Name > I have tried connecting with IPAddress:Port.
I'm not sure if this is relevant, but in case it is: the database I am using to define the cube I'm trying to deploy is on a different server and has different authentication than my SQL Server 2012 Instance. Moving the data to the SQL Server is not an option.
To FrankPl: just to chime in, you answered my question a few hours ago which is essentially the same problem: VS2012 Pro with SSDT-BI installed, also Update-3 and the Aug.2013 update to AS. We're unable to connect and/or open a project.

How can I determine the data source value to a connectionstring in sql server 2012 when using (LocalDb)\v11.0 in a workgroup and not a domain?

Environment: 64 bit Windows 8
Platform: Visual Studio 2012, SQL server 2012, IIS8
Language: C#
I'm currently creating an asp.net web application using a tutorial from msdn. The site runs fine and is visible in google chrome when I select the run button. I published the website to a folder on my desktop and am attempting to host it through IIS. The main issue I am having is trying to figure out the full computer name so I can update my connection strings in the web.cong.
The connection string is as follows:
connectionString="Data Source=(LocalDb\v11.0);"
When I try to browse the website in IIS I get a database error because I'm not defining the full machine name in the datasource attribute. I'm in a workgroup and am not on a domain. Also I can't log into sql server with just my ip address. I can only log into sql server with (LocalDb)\v11.0.
Can anyone help me find a way to determine what the value of my data source should be so I can possibly hit the website externally? Has anyone run into this problem on a home pc without a domain? I have done this on my work computer many times but have never tried to host anything from IIS on my home computer.

"Unsolvable" bug in Visual Studio - how do I connect to SQL Server 2008 Express?

I've been struggling for some time now to be able to use the built-in functions in Visual Studio 2008 to handle *.mdf database files with SQL Server 2008 Express. I'm running on an x64-based system, and I've read that there is a known problem with this setup, but the hotfix has not solved my problems.
Basically, what happens is that when I try to add a new *.mdf file to the App_Data folder of a project, I get an error message saying:
Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to
function properly. Please verify the installation of the component or download
from the URL: http://go.microsoft.com/fwlink/?LinkId=49251
My (unsuccessful) steps to solve this:
Uninstall all possible associated programs to Visual Studio, SQL Server or .NET Framework (which left .NET 2.0 Compact Framework and .NET 3.5 Compact Framework, and nothing else .NET related, installed).
Reboot.
Install .NET 3.5 SP1, SQL Server 2008 Express and SQL Server Management Studio 2008 Express via the Web Platform Installer 2.0 (Beta).
Reboot.
Install Visual Studio 2008 Professional from disc.
Reboot.
Install Visual Studio 2008 Service Pack 1.
Reboot.
Install hotfix.
Reboot.
Start VS, create new Web site and try to add database. Still get the error message...
When I look in the Help/About dialog, the hotfix shows up among applied updates. I have also checked and double-checked that the SQL Server instance name is correctly set in Visual Studio (I copy-pasted the instance name from the login screen in SSMS).
Why does the hotfix not solve my problems? Am I doing things in the wrong order, or do I have the wrong software versions somewhere?
According to the KB article, the problem is that Visual Studio doesn't correctly detect "some registry keys" - but nothing is said about which keys. Does anyone know how to fix this manually?
Oh, and yes - I've seen this post. I know I could just "downgrade" to the x86 version of SQL Server, but I really want to make this work with the x64 version (if nothing else, just because it's supposed to work...), so that solution doesn't really solve my problems. Please don't close this as a duplicate.
I had this same error, VS 2008 SP 1 on Vista Ultimate 64 bit with SQL 2008 Express 64 bit. Downloaded the hotfix and rebooted, started up SQLEXPRESS and still got the error.
Then I changed my "SQL Server Instance Name" (under VS 2008 -> Tools -> Options -> Data Connections), which was blank, to "SQLEXPRESS" (versus ".\SQLEXPRESS", which is what I use in my login screen under SSMS.) and now it works like a charm!
Dave
Try changing the user on which the SQL Server Express is running. This can be changed in Services managment (press Win+R, type in services.msc). Choose SQL Server Express, right click -> Properties. 'Log On' tab and select: 'Local System account', tick the 'Allow service to interact with desktop' - this is what worked for me.
I'm not sure I ever solved this, but I've now moved over to Visual Studio 2010 (RC at the moment, but I'll get the full version when it's availabel) and everything works seemlessly.

Resources