avatar
Add Web Reference Questions# DotNet - 窗口里的风景
r*y
1
when I try to add a web reference in VS.NET in windowsXP, IIS is running,
the project folder in under wwwroot and set to be an application, ASPNET
user permission set. Then when I click on the local web services, it prompts
me to save or to open the asmx file -- it only has one line:
. Whatever I choose, the "add
reference" is disabled.
When I tried to do this on windows 2003, the VS.NET report cannot find the
asmx file. Actually it can find htm,..., ot
avatar
G*o
2
are you able to access the wsdl file from your browser?
if it is the case, you could manually enter the wsdl file location
like this: http://localhost/mywebservice.asmx?wsdl

【在 r****y 的大作中提到】
: when I try to add a web reference in VS.NET in windowsXP, IIS is running,
: the project folder in under wwwroot and set to be an application, ASPNET
: user permission set. Then when I click on the local web services, it prompts
: me to save or to open the asmx file -- it only has one line:
: . Whatever I choose, the "add
: reference" is disabled.
: When I tried to do this on windows 2003, the VS.NET report cannot find the
: asmx file. Actually it can find htm,..., ot

avatar
r*y
3
Thanks. Anyway, problem was solved after asking a friend.
Summary: in windowsxp, seems by default the asmx file cannot be recognized by
IE, need to run "aspnet_regiis -i" after installing .NET framework.
As to error message when reading asmx files, need to clear build in VS.NET and
rebuild the solution.
Then everything is fine.

prompts
some

【在 G***o 的大作中提到】
: are you able to access the wsdl file from your browser?
: if it is the case, you could manually enter the wsdl file location
: like this: http://localhost/mywebservice.asmx?wsdl

avatar
k*i
4
Not right. asmx(and other .net file type) file does not assocaite with iis
because you install .net framework before the iis.

by
and
running,
the

【在 r****y 的大作中提到】
: Thanks. Anyway, problem was solved after asking a friend.
: Summary: in windowsxp, seems by default the asmx file cannot be recognized by
: IE, need to run "aspnet_regiis -i" after installing .NET framework.
: As to error message when reading asmx files, need to clear build in VS.NET and
: rebuild the solution.
: Then everything is fine.
:
: prompts
: some

avatar
r*y
5
OK. Revised summary: if you installed .net framework before IIS, then...
here continue with my original copy.

【在 k****i 的大作中提到】
: Not right. asmx(and other .net file type) file does not assocaite with iis
: because you install .net framework before the iis.
:
: by
: and
: running,
: the

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。