Server Error in '/' Application

No caso do erro abaixo, o mesmo ocorreu porque eu criei uma página aspx, em que eu coloquei o controle reportviewer, porém por algum motivo deu erro no lado do servidor. Pois bem, eu apaguei a página e o erro continuou. Eu quase fiquei maluco com a página fora do ar, mas prestando atenção na mensagem vi que o erro estava no web.config, pois, mesmo apagando a página e removendo a referência ao reportviewer em References, o erro persistia.

O que faltava era apagar todas as referências ao reportviewer no arquivo web.config. Assim que apaguei as tais referências o site voltou a funcionar. Veja abaixo a mensagem de erro:

Server Error in '/' 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: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. Source Error: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Source File: G:\PleskVhosts\outstandingaward.com\httpdocs\web.config Line: 28 Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' could not be loaded. WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Comentários

Postagens mais visitadas deste blog

Como instalar o Corel X3 no Windows 10

Vulcão no Brasil

Celulares bons e baratos para comprar em 2023 - Até R$700!