Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Permissions broken after installing .net server RC1

44 views
Skip to first unread message

Kipp Hawley

unread,
Sep 23, 2002, 9:10:18 PM9/23/02
to
Greetings -
I just installed .NET Server RC1 to fix a problem with Certificate Services.
Problem went away, but now my ASP.NET apps have lost the ability to create
temp files. Here is the error from calling a web service method from my
browser:
System.InvalidOperationException: Unable to generate a temporary class
(result=1).
error CS2001: Source file 'C:\WINDOWS\TEMP\gx7n2pox.0.cs' could not be found
error CS2008: No inputs specified

at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[]
mappings)
at
System.Web.Services.Protocols.XmlReturn.GetInitializers(LogicalMethodInfo[]
methodInfos)
at
System.Web.Services.Protocols.XmlReturnWriter.GetInitializers(LogicalMethodI
nfo[] methodInfos)
at System.Web.Services.Protocols.MimeFormatter.GetInitializers(Type type,
LogicalMethodInfo[] methodInfos)
at System.Web.Services.Protocols.HttpServerType..ctor(Type type)
at System.Web.Services.Protocols.HttpServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type,
HttpContext context, HttpRequest request, HttpResponse response, Boolean&
abortProcessing)

Does this look familiar? What permissions need setting? I gave the
IUSR_machinename ID read/write access to both
Windows\Microsoft.NET\Framework\v1.0.3705 and Windows\temp with no luck.

Thanks in advance for any help,
Kipp Hawley
Trax Softworks, Inc.

Mike Moore [MS]

unread,
Sep 23, 2002, 11:11:45 PM9/23/02
to
Hi Kipp,

QUESTION
I installed the RC1 beta of Visual Studio .NET and then a problem started
occurring: System.InvalidOperationException: Unable to generate a
temporary class

ANSWER
This *might* solve your problem:
Q322886 BUG: Error When You Invoke Methods on a Web Service by Using ASP
http://support.microsoft.com/support/kb/articles/q322/8/86.asp

HOWEVER, you are using a BETA copy of Visual Studio. If the above does not
help, I can't think of anything more I can offer.

Just a side note:
If you choose to upgrade to the release version of Visual Studio, I
recommend installing a clean copy of Windows and then install the release
Visual Studio .NET. You can also select to install the release version on
top of the beta. Most people appear to do fine with this. If you do run
into problems installing the release version on top of a beta version,
please consider a complete re-install, starting with a clean copy of
Windows.

Thank you, Mike Moore
Microsoft, ASP.NET

This posting is provided "as is", with no warranties, and confers no rights.

--------------------
>From: "Kipp Hawley" <k...@traxonline.com>
>Subject: Permissions broken after installing .net server RC1
>Date: Mon, 23 Sep 2002 18:10:18 -0700
>Lines: 38
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="iso-8859-1"
>Content-Transfer-Encoding: 7bit
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
>Message-ID: <#MIe$b2YCHA.1880@tkmsftngp11>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 64.167.199.132
>Path: cpmsftngxa06!tkmsftngp01!tkmsftngp11
>Xref: cpmsftngxa06 microsoft.public.dotnet.framework.aspnet:88559
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Kipp Hawley

unread,
Sep 24, 2002, 12:52:26 PM9/24/02
to
Hi Mike -
Thank you for your quick response. I looked at the link you sent, and it
pointed me in the right direction. Giving \Windows\Temp permissions to
ASPNET, IUSR and IWAM didn't help, but giving it to the Authenticated Users
Group did. Do you know of a way to get more diagnostics from error messages
like this one, i.e. print the name of the process' identity? I'd rather not
just give folder access to an entire group.

FTR, this was a problem with RC1 of .NET Server 2003, not Visual Studio.NET.
I've been using RTM VS since the day it arrived.

Thanks for your help,


Kipp Hawley
Trax Softworks, Inc.


"Mike Moore [MS]" <mic...@online.microsoft.com> wrote in message
news:uY2$4f3YCHA.2232@cpmsftngxa08...

0 new messages