Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / July 2004

Tip: Looking for answers? Try searching our database.

errors connecting to the pubs database on a local machine

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CobyCo - 24 Jul 2004 12:46 GMT
When I run the Web Form Walkthrough, I get the error,
Login Failed, although when I tested the connection, I
could connect to the pubs database.

When I try to use the SQL Login

I get the error, "Login Failed, not a trusted SQL Server
connection, when I try to set up the SQLAdapter.  

I cannot find the code in the code behind like I can when
I'm writing classic asp and want to change the database
connection.  Can anybody give me any help on this issue as
I need to be able to use the datagrid.  Thanx

CobyCo
Gena - 27 Jul 2004 19:53 GMT
You might want to try putting the following line of code
in the Web.Config file (within the <system.web>):

<identity impersonate="true" />

Also make sure anonymous access is not checked in your IIS.

Hope that helps you.

>-----Original Message-----
>When I run the Web Form Walkthrough, I get the error,
[quoted text clipped - 13 lines]
>CobyCo
>.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.