got error when i try to run WebService in Debug
this error:
error while trying to run project: Unable to start Debugging on the Web server.
Debbuging failed because integrated windows authentication is not enable.
i work on C# with Visual-studio 2003 (this is old customer project)
thanks in advance
You need to enable windows authentication on IIS.
IIS 7/7.5 instructions are here.
IIS 6 instructions are here.
Related
**Hi Guys I just Cloned my project from a repository.
I am getting this Similar error
The Web Application Project […] is configured to use IIS. The Web server […] could not be found.
I do have IIS Manager on my pc. one of the solution is to set True on my cs.proj file but when i do it auto imports a port number. when i try to run the application with that port number the application hangs(load forever).
What are possible ways to solve this error ?**
Just to register an answer for all getting into the same problem under the same scenario, as we discuss and resolve it from the question's comments:
Ps: as i said this solution works for this particular scenario, maybe anyone else has to apply a different approach!
In this case, try to follow the below link for other solutions!
The Web Application Project [...] is configured to use IIS. The Web server [...] could not be found.
Reset the IIS; (https://learn.microsoft.com/en-us/visualstudio/debugger/error-the-web-server-is-not-configured-correctly?view=vs-2019)
Publish the project;
Add it to IIS Server;
Run it using IIS Local (not the IIS Express)
I'm trying to launch my asp.net mvc sample application(c#) in chrome using visual studio but gives me the below error:
ERROR:
This site can’t be reached localhost refused to connect.
Search Google for localhost 49226
ERR_CONNECTION_REFUSED
I tried changing the port number didn't work.
Can anyone please guide me through this.
Thanks,
Akarsh
Re-install IIS and re-run your app:
https://www.microsoft.com/ru-RU/download/details.aspx?id=48264
I'm using Visual Studio 2017. I created a new asp.net mvc application. When I try to run the project on localhost, using (IIS Express (Google Chrome)), chrome gives me the following error:
This site can’t provide a secure connection localhost sent an invalid response.
Try running Windows Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR
If I change the browser to debug using Internet Explorer it runs without issue.
Any help appreciated!
Thanks
Fixed. Because it was happening only to newly created solutions and not previous solutions and that I had ran a Visual Studio update that day I thought it was something weird going in related to that. In the end I just had to clear the SSL State in Internet Properties and it was fine after that.
Why cant i debug my project on iis express server? i always get the following error :An error occurred attempting to determine the process id of dotnet.exe which is hosting your application. One or more error occured
error when running
I got tis error for 2 weeks now and have not been able to solve this. I have reinstalled visual studio multiple time, iis server and even reinstalled windows completely.
but still no change. Other solution like setting up the ssl certificat also dont work.
I use a dell precision 7510 with windows 10 enterprise with endpoint security (its a computer from work)
If anyone knows an answer
thx
I am writing a console application which uses a workflow service.
I tried to attach the visual studio to IIS process to debug my application in two visual studio console but it didn't work and after that when I try to do something with my service ( update the service, build the service, open the service in browser and etc) just in-time debugger pops up:
An unhandled Microsoft .net framework exception occurred in w3wp.exe[every time diffident number here]
P.S. I have a running service in IIS and before changing setup I didn't have any problem but now even after restarting I still have this problem.
Restart site in IIS and also restart app pool worked for me.
Follow below article for more information. I solved this issue by running visual studio as Administrator.
http://anishantha87.blogspot.com/2014/09/an-unhandled-microsoft-net-framework.html
Hope this will help!