MSGBOX PROBLEM

Discussion in 'ASP .Net' started by =?Utf-8?B?SnVhbmpv?=, Dec 20, 2005.

  1. Hi,

    I'm testing the Visual Web Express Edition, with ASP.NET 2.0. I use the
    msgbox function (In ASP.NET 1.0 does not exists). I have written a lot of
    code with msgbox, but when I installed the web site developed in the IIS
    Server, I have this error when the msgbox funtion is called

    '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.'

    I think that the msgbox is not supported in web applications, but why is
    created if not run?

    Thanks
    =?Utf-8?B?SnVhbmpv?=, Dec 20, 2005
    #1
    1. Advertising

  2. Frankly, the error message gives the answer here.
    it is valid under certain conditions.



    "Juanjo" <> schreef in bericht
    news:...
    > Hi,
    >
    > I'm testing the Visual Web Express Edition, with ASP.NET 2.0. I use the
    > msgbox function (In ASP.NET 1.0 does not exists). I have written a lot of
    > code with msgbox, but when I installed the web site developed in the IIS
    > Server, I have this error when the msgbox funtion is called
    >
    > '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.'
    >
    > I think that the msgbox is not supported in web applications, but why is
    > created if not run?
    >
    > Thanks
    >
    >
    >
    Edwin Knoppert, Dec 20, 2005
    #2
    1. Advertising

  3. The only solution is to use the javascript alert function. Is it the only way
    to solve it?

    "Edwin Knoppert" wrote:

    > Frankly, the error message gives the answer here.
    > it is valid under certain conditions.
    >
    >
    >
    > "Juanjo" <> schreef in bericht
    > news:...
    > > Hi,
    > >
    > > I'm testing the Visual Web Express Edition, with ASP.NET 2.0. I use the
    > > msgbox function (In ASP.NET 1.0 does not exists). I have written a lot of
    > > code with msgbox, but when I installed the web site developed in the IIS
    > > Server, I have this error when the msgbox funtion is called
    > >
    > > '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.'
    > >
    > > I think that the msgbox is not supported in web applications, but why is
    > > created if not run?
    > >
    > > Thanks
    > >
    > >
    > >

    >
    >
    >
    =?Utf-8?B?SnVhbmpv?=, Dec 20, 2005
    #3
  4. Sure:

    http://www.hellobasic.com/cgi-bin/forum/YaBB.pl?board=dotnet;action=display;num=1132742477



    "Juanjo" <> schreef in bericht
    news:...
    > The only solution is to use the javascript alert function. Is it the only
    > way
    > to solve it?
    >
    > "Edwin Knoppert" wrote:
    >
    >> Frankly, the error message gives the answer here.
    >> it is valid under certain conditions.
    >>
    >>
    >>
    >> "Juanjo" <> schreef in bericht
    >> news:...
    >> > Hi,
    >> >
    >> > I'm testing the Visual Web Express Edition, with ASP.NET 2.0. I use the
    >> > msgbox function (In ASP.NET 1.0 does not exists). I have written a lot
    >> > of
    >> > code with msgbox, but when I installed the web site developed in the
    >> > IIS
    >> > Server, I have this error when the msgbox funtion is called
    >> >
    >> > '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.'
    >> >
    >> > I think that the msgbox is not supported in web applications, but why
    >> > is
    >> > created if not run?
    >> >
    >> > Thanks
    >> >
    >> >
    >> >

    >>
    >>
    >>
    Edwin Knoppert, Dec 20, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Newby
    Replies:
    1
    Views:
    1,688
  2. Mendhak [MVP]
    Replies:
    0
    Views:
    569
    Mendhak [MVP]
    May 15, 2005
  3. Emil Kvarnhammar

    Re: msgbox?

    Emil Kvarnhammar, Jul 16, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    554
    Salim Afþar
    Jul 16, 2003
  4. Salim Afþar

    Re: Grid msgbox?

    Salim Afþar, Jul 16, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    390
    Salim Afþar
    Jul 16, 2003
  5. Chuck Traywick

    MSGBOX Example

    Chuck Traywick, Jul 29, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    3,255
    Steve C. Orr, MCSD
    Jul 29, 2003
Loading...

Share This Page