473,765 Members | 1,869 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Runtime Error on running aspx page on https://

kl
Hello

My aspx pages run fine with non-secure server. When I tried to run them with https://, on the browser side, the runtime error occurred with suggestions of adding the following configuration
<configuration> <system.web><cu stomErrors mode="RemoteOnl y" defaultRedirect ="mycustompage. htm"/></sytem.web></configuration
and on the server side, the errors were
access denied to "C:\WebFiles\we b.config". Failed to start monitoring file changes...
Nov 18 '05 #1
2 1768
Hi Kim,

It certainly sounds like permissions. Did you try the suggestions in this
article?

FIX: "Failed to Start Monitoring Directory Changes" Error Message When You
Browse to an ASP.NET Page

"To detect file changes, the process identity and the impersonated user
identity must have specific permissions to all of the directories in the
hierarchy of the file path for the file that ASP.NET is monitoring if any of
the directories in that hierarchy have more than eight characters in their
names."

http://support.microsoft.com/default...b;en-us;317955

"kl" <ki****@spawar. navy.mil> wrote in message
news:E0******** *************** ***********@mic rosoft.com...
Hello,

My aspx pages run fine with non-secure server. When I tried to run them
with https://, on the browser side, the runtime error occurred with
suggestions of adding the following configuration:
<configuration> <system.web><cu stomErrors mode="RemoteOnl y"
defaultRedirect ="mycustompage. htm"/></sytem.web></configuration>
and on the server side, the errors were
access denied to "C:\WebFiles\we b.config". Failed to
start monitoring file changes....
..
Strack trace was httpException 0x80070005 ..

In the process of fixing this, I changed fullcontrol to web.config,
created web.config for wwwroot and application directory and also set the
option "impersonat e" to true in the file machine.config.

I would appreciate any hint or any pages that list the similar problems.
The issue here is the secure server.

Kim


Nov 18 '05 #2
Kim
Ken

Thanks for your suggestions. We actually re-installed .NET framework using MS VS 2003 enterprise CD and the problems went away. I guess the problems came from the installed directory in D: drive for .NET framework, or it could be missing server files
Thanks anyway

Ki

----- Ken Cox [Microsoft MVP] wrote: ----

Hi Kim

It certainly sounds like permissions. Did you try the suggestions in this
article

FIX: "Failed to Start Monitoring Directory Changes" Error Message When You
Browse to an ASP.NET Pag

"To detect file changes, the process identity and the impersonated user
identity must have specific permissions to all of the directories in the
hierarchy of the file path for the file that ASP.NET is monitoring if any of
the directories in that hierarchy have more than eight characters in their
names.

http://support.microsoft.com/default...kb;en-us;31795

"kl" <ki****@spawar. navy.mil> wrote in message
news:E0******** *************** ***********@mic rosoft.com..
Hello
My aspx pages run fine with non-secure server. When I tried to run them

with https://, on the browser side, the runtime error occurred with
suggestions of adding the following configuration
<configuration ><system.web><c ustomErrors mode="RemoteOnl y"
defaultRedirect ="mycustompage. htm"/></sytem.web></configuration>> and on the server side, the errors wer
access denied to "C:\WebFiles\we b.config". Failed to
start monitoring file changes...
.
Strack trace was httpException 0x80070005 .
In the process of fixing this, I changed fullcontrol to web.config,

created web.config for wwwroot and application directory and also set the
option "impersonat e" to true in the file machine.config
I would appreciate any hint or any pages that list the similar problems.

The issue here is the secure server
Ki

Nov 18 '05 #3

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

Similar topics

6
3533
by: Martin Knopp | last post by:
I have a site running under SSL. Works well so far but there is one ASPX page which returns a dynamically created PDF file using Response.WriteFile. When the browser requests this ASPX page via https (SSL) it displays a message that secure and non secure items are to be displayed (free translation from german so it might not be the exact wording in english). When I say no (means non secure items are not displayed) my PDF still is...
4
1558
by: VB Programmer | last post by:
If I try ANY aspx pages on my server, even INVALID, bogus pages, I get a "Runtime Error". Any idea why? Here is the full message: Server Error in '/' Application. ---------------------------------------------------------------------------- ----
12
26815
by: Kevin Farless | last post by:
Hi all, I'm having trouble viewing any .aspx pages on my hosting company's server. The server is a new box running Windows Server 2003 default installation. I'm the first client to try using ASP.NET on this box and the administrator of the server has never setup an ASP.NET site before, so most likely the problem I'm experiencing is server settings related. Note in the Web.config below that the <customErrors mode="Off"/> is present,...
4
13620
by: Pat | last post by:
In my Web.config i have :- <customErrors mode="On" defaultRedirect="genericerror.htm"> <error statusCode="404" redirect="pagenotfound.aspx"/> </customErrors to get page not found error but instead i keep getting a RUN TIME error below: Any ideas.. Runtime Error
4
5241
by: news.citenet.net | last post by:
I keep getting the following error message after my web site running 2 or 3 days I share one folder with about 200 domain names Any one can help? --------------------------------------------------------------------------------
6
4696
by: BizWorld | last post by:
Hi, I have a scenario where i need to configure only Login.aspx page to use SSL. All other application will run on HTTP protocol. If someone can guide me how to accomplish this. One of my idea is to keep login.aspx page in a seperate Virtual director and apply SSL only on that directory but i dont know if it will have an impact on session (may be it will create two sessions due to two different virtual directories). If some one can...
7
8453
by: Norman Diamond | last post by:
A project depends on VC runtime from Visual Studio 2005 SP1, and DotNet Framework 2. Options are set in the setup project properties, so if these two dependencies are not already installed then this installer will install them. But what about the situation where VC runtime has already been installed? In fact it's been installed twice. Although the project was built on a Windows XP system with Visual Studio 2005 SP1 and the results were...
2
13419
by: =?Utf-8?B?U2NvdHQ=?= | last post by:
I have seen numerous posts, both here and google, where people are having this issue, but I have yet to see an explanation of the problem. I have a WCF service that is working fine using http. But now we need to upgrade it to use SSL. To do this we need to install and register a server certificate. I got a certificate (Web Server) from our enterprise cert server. Exported it as a cer file and installed it on my development machine...
1
1170
by: gagonm | last post by:
Hi I had security audit of my applications. I have two applications 1) .NET 1.0 2) .NET 1.1 Here Request is sent in either form of https://DNSName:443/virtualdir/~default.aspx https://DNSName:443/virtualdir/~default.aspx?PageId=1234
0
9393
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
10007
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
9946
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
8830
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...
0
6646
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
5272
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
5413
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3921
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
3
2800
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.