Prism 5 Sample Project - Error ProxyAuthentication required - c#

I have downloaded Prism 5 sample projects from this link.
https://msdn.microsoft.com/en-us/library/gg406140.aspx
Tried the below project and compiled
Quickstarts\Hello World\HelloWorld.Desktop.
I am using VS2015 Professional.
I got the below error.
Error The remote server returned an error: (407) Proxy Authentication Required. HelloWorldModule
I have tried the solutions mentioned in the below link.
Prism 5 Quickstart build gets the error "The remote server returned an error: (407) Proxy Authentication Required."
Tried the other ways like
1. changing the proxy
2. removing automatically detect settings.
No clue on what's wrong.
Anyone have any idea about this error?

Related

C# MVC - Strange compilation error code -2146232576

I published a web app with C# MVC on IIS, but when I try to access the site, the server show this error; But I published the same web app in other Server and this run without issues. (I updated the NugetPackage)
Server Error in '/Outlet' Application.
Compilation Error
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.
Compiler Error Message: The compiler failed with error code
-2146232576.
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36392
I'm searching for this error code but don't find any solution, someone knows the possible solution for this error code?

Getting an error message "An error occurred while starting the application." after publishing an API app from Visual Studio 2017

I have a class library project based on .NET Framework 4.6.1. And another project is .NET service again based on .NET Framework 4.6.1. When I publish my service from visual studio 2017 to an API app in Azure, I get below error screen.
Few logs found:
IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred. IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly. IIS was not able to process configuration for the Web site or application. The authenticated user does not have permission to use this DLL. The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.
Note: Publish is successful without any error, but the application can't start.
Can anyone help me to resolve this error?
As I mentioned in comment, many factors can cause this generic error page, and it is difficult to find the root cause of the issue based on generic error message an error occurred while starting the application. For troubleshooting, you can use CaptureStartupErrors and the detailedErrors key to display details of startup exceptions.
Capture Startup Errors
new WebHostBuilder()
.CaptureStartupErrors(true)
Detailed Errors
new WebHostBuilder()
.UseSetting("detailedErrors", "true")

HTTP Error 500 19 Internal Server Error

Using visual studio 2015.
.Net Network 4.6.1
Everytime I do a pull from source control I cant run the project I get the following error HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid. (please see image)

Gracenote SDK giving error: User not registered for online use

I am currently trying to get the sample application working from the GNSDK called "musicid_file_trackid" but it is not working and constantly giving the error "User not registered for online use"...
I am using the C# Wrapper coming with the SDK.
I have registered my application on the Gracenote website and filled in the correct clientId and clientIdTag. I can use the Gracenote Web API without problems using these client details but when I use the GNSDK it gives that user not registered error.
Does anyone have any idea why this is?
Here are the details of the error message given:
GNSDK Product Version : 3.07.0.2861 (built 2014-10-28 01:46-0700) A
first chance exception of type 'GracenoteSDK.GnException' occurred in
gnsdk_csharp.dll GnException : (User not registered for online
use)User not registered for online use
Its the version of Visual Studio solution type you have chosen. The UWP does not support that type of exception. I think this is resolved under the VS 2017. Make sure your C# project is also set to the correct platform target. I had to set mine to x64 for mine to ever compile

Method not found on a successful build

Using VS2008 I made a build of a C# web application. The build succeeded but for some unknown reason, it did not include one of the methods that used to be there. I got the following error while trying to call a web service that trigger that method:
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ApplicationException: UpdateDataObject failed with message: An error occurred (1000691):
Method "DeprovisionHandling2" could not be found in class "Assignments" --->
As soon as I generated a new build, the method was back there in the DLL and the web service worked as fine as before.
Anyone faced this strange problem? What could the reason be and how to make sure we avoid it in the future?
The build is made by TFS.
Thank you!

Categories