H
hrawada
Hello everyone,
I am desperate to solve this problem. I have built my website using
Visual Web Developer. The website works perfectly fine when I test it
on my computer. However it doesn't work when I upload to my website
and test it over the internet. The website contains a simple login page
and another page that is the destination page after logging in.
The login page was built using a login control. This is my web.config
file:
/**********************************************************************/
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<compilation debug="true" />
<authentication mode="Forms" />
<customErrors mode="Off"/>
</system.web>
</configuration>
/**********************************************************************/
I get an error on the login page, sometimes I get the following error:
Could not load type System.Web.UI.WebControls.Login from assembly
System.Web, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a.
And sometimes I just get a question mark in the error field.
Another problem is when I change the top of the web.config file
<configuration> to the following <configuration
xmlns=http://schemas.microsoft.com/.NetConfiguration/v2.0 >
The error on the login page changes and specifies that I should set
<customErrors mode="Off"/>. But I already have done that in the
web,config file.
Any help is much appreciated I am really struggling with this.
I am desperate to solve this problem. I have built my website using
Visual Web Developer. The website works perfectly fine when I test it
on my computer. However it doesn't work when I upload to my website
and test it over the internet. The website contains a simple login page
and another page that is the destination page after logging in.
The login page was built using a login control. This is my web.config
file:
/**********************************************************************/
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<compilation debug="true" />
<authentication mode="Forms" />
<customErrors mode="Off"/>
</system.web>
</configuration>
/**********************************************************************/
I get an error on the login page, sometimes I get the following error:
Could not load type System.Web.UI.WebControls.Login from assembly
System.Web, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a.
And sometimes I just get a question mark in the error field.
Another problem is when I change the top of the web.config file
<configuration> to the following <configuration
xmlns=http://schemas.microsoft.com/.NetConfiguration/v2.0 >
The error on the login page changes and specifies that I should set
<customErrors mode="Off"/>. But I already have done that in the
web,config file.
Any help is much appreciated I am really struggling with this.