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