473,770 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

restart PC.

I'm developing an asp .net solution.
Everytime I restart my PC, I get an error http 500 when trying to access the
web site.
If I try to open the solution in vs 2003, I'll get the same error.
I found out that aspnet_wp.exe won't start again.
I found a way to get control back on the .net framework by deinstalling
framework 1.1/reinstalling framework + service pack 1 + rebooting the PC.
Then, everything works fine, unitl next reboot (happens at least once a day
as I'm using a laptop).

I guess there's probably a good reason why this is happening.

Has anyone experienced the same problem ?
It's costing me a lot of time!

Thanks for your answer.
Nov 19 '05 #1
4 1601
Aren't there any entries in the Windows Event log that might explain this?

Gabriel Lozano-Morán

"Pierre Fleury" <pl******@newsg roup.nospam> wrote in message
news:C5******** *************** ***********@mic rosoft.com...
I'm developing an asp .net solution.
Everytime I restart my PC, I get an error http 500 when trying to access
the
web site.
If I try to open the solution in vs 2003, I'll get the same error.
I found out that aspnet_wp.exe won't start again.
I found a way to get control back on the .net framework by deinstalling
framework 1.1/reinstalling framework + service pack 1 + rebooting the PC.
Then, everything works fine, unitl next reboot (happens at least once a
day
as I'm using a laptop).

I guess there's probably a good reason why this is happening.

Has anyone experienced the same problem ?
It's costing me a lot of time!

Thanks for your answer.

Nov 19 '05 #2
Hi Plfleury,

From your former description, I'm thinking that it is likely the ASP.NET
environment settings (account permission or folder ACL or...) has been
changed by any services running on your machine. There're some known
problems such as some anti-virus software will corrupt the ASP.NET's
environment or security setting and make ASP.ENT out of work. Anyway, I
think we can troubleshoot from the following general steps:

1. After you reboot machine and found the asp.net not work. Try make a
simple aspx page, put some code inline(in aspx) which output some words and
put it under the IIS's default site root to see whether you can correctly
visit it and run it?

2. If the above simple page can run, we can try move some existing correct
simple web project(maybe from other machine) and deploy it in the problem
server's IIS to see whether we can get it running. If any error occurs (in
step 1 or 2), please check the detailed error message and the IIS log to
see whether there is any clues in them.

If there're any other finding or question, please feel free to post here.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Nov 19 '05 #3
Hello,

Yes I have two errors : id 1007 and 1084. Here is the message :
aspnet_wp.exe could not be started. The error code for the failure is
80004005. This error can be caused when the worker process account has
insufficient rights to read the .NET Framework files. Please ensure that the
..NET Framework is correctly installed and that the ACLs on the installation
directory allow access to the configured account.
I'm using aspnet user account, I'm confident on its password, and acls are
correct.

The problem only occurs if I reboot my PC. Otherwise, it's fine!

"Gabriel Lozano-Morán" wrote:
Aren't there any entries in the Windows Event log that might explain this?

Gabriel Lozano-Morán

"Pierre Fleury" <pl******@newsg roup.nospam> wrote in message
news:C5******** *************** ***********@mic rosoft.com...
I'm developing an asp .net solution.
Everytime I restart my PC, I get an error http 500 when trying to access
the
web site.
If I try to open the solution in vs 2003, I'll get the same error.
I found out that aspnet_wp.exe won't start again.
I found a way to get control back on the .net framework by deinstalling
framework 1.1/reinstalling framework + service pack 1 + rebooting the PC.
Then, everything works fine, unitl next reboot (happens at least once a
day
as I'm using a laptop).

I guess there's probably a good reason why this is happening.

Has anyone experienced the same problem ?
It's costing me a lot of time!

Thanks for your answer.


Nov 19 '05 #4
Hi Plfleury,

Not sure whether you've noticed my last reply. Anyway, from your futher
description, I think it's very likely that some certain 3rd party software(
Anti-virus ?) has modified the ASP.NET's configuration or temporary
folder's access permission which make the default ASP.NET workerprocess
account fail to access some necessary configuration file or resources.

A simple means to detect the exact resource(file or folder) that cause the
error is to use the FileMon tool to monitor your server when try running
asp.net web application on it.

Also, if possible, you can also try turn off the anti-virus or any other
similiar softwares on your server(if exists) and before you repaired your
server and perform reboot.

If anything else unclear, please feel free to post here. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 19 '05 #5

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

Similar topics

1
2240
by: Piotr Trawiñski | last post by:
I have this notorious problem: at some point pgsql simply hangs up and requires a restart. --------------------------------------------------------------------------- ------- homer:/usr/share/doc/postgresql-contrib# /etc/init.d/postgresql restart Restarting PostgreSQL database: postmaster Stopped /usr/lib/postgresql/bin/postmaster (pid 14243 14245 14247 14750 14811 1489 15569 15570 15573 15584 15643 15644 15665 15800 15801 15804 15817...
1
4137
by: localhost | last post by:
In the Application_OnStart, I make some data calls and place the results in the HTTP cache. Sometimes, the database is not available when the application starts up, so I want to sleep for 20 seconds and then restart the entire application. What is the best way to do that? Thanks.
18
5374
by: amdishigh | last post by:
We are experiencing the following problems concerning ASP.NET: our ASP.NET application, written in .NET 1.1 platform, and hosted in IIS 5.0 environment, experience frequent session timeout problem. After tracing, we find that it should be caused by "ASP.NET Application Restart" (proved by incremented counter for "Application Restarts" of "ASP.NET 1.1.4322" in "Performance" whenever the timeout happens). From MSDN documentation, we find...
3
3370
by: Pint | last post by:
I would like to know if there is a programatic way to force the Application object to restart. I have a hosted website where I will be unable to control the webserver (eg:iisreset), and I would like to be able to trap certain events and cause the entire application to reload. Thanks in advance. -Pint
3
3216
by: John A Grandy | last post by:
In ASP.NET 1.1 and/or 2.0 ..... Is it possible to configure a web-app so that replacement of an .xml file ( physically located under the virtual dir root ) with a newer version of the file causes a web-app restart ... ? Also, is a stopping and starting a website in IIS the only way to restart a web-app ? (Of course, iisreset stops and starts all web-apps on the web-server ... but
6
3807
by: Leonardo Curros | last post by:
Hello, I would like to know what's the best way to restart one service. I would like to do it from the service itself. Is this possible? I try it with ServiceController.stop() ServiceController.WaitForStatus(ServiceControllerStatus.Stopped) ServiceController.start() but doesn´t works. It seems waitforstatus instruction is the last
8
9322
by: kenneth fleckenstein nielsen | last post by:
hi guru's I want to restart my webservice when ever it throws an exception that isn't cought. can i do that by web.config or iss or how ??
4
7291
by: shorti | last post by:
Can anyone explain in greater (and more comprehensive) detail what the RESTART option does in the ALTER TABLE table ALTER COLUMN statement. This is the description in Info Center: RESTART or RESTART WITH numeric-constant Resets the state of the sequence associated with the identity column. If WITH numeric-constant is not specified, the sequence for the identity column is restarted at the value that was specified, either implicitly or...
3
3343
by: MarkusJNZ | last post by:
Hi, I have two different applications running on 2003 both in two different vitrual directories. One application runs on the .NET framework 1.1 whilst the other runs on 2.0. If I change the framework version (via IIS admin ASP.NET tab) for either application (Initally the 2.0 app was recognised by IIS as 1.1) does this force IIS to restart? ?? Any links to further reading would be good.
1
2643
by: Brian Simmons | last post by:
Hi All, I know that if you modify the web.config file or any file in the App_Code subfolder, that ASP.net 2.0 will "restart" the application (i.e. clear out any sessions, etc...). Are there any other changes that restart the application? Will modify a code-behind .cs/.vb which calls a class in the App_Code folder restart the application?
0
9454
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
10101
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
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
9906
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
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6712
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
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.