Hello I am getting this error message
WebException: The request failed with HTTP status 401: Unauthorized.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +431289
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
Dashboard.Crm_Deployment.CrmDeploymentService.Execute(DeploymentServiceRequest Request) in C:\Downloads\Dashboard\Dashboard\Dashboard\Web References\Crm_Deployment\Reference.cs:79
Dashboard._Default.Page_Load(Object sender, EventArgs e) in C:\Downloads\Dashboard\Dashboard\Dashboard\Default.aspx.cs:136
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Unsure what the problem is, any input much appreciated.

Error 1 'System.Drawing.Font' is a 'type', which is not valid in the given context C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 88 56 CalculatorApp
Error 2 The best overloaded method match for 'System.Drawing.Font.Font(string, float, System.Drawing.GraphicsUnit)' has some invalid arguments C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 87 41 CalculatorApp
Error 3 Argument '3': cannot convert from 'System.Drawing.Font' to 'System.Drawing.GraphicsUnit' C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 88 41 CalculatorApp
Error 4 The type or namespace name 'Style' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 88 65 CalculatorApp
Error 5 Only assignment, call, increment, decrement, and new object expressions can be used as a statement C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 88 71 CalculatorApp
Error 6 Only assignment, call, increment, decrement, and new object expressions can be used as a statement C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 88 77 CalculatorApp
Error 7 Only assignment, call, increment, decrement, and new object expressions can be used as a statement C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 88 122 CalculatorApp
Error 8 Only assignment, call, increment, decrement, and new object expressions can be used as a statement C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 88 124 CalculatorApp
Error 9 ) expected C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 88 61 CalculatorApp
Error 10 Invalid expression term ',' C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 88 75 CalculatorApp
Error 11 A new expression requires (), [], or {} after type C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 88 75 CalculatorApp
Error 12 ; expected C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 88 77 CalculatorApp
Error 13 Invalid expression term ',' C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 88 110 CalculatorApp
Error 14 ; expected C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 88 110 CalculatorApp
Error 15 Invalid expression term ')' C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 88 123 CalculatorApp
Error 16 ; expected C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 88 123 CalculatorApp
Error 17 Invalid expression term 'else' C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 89 17 CalculatorApp
Error 18 ; expected C:\Users\Marivoet\Documents\Visual Studio 2008\Projects\CalculatorApp\CalculatorApp\CalculatorForm.cs 89 21 CalculatorApp

Can you tell me what's wrong with my errors?
If you can, I tell you what is wrong with yours.
Please ask a more specific question.
What is your source code, where does it go wrong etc.

HTTP status 401: Unauthorized means you are trying to get the response or trying to fetch the URL which is password protected or Web User does not have the enough permission to read the web page.

Try to browse the URL that you are using in the code.

Thank you very much I will give it a try.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.