Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 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 July 10th, 2004, 10:40 AM
Registered User
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default connection problem

i'm trying to do simple database access between two win2k3 boxes. one is an app server with visual studio 2003, the other a database server with sql server 2000.

when i try to run aspx pages which used to work on a local instance of sql server, i now get:

SQL Server does not exist or access denied.

I'm not sure what steps to take to authorize asp.net to connect to my sql server. The app server has no problem connecting to the database in non-aspx situations, like enterprise manager, and other C# applications using the same connection string.

help?


 
Old July 10th, 2004, 01:46 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default

many forums on the site discuss you question ???
hope every one use this site to search before ask ??
any way...
to enable all web applications "by default" to connect the sqlserver machine
search the file machine.config in the winnt folder
"\WINNT\Microsoft.NET\Framework\v1.1.4322\CONFIG"Â  
and modify the identity tag as following
<identity impersonate="true" />



Ahmed Ali
Software Developer





Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection problem atzplzw Classic ASP Databases 3 November 15th, 2004 03:53 AM
Problem with the connection! Berni016x SQL Server 2000 2 November 9th, 2004 08:51 AM
PROBLEM IN CONNECTION Abhinav_jain_mca SQL Server 2000 5 September 30th, 2004 09:32 AM
Problem With Connection ! huyremy VB Databases Basics 2 September 29th, 2004 03:37 AM





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