Ask a Question related to ASP.NET General, Design and Development.
-
Duncan Godwin #1
Re: IHttpModule trouble registering in web.config
Hi,
The code containing the module would have to sit in the https site's virtual
directory's bin
directory. So if secured is a virtual directory it would be the bin off
that, if myusername is
a virtual directory the bin under that.
The error is basically telling you the type cannot be found.
To fix it see how you can copy the assembly into the correct bin directory.
Kind Regards,
Duncan Godwin
"Mekael Turner" <spammenot@hotmail.com> wrote in message
news:#1KzjEhODHA.3192@TK2MSFTNGP10.phx.gbl...one> Hey Everyone,
> I am building a store application that is on an unsecured server. We got--> of those shared certificates that takes you from (ex.
> [url]http://www.mydomain.net[/url] to [url]https://www.theirdomain.com/secured/myusername[/url])
> The trouble with that is that with dot net I loose the session. I'm trying
> to take the user's id which is stored in the User.Identity.Name property,
> encrypt it and put it in the querystring. I want to use the IHttpModule to
> detect when they are going from a secured page to an unsecured page(which
> has a different domain but the same application.) How ever when I run the
> app I get this error:
>
>
> Server Error in '/' Application.
> --------------------------------------------------------------------------file> ----
>
> Configuration Error
> Description: An error occurred during the processing of a configurationresponseEncoding="utf-8"> required to service this request. Please review the specific error details
> below and modify your configuration file appropriately.
>
> Parser Error Message: Could not load type Stools.AuthSecure from assembly
> Stools.
>
> Source Error:
>
>
> Line 94: <globalization requestEncoding="utf-8"--> />
> Line 95: <httpModules>
> Line 96: <add name="AuthSecure"
> Line 97: type="Stools.AuthSecure, Stools" />
> Line 98: </httpModules>
>
>
>
> Source File: D:\STools\web.config Line: 96
>
>
>
> --------------------------------------------------------------------------ASP.NET> ----
>
> Version Information: Microsoft .NET Framework Version:1.1.4322.510;> Version:1.1.4322.510
>
> Any ideas I'm building this in VS.NET Stools is the name of the .DLL,
> Project and Top Level Class. I put it into ildasm and the AuthSecure class
> is under the Stools class. Thanks for any help.
>
> -Mek
>
>
Duncan Godwin Guest
-
Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config
I had many ASP.NET web applications that I created before I had to rebuild my machine. After a fresh install of XP Pro, VS.NET 2003, etc, I now... -
Web References how to config to read URL from config?
It's great that VS.NET makes it so effortless to add a web reference to a web service. The problem is, I haven't figured out a way to configure the... -
config file: a) what Module ? b) conditionals in config (for multiple hosts)
Hi, a) I am looking for a module to handle config files. There are a number of these modules, like AppCconig. Any consensus about The Right... -
[RCR] Include CONFIG::Config['rubydocdir'] in rbconfig.rb
Hi folks, I apologise if people have read this RCR and are not interested, but this is what I consider to be an important RCR, not a merely... -
Trouble setting the web.config to use my class
Hey Everyone, I am building a store application that is on an unsecured server. We got one of those shared certificates that takes you from (ex....



Reply With Quote

