473,883 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS Configuration Problem and WCF Service

2 New Member
I have a developed service and client application running on a Vista machine in IIS7 in the Visual Studio 2008 beta 2 with .NET 3.5 framework.
I am trying to deploy the service app to a test pre-deployment server that is on the Internet running Server 2003 sp2. I have had all kinds of issues trying to get what seems a simple thing to work, publish the service and connect.
In Visual Studio I should be able to type URL of the service into the "Add Service Referrence" where upon Visual Studio should interrogiate the service and create the "hook-up" proxies and classes.
At this moment, I have a site setup on the server with HTTP on port 80. I installed the server extensions so that Visual Studio could connect the service directly in the project solution (which it does). So now I have the target service and the client app in a Visual Studio solution together. I then attempt to add the service reference to the client and I get the following error:

There was an error downloading 'http://sys117.bizb.net/aService.svc'.
The request failed with HTTP status 403: Forbidden.
Metadata contains a reference that cannot be resolved: 'http://sys117.bizb.net/aService.svc'.
The HTTP request was forbidden with client authentication scheme 'Anonymous'.
The remote server returned an error: (403) Forbidden.
If the service is defined in the current solution, try building the solution and adding the service reference again.

Does anyone have a step by step method that works for deployment? I would like to know.
Aug 9 '07 #1
2 18010
2 New Member
In the continuing saga of the above post... I haven't been sussessful in getting Visual Studio to communicate with the site on IIS6 to use it for WCF service.
I have a working version on IIS7 local with Visual Studio.
I set up another machine remotely from the dev machine with Vista and IIS7. I have installed the frontpage server extensions (FPSE). Everything checks out with one major problem, I can't login to any FPSE extended site with the FPSE admin tool or Visual Studio. I gives the same symptom that you have on IIS6 when there is no metadata for NTLM. That is it will display the login screen and you can login until you die but no error and no login. In IIS6 to fix that problem you must use the metadata editor tool from the IIS resource tool kit (which I have always thought was a pain) and manually add metadata for the NTLM login support.

The question is: Do you have to have a similar tool in IIS7 for the FPSE to authenticate a connection? If so where do you get such a tool? Or what is the recommended workaround?

Stumped for days now!

Note the reason for all this fuss in the first place is that I can't get my WCF client application in Visual Studio to be able to add a WCF service reference that is running on an IIS installation. It all works just fine in the localhost. For you long time die-hard coders with an anger management problem, you will understand that this three day old issue has already cost me a new keyboard.
Aug 9 '07 #2
4,871 Recognized Expert Specialist
Here is an article that may help:
Deploying an IIS-Hosted WCF Service
Aug 10 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Paul Fi | last post by:
I have this problem with .NET remoting: my remote class is called RemoteHandler which implements an interface called IEazyRemoting which has only one method to be implemented which is my server configuration file looks like this: <configuration> <system.runtime.remoting> <application> <service>
by: Terry Holland | last post by:
I posted a follow up to an earlier post but did not receive response so here it is again (with original post and response) > This could be because you are running the index service over this web > application. try to stop indexing this application (from IIS management > console, clear "Index this resource") or stop the index service to test if > you still get error or not. I removed this option but still get the error. The error...
by: Jorgas | last post by:
Hi! I try to use the configuration application block from the Enterprise Library and have done prework as specified from one of the hands-on labs from that package. When trying to get configuration settings using the ConfigurationManager.GetConfiguration my application, which is a windows service, stops with the following error message (parts of it) written to the event log. "Service cannot be started. System.IO.FileNotFoundException:...
by: Mike Livenspargar | last post by:
We have an application converted from v1.1 Framework to v2.0. The executable references a class library which in turn has a web reference. The web reference 'URL Behavior' is set to dynamic. We added an entry to the executable's .exe.config file to specify the URL, and under the 1.1 framework this worked well. Unfortunately, this is not working under the 2.0 framework. I see in the Reference.cs file under the web service reference the...
by: Peter Bradley | last post by:
OK. A bit behind the times, I know; but we're just moving over to .NET 2.0. How on earth do you manage configuration settings in a class library in .NET 2.0? In version 1.1, we used a handy class called AssemblySettings that someone (I forget his name) had written. When the class library was finished, you deployed it to the GAC and put the configuration files in the GAC with the class library assembly. This no longer works. In fact...
by: SeeSharp Bint | last post by:
I have written a Windows Service application that does some scheduled small tasks on one or more sql server databases. I've written it so that it can service several databases. I've also written a small application with a single main configuration window that allows add/delete of databases, login details etc to a stored file At the moment both of these are separate applications but I'd really like to combine the two together as they're so...
by: Jan Eliasen | last post by:
Hi I am having some problems reading configuration values from a configuration file, using C# 2.0. I have programmed a Windows Service, and this part goes well - it runs nicely. Now, the Windows Service must call a Web Service every now and then. I have added the web reference, and made it dynamic, so I can change the
by: =?Utf-8?B?U3RlcGhhbmVWYXJpbg==?= | last post by:
Hi all, For some reasons, we've had to move away from the configuration files and are now storing all the configuration parameters for our applications in a SQL table. We have developped a library to manage the access to these parameters and all our projects are now using this component. Our applications vary can be web applications, web services, windows services, even MS Office Addins. Now here is the question that we are asking...
by: Lance Wynn | last post by:
Hello, I am receiving this error when trying to instantiate a webservice component. I have 2 development machines, both are XP sp2 with VS 2008 installed. On one machine, the code works fine. On the other machine I get the error upon instantiating the service client. I add the reference by choosing Add Service Reference from the project menu, and pointing to the remote wsdl file. I can't seem to find what the difference between the two...
by: =?Utf-8?B?SmFzb24gUmljaG1laWVy?= | last post by:
Is there a way to catch an application configuration error on startup? I have written a windows service. If there is an error in the configuration file (such as invalid xml) the exception is thrown before the OnStart method is invoked. Is there a way to catch this exception? Thank you, Jason Richmeier
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.