Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 4th, 2004, 09:09 AM
Registered User
Join Date: Feb 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Connect to MSDE in with ASP.NET


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.

Reply With Quote
  #2 (permalink)  
Old February 4th, 2004, 09:17 AM
Friend of Wrox
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts

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.
Reply With Quote

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
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

All times are GMT -4. The time now is 07:58 PM.

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