Programming

You are currently browsing the articles from Information City matching the category Programming.

ASP.NET: System.Security.XmlSyntaxException – Invalid syntax.

It was a normal weekday and I was just wanted to start my development work. While I was trying to run a web application, this abnormal behavior crops up. It was still working fine the day before and nothing changed since then. What could possibly went wrong? Looking through the event viewer, manage to find this error:

Event code: 3008
Event message: A configuration error has occurred.
Process information:
Process ID: 5080
Process name: WebDev.WebServer.exe
Exception information:
Exception type: HttpException
Exception message: Could not load file or assembly ‘LibraryName, Version=1.0.2209.32145, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0×80131418)

That’s probably what could be helpful that indicates the problem. But there isn’t anything changed prior to this, my pc was left into standby mode, I can’t think of any possible reason behind. Looking further on the error message that appears on the browser in attempt to load the web:

Exception: System.Web.HttpException

Message: Could not load file or assembly ‘LibraryName, Version=1.0.2209.32145, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0×80131418)

Started to get me thinking if there is any permission need to be set on the temporary directory which I did without hesitance. But that didnt get me elsewhere, not even any further clues. Then that reminds me of trying to move the web apps. folder to “C:” drive (the main partition in which the windows are situated as well), for a try. Viola, it resolves. I guess the security has gone haywire but what I still can’t figure out is, why of all sudden the issue arise?

If only I can debug Windows.

Written by admin on September 8th, 2011 with no comments.
Read more articles on Personal and Programming.

Window Search Service: The entry in the hash map cannot be updated.

Was getting this error in my event viewer log and it’s creating quite frequently:

The entry in the hash map cannot be updated.

Context: Application, SystemIndex Catalog

Details:
A device attached to the system is not functioning. (0x8007001f)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp

Proceeded to Google “Sensei“, found out that the culprit behind is Windows Desktop Search engine . I suppose those from Microsoft have confirmed it’s safe and can be safely ignored. However, looking my event log, it doesn’t looks pleasant to me having the record flooding my view, more so when I’m looking for some errors.

Heading to the windows services (services.msc), search for any clue that could possibly be related to Windows Search Desktop engine. First suspect, the “Windows Search”. Disabled it and viola, no more annoying records in my event viewer.

Written by admin on September 5th, 2011 with no comments.
Read more articles on Programming.

« Older articles

Newer articles »