Help needed with ASP.NET application

R

Ragnar Midtskogen

Hello,

I am trying to get an ASP.NET application to run on a new Windows Server
2003 Standard box.
I know very little about ASP.NET applications, but we have the same
application running fine on another 2003 box, so I am just trying to set the
new server up to match the new one.

The application is a DLL and an is invoked with an aspx file. When the aspx
is called I get a 404 error, page not found.
The URL in the browser is correct, so this must be a permissions problem
somewhere.
The app is running in the DefaultAppPool, which, from what I have read, runs
under the Network Service account.
I tried writing a simple "Hello World" aspx file and it dies processing the
machine.config file at a line
<add assembly="*"/>
with an 'Access denied: 'MyApp'
where MyApp is the name of the app.

When I switch the pool to MSSharePointPool, the "Hello World" aspx file runs
and displays "Hello World", but with the real application file I still get
the page not found error.

Someone on a newsgroup had a similar problem and he apparently solved the
problem by setting the correct permissions for the Network Service account.
How would I do that? Would it work?

Any help would be very much appreciated, I am really lost.

Ragnar
 
R

Ragnar Midtskogen

Well, I finally found that Network Service is a built-in but hidden user id,
Microsoft sure goues out of it's way to protect us from ourselves!
I have given Network Service id access to the folder where the aspx file is
and also the Framewrk folders, but the problem is still there, so I clearly
has not found all the folders yet.
At least I did see some effect, the test aspx file, which I put in the same
folder as the real one, runs in the DefaultAppPool now.

Ragnar
 

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

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top