I have a web service in production that is running over https using a certificate. I would like to deploy this to a staging server without a certificate.
So I believe my best approach is to migrate this to a http service on the staging server. I have modified the web.config and changed the security mode to none and can see the running in IE.
When I use a WebClient to access the service I get a 'The remote server returned an error: (403) Forbidden.' error message.
Can anyone give me some advice on this please?
Thanks
Al
I think it is a permission issue. Check all the permissions. If you had any more problems, you will get extensive error saying multiple things.
Check if you can connect using the WCF Test Client (you can find it inside Visual Studio's Common7 folder, or just search for wcftestclient.exe). If it can connect to the service, you can make it show you the .config files it uses (and you'll be able to cross-check them against yours).
Related
A couple of days ago our web app started showing a 503 error when trying to access our web app. It works fine when ZScaler is off. This is an old app running .NET MVC 5 on a Windows Server 2012 machine. No changes were made from our side when the issue started happening, so I was suspecting that the networking team had done something. However, they cannot seem to locate the issue.
When trying to access the page through Chrome, I get a HTTP 503 error, but on Firefox it shows a blank page and says that the connection is not secure. I can access the web app through the server hostname URL fine. However, when trying to use the registered domain name, it is displaying this error. I have checked the logs on the server, but it isn't showing anything specific to this error.
Does anyone know what this could be? Is there anything in IIS that I should look at specifically?
I have checked the logs on the server, but it isn't showing anything specific to this error.
An HTTP 503 error usually indicates that the server is currently not able to handle the request due to maintenance or capacity issues. It could be caused due to many factors, like a server outage, an issue with the network, or a problem with the application itself.
Here are a few things you can try to troubleshoot the issue:
Check the IIS logs, IIS logs are located in the
C:\inetpub\logs\LogFiles folder by default.
Check the event logs, event logs can be accessed through the
Event Viewer (eventvwr.msc).
Try accessing the web app using the server's IP address instead of
the registered domain name. This can help determine if the issue is
related to the domain name or the server itself.
Make sure that the application pool for the web app is running and
that the application pool identity has the necessary permissions to
access the web app's files and resources.
Check the network configuration and make sure that the server is
properly connected to the network and that there are no issues with
the network connection.
Check the web.config to make sure that it is properly
set up and that there are no issues with the web.config file.
Check the ZScaler configuration to make sure that it is not
blocking access to the web app. You may need to work with the
networking team to determine if there are any issues with the
ZScaler configuration.
I need to access a web API to access a different computer which is in a local network. For that purpose I publish that API and hosted by IIS. my computer and the other computer (which is going to access the API) pinged without any error and also I already accessed this API through the other computer successfully. but unfortunately today on words I could not be able to access it.
this is the error that occurred:
I tried lot of things according to the following order, but it doesn't work out.
Added runAllManagedModulesForAllRequests="true" to my web.config(in web API publish folder).
Read,write,modify permissions to Network Service,IUSR,IIS_IUSRS.
Disable virus guard firewall.
This error will appear in the other computer (which I am using to access the API).
Please be noted: I able to access this API yesterday, But today onwards I could not be able to access it.
Is your API running in your local machine?
if not check your apppoolidentity.
did you changed LAN PasswordToday?
I have created a wcf application and actually I have not done anything. I have attached the automatically generated code to the server under the sites.
However, when i host the app it gives me the HTTP Error 500.19 - Internal Server Error. Moreover, it says cannot read config gile due to insufficient permission but permission is given to the every one I believe.
Therefore, what do you think I should do..? Thanks in advance
Check for following links
1. How do I resolve "HTTP Error 500.19 - Internal Server Error" on IIS7.0
https://support.microsoft.com/en-us/kb/942055
Background: I am using a Windows Service to connect to CRM Online 2015 to get specific data from there and move it to a local SQL database for reporting purposes.
This is a well tested code that was running on the server of our client. Recently the service stopped and when i debugged it i got the following error.
This is otherwise working on my local machine but not on the server the service was originally installed on. What could be the reason for this? The client says that there is no firewall on the server.
Could it be the domain credentials I am using?
Here is the piece of code I am using to connect to CRM
I get an error at
OrganizationServiceProxy serviceProxy=newOrganizationServiceProxy(OrganizationUri, null, credentials, null);
NOTE: When I try to open any website or even crm instance itself the browser shows me the following:
Any Help guys?
I think your client installed a new set of rules on his SonicWALL or even started to use a SonicWALL. If I see it right the SonicWALL blocks your request.
SonicWall is a router, Network Administration may have blocked this category in router.
I've been going crazy over this one! I've googled this problem and read everything that pertains to this but no luck! I've developed a WCF Service and a test web site to test this service with. These two work together very well (on my machine) when I add the service reference to the test web site, but when I publish the WCF Service to a remote machine and try to add that service reference I get an error that states:
There was an error downloading '\SNMCDEVTEST\sslroot\EncompassService'.
Access to the path '\snmcdevtest\sslroot\EncompassService' is denied.
This is behind the SSL (versus wwwroot) part of the remote servers IIS. I have a self-signed certificate attached to the server and a new application pool attached to the WCF service. I've made sure that everyone has access to this folder, but I still keep on getting this error!
Thanks in advance for your help.
Steve