Click here to Skip to main content
15,902,635 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Database Error when retrieving specific records from a table Pin
hyjiacan15-May-10 14:27
hyjiacan15-May-10 14:27 
GeneralRe: Database Error when retrieving specific records from a table Pin
Tarakeshwar Reddy15-May-10 17:20
professionalTarakeshwar Reddy15-May-10 17:20 
QuestionError trying to set the style sheet in the code behind. Pin
Steve Holdorf15-May-10 9:45
Steve Holdorf15-May-10 9:45 
AnswerRe: Error trying to set the style sheet in the code behind. Pin
Not Active15-May-10 17:23
mentorNot Active15-May-10 17:23 
QuestionWeb Server serving as a TCP/IP communication server as well Pin
Stevo Z15-May-10 4:58
Stevo Z15-May-10 4:58 
AnswerRe: Web Server serving as a TCP/IP communication server as well Pin
DeepToot18-May-10 8:39
DeepToot18-May-10 8:39 
GeneralRe: Web Server serving as a TCP/IP communication server as well Pin
Stevo Z18-May-10 11:05
Stevo Z18-May-10 11:05 
Questiondata problem Pin
bapu288915-May-10 0:58
bapu288915-May-10 0:58 
hello
i am new to this and i am doing my assignment with vs2003. I need to create simple one page web project in vs2003 with one datagrid so I connect to northwind database in server ex. in vs 2003 and then drag a datagrid and then genereate dataset and configure dataset with database
but when i run the project it gives me error

Server Error in '/WebApplication3' Application.
--------------------------------------------------------------------------------

The SELECT permission was denied on the object 'Employees', database 'Northwind', schema 'dbo'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: The SELECT permission was denied on the object 'Employees', database 'Northwind', schema 'dbo'.

Source Error:


Line 192: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Line 193: 'Put user code to initialize the page here
Line 194: SqlDataAdapter1.Fill(DataSet11)
Line 195:
Line 196: End Sub


Source File: c:\inetpub\wwwroot\WebApplication3\WebForm1.aspx.vb Line: 194

Stack Trace:


[SqlException: The SELECT permission was denied on the object 'Employees', database 'Northwind', schema 'dbo'.]
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
System.Data.SqlClient.SqlCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
WebApplication3.WebForm1.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\WebApplication3\WebForm1.aspx.vb:194
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2443; ASP.NET Version:1.1.4322.2443

waiting for your kind help
AnswerRe: data problem Pin
Not Active15-May-10 3:03
mentorNot Active15-May-10 3:03 
QuestionRe: data problem Pin
bapu288915-May-10 6:59
bapu288915-May-10 6:59 
AnswerRe: data problem Pin
Not Active15-May-10 7:24
mentorNot Active15-May-10 7:24 
GeneralRe: data problem Pin
bapu288915-May-10 7:43
bapu288915-May-10 7:43 
QuestionMaster-Content Page postback issues Pin
trunkwala_abbas15-May-10 0:07
trunkwala_abbas15-May-10 0:07 
AnswerRe: Master-Content Page postback issues Pin
Not Active15-May-10 3:05
mentorNot Active15-May-10 3:05 
QuestionEvents are not firing Pin
4anusha414-May-10 20:41
4anusha414-May-10 20:41 
AnswerRe: Events are not firing Pin
janani1316-May-10 17:22
janani1316-May-10 17:22 
QuestionAlternate to Shopping Cart? Pin
thatraja14-May-10 20:03
professionalthatraja14-May-10 20:03 
AnswerRe: Alternate to Shopping Cart? Pin
Brij14-May-10 20:38
mentorBrij14-May-10 20:38 
Questionissue with Tracking users Pin
Khaja A. Imtiaz14-May-10 19:37
Khaja A. Imtiaz14-May-10 19:37 
AnswerRe: issue with Tracking users Pin
Martin Jarvis17-May-10 6:40
Martin Jarvis17-May-10 6:40 
GeneralRe: issue with Tracking users Pin
Khaja A. Imtiaz17-May-10 20:07
Khaja A. Imtiaz17-May-10 20:07 
GeneralRe: issue with Tracking users Pin
Martin Jarvis18-May-10 11:04
Martin Jarvis18-May-10 11:04 
QuestionTimeout Problem Pin
SreejithKumar M14-May-10 18:34
SreejithKumar M14-May-10 18:34 
AnswerRe: Timeout Problem Pin
Brij14-May-10 20:01
mentorBrij14-May-10 20:01 
GeneralRe: Timeout Problem Pin
SreejithKumar M14-May-10 20:15
SreejithKumar M14-May-10 20:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.