Click here to Skip to main content
16,010,523 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: need help wit ajax Pin
Mark Greenwood16-Apr-07 17:54
Mark Greenwood16-Apr-07 17:54 
GeneralRe: need help wit ajax Pin
neodeaths16-Apr-07 18:04
neodeaths16-Apr-07 18:04 
GeneralRe: need help wit ajax Pin
neodeaths16-Apr-07 18:06
neodeaths16-Apr-07 18:06 
QuestionAuthentication Error , help me !!! Pin
NguyenMinhCold16-Apr-07 17:26
NguyenMinhCold16-Apr-07 17:26 
QuestionProblem in assigning values to ItemArray... Pin
Arun.Immanuel16-Apr-07 16:11
Arun.Immanuel16-Apr-07 16:11 
AnswerRe: Problem in assigning values to ItemArray... Pin
Chetan Ranpariya19-Apr-07 23:20
Chetan Ranpariya19-Apr-07 23:20 
GeneralRe: Problem in assigning values to ItemArray... Pin
Arun.Immanuel20-Apr-07 0:46
Arun.Immanuel20-Apr-07 0:46 
NewsEncrypting Connection Strings Pin
Code_Doctor16-Apr-07 15:59
Code_Doctor16-Apr-07 15:59 
Some people don't know how to encrypt and later decrypt connectionStrings section of your web.config file. I've included a batch file that I use for this all the time. Hope this helps. Big Grin | :-D

-START CRYPT.CMD-

@ECHO OFF
REM NOTE: THIS ASSUMES YOU HAVE INSTALLED VISUAL STUDIO 2005
REM IN THE DEFAULT LOCATION. CHANGE THE TOOL= TO REFLECT
REM YOUR LOCATION IF THIS DOES NOT WORK

set TOOL=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\

IF "%1"=="" GOTO SYNTAX
IF "%1"=="/e" GOTO ENCRYPT
IF "%1"=="/E" GOTO ENCRYPT
IF "%1"=="/d" GOTO DECRYPT
IF "%1"=="/D" GOTO DECRYPT

GOTO SYNTAX

:ENCRYPT
ECHO Encrypting Connection Strings in %2
"%TOOL%aspnet_regiis.exe" -pe "connectionStrings" -app "%2" >NUL
GOTO END

:DECRYPT
ECHO Decrypting Connection Strings in %2
"%TOOL%aspnet_regiis.exe" -pd "connectionStrings" -app "%2" >NUL
GOTO END


:SYNTAX
ECHO INVALID SYNTAX
ECHO CRYPT.CMD
ECHO -------------------------------------------------
ECHO PURPOSE: ENCRYPTS/DECRYPTS the connectionStrings
ECHO section of the Web.Config File for the supplied
ECHO website.
ECHO -------------------------------------------------
ECHO Usage:
ECHO.
ECHO ENCRYPTING THE CONNECTION STRING
ECHO CRYPT /e /WebsiteName
ECHO.
ECHO DECRYPTING THE CONNECTION STRING
ECHO CRYPT /d /WebSiteName
GOTO ENDCLEAN

:END
ECHO Completed..
GOTO ENDCLEAN

:ENDCLEAN
SET TOOL=

-END CRYPT.CMD-



~ CodeDoctor ~
Questiongridview Pin
hahii16-Apr-07 13:49
hahii16-Apr-07 13:49 
AnswerRe: gridview Pin
kubben16-Apr-07 14:46
kubben16-Apr-07 14:46 
QuestionTry this Pin
Hasan Ali16-Apr-07 12:54
Hasan Ali16-Apr-07 12:54 
AnswerRe: Try this Pin
Jonathan [Darka]17-Apr-07 21:56
professionalJonathan [Darka]17-Apr-07 21:56 
QuestionEnableViewProperty Pin
hahii16-Apr-07 10:14
hahii16-Apr-07 10:14 
AnswerRe: EnableViewProperty Pin
kubben16-Apr-07 12:54
kubben16-Apr-07 12:54 
Questionurgent please help Pin
hahii16-Apr-07 8:59
hahii16-Apr-07 8:59 
AnswerRe: urgent please help Pin
Guffa16-Apr-07 9:35
Guffa16-Apr-07 9:35 
QuestionWorking with a Gridview Edit Template at runtime. Pin
dspyank16-Apr-07 8:13
dspyank16-Apr-07 8:13 
AnswerRe: Working with a Gridview Edit Template at runtime. Pin
kubben16-Apr-07 12:56
kubben16-Apr-07 12:56 
QuestionAn AI chatbot in ASP.Net? A few snags I've run into. Pin
Caden16-Apr-07 8:05
Caden16-Apr-07 8:05 
Questionhelp me really soon guys Pin
dhananjaysonar16-Apr-07 7:18
dhananjaysonar16-Apr-07 7:18 
AnswerRe: help me really soon guys Pin
kubben16-Apr-07 13:00
kubben16-Apr-07 13:00 
QuestionHow to get previous page URL Pin
attalurisubbu16-Apr-07 5:18
attalurisubbu16-Apr-07 5:18 
AnswerRe: How to get previous page URL Pin
Guffa16-Apr-07 6:45
Guffa16-Apr-07 6:45 
QuestionUpdating a table in Dataview Pin
twhitma116-Apr-07 3:53
twhitma116-Apr-07 3:53 
Questiondate_fun_dal_mohamed_arif Pin
Hasan Ali16-Apr-07 2:59
Hasan Ali16-Apr-07 2:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.