Visual Studio 2015中的SAP .NET连接器 [英] SAP .NET connector in visual studio 2015

查看:138
本文介绍了Visual Studio 2015中的SAP .NET连接器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Together,



我正在开发一个需要使用ASP.Net连接SAP系统的应用程序。

我找到了SAP。用于连接ASP.Net应用程序和SAP系统的网络连接器。

遗憾的是由于以下错误我无法连接。



可以不加载文件或程序集'sapnco_utils,Version = 3.0.0.42,Culture = neutral,PublicKeyToken = 50436dca5c7f7d23'或其中一个依赖项。系统找不到指定的文件。



有人帮我解决这个错误吗?



问候,

RaJiTh R s



我尝试了什么:



程序:

我创建了一个简单的ASP.Net网站。右键单击网站并单击添加参考。然后添加了两个dll的SAPNCO.dll和SAPNCO_UTILS.dll。

之后由于上述错误我无法构建网站。



我也将.Net版本更改为3.5和4.0,之后也没有用。



我也交叉验证我是否有两个dll对于x64版本。这也只是x64版本。



但是当我创建WPF应用程序时它适用于我。当我创建Web应用程序时它不起作用。

Hello Together,

I am developing an application which need to connect SAP system using ASP.Net.
I found SAP .Net connector to connect ASP.Net application and SAP systems.
Unfortunately i am not able to connect because of below error.

"Could not load file or assembly 'sapnco_utils, Version=3.0.0.42, Culture=neutral, PublicKeyToken=50436dca5c7f7d23' or one of its dependencies. The system cannot find the file specified."

Do some one help me to resolve this error?

Regards,
RaJiTh R s

What I have tried:

Procedure:
I created a simple ASP.Net website. Right clicked on the Website and clicked on 'ADD Reference'. Then added the two dll's SAPNCO.dll and SAPNCO_UTILS.dll.
After that I am not able to build the website because of above error.

I also have changed the .Net version to 3.5 and 4.0, After that also didn't works.

I also have cross verified whether i have the two dll for x64 version. Which is also x64 version only.

But it works for me when i create WPF application. It doesnt work when i create web application.

推荐答案

请按照以下链接:使用SAP .NET Connector创建ASP .NET Web应用程序 [ ^ ]
Please, follow this link: Creating ASP .NET Web Applications Using the SAP .NET Connector[^]


这篇关于Visual Studio 2015中的SAP .NET连接器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆