Server Error in '/' Application.

The SELECT permission was denied on the object 'product', database 'oemsemi', 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.Exception: The SELECT permission was denied on the object 'product', database 'oemsemi', schema 'dbo'.

Source Error:


Line 18:     {
Line 19:         int id = int.Parse(Request.QueryString["id"]);
Line 20:         model = (Product)op.getModel(id);
Line 21: 
Line 22:         DataSet ds = op.getAnyRowsList(" id > " + id.ToString() + " order by id asc", 30);

Source File: c:\inetpub\vhosts\oemsemi.com\httpdocs\oemsemi\detail.aspx.cs    Line: 20

Stack Trace:


[Exception: The SELECT permission was denied on the object 'product', database 'oemsemi', schema 'dbo'.]
   Baitron_Da.DBOP.OleDbDataBaseOperator.Query(String SQLString) in E:\leo\website\OENSEMI\project\Baitron_Da\DBOP\OleDbDataBaseOperator.cs:378
   Baitron_Bu.ProductOp.getModel(Int32 ID) in E:\leo\website\OENSEMI\project\Baitron_Bu\ProductOp.cs:153
   detail.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\oemsemi.com\httpdocs\oemsemi\detail.aspx.cs:20
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0