Hi Scott!
I'm Wan from Singapore. I've been using VB.net for awhile now and decided to foray into Microsoft Visual Studio 2005.
Been trying out the new controls. Created a site that had membership features and functionality. I ran it on my e local server and it works fine. However, when i uploaded it to a free webhostwww.somee.com that supports asp 2.0 there are errors when i attempt to login. The eror message is :
Anyone knows what i coul do?
Regards
WAN
ServerError in'/' Application.------------------------RuntimeError Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details:To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a"web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its"mode" attribute set to"Off".<!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="Off"/> </system.web></configuration> Notes: The current error page you are seeing can be replaced by a custom error page by modifying the"defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.<!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web></configuration>
Hi everyone. I checked further and i realised that the problem was thatwww.somee.com only provides support for Microsoft Access DB and visual studio 2005 login controls are based on SQL Server.
I realised that the login controls are based on an SQL server membership provider and hence cannot run on a web host that only provides support for MS Access. Is my understanding right?
In this case,i need to change the membership provider of my login controls to MS Access membership providers. How can i do this? Read somewhere that MS VS 2005 ships with two in-built data providers : SQL Server and Access. Is this true?
What can i do guys ??. any ideas?
Thanks in advance..
WAN
You specify the default membership provider using thedefaultProvider attribute of themembership element. Please refers to these articles:
Introduction to Membership
http://msdn2.microsoft.com/en-us/library/yh26yfzy(VS.80).aspx
Configuring an ASP.NET Application to Use Membership
http://msdn2.microsoft.com/en-us/library/6e9y4s5t(VS.80).aspx
0 comments:
Post a Comment