Hi,
In my code, I rename a folder and then the asp.net application restarts !
So i've lost my session variables ...
How is it possible for the application asp.net to restart when you rename a
folder of the website ???
Thank you.
Greg 3 4437
Was the folder a virtual? -----Original Message----- Hi, In my code, I rename a folder and then the asp.net
application restarts !So i've lost my session variables ... How is it possible for the application asp.net to restart
when you rename afolder of the website ???
Thank you.
Greg
.
My understanding is that Folder name plays a role in the name of the
generated class.
So if you have an aspx in the folder then application must be recompiled.
Therefore Application restrated.
George.
"MisterG" <in**@misterg.be> wrote in message
news:e8**************@TK2MSFTNGP10.phx.gbl... Nope, it's a simple folder. I can create a new folder, delete of folder, create a file, rename a file, delete a file, application does not restart. BUT when i rename a folder, IIS restat the application ! I tested with C# code (Directory.Move()) and I tested with Explorer directly. It's weird...and I explored all the solutions...I'm close to get a conclusion, it's a bug or a security issue from Microsoft.
Thx for your help
Greg
"Mac" <te*****@yahoo.com> wrote in message news:01****************************@phx.gbl... Was the folder a virtual?
-----Original Message----- Hi, In my code, I rename a folder and then the asp.net application restarts !So i've lost my session variables ... How is it possible for the application asp.net to restart when you rename afolder of the website ???
Thank you.
Greg
.
The application also restarts when there is no file in the folder.
"George Ter-Saakov" <we@hotmail.com> wrote in message
news:OK**************@tk2msftngp13.phx.gbl... My understanding is that Folder name plays a role in the name of the generated class. So if you have an aspx in the folder then application must be recompiled.
Therefore Application restrated.
George.
"MisterG" <in**@misterg.be> wrote in message news:e8**************@TK2MSFTNGP10.phx.gbl... Nope, it's a simple folder. I can create a new folder, delete of folder, create a file, rename a
file, delete a file, application does not restart. BUT when i rename a folder, IIS restat the application ! I tested with C# code (Directory.Move()) and I tested with Explorer directly. It's weird...and I explored all the solutions...I'm close to get a conclusion, it's a bug or a security issue from Microsoft.
Thx for your help
Greg
"Mac" <te*****@yahoo.com> wrote in message news:01****************************@phx.gbl... Was the folder a virtual?
>-----Original Message----- >Hi, >In my code, I rename a folder and then the asp.net application restarts ! >So i've lost my session variables ... >How is it possible for the application asp.net to restart when you rename a >folder of the website ??? > >Thank you. > >Greg > > >. >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Brett |
last post by:
We have an application where the iusr_<srvr> has write NTFS
permissions to a folder under the wwwroot (i.e. wwwroot\folder) and
also there is a SQL Server database where we must give the...
|
by: cloudx |
last post by:
Hi there, it is driving me crazy. Aftering renaming app.config the following
code I always get null on myApp. It works if I keep the name app.config. Why?
string myApp =...
|
by: Jason B |
last post by:
Hello, I have been trying to figure out how to rename my IIS directories and
still have the project be able to run through VS. I have renamed the
directories listed in the csproj.webinfo file and...
|
by: Roy |
last post by:
My dll file is copied to the
"%windir%\Microsoft.NET\Framework\{version}Temporary ASP.NET Files" folder
when I compile my asp.net project. When I run the application. The dll under
this folder is...
|
by: dotnettester |
last post by:
Hi,
I have an application running on II6/2003. I am trying to rename a
folder/file through
Directory.move /File.move but I'm getting the 'access denied' error.
I gave WPG modify permissions...
|
by: Ray Booysen |
last post by:
In our application, we merge documents for our clients. The directory
structure is as follows:
webroot
->bin
->Documents
->Company
-> Company X
|
by: Joey |
last post by:
asp.net 2/C#/VS2005
I have a web app where I use a stream writer to create a CSV (text)
file. I then use my code to save the file in the site's 'App_Data'
folder, in a subfolder called 'Temp'....
|
by: IUnknown |
last post by:
Ok, we are all aware of the situation where modifying the folder
structure (adding files, folders, deleting files, etc) will result in
ASP.NET triggering a recompilation/restart of the application....
|
by: =?Utf-8?B?UGF1bA==?= |
last post by:
I did a google search but could find what I was looking for. I am creating a
temporary folder and placing files in it with a web application. The
temporary folder name needs to be changed...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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...
|
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
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...
|
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...
| |