Click here to Skip to main content
15,902,114 members

Comments by Member 12111217 (Top 4 by date)

Member 12111217 8-Feb-16 21:02pm View    
Yes, that was the easy way to do it. Thanks!
Member 12111217 12-Jan-16 17:02pm View    
Server Error in ‘/’ 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 orginated 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:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a “Debug = true” directive at the top of the file that generated the error. Example:
<%@ Page Language=”C#” Debug=”true” %>

Or

Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="”true”">


Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running application in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
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.CommonDialog.ShowDialog(IWin32Window owner) +649
MemberPages_Admin_Print_Test.Print_Customer_With_NoPOS() +372
MemberPages_Admin_Print_Test.Button1_Click(Object sender, EventArgs e) +160
System.Web.UI.Webcontrols.Button.Onclick(EventArgs e) +11753681
System.Web.UI.Webcontrols.Button.RaisePostBackEvent(String eventArgument) +150
System.Web.UI,Page,ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6016

Full error description
Member 12111217 12-Nov-15 22:48pm View    
I already have the id field which is Role_ID field. I just want permission field to be auto generated incrementally
Member 12111217 12-Nov-15 22:48pm View    
I already have the id field which is Role_ID field. I just want permission field to be auto generated incrementally