|
I have a Dll "CCS.Data.dll" in bin folder ..
which i am using in the code
SQLServer.GetReader("select * from IAM_License_Master")
the same code works on the local machine.
Rahul
----- Original Message -----
From: Rahul Apte
To: pratik@ibntech.com
Sent: Wednesday, April 26, 2006 5:28 PM
Subject: Re: Smart - Product for MFs
I have put the web.config .. it is working
but i get this error now
Server Error in '/DotNet' Application.
--------------------------------------------------------------------------------
Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
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.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
Source Error:
Line 21: 'Cmd.CommandText = "select * from IAM_License_Master"
Line 22: 'myReader = Cmd.ExecuteReader()
Line 23: myReader = SQLServer.GetReader("select * from IAM_License_Master")
Line 24:
Line 25: MyDataGrid.DataSource = myReader
Source File: E:\IBNHaWebsites\hapuneone\chaturcom\chatur.com\Web\Dotnet\test.aspx.vb Line: 23
Stack Trace:
[InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.]
System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp) +1801762
System.Windows.Forms.MessageBox.Show(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options) +26
Microsoft.VisualBasic.Interaction.MsgBox(Object Prompt, MsgBoxStyle Buttons, Object Title) +544
CCS.Data.SQLServer.GetReader(String strQry) in C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\CCS.Data\CCS.Data\CCS.Data.SQLServer.vb:51
test.BindData() in E:\IBNHaWebsites\hapuneone\chaturcom\chatur.com\Web\Dotnet\test.aspx.vb:23
test.Page_Load(Object sender, EventArgs e) in E:\IBNHaWebsites\hapuneone\chaturcom\chatur.com\Web\Dotnet\test.aspx.vb:9
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
|
|
|
|
|
|
|
|