Hi all,
I had posted this request before, but I the attachment got lost.
Please find the error page below.
The problem is the W2K server with SP4 and IIS5 doesn't serve
any page with .aspx extension. There are no problems with .html and .asp
pages,
but as soon as you rename an .html file to .aspx you get the following error
Any help would be great. Thanks in advance,
Burak
Server Error in '/' Application.
----------------------------------------------------------------------------
----
Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: CS0007: Unexpected common language runtime
initialization error -- 'Class not registered '
Source Error:
[No relevant source lines]
Source File: Line: 0
Show Detailed Compiler Output:
C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.1.4322\csc.exe"
/t:library /utf8output
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\40c18fbb\eb1d4bc9\assembly\dl2\d3ee8230\00e75a7b_5951c301\luckyey
e.cargill_definitions.bizlogic.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\40c18fbb\eb1d4bc9\assembly\dl2\4761f872\00012dc6_974fc301\luckyey
e.ui.alternatecontrols.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\40c18fbb\eb1d4bc9\assembly\dl2\47ef676d\0045e56a_3651c301\luckyey
e.utility.dll"
/R:"c:\winnt\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\sys
tem.web.mobile.dll"
/R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.da
ta.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\40c18fbb\eb1d4bc9\assembly\dl2\6825d1f6\005b8fc8_974fc301\testcon
trols.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\40c18fbb\eb1d4bc9\assembly\dl2\3b029ee0\008285ae_2951c301\admin.d
ll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\40c18fbb\eb1d4bc9\assembly\dl2\2b35c0b2\00012dc6_974fc301\luckyey
e.ui.controls.dll"
/R:"c:\winnt\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\s
ystem.web.services.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\40c18fbb\eb1d4bc9\assembly\dl2\7e404bbc\00bb8f03_5f51c301\luckyey
e.ledis.ui.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary
asp.net
files\root\40c18fbb\eb1d4bc9\assembly\dl2\52e42fdb\00d6df11_6351c301\cargill
prj.dll"
/R:"c:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d5
0a3a\system.enterpriseservices.dll"
/R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml
.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\40c18fbb\eb1d4bc9\assembly\dl2\83757835\00e75a7b_5951c301\luckyey
e.ui.filtercontrols.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\40c18fbb\eb1d4bc9\assembly\dl2\123546d4\002e5ec7_974fc301\luckyey
e.generic.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary
asp.net
files\root\40c18fbb\eb1d4bc9\assembly\dl2\b512efaa\0073ad1e_3d41c301\luckyey
e.ledis.bizlogic.dll"
/R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system
.drawing.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary
asp.net
files\root\40c18fbb\eb1d4bc9\assembly\dl2\05ea6449\00ae8b7e_2c51c301\luckyey
e.ledis.adminui.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\40c18fbb\eb1d4bc9\assembly\dl2\5840237f\00df8492_2f51c301\cargill
controls.dll"
/R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"
/R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web
.dll" /out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\40c18fbb\eb1d4bc9\fkgwboiy.dll" /D:DEBUG /debug+ /optimize-
/warnaserror /w:1 "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\root\40c18fbb\eb1d4bc9\fkgwboiy.0.cs"
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
fatal error CS0007: Unexpected common language runtime initialization
error -- 'Class not registered '
Show Complete Compilation Source:
Line 1:
//--------------------------------------------------------------------------
----
Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.573
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and will
be lost if
Line 7: // the code is regenerated.
Line 8: // </autogenerated>
Line 9:
//--------------------------------------------------------------------------
----
Line 10:
Line 11: namespace ASP {
Line 12: using System;
Line 13: using System.Collections;
Line 14: using System.Collections.Specialized;
Line 15: using System.Configuration;
Line 16: using System.Text;
Line 17: using System.Text.RegularExpressions;
Line 18: using System.Web;
Line 19: using System.Web.Caching;
Line 20: using System.Web.SessionState;
Line 21: using System.Web.Security;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25:
Line 26:
Line 27:
[System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 28: public class Global_asax : CargillPrj.Global {
Line 29:
Line 30: private static bool __initialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_asax.__initialized == false)) {
Line 34: ASP.Global_asax.__initialized = true;
Line 35: }
Line 36: }
Line 37: }
Line 38: }
Line 39:
----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
Tim Macaulay[MS] - 29 Jul 2003 14:12 GMT
Hello Burak,
Sometimes, this can be caused because of issues with either the ISAPI
Filters or the ASP.Net user account.
Try navigating to the framework folder and running the aspnet_regiis -i
command and see if that does anything for you.
%windir%\Microsoft.Net\Framework\v1.1.4322\aspnet_regiis -i
I hope that helps.
Tim Macaulay
Microsoft Corp.
This posting is provided "AS IS" with no warranties, and confers no rights
Burak ?zcan - 30 Jul 2003 08:57 GMT
Hi Tim,
Actually we have already tried that with no results.
But I will apply your second idea and try to find out what's going on.
Anyway, thank you very much for the tip.
Burak.
> Hello Burak,
>
[quoted text clipped - 11 lines]
> Microsoft Corp.
> This posting is provided "AS IS" with no warranties, and confers no rights