Re: Strange exception. Help needed.
- From: Barry Kelly <barry.j.kelly@xxxxxxxxx>
- Date: Wed, 16 Apr 2008 21:33:44 +0100
Martin Christiansen wrote:
Here are som facts about the application:
Applikation type: Windows Forms application.
Language : C#
.NET framework : 2.0
Developed using : VS2005
Runs on : Windows XP Prof machines (at customers). Runs under a
regular user account with administrator rights.
Logfiles returned from the customers show that the problem is due to the
following exception:
"Unable to generate a temporary class (result=1). error CS2001: Source file
'C:\WINDOWS\TEMP\xxtyxecu.0.cs' could not be found error CS2008: No inputs
specified"
Can you test on the machines to see if you are able to create these
files in c:\windows\temp, with e.g. notepad?
What is the value of %TEMP% env variable? For Win XP, it should be a
per-profile temporary directory, squirrelled away under c:\docs &
settings ... username / local settings etc.
It's unusual to see c:\windows\temp being used as a temporary directory
for a desktop app; it's also technically insecure by default, because it
relies on apps setting permisions appropriately so that other users
can't access each other's temp data.
But in my case, it's different. My application is a plain Windows Forms
application that does not make use of any web services or services on any
other machine whatsoever, and my application runs under a plain user account
with all necessary rights (the account can be verified in Task Manager, and
the necessary rights on the TEMP-folder are usually present for both
adimistrators and ordinary users).
-- Barry
--
http://barrkel.blogspot.com/
.
- References:
- Strange exception. Help needed.
- From: Martin Christiansen
- Strange exception. Help needed.
- Prev by Date: Strange exception. Help needed.
- Next by Date: RE: Strange exception. Help needed.
- Previous by thread: Strange exception. Help needed.
- Next by thread: RE: Strange exception. Help needed.
- Index(es):
Relevant Pages
|