WCF / ASMX :: Getting 403 Then 404 Error On Web Service That Was Working On Prior Server?

Mar 2, 2011

I have a web service that was running on Server 2003, IIS6. The service required an SSL connection. The service expects 4 parameters; a User ID, Password, Record ID and the "type" of data requested (one of 5 options). The service validates the user then simply performs a select of the record ID from a table determined by the type specified. This service was up and running for a couple of years. I installed a couple of new servers a couple of months ago. The users that makes use of this service just tried it and couldn't get a response. I checked the server and I hadn't copied the service over. The service is located in a virtual directory under the primary web site.

For example, the site is: [URL] Service virtual directory is "GetITSData" The call to the service has been: [URL] param1, param2, param3, param4 and the service would return the appropriate data. I "assumed" that when I copied the actual contents of the directory over, that the service would then begin functioning again (since it was empty). All IIS snap-in manager items for the virtual directory match the previous settings on the old server (I still have that server available in my office). The main site requires SSL and uses forms authentication. When I create a dummy site in VS2008 and try to add a service reference, I get the following: There was an error downloading [URL]. The request failed with HTTP status 403: Forbidden. Metadata contains a reference that cannot be resolved: [URL]. The remote server returned an unexpected response: (405) Method Not Allowed. The remote server returned an error: (405) Method Not Allowed. If the service is defined in the current solution, try building the solution and adding the service reference again.

View 2 Replies

Similar Messages:

WCF / ASMX :: Web Service Is Not Working On Production Server

Sep 14, 2010

i am calling the webservice from acrobat javascript. it works very well in development server. but when i put the same code in production server, it doesnt call the webservice.

View 3 Replies

ASMX :: WCF Service Consuming Error Code: Server Error In '/' Application

Aug 7, 2010

I have hosted a service in the IIS server, while consuming the service i am getting some error. I have mentioned the error code below.

Error code:

Server Error in '/' Application.

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

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The type 'EchoTunnelService.EchoService', provided as the Service attribute value in the ServiceHost directive could not be found.

Source Error: [Code]....

Version Information: Microsoft .NET Framework Version:2.0.50727.3607; ASP.NET Version:2.0.50727.3614

View 1 Replies

WCF / ASMX :: Getting Error "server Error In Web Service Application"?

Mar 25, 2010

when I run webservices am getting the following error

"server error in web service application"

I created webservice as application under IIS also

View 1 Replies

WCF / ASMX :: "Service Error - Web Service Failure

Feb 2, 2011

I am keep getting an error that "Service Error : wbsTest failed" where wbsTest is my webservice.

The error comes up frequently enough for the user - normally reproducible within a minute or so of working with an application.

A bit of background: An user is a remote user accessing application hosted on our servers over https. He is software firewalled and his connection isn't the fastest but it is responsive enough. When errors do not present themselves, page loads are fairly quick.

View 8 Replies

WCF / ASMX :: WCF 3.0 Debug Service Error - Recipe Framework Error?

Jul 29, 2010

This is happening only in my system. when i do a build it just works fine but when i try to debug the service i am getting the follwoing error. please let me konw what would be theissue.

Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe DebugWCFService. Error was: Action DebugWebProject failed to execute:
Value does not fall within the expected range..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.ArgumentException: Value does not fall within the expected range.
at EnvDTE.Properties.Item(Object index)
at Microsoft.Practices.RecipeFramework.Extensions.Actions.VisualStudio.DebugWebProjectAction.Execute()
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName, Dictionary`2 inputValues)
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName)
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionCoordinationService.Run(Dictionary`2 declaredActions, XmlElement coordinationData)
at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
--- End of inner exception stack trace ---
at Microsoft.Practices.RecipeFramework.Recipe.UndoExecutedActionsAndRethrow(Exception ex)
at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)
at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(IAssetReference reference)
at Microsoft.Practices.RecipeFramework.RecipeReference.OnExecute()
at Microsoft.Practices.RecipeFramework.AssetReference.Execute()
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec()
at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.Invoke()

View 1 Replies

WCF / ASMX :: Data Service Skiptoken Not Working

Jan 17, 2011

I created a WCF data service and i've set the service config params like;

config.SetEntitySetAccessRule("PROFILEs", EntitySetRights.All);

config.SetEntitySetPageSize("*", 100);

So, in the returned xml feed, the link to goto next page is: <link rel="next" href="http://localhost:4760/oData.svc/PROFILEs?$skiptoken=4105" />

However, if I browse to that url I get an HTTP 404 error "The resource cannot be found."

Also, none of the URI querystrings seem to work.

View 2 Replies

ASMX :: Optional Parameter Is Not Working At WCF Service

Jul 27, 2010

I was expecting a parameter will become a empty string value if the parameter is missing, but it turn out to be null. have I done it wrong for the optional parameter?


View 3 Replies

WCF / ASMX :: Working On A Web Service Program But Is Stuck?

Jan 18, 2011

I am working on a web service program but is stuck. i dont know what to do after I use the foreach statement to retreive my data.

using System;
using System.Collections;
using System.Collections.Generic; [code]....

View 5 Replies

WCF / ASMX :: Generating Service From Wsdl (SvcUtil Not Working)?

Mar 30, 2011

Im trying to generate a service based on the wsdls ive been given hitting svcutil directly.. try as I might I cannot get it to export everything correctly.. it ends up not including chunks of info from the wsdl files..

svcutil /n:"*, TestProject.Web" CreateApplication_Responder.2.3.0r2.wsdl DeclareDetermination_Responder.2.3.0r2.wsdl ..ivmdeclareDetermination*.xsd ..ivmcreateApplication*.xsd ..ivss*.xsd ..ivcore*.xsd ..ivdtqdt*.xsd /mc /ser:Auto
/importXmlTypes /tcv:Version35 /s

View 1 Replies

C# - Methods With Nullable Types Not Working In ASMX Web Service Using GET

Mar 14, 2011

I have an ASMX Web Service set up to use the HTTP GET method. Simple methods which take basic String and Int parameters are working ok, and I can call MyService.asmx/MethodName?Param=Value and get a response back in XML.

However, when I have a method which has a nullable Int (i.e. int?), I get this error:

< Method Name > Web Service method name is not valid.

The error message is confusing, as the method does exist, just not in the GET scope. I presume this is because a nullable type is too complex to be passed via the URL, but I can't find any documentation or SO posts on this.

I appreciate that complex types like Lists or custom classes etc will not work using GET, but I would have assumed that a simple nullable int or nullable datetime could be handled natively, simply by detecting whether it was omitted from the URL. Guess it's not that simple!

View 1 Replies

WCF / ASMX :: Simple Web Service Not Working With Standard JQuery Call

Jan 3, 2011

I have a simple web service that isn't working with a standard jQuery call. The code is below. The jQuery will execute and succeed, but on debugging, the service argument is always null. I've had it separated as 4 string params in a json string and that didn't work either. I must be missing something on the config side, but I can tell what it is.


View 2 Replies

WCF / ASMX :: Getting Error When Trying To Consume Web Service?

Oct 3, 2010



Error Message

Server Error in '/' Application.

CX_ST_MATCH_ELEMENT:XSLT exception.System expected element 'IOrgeh' Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code. Exception Details:System.Web.Services.Protocols.SoapException: CX_ST_MATCH_ELEMENT:XSLT exception.System expected element 'IOrgeh'Source Error:


Line: 49 Stack Trace:


View 1 Replies

WCF / ASMX :: Web Service, Wsdl Error

Mar 22, 2010

I have had some web services running for some time now without any problems. Recently I tried to update the webservices in the project they run from but keep getting the error:
Metadata contains a reference that cannot be resolved: 'http://server/ErrorEmails.asmx?wsdl'

When I tried adding the web reference to the project from scratch I get he following error: 'Unable to download the following files from http://server/ErrorEmails.asmx?wsdl'

Now I can see what the problem is: the 'server' part of the url is pointing to the
internal server name instead of the actual url. I have not changed anything in the web services themselves or the projects which include them. If I copy the exact same webservice to a different folder on the server it can connect with no problem. This makes me believe its an issue with the directory on the server, however the server administrators say that this is not the case.

How has this error come up all of a sudden and what is the solution? .. I have read various forums on creating proxy classes, adding code to web config file etc but don't see why this should be done when it worked fine to start with and still works fine in a separate directory on the server!

View 3 Replies

WCF / ASMX :: Service Over Https Returning Error

Oct 11, 2010

I am trying to deploy a wcf service. I have created a simple service, basically I have created a new wcf service and tried to deploy it however I get this error

The type 'WCF_Application.Service1', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.

I am trying to deploy my service to a subdomain like

My config looks like this


View 3 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 :: Error: Sys.InvalidOperationException: The Path To The 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

WCF / ASMX :: Error In Consuming Web Service Using WCF Client?

Aug 30, 2010

I have consumed an external webservice in my client application using WCF. And every thing works great in my Dev box(XP with IIS5.1)But when the same application is moved to Prod server(Win Server 2003 with IIS6.0) it fails. Below is the exception caught:

There was no endpoint listening at http://MyExternalWebServiceUrlWithSessionId could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.And the InnerException is: Unable to connect to the remote server.My Config file has the below settings:


View 1 Replies

WCF / ASMX :: While Consuming The Java Web Service, Getting The Error In Client?

May 20, 2010

I am consuming the java web service in .net client, when i sent a request to that web service, i am getting one exception in response object.It says "Client found response content type of 'text/plain', but expected 'text/xml'", along with this message i am getting the response in that exception.

View 2 Replies

WCF / ASMX :: WCF - Invalid Argument Error From Published WCF Service

Dec 20, 2010

I am making a call to a WCF service(Existing) from another WCF Service(New, my service), which is configured as Anonymous access. I did a service reference of my service to web application both under same solution file and web app is configured as Windows Authentication. When I call the existing WCF Service from my web app directly, everything works fine, but when I call the same existing WCF Service from my service, I got a "user does not have valid credentials" error. To avoid this error, I published my service to a server and referenced that URL to my web app. Though I got past the error, now, I am getting "Invalid Argument" error. No further information on the error.

Error source is MSCORLIB. There is no problem in the code of my service and the existing service, because if the same value that I get from the existing service is hard coded, then everything works fine. The existing service is used by many other app and it works fine. So, its a tested service. I tried to find a solution of "invalid argument" and I found few threads where others are facing the same problem when they publish a WCF service, but I did not find any proper solution for this.

View 1 Replies

WCF / ASMX :: Error While Retrieving Data From Wcf Service In Datatable

Jan 20, 2011

I have created a WCF Service which is returning a DataTable. It is successfully build and hosted in IIS7 and also working fine when i am returning a string only. but it gives me error (below) when i am returning a DataTable.

"The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error."

This is how i am calling my WCF Service.


View 1 Replies

WCF / ASMX :: Error When Call Service Reference Client Class

Apr 28, 2010

when svc.getLookupList(reqobj) will call i get following error.

"There was no endpoint listening at http://rets.newjerseymls.com/rets that could accept the message. This is often caused by an incorrect address or SOAP action."

View 3 Replies

WCF / ASMX :: Parser Error Message: Could Not Create Type 'Service'

Sep 24, 2010

My web service works fine on my local machine but when i put it on the server it throw this error:

Parser Error Message: Could not create type 'Service'.

I don't know how to fix this.

View 1 Replies

WCF / ASMX :: Error : When Calling WCF (.SVC ) Web Service / System.Security.SecurityException?

Dec 30, 2010

I have wcf web service, I works fine on my local machine,but when I move it to live then it throws following error

System.Security.SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.

View 2 Replies

WCF / ASMX :: Writing A Web Service To Call The Proxy Server From The IIS Web Server In Vb.net?

Feb 6, 2011

How to write a webservice to call the proxy server through IIS webserver?

View 2 Replies

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