Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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 February 4th, 2004, 09:09 AM
Registered User
 
Join Date: Feb 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Connect to MSDE in with ASP.NET

Hi.

I`m having problems connecting to my SQL desktop engine with ASP.NET and VB.NET. I can make the connection work fine within a windows application, but not through my web application. Any suggestions of what could be wrong?
Here is my connection string which was automatically generated by VS.NET:
data source=knut;initial catalog=felicitas;integrated security=SSPI;persist security info=False;workstation id=KNUT;packet size=409

Please help.

Regards,
Knut
 
Old February 4th, 2004, 09:17 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Do you have the ASP.NET account added to your permissions list in the database? Whenever an ASP.NET application accesses your database, it connects with the <server name>\ASPNET account, when you log on with integrated security. To get around it, you can set up a SQL Server account, give that account the privileges a user would normally have, and add the User ID/password to the connection string.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot connect to MSDE AllanJ SQL Server 2000 2 August 18th, 2006 05:07 AM
Connecting to MSDE from a remote ASP.NET App kyle_shea ASP.NET 1.0 and 1.1 Basics 1 January 13th, 2006 05:00 PM
can not connect to msde isheikh All Other Wrox Books 13 February 10th, 2004 07:34 PM
ASP.NET MSDE Connection string problems Bagheer Classic ASP Databases 0 August 27th, 2003 08:02 PM





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