web.config errors after adding <profile> section

V

VB Programmer

My 2.0 webapp works great.

I added a profile section and all of a sudden I get a slew of "Could not
find schema information for the element...." errors/messages.

Any ideas why? Here's part of my web.config....

:
<customErrors mode="Off" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
<profile>
<properties>
<add name="Cart" type="ShoppingCart" serializeAs="Binary"
allowAnonymous="true" />
</properties>
</profile>
</system.web>
:
 
V

VB Programmer

I guess maybe the problem is that my class "ShoppingCart" was named the SAME
as my aspx page, "ShoppingCart.aspx"....

Does this make any sense to you???

:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top