Jan Borup Coyle
|
| Posted: 08/30/2002, 3:17 AM |
|
I have downloaded all the ASP.NET/C# applications examples, and tried to use them, but they all got the same error, when I try to run them in broweser.
Ex. in the Bookstore application, it comes with the following error:
Server Error in '/codecharge/bookstore' Application.
--------------------------------------------------------------------------------
Method not found: Void System.EventHandler..ctor(System.Object, UIntPtr).
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.MissingMethodException: Method not found: Void System.EventHandler..ctor(System.Object, UIntPtr).
Source Error:
Line 839: private static System.Collections.ArrayList __fileDependencies;
Line 840:
Line 841: public Default_aspx() {
Line 842: System.Collections.ArrayList dependencies;
Line 843: if ((ASP.Default_aspx.__intialized == false)) {
Source File: C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\codecharge_bookstore\38e96baf\c69f2534\plx5lc8s.0.cs Line: 841
Stack Trace:
[MissingMethodException: Method not found: Void System.EventHandler..ctor(System.Object, UIntPtr).]
Book_Store.Default..ctor() +0
ASP.Default_aspx..ctor() in C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\codecharge_bookstore\38e96baf\c69f2534\plx5lc8s.0.cs:841
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) +0
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +277
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +109
System.Web.UI.TemplateControlParser.GetCompiledInstance(String virtualPath, String inputFile, HttpContext context) +175
[HttpException (0x80004005): Failed to create page of type 'ASP.Default_aspx'.]
System.Web.UI.TemplateControlParser.GetCompiledInstance(String virtualPath, String inputFile, HttpContext context) +349
System.Web.UI.PageParser.GetCompiledPageInstance(String virtualPath, String inputFile, HttpContext context) +43
System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String path) +14
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, String path, String pathTranslated, Boolean useAppConfig) +174
System.Web.MapHandlerExecutionStep.Execute() +78
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +173
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET Version:1.0.3705.288
*****************************************
Could anyone maybe help ??
Best regards
Jan Borup Coyle, Denmark.
|
|
|
 |
Sanddy
|
| Posted: 08/30/2002, 11:23 PM |
|
This seems like an ASP.NET problem rather than CC/CCS problem.
1) Confirm your ASPNET System account (under wich asp.net runs) has sufficent permissions to write to database files etc.
2) I would suggeast you re-install the ASP.NET worker process (this won't take long). Run the command "aspnet_regiis -i" from the command prompt. The file resides in c:\winodws\microsoft.com\frameworksdk\v1.0.3705.
|
|
|
 |
|