473,402 Members | 2,072 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Help needed with ASP.NET application

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
Nov 19 '05 #1
1 1008
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

"Ragnar Midtskogen" <ra*******@newsgroups.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
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

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ian DeRock | last post by:
I'm fairly new to XML. As I can see it, XML is a way to organize data like in a table in a RDB, or the RDB itself. I have used XML in application data, but did not design the actual XML. I...
0
by: Andrew S. Giles | last post by:
Hello everyone, I am trying to deploy a project, and I cannot get it to work. Does anyone have any ideas how I should be going about this, since the way I am attempting is obviously wrong. ...
5
by: NG | last post by:
Hi, We are having DB2-V7.2 DB on AIX 5.2 machine. Recently we upgraded our system to fixpack 13 and activated activate AIX asynchronous IO function. Our DB is going to crash recovery with...
4
by: xunitinmullik | last post by:
Hello ppl: I am facing a problem that I ahve never experienced before with the secured database. I created an MS Access 2000 application (.mdb) using MS Access 2002 and secured it using exactly...
7
by: Tina | last post by:
I have an asp project that has 144 aspx/ascx pages, most with large code-behind files. Recently my dev box has been straining and taking long times to reneder the pages in the dev environment. ...
15
by: Jay | last post by:
I have a multi threaded VB.NET application (4 threads) that I use to send text messages to many, many employees via system.timer at a 5 second interval. Basically, I look in a SQL table (queue) to...
6
by: Java1963 | last post by:
Need help with writting an application that prompt for and read a double value representing a monetary amount. -------------------------------------------------------------------------------- ...
1
by: apondu | last post by:
Hello friends.. I needed some help on ASP.Net web application along with its web service deployment I have a situation where i am not able to understand and confused a bit on how to proceed...
1
by: abhijitbkulkarni | last post by:
Hello, I am designing a .NET database application that uses 3 tier architecture. Starting initially, this application will be desktop application but I will convert it into a website later but...
53
by: souporpower | last post by:
Hello All I am trying to activate a link using Jquery. Here is my code; <html> <head> <script type="text/javascript" src="../../resources/js/ jquery-1.2.6.js"</script> <script...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.