473,397 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

ASP.NET: Renaming a directoy


I need to rename a directory. How can I do that in ASP.NET?

Dec 20 '05 #1
5 901
System.IO.Directory.Move (...) , provided you have sufficient access rights.

Eliyahu

"Philipp" <ph***********@web.de> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...

I need to rename a directory. How can I do that in ASP.NET?

Dec 20 '05 #2
I have sufficient access rights, but everytime when I try this solution
I get the exception "Access denied".

Dec 20 '05 #3
This likely means your access rights are still not sufficient. I am talking
about the ASP.NET working process rights or, if you use impersonating, the
user you are impersonating as.

Eliyahu

"Philipp" <ph***********@web.de> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
I have sufficient access rights, but everytime when I try this solution
I get the exception "Access denied".

Dec 20 '05 #4
The ASP.NET working process "Network Service" has full access. I don't
impersonate.

Dec 20 '05 #5
ok, googling newsgroups on {asp.net "Network Service" access} showed that
this is a big topic, all about security setting. I am not so fluent in it. I
recommend starting a separate thread with crossposting to some iis
newsgroups.

Eliyahu

"Philipp" <ph***********@web.de> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
The ASP.NET working process "Network Service" has full access. I don't
impersonate.

Dec 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Saradhi | last post by:
Hi All, Here I am facing a performance problem with the TreeView Node renaming. I am displaying a hierarchy Data in a treeview in my Windows C# Application. My tree view represents an...
2
by: Bruce Schechter | last post by:
Whereas Microsoft highlights the concept of "xcopy deployment" for .NET applications, I gather that it is not necessarily possible to move an ASP.NET application from one computer to another via...
2
by: Sam | last post by:
Could please guide and/or advise how to convert this ASP3.0 to ASP.Net? <script language=VBScript> sub CSchedule_onClick() window.open "schedule.asp" end sub </script> <html> <body>
4
by: scorpion53061 | last post by:
How can we obfuscate without disabling renaming and using a setup project a project which includes a custom dll? If I attempt to do so after I change the reference path to the obfuscated dll...
8
by: Nate | last post by:
I am running on Window 2003. I have a website built in ASP.NET 2.0. I need to have a Virtual Directory running an application in 1.1. I have configured each in its own Application Pool. The 1.1...
8
by: BillCo | last post by:
I'm updating a legacy app with table naming that makes baby jesus cry. It's a bit of a spider web though... no telling when and where the tables will be called by name. So I wrote this for renaming...
13
by: DorkyGrin | last post by:
Hi, Couple of questions: 1. I need to rename a PDF based on some information inside a text file. Someone gave me some vbs code (see below) that I'd like to convert into VB.net. I want GUI and...
1
by: psycho | last post by:
i am developing a windows application using .net and need to query active directoy for : 1. the listing of all the users. 2. provide rights to the user depending on the roles. so suggest me any...
12
by: =?Utf-8?B?bV9nZWxs?= | last post by:
Hi, anyone know how to disable reflection on sensitive code? Here is specifically what I'm trying to do. I have one method in a class within an assembly I'm trying to prevent using reflection to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
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...
0
marktang
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,...
0
Oralloy
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,...
0
jinu1996
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.