Hi
I have a virtual pc setup to run windows 2003. I have deployed a web
service in a folder
c:\Sites\WebService\WS1
I tried to run the asmx file from the browser, it gives a file not
found error.

On viewing the source code of that page, I could find that it throws a
DirectoryNotFoundException at

"c:\inetpub\wwwroot\WS1\WS1.asmx"

This is wierd as i had specified the virtual directory's path as
c:\sites\WebService\WS1.

Do note that I have enabled ASP.NET 1.4.1 webservice extensions enabled
in my box.
Also I have got requierd permissions i all the necessary folders.

I find it really strange as i wasnt expecting a
DirectoryNotFoundException

Any help would be really appretiated

Cheers
Prabu

Re: IIS6.0 Web Service on Windows 2003. by Kristofer

Kristofer
Sun Oct 22 02:59:50 CDT 2006

It has to be a coding issue.

Perhaps you want to post this into an ASP.NET newsgroup.

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


Prabu wrote:

>Hi
>I have a virtual pc setup to run windows 2003. I have deployed a web
>service in a folder
>c:\Sites\WebService\WS1
>I tried to run the asmx file from the browser, it gives a file not
>found error.
>
>On viewing the source code of that page, I could find that it throws a
>DirectoryNotFoundException at
>
>"c:\inetpub\wwwroot\WS1\WS1.asmx"
>
>This is wierd as i had specified the virtual directory's path as
>c:\sites\WebService\WS1.
>
>Do note that I have enabled ASP.NET 1.4.1 webservice extensions enabled
>in my box.
>Also I have got requierd permissions i all the necessary folders.
>
>I find it really strange as i wasnt expecting a
>DirectoryNotFoundException
>
>Any help would be really appretiated
>
>Cheers
>Prabu

Re: IIS6.0 Web Service on Windows 2003. by Prabu

Prabu
Sun Oct 22 03:44:09 CDT 2006

It isint
The same code is working on a fully configured windows 2003 box.
I found out the issue.
When browsing from IIS inside the virtual PC the url is
http://localhost/WS1/WS1.asmx.
This searches the host pc's c:\inetput\wwwroot\WS1 folder and gives a
DirectoryNotFound Exception.
However when we browse using the machine name
http://<<machinename>>/WS1/WS1.asmx
then the page loads

I guess this is an issue with iis6.0 on Windows 2003 in a virtual pc
environment. The same works in a iis5.0 windows 2K in a virutal pc
environment.

Can anyone from Microsoft confirm this ?


Cheers


Prabu

Kristofer Gafvert wrote:
> It has to be a coding issue.
>
> Perhaps you want to post this into an ASP.NET newsgroup.
>
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> Prabu wrote:
>
> >Hi
> >I have a virtual pc setup to run windows 2003. I have deployed a web
> >service in a folder
> >c:\Sites\WebService\WS1
> >I tried to run the asmx file from the browser, it gives a file not
> >found error.
> >
> >On viewing the source code of that page, I could find that it throws a
> >DirectoryNotFoundException at
> >
> >&quot;c:\inetpub\wwwroot\WS1\WS1.asmx&quot;
> >
> >This is wierd as i had specified the virtual directory's path as
> >c:\sites\WebService\WS1.
> >
> >Do note that I have enabled ASP.NET 1.4.1 webservice extensions enabled
> >in my box.
> >Also I have got requierd permissions i all the necessary folders.
> >
> >I find it really strange as i wasnt expecting a
> >DirectoryNotFoundException
> >
> >Any help would be really appretiated
> >
> >Cheers
> >Prabu