Skip to main content

developerWorks >  Information Management  >  Forums  >  .NET Development with DB2 and IDS  >  developerWorks

[DB2Exception (0x80004005): ERROR [] [IBM] SQL1092N "ASPNET" does not have    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is not answered.

Permlink Replies: 1 - Pages: 1 - Last Post: Nov 19, 2009 10:03 AM Last Post By: Alex Vainchtein Threads: [ Previous | Next ]
wmdyer

Posts: 1
Registered: Nov 04, 2009 03:21:20 PM
[DB2Exception (0x80004005): ERROR [] [IBM] SQL1092N "ASPNET" does not have
Posted: Nov 09, 2009 05:00:20 PM
 
Click to report abuse...   Click to reply to this thread Reply
DB2Exception (0x80004005): ERROR [
HELP - Already read Dega, Door2Door, and the other post referenceing IBM VS NET problems.
They seem to be similar but the solutions do not work.

Using XP SPK 2,
Visual Studio 2008 Spk 1
Trying .net 3.5.1
IBM Visual Studio Addins 9.5.fpk4 version 9.1
IBM.Data.DB2 Ver 9.0.0.2, file version 9.5.4.2

Help, Web pages throw errors. However, all connections work inside the IDE.
Trying to use data bound controls. But, since I upgrated my DB2 Connect from 9.1 to 9.5, I cannot even get previously working connections to work.
I had to unload all previous versions of VS Addins, clear ALL registry entrys, and install from scratch just to get the IBM VS Addins too work. Now the Server Explorer will make a connection, and data binding works only within the VS 2008 IDE. Errors upon errors when I run the web pages.

ERROR [] IBM SQL1092N "ASPNET" does not have the authority to perform the requested command.

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: IBM.Data.DB2.DB2Exception: ERROR [] IBM SQL1092N "ASPNET" does not have the authority to perform the requested command.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

DB2Exception (0x80004005): ERROR [
IBM.Data.DB2.DB2ConnPool.Open(DB2Connection connection, String& szConnectionString, DB2ConnSettings& ppSettings, Object& ppConn) +3936
IBM.Data.DB2.DB2Connection.Open() +498
System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +31
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +112
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +92
System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1297
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +19
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
System.Web.UI.WebControls.GridView.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +72
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +44
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842


Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
Alex Vainchtein

Posts: 11
Registered: Jul 03, 2009 07:38:05 AM
Re: [DB2Exception (0x80004005): ERROR [] [IBM] SQL1092N "ASPNET" does not have
Posted: Nov 19, 2009 10:03:37 AM   in response to: wmdyer in response to: wmdyer's post
 
Click to report abuse...   Click to reply to this thread Reply
Hi,

is ASPNET user part of either the DB2USERS or DB2ADMINS groups? If it's not, please add it to one of them ( depending on the level of authority you want this user id to have ) and try using the web-pages again.
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums