| | |
ASP.Net Directory Problems
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2005
Posts: 1
Reputation:
Solved Threads: 0
Can anyone help me with the following problem? I am working on an ASP.Net application and have some basic database functionality working, i.e. a user login. It is working perfectly but when i try and put the files in a lower directory the login wont work. I am just working with 3 files, login.aspx, success.aspx and webconfig.xml. I have put them all in a lower directory but it wont work. Cheers for any help!
ASP.Net application files must reside in a "virtual directory" with the web server sees as that. Saying that, of those 3 files you have, they do not include the important ones from a functionality point of view: global.asax, & web.config.
The former files controls application events, allowing you to execute code the first time any page in your application is requested, or even every time the page is requested.
The latter file contains settings for your application, such as how session state should behave or where to apply security.
Basically you can't just pick and choose files to move. The entire application directory is a whole thing.
Thie \bin directory, also known as the assembly cache holds compiled binary files used by your application(s). Each application has its own assembly cache, but can inherit one from its parent.

The former files controls application events, allowing you to execute code the first time any page in your application is requested, or even every time the page is requested.
The latter file contains settings for your application, such as how session state should behave or where to apply security.
Basically you can't just pick and choose files to move. The entire application directory is a whole thing.
Thie \bin directory, also known as the assembly cache holds compiled binary files used by your application(s). Each application has its own assembly cache, but can inherit one from its parent.

•
•
•
•
Originally Posted by columth
Can anyone help me with the following problem? I am working on an ASP.Net application and have some basic database functionality working, i.e. a user login. It is working perfectly but when i try and put the files in a lower directory the login wont work. I am just working with 3 files, login.aspx, success.aspx and webconfig.xml. I have put them all in a lower directory but it wont work. Cheers for any help!
![]() |
Similar Threads
- Forms Authorization/ Authentication using asp .net and vb .net (ASP.NET)
- Impersonation in ASP.NET (ASP.NET)
- Simple ASP.Net Login Page (Using VB.Net) (ASP.NET)
- Is it safe to delete ASP.NET account under users? (Windows NT / 2000 / XP)
- Running asp or asp.net on apache (Linux Servers and Apache)
- ASP.NET problem (ASP.NET)
- Question for ASP.NET/Mozilla Users...or anyone... (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: requiredfieldvalidator problem
- Next Thread: Simple ASP.Net Login Page (Using VB.Net)
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax alltypeofvideos asp asp.net bc30451 bottomasp.net browser businesslogiclayer button c# c#gridviewcolumn checkbox click commonfunctions compatible confirmationcodegeneration content contenttype courier css dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deadlock development dgv dropdownlist dropdownmenu edit expose flash flv formatdecimal forms formview gridview homeedition iframe iis javascript jquery list listbox login menu microsoft mono mouse mssql multistepregistration nameisnotdeclared news numerical objects order panelmasterpagebuttoncontrols problem radio ratings reportemail rotatepage save schoolproject search security serializesmo.table silverlight smartcard software sql-server sqlserver2005 suse textbox tracking unauthorized validation vb.net video videos virtualdirectory vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webprogramming webservice wizard xml youareanotmemberofthedebuggerusers





