Visual Studio :: Unable To Add Web Service To App?

Feb 16, 2011

I work for a financial company that has many branches all over the world. Their network security is no 1 on their network priority list. Even the workstation I use is locked down pretty tight, so I don't have the ability to change or install anything. The firewalls are also pretty much very well controlled and I can't really do much, outside of the network, other than browse the web.

My problem is related to all of this...I wanted to create a web app that queries the Google Maps api to get info about the location clicked on a map, by using their reverse geocoding api.If I type the following into my browser, I get the results I require:

http://maps.googleapis.com/maps/api/geocode/xml?latlng=-26.0323760475938,28.0514430999756&sensor=true

When I use that url within my app, I get an "Unable to connect to remote server" error. I can only assume that this is related to our restrictions on the firewall, as if I publish the page to my web site (outside the company network), and run it, it works perfectly.

I decided that I would build a small web service with the required code in it to return the data I need. I have written the web service and published it to my site. When I test it by browsing to the asmx file location on my site, I get the usual info presented about the web service.

My problem is that when I try adding the web service to my mapping app, I get the following error, and the "Add Reference" button is disabled:

There was an error downloading 'http://www.carrollsoft.za.bz/mailclient/service.asmx'.
Unable to connect to the remote server.A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed...I thought that web services were supposed to be able to get around firewalls, because they use port 80? Our proxy server isn't on port 80, so I added the following to the web config on my mapping app, but I still get the same error:

<system.net>
<defaultProxy>
<proxy usesystemdefault="False" proxyaddress="mybrowserproxyname:1234" [code]....

View 2 Replies


Similar Messages:

Visual Studio :: Unable To Find The Ado.net Service Template

Mar 23, 2011

i am using VS 2008, whiile working on the walkthroughs of restful services(http://msdn.microsoft.com/en-us/library/dd203052.aspx), i did not find any template for the ADO.net services. Could you please direct me to the link where i can download/install the required template or package.

View 1 Replies

Visual Studio :: Unable To Install Visual Studio 2008 Professional Edition?

Aug 8, 2010

I downloaded Visual Studio 2008 Professional Edition via torrent.

It was working fine for months & i formatted my comp & when i tried to reinstall it is not getting installed !

It shows the following error !

and the error log file seems to be like this...

BUT.,

I'm able to use Visual Studio & i'm able to work in it....

I'm re-installing since 2 days for more than 4 times...

View 1 Replies

Visual Studio :: Unable To Install VSIX Extensions In The Visual Web Developer 2010?

Aug 8, 2010

Not able to Install VSIX Extensions in the Visual web Developer 2010

I have downloaded the power commands.

When I double click the power command extension.

It Shows me the Message " The extension is not installable on any currently installed products".

View 6 Replies

What Is Difference Between Visual Studio Feature Pack 2 And Visual Studio Service Pack 1

Dec 8, 2010

what is means of both and difference between both.

View 1 Replies

Visual Studio :: Unable To Use Breakpoints?

Mar 17, 2010

I have my project in VS2005, its is working fine last few years, But now durning development i face problem regarding breakpoints, here Im unable to get stoppage at breakpoints, I have change setting of security in Internet options add localhost as trusted site, but still its remain the same.

I also try Attach to process.... option from the debug, here webDev.WebServer process of running site is disable. Now Im totally unable to debug my project.

View 6 Replies

Visual Studio Unable To Debug Application

Jan 7, 2011

I am developping an MVC3 RC2 application and just after hitting F5 on my asp web application, I am getting this error message program '[7780] w3wp.exe: Managed (v4.0.30319)' has exited with code -2 (0xfffffffe).So I am totally unable to debug my application

View 10 Replies

Visual Studio :: Unable To Start With Or Without Debugging

Nov 22, 2010

I have used Visual Web Developer (versions up to 2010) with no problems for several years. Starting last week I am no longer able to run or debug any ASP.Net application locally. I am running Windows XP, IIS 5.1, IE8, Visual Web Developer 2005, targetting .Net 2.0. I am not able to Start Debugging or Start Without Debugging for any project. When I attempt to Start Debugging, IE browses to [URL] instead of to the project I am attempting to run. When I Start Without Debugging, IE opens to about:blank and then when I close that window another IE window opens to [URL]

Maybe irrelevant, but I had the same problem with IE7 and VWD 2010 (versus IE8, VWD 2005). IIS is set to .Net version 2.0. I have the same problem whether I add a virtual directory to my project in IIS or not.

View 5 Replies

Visual Studio :: Unable To Debug In Asp Page

Mar 23, 2010

I am a new in asp.net world (and in asp). I have a problem in asp.net page.... i wish to debug this page to try the error but I don't I can not debug I have downloaded all proj from "Team Fondation" and then I have took all page in check-out. The server, where I develop is the WEB serve test.

View 5 Replies

Visual Studio :: Unable To Debug Without Building?

Jan 26, 2010

I'm developing a large application in C# Visual Studio. It's reached the point where it takes about a minute to build the entire thing. In order to speed the debugging process, I want to be able to run the program with a debugger without building the entire thing. This seems like a very basic thing one should be able to do, but I've been unable to figure out how to accomplish it.

I have found the area in Options under "Projects and Solutions/Build and Run" where you can specify what VS should do "On Run, when projects are out of date:". I've tried changing it to both "Prompt to build" and "Never build," but it still always builds my entire project whenever I start debugging.

At the moment, I'm circumventing this by starting the program from its executable and attaching the debugger to it, but this is a bit of a hassle and it feels like I should be able to get VS to understand I don't want it to build when it debugs.

View 7 Replies

Unable To Debug Website In Visual Studio?

Mar 15, 2010

I used to be able to attach to my w3wp process and Debug my web application, but this is not working anymore. I have no idea what changed to break this. I'm using Visual Studio 2008 SP1. And I'm debugging in IIS, not using ASP.NET's own server (i.e. I don't Run my project, I simply attach to a running process (w3wp).

My breakpoints simply have the "breakpoint will currently not be hit. The source code is different from the original version."

What I have tried:

Did a solution Clean.
Did a solution Rebuild.
Made sure that compilation debug=true in my web.config file.
Deleted the bin folder
Restarted Visual Studio
Restarted IIS
Restarted my Computer
Added a simple Response.Write to ensure that the latest DLL is being used. It is.
Made sure that Debug ASP.NET is checked in my project properties. It is.
Made sure that all my projects are compiled in my build configuration. They are.

View 5 Replies

Visual Studio :: Unable To Edit (CSS) File?

Aug 5, 2010

I'm getting this error: "Unable to edit file .... The style sheet must be part of the current project and the project must be a web site or web application project." I have tried it with the CSS file defined in the Site.Master file as relative (,,/,,/xx.css) and full path (e.g. c:....) I get the same error in both cases and I am unable to edit the CSS file.

View 3 Replies

Visual Studio :: Unable To Find Aspnet_regsql.exe?

Jun 27, 2010

Downloaded Microsoft Visual Web Developer 2010. I cannot find aspnet_regsql.exe anywhere on my pc, searching to download it. Google searched, search in msdn, microsoft, still cannot find this file to download. where I can download this file from?

View 9 Replies

Visual Studio :: Unable To Connect To Sql2005?

Jun 4, 2010

I have installed visual studio 2010, but I got some problem in connecting to my sql2005.

Whenever after I choose the Server name and database name for new connection, it shows a message that unable to add data connection.

Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version= 10.0.0.0, Culture=nertral, PublicKey=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.

View 3 Replies

Visual Studio :: Unable To Debug Website?

May 18, 2010

I moved my site to a Windows 2008 server, reinstalled VS2005 and now I am unable to debug my application. When I click start debugging, the button is greyed out until the browser launches and then it returns to normal. In other words VS is just launching the app without attaching to it. I have tried running as administrator and played around with the authentication settings to no avail. I am running with Forms authentication.

View 4 Replies

Visual Studio :: How To Debug Web Service

Mar 3, 2010

How can i debug my deployed web service?

I have deployed a web service on my development machine and i am connecting it through my asp.net application, both web service and asp.net application are on same machine but web service is hosted on IIS.

View 1 Replies

Visual Studio :: Path To Web Service Has Not Been Set

Nov 24, 2010

My website (VWD 2008 Express) has been running for some time with no error. Something has become corrupted, I am getting the error message "Error: Sys.InvalidOperationException: The path to the web service has not been set." when attempting to use the default authentication message. Nothing has changed in the script manager specification on the page.

View 1 Replies

Unable To Find WSDL.EXE In Microsoft Visual Studio 9.0

Dec 6, 2010

I am not able to find my wsdl exe in Microsoft Visual Studio 9.0. i searched in all of my SDKversionBin. but could not find it.

View 4 Replies

Unable To Publish Website On Visual Studio 2010?

Jul 5, 2010

Recently I've upgraded from Visual Studio 2008 to Visual Studio 2010, however I'm having various problems when uploading my compiled web site to the live area. I'm doing exactly the same as I would have done with Visual Studio 2008, however, now I receive errors such as:

{filename}.aspx is not a pre-compiled file
masterpage.master does not exist

All these errors don't make sense. Has anyone encountered these problems before, and was a solution ever found?

View 1 Replies

Visual Studio :: Unable To Open .css Files In VWD2010

Feb 1, 2011

I have not been able to open css files in VWD, I must have sone something I don't know. I can open them in wordpad, and WebDevelopment Server still displays properly so the file is not currupt. Is there a setting I messed up in web.config or somewhere else?

View 5 Replies

Unable To Open Code Behind File In Visual Studio

Mar 24, 2010

In an ASP.NET web application using C#, when we double click on design it will go to code behind page (cs file), but problem here is, when we double click on design its going to script of source file. Why it is happening?

View 1 Replies

Visual Studio :: Unable To Open Designer In 2008

Oct 5, 2010

I was using VS2008 everything ws going well but one day because of some problem i have to reload the windows and VS2008 and since then i am unable to open the designer.It does not give me any error message but i am unable to use any of the feature after clicking design or view designer from solution explorer.I have tried reinstalling the VS2008 but it does not solve my problem.

View 1 Replies

Visual Studio :: Unable To Use Web Deployment MSBuild V10 With AspNetMerge .NET 4

Jul 8, 2010

I am using Web Deployment v10.0 RTW and .NET Framework version 4.0 MSBuild.

There were some problems with incorrect settings and resulting in errors. I had to pass in my own values in order to continue to the next step:

[Code]....

With the above setting, it builds in .NET 4.0 instead of 2.0, but I am having trouble with AspNetMerge:

[Code]....

I was able to solve the above error by changing this inMSBuildMicrosoftWebDeploymentv10.0Microsoft.WebDeployment.targets:

[Code]....

But soon came to another error:

[Code]....

So I changed some more to make it work:

[Code]....

But again hit with another error but this one I can't solve:

(AspNetMerge target) ->

aspnet_merge : error 1008: The PrecompiledApp.config file is missing. Make sure the application has been precompiled with the Aspnet_compiler tool.

View 3 Replies

Visual Studio :: Unable To Connect To Development Server

Mar 3, 2010

I'm getting this problem with one of my web projects. I've looked at [URL] and other suggestions around the place, none of which apply here. The odd thing is, it's occurring with *one* of my new web site projects, but not another one. Odd again is that they're both 100% fresh sites, created with the "New Web Site" option in the File menu, within a day of each other, and nothing has been done to them, apart from a bit of "hello world" html. WebSite1 was created first, and Cassini worked when I first created it the other day. A day later, I created WebSite2 and Cassini worked (and still works) with that one.

However, when I open WebSite1, I get the above error code - again, it was working fine the other day, and WebSite2 works fine. I've compared their .sln file - so differences apart from the VWDPort number used, and of course the path to the site and various GUIDs. Everything else is identical. Same with comparing web.config files. No differences there at all. So I'm stumped - why would Cassini start up fine with WebSite2 (and subsequent sites I create) but suddenly stop working for the WebSite1 project, when it was working ok a couple of days ago?

View 2 Replies

Visual Studio :: Unable To Connect To Server Whenever Trying To Run Project

May 7, 2010

Whenever i run the project this problem occur Can any one give me solution. should i have to delete webdev.webserver.exe and install another is this the right solution for my problem.

View 1 Replies







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