473,387 Members | 1,573 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

MSGBOX PROBLEM

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

Dec 20 '05 #1
3 5690
Frankly, the error message gives the answer here.
it is valid under certain conditions.

"Juanjo" <Ju****@discussions.microsoft.com> schreef in bericht
news:0C**********************************@microsof t.com...
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

Dec 20 '05 #2
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" <Ju****@discussions.microsoft.com> schreef in bericht
news:0C**********************************@microsof t.com...
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


Dec 20 '05 #3
Sure:

http://www.hellobasic.com/cgi-bin/fo...num=1132742477

"Juanjo" <Ju****@discussions.microsoft.com> schreef in bericht
news:03**********************************@microsof t.com...
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" <Ju****@discussions.microsoft.com> schreef in bericht
news:0C**********************************@microsof t.com...
> 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
>
>
>


Dec 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: js | last post by:
Hi all, I currently encounter a problem and it is urgent to me. After calling the MsgBox.Show(), the message box is shown with non-modal mode, what is the possible reason??? This only happen...
4
by: Lakrom | last post by:
Hi to all, how to put msgbox in this asp page, this send me a message Denied permission: 'MsgBox' <% Set Conn=server.createobject("ADODB.connection") Conn.open application("StrConRuta") set rs =...
6
by: Lapchien | last post by:
In this bit of code provided so helpfully by Nath: Private Sub Command118_Click() Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.openrecordset("IMPORT")
0
by: CFW | last post by:
I use the below code to move to the selected record in a list box to that record in another form: DoCmd.OpenForm "frmWorksheet", acNormal, , , acFormEdit, acWindowNormal rst.CursorLocation =...
7
by: Anne Richmond | last post by:
I have just returned to my first vb.net project after a few weeks and find I have a problem with Msgbox. The commands I added earlier work OK but any new ones fail to show the prompt value...
4
by: | last post by:
I have about 20 MsgBox occurance in by program, which I use to inform the user of the progress of the program, or ask confirmation of an action, or simply to act separators to various parts of the...
7
by: Bob L | last post by:
I've inserted a MsgBox in some VBScript on line 12 of an .asp page and get the following error: Microsoft VBScript runtime error '800a0046' Permission denied: 'MsgBox' /default.asp, line 12 ...
9
by: Ivan Jericevich | last post by:
In my code below at the line 'response' a blip sound is heard and the program exits the sub -- No MsgBox is displayed. What am I doing wrong? If nonNumberEntered = True Then msg = "Enter...
2
by: perkykoala | last post by:
I apologize in advance for being REALLY detailed/verbose. It's the result of staring/tweaking code for too long. Using VB 2005: I need to design a multiple choice test (unfortunately, I can't...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.