移动到实时环境时,Web服务调用会产生“找不到页面”。使用SQL2005 CLR应用程序 [英] Web service call yields 'Page not Found' when moved to live environment. Using SQL2005 CLR app

查看:47
本文介绍了移动到实时环境时,Web服务调用会产生“找不到页面”。使用SQL2005 CLR应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望这是正确的论坛,对于使用MSDN领域的新用户,我现在将它添加为书签我已经发现它了:)

我开发了一个SQL2005 CLR dll应用程序来检查Web服务对于实时统计数据,所以我可以在SQL中的函数中返回一个值。


我在笔记本电脑上编写的开发人员版本工作正常,我的SQL2005,Web服务,IIS都是本地的。

当我将dll部署到实时SQL服务器,创建程序集等并使用实时Web服务地址更新.config
文件时,我得到一个页面未找到。

直播版本有单独的SQL2005和IIS服务器。


如果我将.config中的url复制/粘贴到IE中它一切正常,我可以得到asmx页面并调用函数返回我的xml string :(

DLL加载,它读取我的应用程序xml配置文件很好,我返回ex.message从webservice函数调用中获取'Page not Found'。

首先我已经为SQL2005编写了一个CLR,我相信权限等都是v alid,毕竟它在部分运行DLL。

非常感谢任何指针。


解决方案

< blockquote>它在本地但不在其他计算机上工作吗?


Hi, I hope this is the right forum, new to using the MSDN area, I shall bookmark this now I have discovered it :)

I have developed a SQL2005 CLR dll app which checks a web service for real time stats so I can return a value in a function in SQL.

My developer version I wrote on my laptop works fine, my SQL2005, web service, IIS all local.

When I deployed the dll to the live SQL server, created the assembly etc and update the .config file with the live web service address I get a Page not Found.
The live version has separate SQL2005 and IIS servers.

If I copy/paste the url from the .config into IE it all works fine, I can get the asmx page and call the function fine to return my xml string :(

The DLL loads, it reads my app xml config file fine, I returned the ex.message to get the 'Page not Found' from the webservice function call.

First time I have written a CLR for SQL2005 and I believe permissions etc are all valid, after all it runs the DLL in part.

Any pointers would be appreciated, many thanks.


解决方案

It work's in local but not in other computer?


这篇关于移动到实时环境时,Web服务调用会产生“找不到页面”。使用SQL2005 CLR应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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