Forum Home › Forums › Uncategorized Issues › WCF Service error
- This topic has 13 replies, 4 voices, and was last updated 7 years, 2 months ago by MohanadOdema.
-
AuthorPosts
-
January 29, 2015 at 9:39 pm #68telecoParticipant
Once I have logged to some account, when I try to visualize the default scheme, the next error appears:
WCF service error: [HttpWebRequest_WebEXception_RemoteServer]
Argumentos: NotFound
Las cadenas de recursos de depuración no están disponibles. La clave y los argumentos suelen proporcionar suficiente…How can I solve it?
January 30, 2015 at 7:35 am #71MikhailModeratorThe error is concerned with a security reason. Scheme is displayed by the silverlight application which can’t connect to WCF service.
Try to open SCADA-Web using different URLs:
http://localhost/scada
http://127.0.0.1/scada
http://YourComputerName/scadaDoes it solve the problem?
October 13, 2015 at 2:07 am #601sancudoParticipantI’m having the same problem, opening SCADA-Web with the different URLs suggested didn’t work for me. It throws the same error anyway.
Are there any other alternatives to solve this?
October 13, 2015 at 7:46 am #602MikhailModeratorIs there any additional information in the log files in the folder C:\SCADA\ScadaWeb\log ?
October 13, 2015 at 8:30 am #604MikhailModeratorDoes http://localhost/Scada/scheme/ScadaSchemeSvc.svc open correctly?
October 13, 2015 at 9:39 am #606sancudoParticipantThe ScadaScheme log provides no information. The only thing in ScadaWeb that could be something is this, which i’m not sure what kind of file it is.
2015-10-13 06:27:29 <MYCOMPUTER><DefaultAppPool><ACT> SCADA-Server unable to open file [Ev]\e151013.dat
Only log before that is me login in. Not sure if this has something to do with it. When I attempt to load the default scheme and get the error, no lines are added to the log file but the time of that is not far off from about 5 minutes from one of the times when I got the error.
I get an error 404.3 when trying to Access the .svc like that.
- This reply was modified 8 years, 6 months ago by sancudo.
October 13, 2015 at 9:54 am #608MikhailModeratorMost likely Microsoft WCF does not work on your computer.
Try the following recomendations: http://stackoverflow.com/questions/6425442/http-error-404-3-not-found-in-iis-7-5
Be attentive: you need WCF 4 or higherOctober 13, 2015 at 5:56 pm #609sancudoParticipantWell, seems I made some progress, now I’m getting this error
WFC servie error: [ResponseContentTypeMismatch
Arguments: text/html; charset=utf-8,text/xml; charset=utf/8,1024,<!DOCTYPE html PUBLIC “-//WC3//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org…
The ScadaWeb.log throws this as the associated error
2015-10-13 14:55:39 <MYCOMPUTER><DefaultAppPool><EXC> Application error: Path ‘/Scada/scheme/ScadaSchemeSvc.svc’ is forbidden.
at System.Web.HttpForbiddenHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Page: http://localhost/Scada/scheme/ScadaSchemeSvc.svcAnd trying to access directly to the .svc throws this in the browser
Application error: Path ‘/Scada/scheme/ScadaSchemeSvc.svc’ is forbidden.Any way to enable the access? is it because of firewall or is there another reason?
October 13, 2015 at 6:57 pm #612MikhailModeratorI don’t think that Firewall blocks the page. The cause is in ASP.NET, IIS and WCF.
What Windows version do you use?October 13, 2015 at 7:01 pm #613sancudoParticipantWindows 8.1
October 13, 2015 at 8:18 pm #614MikhailModeratorOctober 13, 2015 at 11:09 pm #615sancudoParticipantManaged to solve it by using DSIM in the command prompt in one of the replies of the first link.
After aplying that I started getting the following error
Server Error in ‘/Scada’ Application.
——————————————————————————–Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.Parser Error Message: The value of the property ‘controlRenderingCompatibilityVersion’ cannot be parsed. The error is: Version string portion was too short or too long.
Source Error:
Line 4: <compilation targetFramework=”4.0″ />
Line 5: <roleManager enabled=”true” />
Line 6: <pages controlRenderingCompatibilityVersion=” ” />
Line 7: </system.web>However, I fixed it by putting 4.0 instead of leaving line 6 blank which is the line of the error.
Thanks for all the help and availability!
October 14, 2015 at 6:24 am #616MikhailModeratorThanks for the solution! I hope it will help others.
February 9, 2017 at 3:55 pm #1937MohanadOdemaParticipantHi,
For the problem WCF service error: [HttpWebRequest_WebEXception_RemoteServer]
Arguments: NotFound. This solution did not work for me yet I’m adding another solution that I figured out during the course of a day in case someone is facing the same issue.I’m using Windows 7 sp1 for the record. After I had installed the .NET framework v4.0, I ran the cmd program as an administrator and typed the following:
cd C:\Windows\Microsoft.NET\Framework\v4.0.30319\Next I typed: aspnet_regiis.exe -i
These steps make sure that the IIS is actually working with version 4 of .NET.
Regarding the “not found arguments”, I opened Scada\ScadaWeb\Web.config and found that the argument behavior name is nullified so I initialized it to “a” and I was finally able to load my scheme from the web browser.
-
AuthorPosts
- You must be logged in to reply to this topic.