By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,996 Members | 884 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,996 IT Pros & Developers. It's quick & easy.

Webservice (asmx) under IIS7

P: n/a
Dear all,

I have develop a small test web service using VS2005 which is conecting to
an SQLserver express 2005. Debuging my Web service from the IDE works fine.
Use platform is Vista buisness

Then I try to connect to that web service through the
http:\\localhost\testService\myService.asmx

For that I create a virtual directory under IIS and try to go to my page.
I got an error that it is not recognise asmx file ...

How to set the Virtual dir to be able to test my web service ?

thnaks for help
regards
serge

Apr 19 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I'm not familiar with IIS7 yet, but my first question would be: Have you
registered the appropriate version of the framework with IIS?

In CMD prompt (change v2* to version of framework you are registering):
> cd C:\WINDOWS\Microsoft.NET\Framework\v2*
aspnet_regiis -i
"calderara" wrote:
Dear all,

I have develop a small test web service using VS2005 which is conecting to
an SQLserver express 2005. Debuging my Web service from the IDE works fine.
Use platform is Vista buisness

Then I try to connect to that web service through the
http:\\localhost\testService\myService.asmx

For that I create a virtual directory under IIS and try to go to my page.
I got an error that it is not recognise asmx file ...

How to set the Virtual dir to be able to test my web service ?

thnaks for help
regards
serge
Apr 19 '07 #2

P: n/a
HI keith,

What is the purpose of this registration you are talking about ?
my web service is using framework2 .0
under vista it is 2.0 with extension = 3.0, the mscorlib.dll is still based
on 2.0
so I guess IIS is managing this alone no ?

At least I hvae never do such operaion previously under XP, or server 2003
with II6.

Get confuse now...:-(
"Keith" wrote:
I'm not familiar with IIS7 yet, but my first question would be: Have you
registered the appropriate version of the framework with IIS?

In CMD prompt (change v2* to version of framework you are registering):
cd C:\WINDOWS\Microsoft.NET\Framework\v2*
aspnet_regiis -i

"calderara" wrote:
Dear all,

I have develop a small test web service using VS2005 which is conecting to
an SQLserver express 2005. Debuging my Web service from the IDE works fine.
Use platform is Vista buisness

Then I try to connect to that web service through the
http:\\localhost\testService\myService.asmx

For that I create a virtual directory under IIS and try to go to my page.
I got an error that it is not recognise asmx file ...

How to set the Virtual dir to be able to test my web service ?

thnaks for help
regards
serge
Apr 19 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.