473,721 Members | 1,816 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 MSSharePointPoo l, 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 1021
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*******@news groups.com> wrote in message
news:%2******** ********@tk2msf tngp13.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 MSSharePointPoo l, 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
3535
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 have a background in both hardware and software. I want to create an application that will regenerate a resume from the XML Resume that I have. I would like some people to look over my XML Resume data and give me suggestions on the XML. This...
0
1091
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. Here is the situation. I have the following things that need to be installed. Monitor - C# Windoes Forms application
5
3883
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 this error 0xFFFFF707. I have attached the related details. Any suggestions is much appreciated.
4
1388
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 the procedure described in the Access Security FAQ and as I have been doing since the time I have started using Access. So let the access application be xxx.mdb. After completing the whole development for xxx.mdb, i secured it using the procedure...
7
1757
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. After addding another Crystal report, vs.net will no longer build the project - it just goes away - no message no nothing. My other dev box will build it but won't run it in debug. I ran a vs.net repair but it still does the same thing. vs.net...
15
2576
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 determine who needs to receive the text message then send the message to the address. Only problem is, the employee may receive up to 4 of the same messages because each thread gets the recors then sends the message. I need somehow to prevent...
6
9230
by: Java1963 | last post by:
Need help with writting an application that prompt for and read a double value representing a monetary amount. -------------------------------------------------------------------------------- Hello all, I am new to this Java stuff and, I need help in writting an application will prompt for and read a double value representing a monetary amount.Then determine the fewest numbers of each bill and coin needed to represent that amount,...
1
991
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 with the deployment. I have a Web Application and a Web Service associated with the Web Application and each of these have a ther own web.config files. Now i want to deploy both the application together but the problem is the there are database...
1
2339
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 design that I am planning should support both version. Development Environment : VS2008, C# Currently Database supported are MS SQL Server 2005 and MYSQL 5 and design for database support is extensible. This application contains several high...
53
8404
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 language="javascript" type="text/javascript">
0
8834
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
8727
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9365
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9127
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9056
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5973
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4748
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3186
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2569
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.