找不到CatalogContext命名空间 [英] CatalogContext namespace not found

查看:131
本文介绍了找不到CatalogContext命名空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在寻找一个自定义ASPX页面来查询目录系统。

I am working in getting a custom ASPX page to query the catalog system.

使用目录Web服务以及从dll添加的Commerce类

Using the Catalog web service as well as the Commerce Classes added from dlls

到目前为止,我的页面运行良好,但在我开始使用目录名称空间时卡住了。 

So far my page is going well, but got stuck when I started to work with the catalog namespaces. 

我有一个ASP应用程序,在项目中添加了引用和Web服务我的csharp代码声明看起来像这样

I have a ASP application, added references and web services in the project my csharp code declarations look like this


using
 System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CatalogWebService;
using Microsoft.CommerceServer.Runtime;
using Microsoft.CommerceServer.Runtime.Catalog;
using System.Collections.Specialized;
using Microsoft.CommerceServer.Catalog;
using Microsoft.CommerceServer.Catalog.Internal;
using Microsoft.Commerce.Common;

推荐答案

您是否添加了对Microsoft.CommerceServer.runtime程序集的引用。如果要通过Web服务(代理模式)访问数据,则缺少程序集引用和名称空间。验证是否引用了所需的程序集。
Have you added reference to Microsoft.CommerceServer.runtime assembly. If you want to access data through web service (agent mode) then you are missing the assembly references and namespaces. Verify the required assemblies are referenced .


这篇关于找不到CatalogContext命名空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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