.Net Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - More.Net Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 6th, 2003, 10:19 AM
amarafzal amarafzal is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 7 amarafzal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
problem with ADO

Hi All

im new to ASP.NET and im in the process of learning it. Got a problem.

At the moment im working with ASP.NET through Visual Studio.Net. im trying to set up a dataset. I create my connection using server explorer window which works fine, i create a data Adaptor, data set, datagrid and then bind the dataset with the datagrid using the folowing code

private void Page_Load (object sender, System Eventargs e)
{
sqlDataAdapter1.Fill(dataSet1);
DataGrid1.Datasource = dataSet1;
DataGrid1.DataBind();
}

When i build and browse, i get an error saying the login failed for user MACHINE NAME\ASPNET

Help me PLease!!

Reply With Quote
  #2  
Old September 6th, 2003, 01:30 PM
fetcher fetcher is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Portugal
Posts: 106 fetcher User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 11 m 33 sec
Reputation Power: 6
(AH here it is)

Well I think that's probably with the permissions ASPNET user has (or doesn't have). Mine belongs to the User's group. I have XP, I don't know about W2K though...

Reply With Quote
  #3  
Old September 6th, 2003, 01:58 PM
amarafzal amarafzal is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 7 amarafzal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i have tried changing permissions but no luck!!

this is really doing my head in!!

ANY ONE ELSE?

Thankis for trying FETCHER

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - More.Net Development > problem with ADO


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway