String causing a Parse Error that doesn't exist in code - c#

I keep getting the following parse error:
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Only Content controls are allowed directly in a content page that contains Content controls.
Source Error:
Line 1: ate
Source File: /admin/JobCategories.aspx Line: 1
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34248
Problem is, the file in question doesn't have that string ("ate") anywhere in it. I did a search in visual studio for it, and found one file containing it.
Strangely enough, the file was shown as JobCategories(1).aspx. I opened it, and tru enough the string was appended to the start of the file. I deleted it, but the error persists, and now when I search for the string in VS I find no results. Tried restarting IIS, rebuilding the website in VS, and restoring an older version of the file from backup that used to work, but I still get the same error.
Only thing done on the file since the last backup was updating a string in the HTML, nothing to do with the code, and nothing near the beginning of the file.
Any ideas? Thanks.

Related

angular-devkit css error. optimize-css-webpack-plugin.js

I'm attempting to run ng build --prod in my SPA terminal. I get the error
An unhandled exception occurred: styles.8275e44a6546337b4b89.css Expected a pseudo-class or pseudo-element..
along with an error log file.
The error log file states there is an error in the optimize-css-webpack-plugin.js file.
I have reinstalled the devkit and tried to update the angular version. Still doesn't work. Does anyone know what's going on here?

Error CS1569 although I have permissions to create file

I have an assembly that when compiled throws the following error:
Error CSC CS1569: Error while generating the xml-dumentation
'MyAssembly.XML'
('Access denied ')
As from MSDN this error occurs when we don´t have write-permissions for a given file (as suggested within the error). However I start VS as admin, so I assume to have write-permissions (checked within the permission-settings within widows). What´s more crazy is that after compiling the file exists, however there´s no DLL with name MyAssembly.
EDIT: I noticed, that when the file is created by VS I don´t even have permission to read the file-settings in Windows when using Explorer.
Obviously VS creates files it can´t read nor modify.

error cs0016 could not write to output file needlicense.cshtml access is denied

Installation of ASP.NET application goes through fine. But launching it after installation causes this error in browser.
Compiler Error Message: CS0016: Could not write to output file
'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\
d09d1fc5\8ea09859\App_Web_needlicense.cshtml.639c3968.h6teml6g.dll' -- 'Access is denied.'
I have seen many questions on this error, but this is on a different dll. Fixes provided in similar errors doesnt seem to work for me. Hence, I thought of checking this particular error here.
I am hopeful of finding a perfect answer here. Thanks.

Microsoft.ReportViewer.Webforms "[SerializationException] Member 'ReportServerErrorCode' was not found"

While working on a project to download and attach an Excel render of an SSRS report in a C# project using ReportViewer packages, I encountered the error:
[System.Runtime.Serialization.SerializationException] Member 'ReportServerErrorCode' was not found.
I had encountered it locally and found the fix trivial enough to not write down the solution. Upon deploying the branch to the QA server, I encountered it once more.
The solution is a little complicated. I believe that his error essentially is a one-size-fits all bucket for reporting errors when you don't have the necessary .dlls to get Report Server Error codes. The packages on NuGet have the following .dlls:
Microsoft.ReportViewer.Common
Microsoft.ReportViewer.DataVisualization
Microsoft.ReportViewer.ProcessingObjectModel
Microsoft.ReportViewer.WebForms
In my case this was an error thrown by a dataset. The only way to get to the actual error was to look at the SSRS logs.

Elegant Ribbon error on setup

I am trying to setup Elegant ribbon on my pc, the execution file downloaded from:
http://elegant-ribbon.software.informer.com/download/
then when I am trying to install it on my pc,I get the following error:
ElagantRiboon\Samples\CS\CommandsSample\CommandEventsDataset.xss An error occured while trying to read the source fiile:
the source file is corrupted.
I am using windows 8.1, I tried on windows7 also I get the same error.
For Some Reason, Error Occurred because I have damaged bits on execution file.

Categories