SAP Connector 3.0 and Consume Adapter Service - sap

I have configured my developer machine and trying to develop a new project with SAP.
I have already installed:
1. BizTalk Adapter Pack 2016
2. WCF LOB Adapter SDK
3. SAP .NET Connector 3.0 x64 .NET 4.0
But when I am trying in Visual Studio to Consume Adapter Service with sapBinding I receive the following error:
Connecting to the LOB system has failed.
Could not load file or assembly 'Microsoft.Adapters.SAP.SAPGInvoker.dll' or one of its dependencies. The specified module could not be found.
What am I missing?

If you are using .Net Connector for SAP make sure to change the connectorType to NCo

From Install the BizTalk Adapter Pack 2016
Because both Visual Studio and BizTalk MMC are 32-bit processes, you must install the 32-bit BizTalk Adapter Pack on the computer where you complete the design-time tasks.
So install both the 32bit and 64bit versions.

Related

VB.NET application setup with LocalDb on client pc

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

Cannot run an ASP.NET Core app on IIS Express

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.

SAP NCO x64 Visual Studio 2013 VB aspx page directive error

I have had a website up and running for over 3 years with SAP .net connector 3.0 in 32 bit format. Unfortunately the Windows 2003 server that was hosting this application has failed. Our network team has created a new Windows 2012 server, and request the website be re-written in 64 bit. I have successfully added the reference to the x64 version of sapnco dll's, but now when I try to compile website, I'm getting an error on my page directive.
The error is "ASP.NET Runtime error: Object reference not set to instance of an object"
None of the code itself (ECCDestConfig.vb and code behinds) does not show any errors. This error is appearing on the page directive of ALL my .aspx web pages in this project, even pages that don't call SAP.
I have set the configuration manager to use x64 as the active solution platform.
I am really stuck - and could use some help.
SAP .NET Connector needs Microsoft Visual C++ runtime of a specific version, which depends on both the .NET framework version and the version of the Operating System (32-bit or 64-bit).
According to the SAP official documentation, you need one of the followings:
NCo 3.0 32-bit (x86), .NET 2.0 (also 3.0, and/or 3.5): Microsoft Visual C++ 2008 Redistributable Pack (x86) (mscvp80.dll)
NCo 3.0 64-bit (x64), .NET 2.0 (also 3.0, and/or 3.5): Microsoft Visual C++ 2008 Redistributable Pack (x64) (mscvp80.dll)
NCo 3.0 32-bit (x86), .NET 4.0: Microsoft Visual C++ 2010 Redistributable Pack (x86) (mscvp100.dll)
NCo 3.0 64-bit (x64), .NET 4.0: Microsoft Visual C++ 2010 Redistributable Pack (x64) (mscvp100.dll)
Problem solved. I used VB in Visual Studio 2013 with the 64 bit SAP .nco . The problem was I had created a "website" not a new "project. Once I did, and loaded the SAP DLL's as references to the project, and changed the configuration to use x64, new web pages I added did so without error. I might note, I aslo installed SAP GUI 730 on the same server. Its working now, both interacting with SAP and a separate SQL database,
Thanks for your answer
To be able to execute the x64 dlls in VStudio, it must be verified that the project is being compiled also in x64. You have to go to Tools, Options ..., Projects and Solutions, Web Projects. And check "Use the 64 bits."

windows service publish in visual studio

I have a WCF project and I have create another project which will install this WCF as a windows service.
Now I want to get the release artifacts of this windows service. Normally for other project I just do a publish using visual studio and get the artifacts.
How do I create the release artifacts for windows service?
for windows service program, just release the .exe file and the system admin will install the windows service with 'installUtil.exe' from .net framework

Unable to add WCF test in VS2010 test project after installing WCF load test utility

I have installed "New release (November 2010): WCF Load Test Version 3.0 (Beta) for Visual Studio 2010". After Installing I am expecting to add a WCF test. But on adding new test there is no WCF test option coming. Any idea what I am missing here.
I am following this guide
Load testing is not supported for VS2010 premium edition. So it wont be visible. Only support for VS2010 ultimate edition