473,756 Members | 1,964 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

GLOBAL.ASA and IIS 6.0

Hi there,

How does IIS 6.0 treat the global.asa file? I had the following problem;

1. uploaded a new site to the win3k server
2. had incorrect db connection string in Session_OnStart in global.asa and
website caused errors.
3. Changed the global.asa file to include the correct details. Saved the
file. Still got the same errors.

I could not resolve this unless restarting the WWW Service on this server.
In IIS 5.0 the global.asa file would reload after resaving it (as the
timestamp is updated).

I even waited the next day before restarting the service because I though
Session_OnStart expires after my session ends...but the error was still there
in the morning.

Hopefully someone will make sense of it for me. Here is the code (I
inherited) in the global.asa
Sub Application_OnS tart
Application("DB .ConnectionStri ng") = ""
Application("Ma xLoginAttempts" ) = 5
Set Application("Co n") = Server.CreateOb ject("ADODB.Con nection")
Session("Test") = Now()
End Sub
Sub Session_OnStart

Application("DB _ConnectionStri ng") = "Provider=SQLOL EDB; Data
Source=myDBServ er; Initial Catalog=Databas eName; User ID=sa;
Password=mypass word"

'changed db connection application var to SQL server

Session("LoginA ttempts") = 0

Session("XAN_Co nnectionString" ) = Application("DB _ConnectionStri ng")
Session("XAN_ad minConnectionSt ring") = Application("DB _ConnectionStri ng")

Session("XAN_Co nnectionTimeout ") = 15
Session("XAN_Co mmandTimeout") = 30
Session("XAN_Cu rsorLocation") = 3

Set Session("Con") = Server.CreateOb ject("ADODB.Con nection")
Session("Con"). ConnectionTimeo ut = Session("XAN_Co nnectionTimeout ")
Session("Con"). CommandTimeout = Session("XAN_Co mmandTimeout")
Session("XAN_Co nnectionString" ) = "Provider=SQLOL EDB; Data
Source=myDBServ er; Initial Catalog=Databas eName; User ID=sa;
Password=mypass word"

Response.Buffer = true
if Application("Co n").State = 0 then
Application("Co n").Open Session("XAN_Co nnectionString" )
end if
'************** *************** *************** *************** *************** *******
End Sub
Jul 19 '05 #1
7 6577
Why are you opening an ADO connection and storing it in Session scope?
That's a really bad way of developing ASP/ADO based applications.
Seriously - you should instantiate and open the connection on each page, and
close and dispose of it on each page. This enables your application to take
advantage of connection pooling. The way you are currently doing it is
really bad - it's not scalable whatsoever.

Suggest you tell us what your errors are to troubleshoot your global.asa
problems (may not have anything to do with global.asa itself - maybe you
have a permissions issue or similar so you need to tweak permissions).

Cheers
Ken
"Matt Calhoon" <ma**@community .nospam> wrote in message
news:2F******** *************** ***********@mic rosoft.com...
Hi there,

How does IIS 6.0 treat the global.asa file? I had the following problem;

1. uploaded a new site to the win3k server
2. had incorrect db connection string in Session_OnStart in global.asa and
website caused errors.
3. Changed the global.asa file to include the correct details. Saved the
file. Still got the same errors.

I could not resolve this unless restarting the WWW Service on this server.
In IIS 5.0 the global.asa file would reload after resaving it (as the
timestamp is updated).

I even waited the next day before restarting the service because I though
Session_OnStart expires after my session ends...but the error was still
there
in the morning.

Hopefully someone will make sense of it for me. Here is the code (I
inherited) in the global.asa
Sub Application_OnS tart
Application("DB .ConnectionStri ng") = ""
Application("Ma xLoginAttempts" ) = 5
Set Application("Co n") = Server.CreateOb ject("ADODB.Con nection")
Session("Test") = Now()
End Sub
Sub Session_OnStart

Application("DB _ConnectionStri ng") = "Provider=SQLOL EDB; Data
Source=myDBServ er; Initial Catalog=Databas eName; User ID=sa;
Password=mypass word"

'changed db connection application var to SQL server

Session("LoginA ttempts") = 0

Session("XAN_Co nnectionString" ) = Application("DB _ConnectionStri ng")
Session("XAN_ad minConnectionSt ring") = Application("DB _ConnectionStri ng")

Session("XAN_Co nnectionTimeout ") = 15
Session("XAN_Co mmandTimeout") = 30
Session("XAN_Cu rsorLocation") = 3

Set Session("Con") = Server.CreateOb ject("ADODB.Con nection")
Session("Con"). ConnectionTimeo ut = Session("XAN_Co nnectionTimeout ")
Session("Con"). CommandTimeout = Session("XAN_Co mmandTimeout")
Session("XAN_Co nnectionString" ) = "Provider=SQLOL EDB; Data
Source=myDBServ er; Initial Catalog=Databas eName; User ID=sa;
Password=mypass word"

Response.Buffer = true
if Application("Co n").State = 0 then
Application("Co n").Open Session("XAN_Co nnectionString" )
end if
'************** *************** *************** *************** *************** *******
End Sub

Jul 19 '05 #2
Hi Ken,

thanks for your email.

I mentioned in my post that I inherited the code (from another web
development company), and for time constraints cannot be changed. This site
(along with 200 others) is being moved to a new webfarm (which has IIS 6.0).
I can't be fixing all the code for each site unless I have nothing to do for
6 months.

....ok so my question remains; Does IIS 6.0 treat global.asa any different to
IIS 5.0?
Suggest you tell us what your errors are to troubleshoot your global.asa
problems
The error was "incorrect login for user 'mydatabaseuser '. After I changed
the login to the correct password, the change did not take place unless I
restarted the www service (the next day). So it looks as though the
global.asa file is cached until restart of www.


"Ken Schaefer" wrote:
Why are you opening an ADO connection and storing it in Session scope?
That's a really bad way of developing ASP/ADO based applications.
Seriously - you should instantiate and open the connection on each page, and
close and dispose of it on each page. This enables your application to take
advantage of connection pooling. The way you are currently doing it is
really bad - it's not scalable whatsoever.

Suggest you tell us what your errors are to troubleshoot your global.asa
problems (may not have anything to do with global.asa itself - maybe you
have a permissions issue or similar so you need to tweak permissions).

Cheers
Ken
"Matt Calhoon" <ma**@community .nospam> wrote in message
news:2F******** *************** ***********@mic rosoft.com...
Hi there,

How does IIS 6.0 treat the global.asa file? I had the following problem;

1. uploaded a new site to the win3k server
2. had incorrect db connection string in Session_OnStart in global.asa and
website caused errors.
3. Changed the global.asa file to include the correct details. Saved the
file. Still got the same errors.

I could not resolve this unless restarting the WWW Service on this server.
In IIS 5.0 the global.asa file would reload after resaving it (as the
timestamp is updated).

I even waited the next day before restarting the service because I though
Session_OnStart expires after my session ends...but the error was still
there
in the morning.

Hopefully someone will make sense of it for me. Here is the code (I
inherited) in the global.asa
Sub Application_OnS tart
Application("DB .ConnectionStri ng") = ""
Application("Ma xLoginAttempts" ) = 5
Set Application("Co n") = Server.CreateOb ject("ADODB.Con nection")
Session("Test") = Now()
End Sub
Sub Session_OnStart

Application("DB _ConnectionStri ng") = "Provider=SQLOL EDB; Data
Source=myDBServ er; Initial Catalog=Databas eName; User ID=sa;
Password=mypass word"

'changed db connection application var to SQL server

Session("LoginA ttempts") = 0

Session("XAN_Co nnectionString" ) = Application("DB _ConnectionStri ng")
Session("XAN_ad minConnectionSt ring") = Application("DB _ConnectionStri ng")

Session("XAN_Co nnectionTimeout ") = 15
Session("XAN_Co mmandTimeout") = 30
Session("XAN_Cu rsorLocation") = 3

Set Session("Con") = Server.CreateOb ject("ADODB.Con nection")
Session("Con"). ConnectionTimeo ut = Session("XAN_Co nnectionTimeout ")
Session("Con"). CommandTimeout = Session("XAN_Co mmandTimeout")
Session("XAN_Co nnectionString" ) = "Provider=SQLOL EDB; Data
Source=myDBServ er; Initial Catalog=Databas eName; User ID=sa;
Password=mypass word"

Response.Buffer = true
if Application("Co n").State = 0 then
Application("Co n").Open Session("XAN_Co nnectionString" )
end if
'************** *************** *************** *************** *************** *******
End Sub


Jul 19 '05 #3
That is perfectly normal to have to restart the IIS service after making
changes to the global.asa file.

I remember when I was doing web development on IIS 4 I had to restart
the IIS service to get the changes in my global.asa to take effect.

Matt Calhoon wrote:
Suggest you tell us what your errors are to troubleshoot your global.asa
problems

The error was "incorrect login for user 'mydatabaseuser '. After I changed
the login to the correct password, the change did not take place unless I
restarted the www service (the next day). So it looks as though the
global.asa file is cached until restart of www.


Jul 19 '05 #4
That is *not* normal.

IIS should be aware of changes to global.asa file (via Windows File Change
Notification), and then the application is restarted. This was always
potential source of problems in ASP apps (because if a developer "touched"
the global.asa file, then the app would be restarted, and all existing user
sessions would be lost)

Cheers
Ken
"joker" <no*****@netzer o.com> wrote in message
news:el******** *****@TK2MSFTNG P11.phx.gbl...
That is perfectly normal to have to restart the IIS service after making
changes to the global.asa file.

I remember when I was doing web development on IIS 4 I had to restart the
IIS service to get the changes in my global.asa to take effect.

Matt Calhoon wrote:
Suggest you tell us what your errors are to troubleshoot your global.asa
problems

The error was "incorrect login for user 'mydatabaseuser '. After I
changed the login to the correct password, the change did not take place
unless I restarted the www service (the next day). So it looks as though
the global.asa file is cached until restart of www.

Jul 19 '05 #5
Hi,

At the moment you are opening a separate connection for each individual
user, and holding it open *even* when the connection is not being used.
Additionally, the connection is not being released until the session times
out. For a large application, with connection pooling, you should not need
more than 20-30 connections, however your application is going to result in
hundreds of connections. SQL Server (nor any other DBMS) won't scale to
hundreds, or thousands of concurrent connections.

What I suggest you do is write a little function that returns an open
connection, and stick that into every page you have (via find-n-replace).
Then all you need to do is change all references to Session("Con") to this
page level connnection.

I also noticed just now that you are attempting to open, and store an ADO
connection in Application scope! That's just as bad - that means you are
serialising all access to your database through a single connection whenever
you try to use that. I have no idea who wrote this application before, but
that's just about the worst way to write anything (unless you are using that
one connection to keep a connection persistantly in the OLEDB/ODBC pool, but
you shouldn't need to do that on a high-load app anyway). This is a really
good resource on pooling:
http://msdn.microsoft.com/library/de...l/pooling2.asp

Cheers
Ken

"Matt Calhoon" <ma**@community .nospam> wrote in message
news:60******** *************** ***********@mic rosoft.com...
Hi Ken,

thanks for your email.

I mentioned in my post that I inherited the code (from another web
development company), and for time constraints cannot be changed. This
site
(along with 200 others) is being moved to a new webfarm (which has IIS
6.0).
I can't be fixing all the code for each site unless I have nothing to do
for
6 months.

...ok so my question remains; Does IIS 6.0 treat global.asa any different
to
IIS 5.0?
Suggest you tell us what your errors are to troubleshoot your global.asa
problems


The error was "incorrect login for user 'mydatabaseuser '. After I changed
the login to the correct password, the change did not take place unless I
restarted the www service (the next day). So it looks as though the
global.asa file is cached until restart of www.


"Ken Schaefer" wrote:
Why are you opening an ADO connection and storing it in Session scope?
That's a really bad way of developing ASP/ADO based applications.
Seriously - you should instantiate and open the connection on each page,
and
close and dispose of it on each page. This enables your application to
take
advantage of connection pooling. The way you are currently doing it is
really bad - it's not scalable whatsoever.

Suggest you tell us what your errors are to troubleshoot your global.asa
problems (may not have anything to do with global.asa itself - maybe you
have a permissions issue or similar so you need to tweak permissions).

Cheers
Ken
"Matt Calhoon" <ma**@community .nospam> wrote in message
news:2F******** *************** ***********@mic rosoft.com...
> Hi there,
>
> How does IIS 6.0 treat the global.asa file? I had the following
> problem;
>
> 1. uploaded a new site to the win3k server
> 2. had incorrect db connection string in Session_OnStart in global.asa
> and
> website caused errors.
> 3. Changed the global.asa file to include the correct details. Saved
> the
> file. Still got the same errors.
>
> I could not resolve this unless restarting the WWW Service on this
> server.
> In IIS 5.0 the global.asa file would reload after resaving it (as the
> timestamp is updated).
>
> I even waited the next day before restarting the service because I
> though
> Session_OnStart expires after my session ends...but the error was still
> there
> in the morning.
>
> Hopefully someone will make sense of it for me. Here is the code (I
> inherited) in the global.asa
>
>
> Sub Application_OnS tart
> Application("DB .ConnectionStri ng") = ""
> Application("Ma xLoginAttempts" ) = 5
> Set Application("Co n") = Server.CreateOb ject("ADODB.Con nection")
> Session("Test") = Now()
> End Sub
>
>
> Sub Session_OnStart
>
>
>
> Application("DB _ConnectionStri ng") = "Provider=SQLOL EDB; Data
> Source=myDBServ er; Initial Catalog=Databas eName; User ID=sa;
> Password=mypass word"
>
> 'changed db connection application var to SQL server
>
> Session("LoginA ttempts") = 0
>
> Session("XAN_Co nnectionString" ) = Application("DB _ConnectionStri ng")
> Session("XAN_ad minConnectionSt ring") =
> Application("DB _ConnectionStri ng")
>
> Session("XAN_Co nnectionTimeout ") = 15
> Session("XAN_Co mmandTimeout") = 30
> Session("XAN_Cu rsorLocation") = 3
>
> Set Session("Con") = Server.CreateOb ject("ADODB.Con nection")
> Session("Con"). ConnectionTimeo ut = Session("XAN_Co nnectionTimeout ")
> Session("Con"). CommandTimeout = Session("XAN_Co mmandTimeout")
>
>
> Session("XAN_Co nnectionString" ) = "Provider=SQLOL EDB; Data
> Source=myDBServ er; Initial Catalog=Databas eName; User ID=sa;
> Password=mypass word"
>
> Response.Buffer = true
>
>
> if Application("Co n").State = 0 then
> Application("Co n").Open Session("XAN_Co nnectionString" )
> end if
>
>
> '************** *************** *************** *************** *************** *******
> End Sub
>
>


Jul 19 '05 #6
write yourself a "reload.asp " script that contains the same code as in
global.asa (change global.asa then copy/paste to reload.asp).

Note all of the other suggestions regarding session-scope objects and
especially the application-scope connection object that will cause you no
end of trouble later. You might want to bite the bullet and fix it now (tell
the boss that porting to win 2003 requires some changes if you have to).

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Matt Calhoon" <ma**@community .nospam> wrote in message
news:2F******** *************** ***********@mic rosoft.com...
Hi there,

How does IIS 6.0 treat the global.asa file? I had the following problem;

1. uploaded a new site to the win3k server
2. had incorrect db connection string in Session_OnStart in global.asa and
website caused errors.
3. Changed the global.asa file to include the correct details. Saved the
file. Still got the same errors.

I could not resolve this unless restarting the WWW Service on this server.
In IIS 5.0 the global.asa file would reload after resaving it (as the
timestamp is updated).

I even waited the next day before restarting the service because I though
Session_OnStart expires after my session ends...but the error was still there in the morning.

Hopefully someone will make sense of it for me. Here is the code (I
inherited) in the global.asa
Sub Application_OnS tart
Application("DB .ConnectionStri ng") = ""
Application("Ma xLoginAttempts" ) = 5
Set Application("Co n") = Server.CreateOb ject("ADODB.Con nection")
Session("Test") = Now()
End Sub
Sub Session_OnStart

Application("DB _ConnectionStri ng") = "Provider=SQLOL EDB; Data
Source=myDBServ er; Initial Catalog=Databas eName; User ID=sa;
Password=mypass word"

'changed db connection application var to SQL server

Session("LoginA ttempts") = 0

Session("XAN_Co nnectionString" ) = Application("DB _ConnectionStri ng")
Session("XAN_ad minConnectionSt ring") = Application("DB _ConnectionStri ng")

Session("XAN_Co nnectionTimeout ") = 15
Session("XAN_Co mmandTimeout") = 30
Session("XAN_Cu rsorLocation") = 3

Set Session("Con") = Server.CreateOb ject("ADODB.Con nection")
Session("Con"). ConnectionTimeo ut = Session("XAN_Co nnectionTimeout ")
Session("Con"). CommandTimeout = Session("XAN_Co mmandTimeout")
Session("XAN_Co nnectionString" ) = "Provider=SQLOL EDB; Data
Source=myDBServ er; Initial Catalog=Databas eName; User ID=sa;
Password=mypass word"

Response.Buffer = true
if Application("Co n").State = 0 then
Application("Co n").Open Session("XAN_Co nnectionString" )
end if
'************** *************** *************** *************** *************** *
****** End Sub

Jul 19 '05 #7
On Tue, 14 Sep 2004 20:57:07 -0700, Matt Calhoon
<ma**@community .nospam> wrote:
Hi Ken,

thanks for your email.

I mentioned in my post that I inherited the code (from another web
development company), and for time constraints cannot be changed. This site
(along with 200 others) is being moved to a new webfarm (which has IIS 6.0).
I can't be fixing all the code for each site unless I have nothing to do for
6 months.

...ok so my question remains; Does IIS 6.0 treat global.asa any different to
IIS 5.0?
Probably, but not in relation to what you describe. When the
global.asa is changed, it should reflect in your apps just as it did
in IIS5.
Suggest you tell us what your errors are to troubleshoot your global.asa
problems


The error was "incorrect login for user 'mydatabaseuser '. After I changed
the login to the correct password, the change did not take place unless I
restarted the www service (the next day). So it looks as though the
global.asa file is cached until restart of www.


It shouldn't be, and certainly not until the next day. But the server
or client may have cached something that did affect this, it's
impossible to say without a lot more details.

But since changing global.asa drops sessions anyway, it wouldn't be a
stretch to simply do a restart of the app or site, or IIS itself
(depends on what your apps do, and how your sites are configured...).

Jeff
"Ken Schaefer" wrote:
Why are you opening an ADO connection and storing it in Session scope?
That's a really bad way of developing ASP/ADO based applications.
Seriously - you should instantiate and open the connection on each page, and
close and dispose of it on each page. This enables your application to take
advantage of connection pooling. The way you are currently doing it is
really bad - it's not scalable whatsoever.

Suggest you tell us what your errors are to troubleshoot your global.asa
problems (may not have anything to do with global.asa itself - maybe you
have a permissions issue or similar so you need to tweak permissions).

Cheers
Ken
"Matt Calhoon" <ma**@community .nospam> wrote in message
news:2F******** *************** ***********@mic rosoft.com...
> Hi there,
>
> How does IIS 6.0 treat the global.asa file? I had the following problem;
>
> 1. uploaded a new site to the win3k server
> 2. had incorrect db connection string in Session_OnStart in global.asa and
> website caused errors.
> 3. Changed the global.asa file to include the correct details. Saved the
> file. Still got the same errors.
>
> I could not resolve this unless restarting the WWW Service on this server.
> In IIS 5.0 the global.asa file would reload after resaving it (as the
> timestamp is updated).
>
> I even waited the next day before restarting the service because I though
> Session_OnStart expires after my session ends...but the error was still
> there
> in the morning.
>
> Hopefully someone will make sense of it for me. Here is the code (I
> inherited) in the global.asa
>
>
> Sub Application_OnS tart
> Application("DB .ConnectionStri ng") = ""
> Application("Ma xLoginAttempts" ) = 5
> Set Application("Co n") = Server.CreateOb ject("ADODB.Con nection")
> Session("Test") = Now()
> End Sub
>
>
> Sub Session_OnStart
>
>
>
> Application("DB _ConnectionStri ng") = "Provider=SQLOL EDB; Data
> Source=myDBServ er; Initial Catalog=Databas eName; User ID=sa;
> Password=mypass word"
>
> 'changed db connection application var to SQL server
>
> Session("LoginA ttempts") = 0
>
> Session("XAN_Co nnectionString" ) = Application("DB _ConnectionStri ng")
> Session("XAN_ad minConnectionSt ring") = Application("DB _ConnectionStri ng")
>
> Session("XAN_Co nnectionTimeout ") = 15
> Session("XAN_Co mmandTimeout") = 30
> Session("XAN_Cu rsorLocation") = 3
>
> Set Session("Con") = Server.CreateOb ject("ADODB.Con nection")
> Session("Con"). ConnectionTimeo ut = Session("XAN_Co nnectionTimeout ")
> Session("Con"). CommandTimeout = Session("XAN_Co mmandTimeout")
>
>
> Session("XAN_Co nnectionString" ) = "Provider=SQLOL EDB; Data
> Source=myDBServ er; Initial Catalog=Databas eName; User ID=sa;
> Password=mypass word"
>
> Response.Buffer = true
>
>
> if Application("Co n").State = 0 then
> Application("Co n").Open Session("XAN_Co nnectionString" )
> end if
>
>
> '************** *************** *************** *************** *************** *******
> End Sub
>
>



Jul 19 '05 #8

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

Similar topics

8
102757
by: David Hitillambeau | last post by:
Hi guys, As I am new to Python, i was wondering how to declare and use global variables. Suppose i have the following structure in the same module (same file): def foo: <instructions> <instructions> def bar: <instructions>
1
2230
by: Andr? Roberge | last post by:
I have the following two files: #--testexec.py-- def exec_code(co): try: exec co except: print "error" #-- test.py--
7
2689
by: Lyn | last post by:
Hi and Season's Greetings to all. I have a question regarding the use of a qualifier word "Global". I cannot find any reference to this in Access help, nor in books or on the Internet. "Global" seems to be recognised by Access in at least three cases:- 1) "Global Const". Recently someone in this group helped me resolve a problem, and it involved the use of a Global Const. By Googling "Global Const", I got plenty of hits -- but they...
10
6768
by: David P. Donahue | last post by:
When I wrote websites in VB .NET, I would often put functions in Global for all the pages to call. Now, in C#, doing so results in "references to non-static objects" and whatnot. I realize what that means and all, but what I'm wondering is what's the best way around it? Say, for example, I want a function that takes a username and a password and returns true or false if it's a successful login, and I want any page or usercontrol in the...
22
3795
by: fd123456 | last post by:
Hi Tom ! Sorry about the messy quoting, Google is playing tricks on me at the moment. > Global.asax is where you normally have the Global Application > and Session variables and code to manipulate them. It starts > and ends with <script></script> tags. > > Yours looks like a compiled version of it.
9
8656
by: CDMAPoster | last post by:
About a year ago there was a thread about the use of global variables in A97: http://groups.google.com/group/comp.databases.ms-access/browse_frm/thread/fedc837a5aeb6157 Best Practices by Kang Su Gatlin, casual mention was made about using static variables as an alternative to using global variables. This caused me to think of the following: '-----Begin module code
3
2771
by: User1014 | last post by:
A global variable is really just a property of the "Global Object", so what does that make a function defined in the global context? A method of the Global Object? http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Defining_Functions doesn't actually give any insight.
8
13207
by: Rob T | last post by:
When I was using VS2003, I was able to compile my asp.net project locally on my machine and copy it to the production server and it would run just fine. I've now converted to VS2005. The project compiles & runs fine locally, but when I copy to the production machine, I get this error: Parser Error Message: Could not load type 'Global'. Source Error: Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="Global" %> Source...
15
2572
by: =?Utf-8?B?UGF0Qg==?= | last post by:
Just starting to move to ASP.NET 2.0 and having trouble with the Global.asax code file. In 1.1 I could have a code behind file for the global.asax file. This allow for shared variables of the Global class. Note: I use these shared variables for read only values that are set at application start. It would appear the 2.0 doesn't like you to use shared variables in the global class. How do I convert my 1.1 applications to 2.0 without...
1
29378
weaknessforcats
by: weaknessforcats | last post by:
C++: The Case Against Global Variables Summary This article explores the negative ramifications of using global variables. The use of global variables is such a problem that C++ architects have called it polluting the global namespace. This article explores what happens when the global namespace becomes polluted and how to avoid this condition. The opinions expressed in this article are those of the author alone although many have...
0
9287
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10046
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7259
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6542
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3817
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3369
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2677
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.