TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Jeroen Christens
NA
5
0
login
May 1 2009 6:20 AM
I made a Register and Login Form. It is working, but when logging in it is not doing a good job. Sometimes it logs out even after a few seconds.
you can try it at:
www.christens.be/register.aspx
www.christens.be/login.aspx
Did I forget something?
Here the code of 2 web.config's, first web.config in the root then web. config in the directory:
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings/>
<connectionStrings>
<add name="SQLAdressen" connectionString="server=193.93.174.50;database=profielschets;user id=jeroen;password=******" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true">
<assemblies>
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<!--<add assembly="System.Net, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>-->
<add assembly="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies>
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
--> <customErrors mode="Off"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<authentication mode="Forms">
<forms defaultUrl="~/cvwizard/agenda.aspx" loginUrl="~/login.aspx" protection="All" timeout="1000000000" slidingExpiration="true"></forms>
<!-- <forms defaultUrl="Default.aspx"></forms> timeout="10000000000000 slidingExpiration="true""-->
</authentication>
<authorization>
<allow users="*"/>
</authorization>
<pages enableEventValidation="false" viewStateEncryptionMode="Never" enableViewStateMac="false"/>
</system.web>
<system.net>
<mailSettings>
<smtp from="Admin">
<network host="mail.christens.be"/>
</smtp>
</mailSettings>
</system.net>
</configuration>
The Web.config in the directory "cvwizard":
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<authorization>
<deny users="?"/>
</authorization>
<pages enableEventValidation="false" viewStateEncryptionMode="Never" enableViewStateMac="false"/>
</system.web>
</configuration>
Hope someone can find the problem, I alread tried a lot of things, but I cannot find a solution.
Reply
Answers (
3
)
MARQUEE DETAILS:
ObjectDataSource 'ObjectDataSource1' could not find a non-generic method 'Insert' that has parameter...