Web服务无法运行 [英] Web service doesn't run

查看:82
本文介绍了Web服务无法运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我用IE打开.asmx文件时,IIS服务器没有运行网页

服务,而是由网络浏览器提示我打开.asmx文件

(即它正在下载)。默认的Hello

World Web服务也是如此。我正在使用VS 2003和Windows XP SP1(带有IIS

服务器)。

有什么想法吗?



问候,


Ioannis Vranos

When i open the .asmx file with IE the IIS server doesn''t run the web
service but instead i am prompted by the web browser to open the .asmx file
(that is it is getting downloaded). The same happens with the default Hello
World web service. I am using VS 2003 and Windows XP SP1 (with its IIS
server).
Any ideas?


Regards,

Ioannis Vranos

推荐答案

也许你的asmx的MIME类型服务器搞砸了。


要修复它,请右键单击IIS Admin MMC-> Properties-> HTTP标头 - >文件

类型。


这绝对是计算机配置问题。


- Sahil Malik < br $>
独立顾问

你可以通过我的博客联系我 -
http://www.dotnetjunkies.com/weblog/sahilmalik/

" Ioannis Vranos" < iv*@guesswh.at.grad.com>在消息中写道

新闻:eZ ************** @ TK2MSFTNGP10.phx.gbl ...
Maybe the MIME type for asmx on your server is messed up.

To fix it, right click on IIS Admin MMC->Properties->HTTP headers -> File
Types.

It''s definitely a computer configuration issue though.

- Sahil Malik
Independent Consultant
You can reach me thru my blog at -
http://www.dotnetjunkies.com/weblog/sahilmalik/

"Ioannis Vranos" <iv*@guesswh.at.grad.com> wrote in message
news:eZ**************@TK2MSFTNGP10.phx.gbl...
当我打开时。使用IE的asmx文件IIS服务器没有运行web
服务,而是由Web浏览器提示我打开.asmx
文件(即它正在下载)。默认的
Hello World Web服务也是如此。我正在使用VS 2003和Windows XP SP1(带有IIS
服务器)。

有什么想法吗?


问候,

Ioannis Vranos
When i open the .asmx file with IE the IIS server doesn''t run the web
service but instead i am prompted by the web browser to open the .asmx file (that is it is getting downloaded). The same happens with the default Hello World web service. I am using VS 2003 and Windows XP SP1 (with its IIS
server).
Any ideas?


Regards,

Ioannis Vranos



" Sahil Malik" <共***************** @ nospam.com>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
"Sahil Malik" <co*****************@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
也许是服务器上asmx的MIME类型搞砸了。

要解决此问题,请右键单击IIS Admin MMC-> Properties-> HTTP标头 - >文件
类型。

这绝对是一个计算机配置问题。
Maybe the MIME type for asmx on your server is messed up.

To fix it, right click on IIS Admin MMC->Properties->HTTP headers -> File
Types.

It''s definitely a computer configuration issue though.



这是哪里?我在管理工具中发现的最接近的是

Internet Information Services。

i右键点击后我没有找到任何属性。


问候,


Ioannis Vranos


Where is that? The closest thing i spotted in Administrative tools is
"Internet Information Services" but i did not find any Properties there when
i made right-clicks.


Regards,

Ioannis Vranos


" Ioannis Vranos" < iv*@guesswh.at.grad.com>在消息中写道

news:Os ************** @ TK2MSFTNGP12.phx.gbl ...
"Ioannis Vranos" <iv*@guesswh.at.grad.com> wrote in message
news:Os**************@TK2MSFTNGP12.phx.gbl...
" Sahil Malik" <共***************** @ nospam.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
"Sahil Malik" <co*****************@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
也许是asmx的MIME类型在您的服务器上搞砸了。

要解决此问题,请右键单击IIS Admin MMC-> Properties-> HTTP标头 - >
文件类型。

这绝对是一个计算机配置问题。

它在哪里?我在管理工具中发现的最接近的事情是互联网信息服务。但是当我右键点击时,我没有找到任何属性
Maybe the MIME type for asmx on your server is messed up.

To fix it, right click on IIS Admin MMC->Properties->HTTP headers -> File Types.

It''s definitely a computer configuration issue though.

Where is that? The closest thing i spotted in Administrative tools is
"Internet Information Services" but i did not find any Properties there




when i made right-clicks.



好​​的,我发现它和文件类型在MIME地图中部分是空的。什么

是.asmx的合适配置?


问候,


Ioannis Vranos


Ok i found it and the "File Types" in the "MIME Map" section is empty. What
is the appropriate configuration for .asmx?


Regards,

Ioannis Vranos


这篇关于Web服务无法运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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