Thursday, December 08, 2005

Another one today . . . .

This one means that some process has a file locked in the Temporary ASPNet Files folder. Often it's the Index Service, in our case it was the on-access Virus Scan. Once again supporting the theory that these products cause more issues than they solve:

Server Error in '/MyWebApp' 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: Access is denied: 'mydll'.

Source Error:

<add assembly=<System.Drawing, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a>/>

<add assembly=<System.EnterpriseServices, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a>/>
<add assembly=<*>/>

Source File: c:\winnt\\framework\v1.0.3705\Config\machine.config Line: 171

Tuesday, December 06, 2005

Error Message Scavenger Hunt Today

What it says . . . . .

[SerializationException: BinaryFormatter Version incompatibility. Expected Version 1.0 Received Version 1835627630.1699884645.]

What it really means . . . .

When you set up a remoting client to use the Binary Formatter over HTTP, it's expecting a binary answer. If the response from the server component contains HTML (like an IIS Server 500 error) then the deserializer tries to interpret it as binary and ends up turning some random HTML where the version number should be into a garble of numbers.

This one's a little better . . .

Could not create Windows user token from the credentials specified in the config file. Error from the operating system 'A required privilege is not held by the client'

If the web.config file has impersonation specified, like so:
<identity impersonate="true" userName="username" password="password"/>

Then the ASPNet account needs to have the 'Act as part of the Operating System' privilege in order to call the Win32API LogonUser() function.

Update - here's the KB article for this one. It was surprisingly difficult to hunt down, so I thought I'd make a note of it here as well. It says Windows 2000, but I'm pretty sure I've seen this on 2003 as well.

PRB: Per Request Impersonation Does Not Work on Windows 2000 with ASP.NET

File Under: Technology,

Friday, December 02, 2005

Telemark Ski Lessons

I signed up for Telemark lessons at Hyland. Three lessons (2 hours each) on Saturdays, three Saturdays in a row. Should be a good time, I've always wanted to try it. Now if we'd just get enough snow to open the Hyland trails for skating . . .