473,386 Members | 1,803 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Webservice (asmx) under IIS7

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
2 10885
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: author | last post by:
Newbie Q... When I hit the "ws.asmx" in a browser, I get "Parser Error Message: Could not create type 'Service1'" ?? If I use the file "ws_ok.asmx" (without codebehind, but same code), I get...
4
by: Tim Gallivan | last post by:
Hello group, I'm trying to develop a proof of concept webservice which asynchronously calls a function in a DLL. The function raises an event when it is finished, and works when used as part of...
8
by: Topper | last post by:
Hello. I have simple web folders structure: -ROOT - BIN WebService.dll WebService.asmx I need to use my WebService.dll not in bin folder - for example, in ROOT. How do i this? How can i do...
3
by: ad | last post by:
I add a WebService (*.asmx) in a WebApplication. My web application use Form authentication. But when I open the .asmx in IE, it result in an error: No htmlform ! can't set ...
2
by: rn5a | last post by:
I have created the following WebService named NConnect.asmx using which I want an ASPX page to first authenticate a user & after successful user validation, the ASPX page should display a few...
0
by: =?Utf-8?B?TWFuaQ==?= | last post by:
Hi All, Problem in deploying my WebService developed using Asp.net WebServices 2005. I have designed simple WebService using Asp.net Webservices 2.0 , The webservice look this , using System;...
0
by: =?Utf-8?B?VmlsaGVsbQ==?= | last post by:
Using .NET 2.0 and VS2005, I am trying to make a simple WebService application and an installer for it. I want to distribute the installer to several customers, so the installation should run as...
4
by: =?Utf-8?B?QmlsbEF0V29yaw==?= | last post by:
Hi, We recently converted a 1.1 project to 2.0 and this included a webservice which accepted XML for one of the parameters. Since converting to 2.0 I am getting the following message: --- A...
8
by: cj | last post by:
I've seen examples of web services written with <%@ WebService Language ="Vb" Class=".... at the top. Is it not used in VB 2008?
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.