473,326 Members | 2,095 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,326 software developers and data experts.

WebClass hash.web file

I am converting a VB6 WebClass application to VB.Net. Used the VB upgrade
tool to do the conversion - and it left me a lot of little code things to
do. Did those code things and got my app to compile. Did a few other code
things to take advantage of .Net features not available in VB6.

When I start the application on my PC I get the error shown below. It seems
to me that the app initiation is failing before any app code is executed.

My PC is running W2K and is a workstation - not a server. IIS5 is installed.
The app does not "impersonate". The framework is 1.1.

The file with access denied is

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempora ry ASP.NET
Files\iisatn.net\2328cfde\6f56e86c\hash.web

The path shown next exists - the last item (6f6e86c) is an empty folder. All
folders in this path allow "everybody" full access.

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempora ry ASP.NET
Files\iisatn.net\2328cfde\6f56e86c

There is also a virtual directory with this name and a virtual directory for
my app.
What is the hash.web file used for?? What should be in this file??

Who created the existing path?? Why wasn't the file created when the path
was created??

And most importantly, what do I do to get past this problem??

===== The web error page returned on IE --

Server Error in '/IisAtn.NET' Application.

Access to the path "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary
ASP.NET Files\iisatn.net\2328cfde\6f56e86c\hash.web" is denied.

Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path
"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET
Files\iisatn.net\2328cfde\6f56e86c\hash.web" is denied.

ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request identity.
ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or
Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="true"/>, the identity will be the anonymous user (typically
IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET write access to a file, right-click the file in Explorer,
choose "Properties" and select the Security tab. Click "Add" to add the
appropriate user or group. Highlight the ASP.NET account, and check the
boxes for the desired access.

Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.

Stack Trace:
[UnauthorizedAccessException: Access to the path
"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET
Files\iisatn.net\2328cfde\6f56e86c\hash.web" is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean
bFromProxy) +888 System.IO.FileStream..ctor(String path, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize) +44
System.IO.StreamWriter.CreateFile(String path, Boolean append) +55
System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding,
Int32 bufferSize) +49 System.IO.StreamWriter..ctor(String path, Boolean
append, Encoding encoding) +20
System.Web.Compilation.PreservedAssemblyEntry.Writ ePreservedSpecialFilesComb
inedHash(Int64 hash) +165
System.Web.Compilation.PreservedAssemblyEntry.DoFi rstTimeInit(HttpContext
context) +851
System.Web.Compilation.PreservedAssemblyEntry.Ensu reFirstTimeInit(HttpContex
t context) +97
System.Web.Compilation.PreservedAssemblyEntry.GetP reservedAssemblyEntry(Http
Context context, String virtualPath, Boolean fApplicationFile) +29
System.Web.UI.TemplateParser.GetParserCacheItemFro mPreservedCompilation()
+91 System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean
fCreateIfNotFound) +148
System.Web.UI.TemplateParser.GetParserCacheItemWit hNewConfigPath() +125
System.Web.UI.TemplateParser.GetParserCacheItem() +88
System.Web.UI.ApplicationFileParser.GetCompiledApp licationType(String
inputFile, HttpContext context, ApplicationFileParser& parser) +171
System.Web.HttpApplicationFactory.CompileApplicati on(HttpContext context)
+43 System.Web.HttpApplicationFactory.Init(HttpContext context) +485
System.Web.HttpApplicationFactory.GetApplicationIn stance(HttpContext
context) +170
System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +414


Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032

===== The contents of the Output Debug window after the app has been
stopped --

'DefaultDomain': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\mscorl ib.dll', No symbols
loaded.

'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f 5f7f11d50a3a\system.web.dl
l', No symbols loaded.

Auto-attach to process '[2284] aspnet_wp.exe' on machine 'USTR-BURWELWE1'
succeeded.

'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c56 1934e089\system.dll', No
symbols loaded.

'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system.enterpriseservices\1 .0.5000.0__b03f5f7f11d50a3
a\system.enterpriseservices.dll', No symbols loaded.

'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system.enterpriseservices\1 .0.5000.0__b03f5f7f11d50a3
a\system.enterpriseservices.thunk.dll', No symbols loaded.

'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system.data\1.0.5000.0__b77 a5c561934e089\system.data.
dll', No symbols loaded.

'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system.drawing\1.0.5000.0__ b03f5f7f11d50a3a\system.dr
awing.dll', No symbols loaded.

'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a 5c561934e089\system.xml.dl
l', No symbols loaded.

'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system.web.regularexpressio ns\1.0.5000.0__b03f5f7f11d
50a3a\system.web.regularexpressions.dll', No symbols loaded.

'/LM/W3svc/1/Root/IisAtn.NET-18-127586882835640323': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\mscorl ib.dll', No symbols
loaded.

'/LM/W3svc/1/Root/IisAtn.NET-18-127586882835640323': Loaded
'c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f 5f7f11d50a3a\system.web.dl
l', No symbols loaded.

'/LM/W3svc/1/Root/IisAtn.NET-18-127586882835640323': Loaded
'c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c56 1934e089\system.dll', No
symbols loaded.

'/LM/W3svc/1/Root/IisAtn.NET-18-127586882835640323': Loaded
'c:\winnt\assembly\gac\system.enterpriseservices\1 .0.5000.0__b03f5f7f11d50a3
a\system.enterpriseservices.dll', No symbols loaded.

'/LM/W3svc/1/Root/IisAtn.NET-18-127586882835640323': Loaded
'c:\winnt\assembly\gac\system.enterpriseservices\1 .0.5000.0__b03f5f7f11d50a3
a\system.enterpriseservices.thunk.dll', No symbols loaded.

'/LM/W3svc/1/Root/IisAtn.NET-18-127586882835640323': Loaded
'c:\winnt\assembly\gac\system.data\1.0.5000.0__b77 a5c561934e089\system.data.
dll', No symbols loaded.

'/LM/W3svc/1/Root/IisAtn.NET-18-127586882835640323': Loaded
'c:\winnt\assembly\gac\system.drawing\1.0.5000.0__ b03f5f7f11d50a3a\system.dr
awing.dll', No symbols loaded.

'/LM/W3svc/1/Root/IisAtn.NET-18-127586882835640323': Loaded
'c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a 5c561934e089\system.xml.dl
l', No symbols loaded.

'/LM/W3svc/1/Root/IisAtn.NET-18-127586882835640323': Loaded
'c:\winnt\assembly\gac\system.web.regularexpressio ns\1.0.5000.0__b03f5f7f11d
50a3a\system.web.regularexpressions.dll', No symbols loaded.

The program '[1892] IEXPLORE.EXE: Script program' has exited with code 0
(0x0).

The program '[2284] aspnet_wp.exe: DefaultDomain' has exited with code 0
(0x0).

The program '[2284] aspnet_wp.exe:
/LM/W3svc/1/Root/IisAtn.NET-18-127586882835640323' has exited with code 0
(0x0).

Bill Burwell
Jul 21 '05 #1
0 2898

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

Similar topics

6
by: Chang | last post by:
How to get SHA1 or MD5 of a big file (+5MB - 20GB) as I can't read 20GB into memory. -- Chang.
5
by: Michael H | last post by:
Hi all, I guess I don't fully understand how a SHA1 hash value is calculated in C# / .NET for a large file... I'm trying to calculate SHA1 values for large files that are much larger than my...
0
by: Bill Burwell | last post by:
I am converting a VB6 WebClass application to VB.Net. Used the VB upgrade tool to do the conversion - and it left me a lot of little code things to do. Did those code things and got my app to...
6
by: pycraze | last post by:
Hi , I am using Fedora Core -3 and my Python version is 2.4 . kernel version - 2.6.9-1.667smp There is some freakish thing that happens with python hashes when i run a python script my...
1
by: John Wright | last post by:
I want to create a file hash on my exe files and store the hash signature in a database so I can retrieve the value to compare the file hash to ensure I have an untampered file. How can this be...
21
by: Hallvard B Furuseth | last post by:
Is the code below valid? Generally a value must be accessed through the same type it was stored as, but there is an exception for data stored through a character type. I'm not sure if that...
2
by: =?Utf-8?B?TW91dGhPZk1hZG5lc3M=?= | last post by:
How can I add an MD5 hash to XMLSerializer.Serialize without corrupting the content of the file; then how to read it back to verify is correct? I'd like to code up something (see below) that...
5
by: nirmal1349 | last post by:
Hi, I have a hash in hash file in perl which looks some thing like this: $FIELDS = { 'abc' => { 'Description' => { 'Purpose' => 'some data is present',...
11
by: JWest46088 | last post by:
I'm having difficulty trying to figure out how to print a text file from a hash table one line at a time. I have the text file read into the hash table and can print the text file all at once, but I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.