Impersonation in Windows XP & Crystal Report 9

From: Parag Dighe (pdighe_at_dimon.com)
Date: 04/08/04


Date: Wed, 7 Apr 2004 16:37:25 -0700

I am trying to develop a Web App for my company's
Intranet using Visual Studio .Net (VB.Net) on WIndows XP
Pro (Web Server), with identity impersonation to some
Domain user. My Web.Config file takes the form:
<identity impersonate = "true" userName = <DomainUser>
password = <userPassword>/>

When I add a Crystal Report Viewer to a web form within
this application and try to run this, it throws an error
and execution fails. I know you would be curious to know
the details of error. It is wierd error - Some VBC.Exe -
Application Failure error, due to a Access voilation
exception. Well, this error does not given much
information. The bottom line is, if I remove
the "userName" and "password" from the identity tag,
everything works well. FYI my domain user which I am
using is an Administrator on the web server (Windows XP
Pro in this case).

If I try to do exact same thing on Windows 2000, it
works. This has forced me to think this a Windows XP Pro
issue. FYI, Crystal Report 9 works under the ASPNET
worker Process user. I do not want to change the ASPNET
worker process user in machine.config file.

Please let me know if any one among you have come accross
similar problem or have any suggestions. Any tips will be
greatly appreciated.



Relevant Pages

  • Re: prompted for username, password on iis5 running xp pro
    ... First, if XP pro can only have one site, then the first step seems to be ... access is unchecked except for "Integrated windows authentication", ... you will get a "401 authentication required". ... > the web server will send the content to the client. ...
    (microsoft.public.inetserver.iis.security)
  • Re: FP versions inWindows XP
    ... Windows XP Pro, as XP Home does not support a web server. ... Microsoft MVP - FrontPage ...
    (microsoft.public.frontpage.client)
  • Problem with Bits download
    ... I am currently using windows xp pro as a web server to test our updating application. ... My clients are also windows xp pro. ...
    (microsoft.public.dotnet.distributed_apps)
  • IIS5 MMC Troubles with default website
    ... I currently have a web server with Windows 2000 pro and IIS 5. ...
    (microsoft.public.inetserver.iis)
  • MMC Crashes when clicking default website
    ... I currently have a web server with Windows 2000 pro and IIS 5. ...
    (microsoft.public.inetserver.iis)