Registration Exception when trying to get sample project tracker to run. I have the project set up at C:\TSP\csla20\ProjectTracker20cs\EnterpriseServicesHostcs
virtual web PTWeb points to C:\TSP\csla20\ProjectTracker20cs\www\PTWeb
Error received on login. Granted machinename\Aspnet full rights to csla20 folder but still same problem.
Any help is GREATLY APPRECIATED!!!
Do not know where to grant the rights, or to which account the error is referring to. Please help a newbie! Error follows:
Exception Details: System.UnauthorizedAccessException: Access to the registry key 'HKEY_CLASSES_ROOT\EnterpriseServicesHost.EnterpriseServicesPortal' 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 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:
|
Hi Paul, I think the problem stemmed from
an improper web config file. I commented out all references to
EnterpriseServices, and used the local data portal as outlined in chapter 8 I believe.
This fixed the issues I was having. Hope this helps.
Thank you,
Don Starkey
Senior Programmer
Synergy
Chicago, IL 60601
Phone: (312) 899-1024
Toll Free: 1-800-432-1026
Fax: (312) 977-1026
From: PaulS
[mailto:cslanet@lhotka.net]
Sent: Friday, September 08, 2006
7:09 AM
To: Don Starkey
Subject: Re: [CSLA .NET] Help for
newbie
what was the resolution for this? I have the same question.
Rocky may I ask for a command line example of the syntax for registering the EnterpriseServices? This is a new technique for me, and I do not know if there are any command line flags I need to be aware of.
Also, do I just register it once and then add it from the References tab where I find the other system dll's?
Thank you.
I know this answer is a little late, but someone else might find it useful.
This problem is caused by not registering the appropriate EnterpriseServicesHostxx.Dll, where the xx is either cs or vb depending on your language choice.
See step 7 in the installation guide notes from Rocky. Follow the instructions and the problem is resolved.
Copyright (c) Marimer LLC