Solution to running the http://localhost:XXXX/AyaNovaDP/DataPortal.rem?wsdl returns message


Performing step #9 of the AyaNova Data Portal setup where you enter the URL http://localhost:XXXX/AyaNovaDP/DataPortal.rem?wsdl (where XXXX is the port number of the Default Web Site, AyaNovaDP) results in the following message on the web browser:

System.IO.FileLoadException: Access is denied: ‘CSLA.Server.DataPortal’.
File name: “CSLA.Server.DataPortal”
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Runtime.Remoting.RemotingConfigInfo.LoadType(String typeName, String assemblyName)
at System.Runtime.Remoting.RemotingConfigInfo.GetServerTypeForUri(String URI)
at System.Runtime.Remoting.RemotingConfigHandler.GetServerTypeForUri(String URI)
at System.Runtime.Remoting.RemotingServices.GetServerTypeForUri(String URI)
at System.Runtime.Remoting.Channels.Http.HttpRemotingHandler.CanServiceRequest(HttpContext context)
at System.Runtime.Remoting.Channels.Http.HttpRemotingHandler.InternalProcessRequest(HttpContext context)

=== Pre-bind state information ===
LOG: DisplayName = CSLA.Server.DataPortal
LOG: Appbase = file:///c:/inetpub/wwwroot/AyaNovaDP
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: CSLA.Server.DataPortal
LOG: Attempting download of new URL file:///c:/windows/ ASP.NET Files/ayanovadp/c60daf90/caf9d8c7/CSLA.Server.DataPortal.DLL.
LOG: Attempting download of new URL file:///c:/windows/ ASP.NET Files/ayanovadp/c60daf90/caf9d8c7/CSLA.Server.DataPortal/CSLA.Server.DataPortal.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/AyaNovaDP/bin/CSLA.Server.DataPortal.DLL.
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (c:\windows\\framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: CSLA.Server.DataPortal, Version=, Culture=neutral, PublicKeyToken=df66a8d8e49833d3


You need to re-initiate the .NET version by performing the following:

  1. Select Start -> Run
  2. Browse to the C:\WINNT\Microsoft.NET\Framework\v1.1.4322\ folder and select aspnet_regiis.exe and than place a -i after it so that in the RUN is shows as

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i

3. Select OK which will bring up a DOS window which will run toreinitialize .NET 1.1.4233 again

  1. Let it run.

  2. When it is finished the DOS window will close itself.

  3. Reboot. This won’t work unless you reboot.

  4. Log back in physically at the computer and perform step #9 and continue on with the configuration.


Please note that Microsoft.NET Framework 2 is now required for the latest release AyaNova and any optional AyaNova v3 utilities

Refer to the Known Issues & Updates forum update to the latest release of AyaNova.

If you receive similiar to the message above, than do the same, but instead of repairing .NET 1.1, you would be repairing .NET 2 as in

<SPAN class=userInput>"%windir%\Microsoft.NET\Framework&lt;VAR>version</VAR>\aspnet_regiis.exe" -i </SPAN>