Re: SoapException: unable to generate temporary class

From: Matt Milner (matt.milner_at_m3technologypartners)
Date: 02/10/05


Date: Wed, 9 Feb 2005 22:51:29 -0600

Make sure the account running as the identity for your application pool has
write and I think modify priveleges to the <WINDIR>\Temp directory. It
needs this for web services. Also make sure that user is in the IIS_WPG
group on the server so that it gets the correct access to other IIS and
ASP.NEt directories. YOu may need to make sure your admins have not locked
down that box and removed any privileges for those accounts.

Matt

"BBuck" <BBuck@discussions.microsoft.com> wrote in message
news:72FA6529-F952-4A19-820C-485ADBC36E8D@microsoft.com...
>I have a Biztalk assembly that has been working great in my dev
>environment.
> My orchestrations have several public req/res ports that I have ran
> through
> the Web Service Publishing Wizard with great success. To test the
> published
> Biztalk web services, I wrote a simple .NET console app using the Web
> references generated by the wizards asmx WSDL. Again, great success in my
> dev
> environment.
>
> I am now ready to deploy to a Windows 2003 Server . I was able to deploy
> the
> assemlies and using the BT Deployment Wizard was able to import the Send
> Ports and Receive Loceations. So far so good. Next I followed the
> instructions on MS technet articles to create a .msi installer file from
> the
> BT generated Web Services. Next, I ran the installer on the W2K3 server
> and
> the Web Service installed just fine. I changed the app pool setting and
> allowed anonymous access to the WS. Again so far so good. In a browser I
> can
> ping the WSDL on my production W2K3 server.
>
> Now the bad stuff, I regenerated my Web References to the WSDl on my W2K3
> server fot the test console app mentioned above, rebuilt, and ran it both
> from the VS.NET debugger and command line. I RECEIVED THE FOLLOWING
> ERROR:
>
> An unhandled exception of type
> 'System.Web.Services.Protocols.SoapException'
> occurred in system.web.services.dll
>
> Additional information: Server was unable to process request. --> Unable
> to
> generate a temporary class (result=1).
> error CS2001: Source file 'C:\WINDOWS\TEMP\xzver9to.0.cs' could not be
> found
> error CS2008: No inputs specified
>
> All I could find was I needed to allow the ASP.NET acct or whatever
> account
> I am impersonating read/write to c:\WINDOWS\TEMP. Sorry that didn't work!
> another blog I found said he had to reinstall .NET framework and VS.NET to
> mak it work. That seems strange since I can't get this to work on several
> environment in my office. Is this a Biztalk WS Win2K3 issue, ASP.NET WS or
> some security issue?
>
> Any suggestions would sure help. I am a developer not a Windows Sys admin.
> I'm new to Win 2003.
>
> Thanks,
> Brian.
>
> I'm at a loss here



Relevant Pages

  • Re: Pool-oriented programming
    ... I am, however, more familiar with web services. ... can be placed in the workflow XML and can be changed easily. ... Stock control is a big priority for the customer. ... Items can be in an "On Order" pool, ...
    (comp.object)
  • Re: OWC COM Object Credentials in ASP.NET and Web Services
    ... I did fix this issue once. ... you will need to make sure that the account is part of the OLAP ... > was to set the ASPCOMPAT property of the web form page to true. ... > the code is sitting in code behind form, BUT NOT FOR WEB SERVICES. ...
    (microsoft.public.office.developer.web.components)
  • Re: Reading keys from HKEY_CURRENT_USER from an impersonated Web Service
    ... profile for a specific user, you'll have to load it yourself by calling ... expensive in Web services where you need to ... the user is the local Administrator account. ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: aspnet_wp.exe could not be launched because...
    ... domain account password is changed, ... One common reason is to get around the web services restrictions on Windows ... Server 2003, which is much better served by allowing web service GET and/or ... > specifically any manage code crash ...
    (microsoft.public.dotnet.framework)
  • About Best practices...
    ... My web site is outside the domain while the Web services are inside so, ... This account is used only for a shopping basket ... encrypted password to be passed. ...
    (microsoft.public.dotnet.security)