473,785 Members | 2,476 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 18006
wph101larrya
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!
Larry

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
kenobewan
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

1
2858
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>
2
390
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...
0
1212
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:...
7
22498
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...
7
10323
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...
1
1625
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...
2
3628
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
7
1436
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...
3
4428
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...
4
1751
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
0
9647
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, 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...
0
10357
Oralloy
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...
1
10101
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,...
0
8988
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5396
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...
0
5528
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4063
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2893
bsmnconsultancy
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.