WCF / ASMX :: Adding A Remote Web Reference And 'Discovery Credential'?

Apr 1, 2011

I have developed an asp.net web service and deployed it Win 2003 server on IIS 6. I tried to access it from my asp.net application which is in developer pc, i'm getting a dialog-box "Discovery Credential for Proxy Server"... which asks for a user and password.

Even when I provided right credentials it is not accepting. May be this is because of firewall. How can I get rid of this.

View 1 Replies


Similar Messages:

Security :: Saving Files On A Remote Server / Specifying Credential?

Apr 30, 2010

My web application is on a Webserver that is in a DMZ .

the web application must save on the server in LAN some files, but the webserver cannot access the file server because has no right to access. i wouldn't create an account for the web server, but i would that any time the application has to upload a file onto the file server make a connection that encapsulate credentials, then the upload starts ,finally the connection closes.

Is possible with some Objects to do this type of work?

View 1 Replies

WCF / ASMX :: Getting Error On Adding Service Reference?

Aug 25, 2010

I am getting this error while loading(adding) it into service References (web client)

The type 'WcfTrial2.Calculation', provided as the Service attribute value in the ServiceHost directive could not be found.

How to resolve it?

View 1 Replies

WCF / ASMX :: Adding Reference To Web Service Do Not Copy The .config File?

Jul 8, 2010

I am adding a reference of class library in web service in VS2008 and it is not copying the .config file from class library to web service. I have checked the property "Copy to output directory" of .config file and its value is "Copy Always".

View 3 Replies

WCF / ASMX :: Adding Webservice Reference To WinApp - Cannot Convert From 'TestSolution.Business_Objects.Synchr...

Jul 19, 2010

I am using this method since a year to build my project, but I am really tried of it now. I have to find some good solution on it.

The issue is, in my solution I have some c# library projects(BO, BAL, DAL) and 1 web project which also contains a webservice.

My Webservice accesses BusinessObject classes to transfter data from webservice to Window Application programm.

Now when I am adding a webservice reference to this web application, I got some error like following

Error 34 Argument 1: cannot convert from 'TestSolution.Business_Objects.Synchro' to 'KeySoftlock.KeyWebService.Synchro' D:websTestSolutionKeySoftlockBusiness LogicWebServiceCaller.cs 296 62 KeySoftlock

so , for this what I am always doing is , I go into the Reference.cs of KeySoftlock project - auto created by VS when I add web reference- and delete the classes that are automatically generated there., and adds a namespace Business_Objects, so that both classes will be the same.

Now my project-solution builds properly! But now its really overhead of always doing this when I change the webservice reference from local to remote and vice versa.

View 6 Replies

WCF / ASMX :: How To Pass Credential To Web Service

Dec 22, 2010

May I know how to pass credential to SOAP web service? I tried to assign via Proxy.ClientCredentials but seem it is read only property.

View 4 Replies

Vb.net - Request.LogonUserIdentity.Name Returns Server Credential Not The Users Credential

Feb 15, 2011

I am building a simple intranet site and want to get the employees user name, but when i use Request.LogonUserIdentity.Name , i keep getting the servers credentials and not the users. what am i doing wrong and is there a better way to do this.

View 1 Replies

WCF / ASMX :: Create An Instance Of Web Service Without Adding Web Service Reference?

Mar 17, 2011

How to create an instance of web service without adding web service reference? How to identify the server address/name where the web service is hosted from C# code?

View 1 Replies

WCF / ASMX :: Call HTTPS Web Reference Through Another Web Reference - An Unhandled Exception Of Type Error?

Aug 6, 2010

I am trying to call web reference "A" in an application.

The web reference "A" will then call a function in another web reference "B" through HTTPS connection (require certificate).

Then I keep getting the following error:

An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in System.Web.Services.dll

View 3 Replies

Visual Studio - Why Does Website Reference Assembly From GAC, When Adding Local Reference

Jan 7, 2010

When you use ASP.NET web site (instead of web application model) and add reference to an assembly from local folder, Visual Studio, it seems, understands that this local assembly is also in GAC and so does NOT copy this assembly to bin folder (as it does with non-GAC assemblies), but simply adds new record in web.config file.

Why such a behaviour? Is it possible to force copy to bin folder (I need this since .dll is not on target environment)? I can add assembly to bin folder as file and it will work, but in this case bin folder contents will be in source control, which is not good.

View 3 Replies

Active Directory/LDAP :: Developing A Network Discovery Utility In VB.NET?

Mar 20, 2011

I am developing a network discovery utility in ASP.NET (VB.NET). The utility would crawl the complete network and find out maximum details about all the devices that

are connected to it. After some research i have found out that i can get the complete information about PCs and Servers using WMI but i am unable to find a way to get

information about other types of network devices such as Network Printers, Routers, Switches, IP Phones, Handheld devices etc. Can anyone point out in the right

View 1 Replies

WCF / ASMX :: How To Debug A Remote Web Service

Jan 20, 2011

How do you guys debug your remote web services?

View 1 Replies

ASMX :: Using WCF To Binding To A Remote WebSphere MQ?

Jan 11, 2011

I am new to WCF, I have read where you can Bind to a MSMQ, my question is can you also bind to a remote queue running on a Unix box? If this is possible, how would you define your endpoint (address,bining) and what Binding type and binding configuration do you need to use?

using .NET 3.5, IBM WebSphere MQ on unix the QManager is running v6.0.

View 1 Replies

WCF / ASMX :: Remote File Synchronization Using WCF?

Apr 26, 2010

i need working example for remote file synchronization using WCF

View 1 Replies

WCF / ASMX :: How To Call Remote Web Service From Application

Apr 13, 2010

We have two application created one for webservice and other application will call the methoddefined in webservice .The problem is we want to add webservice in our application dynamically

View 4 Replies

WCF / ASMX :: How To Call - Consume Remote Web Service

Nov 13, 2010

I need to call remote web services for example [URL]. So how to do it? I watched all asp.net video about web servies but in all videos they speaking just about local web services,

View 5 Replies

WCF / ASMX :: Webservice To Parse HTML Tag From Remote Url?

Jan 25, 2011

parsing the HTML from a URL for e.g. www.google.com...Idea is to convert the html to xml and than read and dump the content in the database...Is the approach correct or their a better way to do so?

View 1 Replies

C# - Asmx Webservice Works Locally But Not When Deployed On Remote IIS 7

Sep 25, 2010

I have developped an asmx webservice with visual studio and I deploy on IIS 7 which has 3.5 Framework by copying all the files.

When testing it says

Could not load file or 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

I don't use [System.Web.Script.Services.ScriptService] so I don't understand why it tries to load System.Web.Extensions.

Note: I'm not using any other assembly/lib I'm just learning webservice so it's very simple: I create a webservice Test.asmx with one method which uses one class Test.cs within same namespace WebServiceTest. This works locally.

View 2 Replies

WCF / ASMX :: Cannot Get Web Service On Remote Server To Work Using A Domain Name

Jan 25, 2011

I have an Asp.net 3.5 xml web service that I created using the file new website within Visual Studio 2008. I can install and run the web service on a remote server using a web setup project after adding the necessary entries to the web.config file. The problem currently is that the xml web service needs to be configured to use a domain name and not a server name. My coworker has not been able to configure the virtual directory to use a domain name and work successfully. The web service returns a site under construction error.

View 1 Replies

WCF / ASMX :: Authentication Failed Because The Remote Party Has Closed The Transport Stream?

Nov 11, 2010

In Visual Studio 2005 I am following the steps to add a Web Reference to a web service.hings appear to go smoothly except for an error messae I am getting. Here are thesteps I follow along with the result.1. Right click on Web References folder and select "Add Web Reference..."2. When the dialog box appears I add the web service URL into the URL dialog box.The web service methods are then displayed in the dialog box with the links to each web service and a prompt to "Start Browsing for Web Service"However in the box to the right which is labeled "Web services found at this URL", there is an error messagewhich reads:There was an error downloading 'https://stage-serv/weatherQuote/WebService/weatherQuote.asmx

The underlying connection was closed: An unexpected error occurred on asend.Authentication failed because the remote party has closed the transport stream.I don't know what is causing this problem. I can reference this same web service on a productionserver just fine, but if I attempt to access it on the stagig server I get the message Ijust talked about.I am thinking that something is not configured on the staging server correctly.

View 3 Replies

WCF / ASMX :: Calling A Remote Or Local Web Service That Returns A JSON With JQuery?

Mar 16, 2011

how to create a Web service that returns a JSON(or JSONP). That also should be able to work for cross-domain access aswell as for a local call.. help to get this working or for a few links for further reading about this

View 2 Replies

WCF / ASMX :: Access Denied And Null Returned While Accessing Web Services From Remote Server?

Sep 2, 2010

writing a web Service and one of its web method, I want it to download a png file in form

of buffer from remote server. And My consume application will write that buffer retured by Web service in to file on User's Computer.

However, I am able to do this using Local Web Service but when I published that service on my web server, I always get null retuned

And even in one of my test code while copying file from that server , I always get Access Denied.


Following things I have done for above issue.

1] I even tried making the Anonymous user for the web service the system administrator (with the correct password), to no avail.

2] I also tried sharing out the folder I'm pulling files from to allow access from Everyone.

[Previously same service was working fine on another remote server with IIS 7.0, we checked server IIS Settings but in vain.]

if you know where we are mistaken guide me to resolve this issue as its very urgent.

View 2 Replies

WCF / ASMX :: Web Reference Not Updating?

Mar 11, 2011

I have a webservice on my local pc and I am adding a refernce to it on a cleint application. It picks up the reference but when I change something on the web service and then update the reference on the client it doesn't reflect thae change.

To explain it further, I have an svc file on the server which points to a class with methods in it. I add a web efernce to this svc file on the clieint (I select "add reference-and enter the localhost address in the box for the url (http://localhost/MyService/Service/MY_SERVICE.svc).

It displays it and when I click on http://localhost/MyService/Service/MY_SERVICE.svc?wsdl it shows me the methods within the class. That is fine but if I add or remove data members in one of those methods, it doesn't reflect the cahnges when I update the reference on the client.

I can tell because if I look at the Reference.cs file that is automatically generated client-side, it shows the method but not the new data members. Instead it just shows an int and a bool passed in as parameters

If I add a new method to the class the web service is referencing, these changes are reflected client-side but if I change properties of the method they are not.

View 1 Replies

Adding Reference To DLL Is Not Working?

Jul 8, 2010

I have created a VB DLL by selecting File - New - Project and then Class Library

I added a "Properties" region and a "Function" region with some simple properties and one simple function. Compiled it and used it in another app with no errors.

At that point the only references in the project were the default references when creating the new project.

I then created a function that will take a file as a param and get the physical path and add the 2 together. In the function I use the "Request.PhysicalPath" method of the System.Web.UI.UserControl.

I then added areference to the System.Web DLL in my project.

PROBLEM IS I get an error on "Request" that says "Name Request is not declared"

So I googled the error which I found a thread that said to "just use HttpContext.Current.Request.Form" because "by default all websites developed in Visual Studio 2005 is Inherited from System.Web.UI.Page and Class files won't that's the resion we have to add System.Web.UI.Page namespace in the class file"

However when I added the "HttpContext.Current.form." before my "Request.PhysicalPath" I get the same error on "HttpContext".

What Am I doing wrong?

System.Web.UI.UserControl

View 2 Replies

Configuration :: Adding Reference Again & Again?

Oct 4, 2010

I'm new to .net

I've following line in my code:

using Microsoft.ServiceModel.Web;

And it works fine as long as I add the namespace reference to microsoft assembly dLL System.ServiceModel.

The moment I copy the code on other machine, I need to redo everything. Is there any way so that I don't need to add this reference again & again?

View 13 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved