I'm now finished with my application and am going to deploy it on the client PC. My database is a localDb. What do I need to install in the client PC in order to make it work on the there? The client PC is 32-bit and x64 based processor. I've read that I need to have LocalDb, NET Framework, and Management Studio installed there to work?
1: Depending on the client PC operation system version, and the .NET version that you target, you may not need to install .NET Framework (Windows 8 and later comes with .NET 4.5)
2: You should not install LocalDB, but the smallest SQL Express package. It contains command line tools to interact with the database.
Go to: https://www.microsoft.com/da-dk/sql-server/sql-server-editions-express
Run the installer, and select "Download media" - "Express Core" to download the SQL Server Express installer
Related
I am working on an application using the ASP.NET Core - I am using latest update for VS2015 and Windows 10. Now I want to deploy some demo version to some other computer.
How can I host my ASP.NET Core application in IIS Express when there is NO VisualStudio installed on the other side? I downloaded the most recent IIS and Microsoft .NET Core SDK from the Microsoft's website. However, I am still getting this error in the event log:
Dynamickou knihovnu C:\Program Files\IIS Express\aspnetcore.dll modulu se nepodařilo načíst. Data obsahují chybu.
That is in czech "...the aspnetcore.dll is missing...".
The error message is definitely right, there is no such file in this folder nor in the x86 version.
Every hint how to fix it contains upgrading VisualStudio toolkit that is not suitable for me since there is no VisualStudio on target machine. If it is important, target machine is running Windows 7 or Server 2012.
I am building a VB.NET application in VS2013 that uses a database created in SQL Server 2012 (which is installed locally and on the only computer that the application will be run on).
I need to execute a SQL script when the user clicks on a button. I know that I need to Import resources from SMO but when I run the SharedManagementObjects.msi installer I get a message that says,
"Installation of Microsoft SQL Server 2012 Management Objects failed
because a higher version already exists on the machine. To proceed,
uninstall the higher version and then run Microsoft SQL Server 2012
Management Objects Setup again."
What do I need to do to get SMO installed to use in my project?
I am assuming you are using nuget??
It appears that you must have 2014 installed, search for this in your installed packages and click uninstall. Now try and install the 2012 version.
Or in the Package Manager Console:
Uninstall-Package Unofficial.Microsoft.SQLServer.SMO.2014
Followed by:
Install-Package Unofficial.Microsoft.SQLServer.SMO
http://www.nuget.org/packages/Unofficial.Microsoft.SQLServer.SMO.2014/
I'm having difficulty getting Arango 1.4.9 working on my Windows 2008 Standard (SP2) server. It's a fresh install. When I try to start Arango Server I receive this message:
The procedure entry point TryAcquireSRWLockExclusive could not be located in the dynamic link library KERNEL32.dll
I have tried both the 64bit and 32bit versions. I have run the installer as an administrator and vice versa. Any ideas?
TryAcquireSRWLockExclusive is from a newer Windows API. The Windows 2008r2 build uses newer Windows API features such as SRW (Slim/Reader Writer) API to improve performance. These are not available in Windows Server 2008.
I assume that you must recompile for Windows 2008 or ask for a suitable binary in the support forum (https://groups.google.com/forum/#!forum/arangodb).
Whenever I try to install SQL Server 2012 Express with Advanced Services I am getting this error:
I have tried both version (32-bit/64-bit) and re-downloaded multiple times.
How can I solve it ?
Check if you have .Net framework 4 installed at your machine. If not - download it and install it and then try again with SQL Server.
Also check this bug at Microsoft site about .Net framework 4 (there is workaround explained in the bug).
FWIW, I just downloaded and installed SQLEXPRADV_x86_ENU.exe from HERE on a vanilla Win7Pro/64 VirtualBox virtual machine and encountered no errors.
Edit
I also installed SQLEXPRADV_x64_ENU.exe from that same location on an older Vista machine. The SQL Server installer told me that it needed some new .NET components, then it proceeded to download and install them. I didn't need to manually install anything ahead of time.
Also perhaps worth noting:
Both of the machines on which my installs were successful had no anti-virus software installed. (They are development boxes behind a firewall and I don't do email or web surfing on them.)
Over a year ago I wrote a WCF service, which runs on a Windows 2003 Server, under the auspices of a Windows Service (which I also wrote). (I wrote it using VS 2008.) I've not had a chance to continue working with it for a long time, but would now like to pick up where I left off back then. However, now I'm trying to use VS 2010, and see if I can interact with it.
The first thing I did was run SvcUtil from the command line, to get the information I would need to put into my App.Config file. However, it gave me an error (#415) saying that the server had rejected the network request. I've been asking around as to how I can fix this problem, and was told that I should run SvcConfigEditor.exe on the server in order to get better logging information. So I RDP onto the server and tried running it. Only, it isn't installed on the server. The .NET Framework 2 and 3.5 are installed, but I wouldn't think it would matter if .NET 4 was installed on the server, if I'm trying to run SvcConfigEditor.exe from .NET 3.5.
Bottom line: how do I get SvcConfigEditor.exe onto the server?
It installs it with WindowsSDK for Windows Server.
If you don't see it available in Start > All Programs > Windows SDK > Tool > Service Configuation Editor OR can't find the file "SvcConfigEditor.exe" you haven't to added the feature.
To add...
Control Panel > Programs and Feature > (Right-click) Microsoft Windows SDK for Server > Change
Check on Developer Tools> Windows Development Tools > .NET Development Tools
After the install of the feature, you should see it now.
You can just copy your config from the server to you workstation and then run svcconfigeditor then copy it back to the server. Your config is just a text file so treat it as such.
Get it from your local development machine where Visual Studio is installed:
Microsoft Service Configuration Editor
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\SvcConfigEditor.exe
You might want to get the following tools as well:
Service Trace Viewer (Of you have WCF tracing enabled)
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\SvcTraceViewer.exe
WCF Test Client
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\WcfTestClient.exe