Hi
I have just downloaded the source for DNN 4.5.1 to test against a development environment, and then upgrade my production 4.4.0 build of DNN. The build is successful, but when I expect from a browser I get:
"Could not load file or assembly 'CountryListBox' or one of its dependencies. Access is denied. "
I then turned on bind logging and got:
=== Pre-bind state information ===
LOG: User = Unknown
LOG: DisplayName = CountryListBox
(Partial)
LOG: Appbase = file:///C:/workarea/projects/DNN/4.5.1/Website/
LOG: Initial PrivatePath = C:\workarea\projects\DNN\4.5.1\Website\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\workarea\projects\DNN\4.5.1\Website\web.config
LOG: Using host configuration file: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet.config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/dotnetnuke_2/3040c568/816aa8c2/CountryListBox.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/dotnetnuke_2/3040c568/816aa8c2/CountryListBox/CountryListBox.DLL.
LOG: Attempting download of new URL file:///C:/workarea/projects/DNN/4.5.1/Website/bin/CountryListBox.DLL.
LOG: Using application configuration file: C:\workarea\projects\DNN\4.5.1\Website\web.config
LOG: Using host configuration file: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet.config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
ERR: Failed to complete setup of assembly (hr = 0x80070005). Probing terminated.
Sadly I cannot use the precompiled binaries, and have to build these files.
I have Googled the problem and as a result, I have deleted the content of the "Temporary ASP.NET" folder, I have added permissions to various folders including the "Temp" directory. I have become really stuck with this problem, and any help diagnosing the fault would really be useful here.
Many Thanks in advance
Glen