Click here to Skip to main content
15,909,466 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Best Javascript compressor / obfuscator Pin
Johnny ²31-Jul-07 14:44
Johnny ²31-Jul-07 14:44 
QuestionAny one help to me? Pin
Pandian BE31-Jul-07 2:09
Pandian BE31-Jul-07 2:09 
AnswerRe: Any one help to me? Pin
Chris Maunder31-Jul-07 4:03
cofounderChris Maunder31-Jul-07 4:03 
QuestionForm authentication Pin
sandeep kumar pundhir30-Jul-07 20:15
sandeep kumar pundhir30-Jul-07 20:15 
AnswerRe: Form authentication Pin
T.EDY30-Jul-07 21:05
T.EDY30-Jul-07 21:05 
QuestionDesigning a form in aso.net Pin
tweety@net30-Jul-07 15:42
tweety@net30-Jul-07 15:42 
AnswerRe: Designing a form in aso.net Pin
Tarakeshwar Reddy31-Jul-07 9:31
professionalTarakeshwar Reddy31-Jul-07 9:31 
QuestionWEb.COnfig File Problem...!!! Pin
rashadaliarshad30-Jul-07 11:38
rashadaliarshad30-Jul-07 11:38 
I developed a web application, which has two sections

Client Section: that is visible to local users
Control Panel: allows admin of the site to control the contents of the web application.

I created a cpanel folder on the root of the web application, and all the pages and functionality of Control Panel section goes there. The sample structure of the files is as in below section:

/Default.aspx 'Client Side File
/contactUs.aspx 'Client Side File
/Aboutus.aspx 'Client Side File
/Web.config 'Main Configuration file ( admin section uses connectionstring from
'the same web.config file
/AppCode/DAL/Classes.vb ' Contains all the classes used in both client and cpanel section

/CPanel/Default.aspx ' Admin side File
/Cpanel/UpdateContactus.aspx ' Admin Side File
/Cpanel/UpdateAboutus.aspx ' Admin Side File

Now problem is that, i need to Secure Pages in CPANEL by adding Authenticating process, now if i add the authentication information in

/Web.Config /Main configuration file

then it will apply on both client side and Cpanel side as well... but i need this authentication only in CPanel side, so what i did is add a new configuration file with appropriate instructions and a Login Page, where person trying to open CPanel will be redirected if he/she has not logged in using proper username and password.

here i added those files at place

/CPanel/Web.Config
/CPanel/Login.aspx

but when i try to open any page, it gives me an error message

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS

---- The code for Web.config -----






<forms loginurl="Login.aspx" name="realestate" path="/" protection="All" timeout="30">











Any Solution?

1- Can we merge two different projects with different web.config files with each others?


:- Rashid Ali -:

AnswerRe: WEb.COnfig File Problem...!!! Pin
Paul Conrad30-Jul-07 12:34
professionalPaul Conrad30-Jul-07 12:34 
AnswerRe: WEb.COnfig File Problem...!!! Pin
Pete O'Hanlon31-Jul-07 10:39
mvePete O'Hanlon31-Jul-07 10:39 
QuestionRegarding webservices Pin
Bad Programmer30-Jul-07 9:23
Bad Programmer30-Jul-07 9:23 
AnswerRe: Regarding webservices Pin
led mike30-Jul-07 10:50
led mike30-Jul-07 10:50 
QuestionWrong SSL Error Pin
Tad McClellan30-Jul-07 6:58
professionalTad McClellan30-Jul-07 6:58 
AnswerRe: Wrong SSL Error Pin
Tad McClellan30-Jul-07 10:27
professionalTad McClellan30-Jul-07 10:27 
QuestionMessage Closed Pin
30-Jul-07 2:37
sonarat30-Jul-07 2:37 
AnswerQUIT IT Pin
leckey30-Jul-07 7:52
leckey30-Jul-07 7:52 
GeneralRe: QUIT IT Pin
Christian Graus30-Jul-07 11:21
protectorChristian Graus30-Jul-07 11:21 
AnswerRe: any one help me to crack maya Pin
Paul Conrad30-Jul-07 10:47
professionalPaul Conrad30-Jul-07 10:47 
GeneralRe: any one help me to crack maya Pin
Vasudevan Deepak Kumar30-Jul-07 18:31
Vasudevan Deepak Kumar30-Jul-07 18:31 
AnswerRe: any one help me to crack maya Pin
Christian Graus30-Jul-07 11:20
protectorChristian Graus30-Jul-07 11:20 
QuestionProblem in FireFox Pin
Ahsan kazmi30-Jul-07 2:00
Ahsan kazmi30-Jul-07 2:00 
AnswerRe: Problem in FireFox Pin
sonarat30-Jul-07 2:36
sonarat30-Jul-07 2:36 
GeneralRe: Problem in FireFox Pin
Ahsan kazmi30-Jul-07 3:03
Ahsan kazmi30-Jul-07 3:03 
QuestionCookies across sub-domains Pin
Program.X29-Jul-07 23:19
Program.X29-Jul-07 23:19 
AnswerRe: Cookies across sub-domains Pin
Vasudevan Deepak Kumar29-Jul-07 23:20
Vasudevan Deepak Kumar29-Jul-07 23:20 

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.