Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Trouble setting the web.config to use my class

Reply
Thread Tools

Trouble setting the web.config to use my class

 
 
Mek
Guest
Posts: n/a
 
      06-26-2003
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.
http://www.mydomain.net to
https://www.theirdomain.com/secured/myusername)
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.
----------------------------------------------------------
------------------
----

Configuration Error
Description: An error occurred during the processing of a
configuration file
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"
responseEncoding="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



----------------------------------------------------------
------------------
----

Version Information: Microsoft .NET Framework
Version:1.1.4322.510; ASP.NET
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Caveat: Porting C++ code from non-class to class can get you in trouble Ramon F Herrera C++ 10 12-27-2010 10:02 PM
Class A contains class B, class B points to class A Joseph Turian C++ 5 12-30-2005 03:24 PM
Nested Class, Member Class, Inner Class, Local Class, Anonymous Class E11 Java 1 10-12-2005 03:34 PM
A parameterized class (i.e. template class / class template) is not a class? christopher diggins C++ 16 05-04-2005 12:26 AM
class-in-a-typedef-in-a-class circular trouble Josephine Schafer C++ 11 09-11-2003 04:29 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57