CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 1999
    Posts
    58

    connecting to sql server

    i setup a new computer and installed all necessary programs.
    i copied my asp.net project to new machine.but i doesnt run.
    it gives an error in default.aspx file.
    SQL Server does not exist or access denied.
    i added ASPNET user to sql server. nothing changed

    in web.config file;
    <add key="ConnString" value="server=localhost;Trusted_Connection=true;database=DUNN" />

    where did i make mistake.

    Not: old machine runs Win2000 pro
    new machine runs WXP Pro.

    thanx all

  2. #2
    Join Date
    Sep 2003
    Location
    Argentina....
    Posts
    118

    Re: connecting to sql server

    Try logging on with the sa Account.... or Impersonating??
    My history: QB->VB->TC++->VB->VC++->VC#

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured