Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 15th, 2007, 05:07 PM
lem lem is offline
Registered User
 
Join Date: Nov 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Login Error

Hi,

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?

Thanks
Bryan

Reply With Quote
  #2 (permalink)  
Old November 16th, 2007, 09:28 AM
Authorized User
 
Join Date: Jan 2007
Location: Islamabad, Punjab, Pakistan.
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aliirfan84
Default

Dear your web-server must have SQL Server installed.

Regards,
Ali Irfan
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 08:53 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.