Wrox Programmer Forums
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 15th, 2007, 05:07 PM
lem lem is offline
Registered User
Join Date: Nov 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Login Error


I am testing the login feature in ASP.NET 2.0. I have a Login.aspx page with a login control and a Default.aspx page just with a simple word "Hello" on it. I have added 1 user which i have added to administrators role and have denied all annonymous users. I run the site on my local PC and it works perfectly, i login it authenticates me and i see "HELLO"

The problem i have is when i deploy this simple site to our intranet webserver the login fails and gives me a SQL error. The web server does not have sql server or even sql express installed on it. My sites normally access the database server via a connection string in the webconfig.

Why is my authentication failing. I think it has something to do with my site trying to access the ASPNETDB.mdf, but it cant.

Any suggestions?


Old November 16th, 2007, 09:28 AM
Authorized User
Join Date: Jan 2007
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aliirfan84

Dear your web-server must have SQL Server installed.

Ali Irfan

Similar Threads
Thread Thread Starter Forum Replies Last Post
Login Timeout Expired error smnel ASP.NET 2.0 Basics 0 May 7th, 2008 06:58 AM
LogIn Error asters VB.NET 2002/2003 Basics 4 February 15th, 2008 03:56 AM
Login error: session_start() gamber Beginning PHP 2 April 27th, 2006 10:25 AM
Error while creating login page manash.2005 BOOK: ASP.NET Website Programming Problem-Design-Solution 1 January 28th, 2006 07:53 AM
Login Page Parser Error? jim.sullivan@telus.net Classic ASP Databases 3 July 27th, 2004 02:15 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.