Parser Error Message: Could not load file or assembly 'Force Secure.dll' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 22: <httpModules> Line 23: <!--Used to redirect all the unsecure connections to the secure ones if necessary--> Line 24: <add name="Security" type="Account_Request.Handlers.SecurityModule, Force Secure.dll" /> Line 25: </httpModules> Line 26:
The Force Secure is in a different folder under Visual Studios Projects. Account_Request is on the desktop in WIP. Could this be causing the error? I have Account_Request referencing Force Secure (added it in the solution in Visual Studios and manually added the reference to Account_Request project's references). Account_Request is a web form, Force Secure is a code library.
This is the code I pulled it from:
<httpModules>
<!--Used to redirect all the unsecure connections to the secure ones if necessary-->
<add name="Security" type="{YourNamespace}.Handlers.SecurityModule, {YourAssembly}" />
...
</httpModules>
Which name space should I be using, and am I referencing the assembly right? Also, I built the code library to make it a .dll, but I do not have Strong Name on it, nor am I entirely sure how to go about that without wrecking the entire thing and having to start over. I am doing this on a copy of the original source code, so if I need to start over, I can.
Any help would be greatly appreciated.
Part of the issue I'm having is that this is my first real foray into the world of security. I've been coding in C# and asp.net for my job (student worker at IT support at a university), but I still run into issues.

New Topic/Question
Reply




MultiQuote


|