Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Network & Sharing

Vista - IIS, localhost, web service

Reply
 
Old 02-18-2009   #1 (permalink)


Vista Home Premium 32 bit
 
 

IIS, localhost, web service

Using Vista Home Premium, 32 bit, IIS Version 7.0

Created a web service using VS 2008, .Net framework 3.5. Web service makes use of some 3rd party DLLs, which access other files. To make this work within VS, I reference the DLLs and also set the Path environment variable to point to the directories containing the files that the DLLs make use of.

The web service works fine in VS 2008 Debug mode, run as administrator or not. HOWEVER, when I publish the web service (to wwwroot) and try to run it from localhost, I get an error: System.IO file not found. Based on other experience with this, I'm almost certain that this error is caused because the other files can not be found.

I have set the path variable to C:\xxxx where xxxx is the folder containing the additional files. Again, this works when running the web service in VS 2008 debug, but not as localhost.

SUGGESTIONS on how to set the path variable so that when I run as localhost, the web service DLLs know where the additional files are located.

PERHAPS there is also an IIS 7 setting that I need to change - I know the above approach works on IIS 6 on PCs (XP) as well as servers (Server 2003); the web service works in this environment.

Thanks......

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
localhost not found Vista General
HELP! Can't get localhost to work! Vista General
Setting up to use localhost Vista account administration
VPN and localhost Vista networking & sharing
localhost Web features Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46