Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Problem with SRC and CodeBehing Tag


Message #1 by <kshatdalpriya@i...> on Mon, 17 Mar 2003 17:35:21 +0530
Hi Rohit,
I am facing little problen in dotnet. I want to using same codebehind
file in the for Add/Edit , view , Search opertaion . Pervious all
codebehind are in the separate file for each module and the Page tag in
the user interface form is "<@Page CodeBehind=Customer.cs" > . But when
I change the CodeBehind Tage to "Src" tage it gives the error :
'CodeGen.AddEditFormGenerator' is defined in multiple places; using
definition from 'C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary
ASP.NET
Files\root\4c988864\e17ad75e\assembly\dl\9b52b025\f2f2836f_75e8c201\Code
Gen.DLL'
I cannot solve  the problem. I have read opn the site that is the bug of
VS.net. But how can I complie the file using src tag.



With Regards
Kumar Shatdal Priya
software Engineer
Integrated Systems Management Inc.
SCO-10 , Sector -14
Gurgaon , Haryana
Phone: 91-6335864/65
Web: http://www.ismnet.com <http://www.ismnet.com> 
"DIGITAL DOMINANCE" 



-----Original Message-----
From: Rohit Arora [mailto:rohit_arora@i...] 
Sent: Monday, March 17, 2003 9:38 AM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring


Yeah for security .net provides MD5 and sha1 algo for encryption
(system.security.cryptography). Jes encrypt that connectionstring and
place it over there..make a  global variable for ur application
containing decrypted connection string and use it anywhere.

Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229

"Desire means never Quit. It may be near when it seems far, so stick to
the fight when you are hardest hit.Its when things go wrong, that u must
not Quit."


-----Original Message-----
From: Colin MacKenzie [mailto:colin@t...]
Sent: Monday, March 17, 2003 8:12 AM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring


I've been watching this thread quite closely as I've been wondering what
other people have done about this issue.

>From what I've used previously (a number of years writing "old":) asp
code),
global.asa was the way to go.  From my understanding of how .net works,
web.config seems to be the "new" global.asa... cool!:)

So, I have just one lil question on this last reply.  If your .net stuff
is being hosted externally, couldn't you say, base64 encrypt what the
web.config file actually holds, then decrypt it in your page??  It might
take an extra cycle or two, but hey, it's on a remote host anyway:)...
seems to me, this would give you another layer of protection against
prying eyes...

Anyway, just a thought...

Cheers all

Colin MacKenzie

-----Original Message-----
From: irfan.syed@g... [mailto:irfan.syed@g...]
Sent: Sunday, March 16, 2003 6:49 PM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring

Well, it may not be "hackable" from "outer space" but as you noted, it
is still a plain text file which can be read from anybody with
physical/file system access to server. If you use external ISP to host
your site, then obviously you can not store in registry and web.config
is the only option.

-----Original Message-----
From: CarlosM@t... [mailto:CarlosM@t...]
Sent: Friday, March 14, 2003 6:32 PM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring


Why do you say that?

Unless people have access to your Virtual Directory where you site is
stored then your web.config file is safe , NTFS file/folder permissions
should be sufficient to keep the web.config safe.

ADSI and DirectoryServices advice :
http://groups.yahoo.com/group/ADSIANDDirectoryServices
WMI programming advice : http://groups.yahoo.com/group/WMIPROGRAMMING
Carlos Magalhaes


-----Original Message-----
From: irfan.syed@g... [mailto:irfan.syed@g...]
Sent: Friday, March 14, 2003 12:06 PM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring

Well, I won't recommend storing connection string in web.config unless
it is encrypted. If you don't encrypt it, the best way to go is to store
it in registry.


-----Original Message-----
From: Gerhard Wentink [mailto:gerhard@d...]
Sent: Friday, March 14, 2003 5:32 PM
To: ASP.NET
Subject: [aspx] where to store connectionstring


I was wondering where you girls and guys store the connectionstring in a
web application. In a recent project I stored it as a public variable in
the Global.asax file. It works allright, but I just wondered how other
developers deal with this

issue.

Regards,

Gerhard Wentink
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 

---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 


---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 

---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 


---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 



Message #2 by "Christopher Reed" <CReed@m...> on Mon, 17 Mar 2003 07:58:01 -0600
The problem you are experiencing is that you have the DLLs created by
the JIT complier as well as the same DLLs in your application bin
directory.  When you change the directive tag to Src, there is an
expectation by the .NET Framework to compile your codebehind file and
place it in the JIT temporary files directory for your application.

To "fix" the problem, you need to remove your DLLs for your
application's bin directory.  Then you should be able to "JIT" without
it seeing multiple DLLs for your application.

Note that this is not a bug:  Src is for just-in-time compiling;
CodeBehind is for VS.NET compiling.  If you leave off either one, then
your application expects the DLLs to either be in your application bin
directory or in the global assembly cache (GAC).

Hope this helps!

Christopher Reed
Application Analyst
Web Development Coordinator
Information Technology
"...efficient operations and utilization of
                technology and communications..."
City of Lubbock
creed@m...
"The oxen are slow, but the earth is patient."

>>> kshatdalpriya@i... 6:05:21 AM 3/17/2003 >>>
Hi Rohit,
I am facing little problen in dotnet. I want to using same codebehind
file in the for Add/Edit , view , Search opertaion . Pervious all
codebehind are in the separate file for each module and the Page tag
in
the user interface form is "<@Page CodeBehind=Customer.cs" > . But
when
I change the CodeBehind Tage to "Src" tage it gives the error :
'CodeGen.AddEditFormGenerator' is defined in multiple places; using
definition from 'C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary
ASP.NET
Files\root\4c988864\e17ad75e\assembly\dl\9b52b025\f2f2836f_75e8c201\Code
Gen.DLL'
I cannot solve  the problem. I have read opn the site that is the bug
of
VS.net. But how can I complie the file using src tag.



With Regards
Kumar Shatdal Priya
software Engineer
Integrated Systems Management Inc.
SCO-10 , Sector -14
Gurgaon , Haryana
Phone: 91-6335864/65
Web: http://www.ismnet.com <http://www.ismnet.com> 
"DIGITAL DOMINANCE" 
Message #3 by "Rohit Arora" <rohit_arora@i...> on Mon, 17 Mar 2003 19:52:56 +0530
src attribute tells you where exactly where ur codebehind file is. So, in
the src attribute give the path of code behind file which u want to use.

Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229

"Desire means never Quit. It may be near when it seems far, so stick to the
fight when you are hardest hit.Its when things go wrong, that u must not
Quit."


-----Original Message-----
From: kshatdalpriya@i... [mailto:kshatdalpriya@i...]
Sent: Monday, March 17, 2003 5:35 PM
To: ASP.NET
Cc: rohit_arora@i...
Subject: [aspx] Problem with SRC and CodeBehing Tag


Hi Rohit,
I am facing little problen in dotnet. I want to using same codebehind
file in the for Add/Edit , view , Search opertaion . Pervious all
codebehind are in the separate file for each module and the Page tag in
the user interface form is "<@Page CodeBehind=Customer.cs" > . But when
I change the CodeBehind Tage to "Src" tage it gives the error :
'CodeGen.AddEditFormGenerator' is defined in multiple places; using
definition from 'C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary
ASP.NET
Files\root\4c988864\e17ad75e\assembly\dl\9b52b025\f2f2836f_75e8c201\Code
Gen.DLL'
I cannot solve  the problem. I have read opn the site that is the bug of
VS.net. But how can I complie the file using src tag.



With Regards
Kumar Shatdal Priya
software Engineer
Integrated Systems Management Inc.
SCO-10 , Sector -14
Gurgaon , Haryana
Phone: 91-6335864/65
Web: http://www.ismnet.com <http://www.ismnet.com>
"DIGITAL DOMINANCE"



-----Original Message-----
From: Rohit Arora [mailto:rohit_arora@i...]
Sent: Monday, March 17, 2003 9:38 AM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring


Yeah for security .net provides MD5 and sha1 algo for encryption
(system.security.cryptography). Jes encrypt that connectionstring and
place it over there..make a  global variable for ur application
containing decrypted connection string and use it anywhere.

Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229

"Desire means never Quit. It may be near when it seems far, so stick to
the fight when you are hardest hit.Its when things go wrong, that u must
not Quit."


-----Original Message-----
From: Colin MacKenzie [mailto:colin@t...]
Sent: Monday, March 17, 2003 8:12 AM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring


I've been watching this thread quite closely as I've been wondering what
other people have done about this issue.

>From what I've used previously (a number of years writing "old":) asp
code),
global.asa was the way to go.  From my understanding of how .net works,
web.config seems to be the "new" global.asa... cool!:)

So, I have just one lil question on this last reply.  If your .net stuff
is being hosted externally, couldn't you say, base64 encrypt what the
web.config file actually holds, then decrypt it in your page??  It might
take an extra cycle or two, but hey, it's on a remote host anyway:)...
seems to me, this would give you another layer of protection against
prying eyes...

Anyway, just a thought...

Cheers all

Colin MacKenzie

-----Original Message-----
From: irfan.syed@g... [mailto:irfan.syed@g...]
Sent: Sunday, March 16, 2003 6:49 PM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring

Well, it may not be "hackable" from "outer space" but as you noted, it
is still a plain text file which can be read from anybody with
physical/file system access to server. If you use external ISP to host
your site, then obviously you can not store in registry and web.config
is the only option.

-----Original Message-----
From: CarlosM@t... [mailto:CarlosM@t...]
Sent: Friday, March 14, 2003 6:32 PM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring


Why do you say that?

Unless people have access to your Virtual Directory where you site is
stored then your web.config file is safe , NTFS file/folder permissions
should be sufficient to keep the web.config safe.

ADSI and DirectoryServices advice :
http://groups.yahoo.com/group/ADSIANDDirectoryServices
WMI programming advice : http://groups.yahoo.com/group/WMIPROGRAMMING
Carlos Magalhaes


-----Original Message-----
From: irfan.syed@g... [mailto:irfan.syed@g...]
Sent: Friday, March 14, 2003 12:06 PM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring

Well, I won't recommend storing connection string in web.config unless
it is encrypted. If you don't encrypt it, the best way to go is to store
it in registry.


-----Original Message-----
From: Gerhard Wentink [mailto:gerhard@d...]
Sent: Friday, March 14, 2003 5:32 PM
To: ASP.NET
Subject: [aspx] where to store connectionstring


I was wondering where you girls and guys store the connectionstring in a
web application. In a recent project I stored it as a public variable in
the Global.asax file. It works allright, but I just wondered how other
developers deal with this

issue.

Regards,

Gerhard Wentink
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 

---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 


---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 

---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 


---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 





Message #4 by <kshatdalpriya@i...> on Mon, 17 Mar 2003 20:02:50 +0530
Hi rohit
Actually I find the easy solution. Delete the dll files in the bin
folder then complie you will not get an error.


With Regards
Kumar Shatdal Priya
software Engineer
Integrated Systems Management Inc.
SCO-10 , Sector -14
Gurgaon , Haryana
Phone: 91-6335864/65
Web: http://www.ismnet.com <http://www.ismnet.com> 
"DIGITAL DOMINANCE" 



-----Original Message-----
From: Rohit Arora [mailto:rohit_arora@i...] 
Sent: Monday, March 17, 2003 7:53 PM
To: ASP.NET
Subject: [aspx] RE: Problem with SRC and CodeBehing Tag


src attribute tells you where exactly where ur codebehind file is. So,
in the src attribute give the path of code behind file which u want to
use.

Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229

"Desire means never Quit. It may be near when it seems far, so stick to
the fight when you are hardest hit.Its when things go wrong, that u must
not Quit."


-----Original Message-----
From: kshatdalpriya@i... [mailto:kshatdalpriya@i...]
Sent: Monday, March 17, 2003 5:35 PM
To: ASP.NET
Cc: rohit_arora@i...
Subject: [aspx] Problem with SRC and CodeBehing Tag


Hi Rohit,
I am facing little problen in dotnet. I want to using same codebehind
file in the for Add/Edit , view , Search opertaion . Pervious all
codebehind are in the separate file for each module and the Page tag in
the user interface form is "<@Page CodeBehind=Customer.cs" > . But when
I change the CodeBehind Tage to "Src" tage it gives the error :
'CodeGen.AddEditFormGenerator' is defined in multiple places; using
definition from 'C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary
ASP.NET
Files\root\4c988864\e17ad75e\assembly\dl\9b52b025\f2f2836f_75e8c201\Code
Gen.DLL'
I cannot solve  the problem. I have read opn the site that is the bug of
VS.net. But how can I complie the file using src tag.



With Regards
Kumar Shatdal Priya
software Engineer
Integrated Systems Management Inc.
SCO-10 , Sector -14
Gurgaon , Haryana
Phone: 91-6335864/65
Web: http://www.ismnet.com <http://www.ismnet.com>
"DIGITAL DOMINANCE"



-----Original Message-----
From: Rohit Arora [mailto:rohit_arora@i...]
Sent: Monday, March 17, 2003 9:38 AM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring


Yeah for security .net provides MD5 and sha1 algo for encryption
(system.security.cryptography). Jes encrypt that connectionstring and
place it over there..make a  global variable for ur application
containing decrypted connection string and use it anywhere.

Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229

"Desire means never Quit. It may be near when it seems far, so stick to
the fight when you are hardest hit.Its when things go wrong, that u must
not Quit."


-----Original Message-----
From: Colin MacKenzie [mailto:colin@t...]
Sent: Monday, March 17, 2003 8:12 AM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring


I've been watching this thread quite closely as I've been wondering what
other people have done about this issue.

>From what I've used previously (a number of years writing "old":) asp
code),
global.asa was the way to go.  From my understanding of how .net works,
web.config seems to be the "new" global.asa... cool!:)

So, I have just one lil question on this last reply.  If your .net stuff
is being hosted externally, couldn't you say, base64 encrypt what the
web.config file actually holds, then decrypt it in your page??  It might
take an extra cycle or two, but hey, it's on a remote host anyway:)...
seems to me, this would give you another layer of protection against
prying eyes...

Anyway, just a thought...

Cheers all

Colin MacKenzie

-----Original Message-----
From: irfan.syed@g... [mailto:irfan.syed@g...]
Sent: Sunday, March 16, 2003 6:49 PM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring

Well, it may not be "hackable" from "outer space" but as you noted, it
is still a plain text file which can be read from anybody with
physical/file system access to server. If you use external ISP to host
your site, then obviously you can not store in registry and web.config
is the only option.

-----Original Message-----
From: CarlosM@t... [mailto:CarlosM@t...]
Sent: Friday, March 14, 2003 6:32 PM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring


Why do you say that?

Unless people have access to your Virtual Directory where you site is
stored then your web.config file is safe , NTFS file/folder permissions
should be sufficient to keep the web.config safe.

ADSI and DirectoryServices advice :
http://groups.yahoo.com/group/ADSIANDDirectoryServices
WMI programming advice : http://groups.yahoo.com/group/WMIPROGRAMMING
Carlos Magalhaes


-----Original Message-----
From: irfan.syed@g... [mailto:irfan.syed@g...]
Sent: Friday, March 14, 2003 12:06 PM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring

Well, I won't recommend storing connection string in web.config unless
it is encrypted. If you don't encrypt it, the best way to go is to store
it in registry.


-----Original Message-----
From: Gerhard Wentink [mailto:gerhard@d...]
Sent: Friday, March 14, 2003 5:32 PM
To: ASP.NET
Subject: [aspx] where to store connectionstring


I was wondering where you girls and guys store the connectionstring in a
web application. In a recent project I stored it as a public variable in
the Global.asax file. It works allright, but I just wondered how other
developers deal with this

issue.

Regards,

Gerhard Wentink
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 

---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 


---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 

---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 


---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 


---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 


---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 



Message #5 by "Rohit Arora" <rohit_arora@i...> on Mon, 17 Mar 2003 20:08:19 +0530
gr8 if wht the christofer said worked..

Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229

"Desire means never Quit. It may be near when it seems far, so stick to the
fight when you are hardest hit.Its when things go wrong, that u must not
Quit."


-----Original Message-----
From: kshatdalpriya@i... [mailto:kshatdalpriya@i...]
Sent: Monday, March 17, 2003 8:03 PM
To: ASP.NET
Subject: [aspx] RE: Problem with SRC and CodeBehing Tag


Hi rohit
Actually I find the easy solution. Delete the dll files in the bin
folder then complie you will not get an error.


With Regards
Kumar Shatdal Priya
software Engineer
Integrated Systems Management Inc.
SCO-10 , Sector -14
Gurgaon , Haryana
Phone: 91-6335864/65
Web: http://www.ismnet.com <http://www.ismnet.com>
"DIGITAL DOMINANCE"



-----Original Message-----
From: Rohit Arora [mailto:rohit_arora@i...]
Sent: Monday, March 17, 2003 7:53 PM
To: ASP.NET
Subject: [aspx] RE: Problem with SRC and CodeBehing Tag


src attribute tells you where exactly where ur codebehind file is. So,
in the src attribute give the path of code behind file which u want to
use.

Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229

"Desire means never Quit. It may be near when it seems far, so stick to
the fight when you are hardest hit.Its when things go wrong, that u must
not Quit."


-----Original Message-----
From: kshatdalpriya@i... [mailto:kshatdalpriya@i...]
Sent: Monday, March 17, 2003 5:35 PM
To: ASP.NET
Cc: rohit_arora@i...
Subject: [aspx] Problem with SRC and CodeBehing Tag


Hi Rohit,
I am facing little problen in dotnet. I want to using same codebehind
file in the for Add/Edit , view , Search opertaion . Pervious all
codebehind are in the separate file for each module and the Page tag in
the user interface form is "<@Page CodeBehind=Customer.cs" > . But when
I change the CodeBehind Tage to "Src" tage it gives the error :
'CodeGen.AddEditFormGenerator' is defined in multiple places; using
definition from 'C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary
ASP.NET
Files\root\4c988864\e17ad75e\assembly\dl\9b52b025\f2f2836f_75e8c201\Code
Gen.DLL'
I cannot solve  the problem. I have read opn the site that is the bug of
VS.net. But how can I complie the file using src tag.



With Regards
Kumar Shatdal Priya
software Engineer
Integrated Systems Management Inc.
SCO-10 , Sector -14
Gurgaon , Haryana
Phone: 91-6335864/65
Web: http://www.ismnet.com <http://www.ismnet.com>
"DIGITAL DOMINANCE"



-----Original Message-----
From: Rohit Arora [mailto:rohit_arora@i...]
Sent: Monday, March 17, 2003 9:38 AM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring


Yeah for security .net provides MD5 and sha1 algo for encryption
(system.security.cryptography). Jes encrypt that connectionstring and
place it over there..make a  global variable for ur application
containing decrypted connection string and use it anywhere.

Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229

"Desire means never Quit. It may be near when it seems far, so stick to
the fight when you are hardest hit.Its when things go wrong, that u must
not Quit."


-----Original Message-----
From: Colin MacKenzie [mailto:colin@t...]
Sent: Monday, March 17, 2003 8:12 AM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring


I've been watching this thread quite closely as I've been wondering what
other people have done about this issue.

>From what I've used previously (a number of years writing "old":) asp
code),
global.asa was the way to go.  From my understanding of how .net works,
web.config seems to be the "new" global.asa... cool!:)

So, I have just one lil question on this last reply.  If your .net stuff
is being hosted externally, couldn't you say, base64 encrypt what the
web.config file actually holds, then decrypt it in your page??  It might
take an extra cycle or two, but hey, it's on a remote host anyway:)...
seems to me, this would give you another layer of protection against
prying eyes...

Anyway, just a thought...

Cheers all

Colin MacKenzie

-----Original Message-----
From: irfan.syed@g... [mailto:irfan.syed@g...]
Sent: Sunday, March 16, 2003 6:49 PM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring

Well, it may not be "hackable" from "outer space" but as you noted, it
is still a plain text file which can be read from anybody with
physical/file system access to server. If you use external ISP to host
your site, then obviously you can not store in registry and web.config
is the only option.

-----Original Message-----
From: CarlosM@t... [mailto:CarlosM@t...]
Sent: Friday, March 14, 2003 6:32 PM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring


Why do you say that?

Unless people have access to your Virtual Directory where you site is
stored then your web.config file is safe , NTFS file/folder permissions
should be sufficient to keep the web.config safe.

ADSI and DirectoryServices advice :
http://groups.yahoo.com/group/ADSIANDDirectoryServices
WMI programming advice : http://groups.yahoo.com/group/WMIPROGRAMMING
Carlos Magalhaes


-----Original Message-----
From: irfan.syed@g... [mailto:irfan.syed@g...]
Sent: Friday, March 14, 2003 12:06 PM
To: ASP.NET
Subject: [aspx] RE: where to store connectionstring

Well, I won't recommend storing connection string in web.config unless
it is encrypted. If you don't encrypt it, the best way to go is to store
it in registry.


-----Original Message-----
From: Gerhard Wentink [mailto:gerhard@d...]
Sent: Friday, March 14, 2003 5:32 PM
To: ASP.NET
Subject: [aspx] where to store connectionstring


I was wondering where you girls and guys store the connectionstring in a
web application. In a recent project I stored it as a public variable in
the Global.asax file. It works allright, but I just wondered how other
developers deal with this

issue.

Regards,

Gerhard Wentink
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 

---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 


---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 

---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 


---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 


---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 


---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 






  Return to Index