Spawning a process with ASP.NET 2.0 beta 2

M

Marianne

Had 1.1 configured so that a process I was launching on a web server would
have access to a domain controller in a different domain. This was
accomplished by setting the <processModel> tag in machine.config to use the
ASPNET account with a specified password. Then on the DC created an
identical account with the same password (pass-through authentication).

After switching to ASP.NET 2.0, I get "Access Denied" messages when trying
to access the DC (it's just calling dnscmd.exe which connects to the DC for
purposes of getting zone information out of DNS). Since pass-through
authentication isn't working now, this means either the aspnet_wp.exe
process isn't being created like it used to be or there is/are additional
security mechanisms in place that didn't exist in 1.1. If anyone has any
idea how to make this work I'd greatly appreciate any input. Thanks.

Marianne
 
S

Scott Allen

Hi Marianna:

Is the 2.0 project running under IIS or under the VWD thingy?

One tip is that in 2.0 you can spawn a process with a specific
username and password using the Process class. This might make things
easier for you in either case.
 
M

Marianne

It's running under IIS. After trying the Process method earlier, I received
some error that I can't specifically recall--I'll recreate that test and
post the results. In the meantime, this was absolutely working correctly
under ASP.NET 1.1 but as soon as the upgrade happened it fails every time
now. So I'm at a loss to explain the problem.

Marianne
 
G

Guest

Hi Scott,

I am developing an asp.net application using c# and asp.net 2.0 beta 2. I
started developing this page usign beta1. In beta 1 I have written some code
in Page_LoadComplete(object sender, EventArgs e) events of page. It was
working fine. But after I installed beta 2.0 Page_LoadComplete events is not
firing at all. Can u guide me how can I achieve this goal?

Thankx in advance.
Shailesh.
 
J

Juan T. Llibre

Shailesh,

Please don't post the same question multiple times
as replies to different posts.

That only creates confusion in the newsgroup.

I addressed your question as a reply to your first message.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top