473,385 Members | 2,015 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,385 software developers and data experts.

Where is can set an aspnet unix-like cwd analog for whole application?

Hi!
I'm new in aspnet, and i' already tired to write MapPath("") for every
System.IO operation, where (in config maybe) i can set once, that cwd =
server root path, not winnt\system32\?

I mean f.e. this:
File.OpenRead ("logo.gif") <- this file is in application server root
directory i.e. c:\inetpub\wwwroot\aspnetproject\logo.gif

Thanks a lot!
Dec 15 '05 #1
1 1074
"Burganovsky" <ne*****@inbox.ru> wrote in message
news:MP***********************@news.wplus.net...

http://www.google.com/search?sourcei...2ENET%22+tilde
Dec 15 '05 #2

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

Similar topics

5
by: acthom | last post by:
Hi, all, Is it possible to find C89 standard rationale or draft version on the Internet?(NOT the C99 version). Any urls? Thank you in advance. -- Best regards, acthom
2
by: Michael Tholkes | last post by:
Hello, I cannot find where to download to code or dll referred to in this article: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/DBGch01.asp "Production Debugging...
6
by: Matthew Wieder | last post by:
I have an ASPNET app that is running as the ASPNET machine user. It makes a call to the API CreateProcessWithLogonW. On Windows XP it executes without a problem, but on Windows 2000, I get an...
0
by: Marco | last post by:
Hello there! I'm running IIS 5.0 on a Win2K Advanced Server system which will offer access to some advanced calculators through a web service interface (there's no web site on the system, just...
1
by: Whoever | last post by:
See below. The WSDL looks good, the result is OK but not Schema. Where and how should I put it in. Hopfully not manually. Thanks. public class aUser { public string UserID { get {...} set...
5
by: dpomt | last post by:
When the ASP.NET menu is rendered on downlevel browers, the text "^ up one level" is displayed. Any ideas how I can change that text? I did not find a property for the menu control where I can...
1
by: Jacky Zheng | last post by:
I installed aspnet 1.0 and aspnet 2.0 in my computer. when i deploy my webSite writed with aspnet2.0 to iis ,but is must change it from 1.0 to 2.0 in iis property settings by manual
5
by: =?Utf-8?B?TWljaGFlbCBNaWxsZXI=?= | last post by:
I created a walkthrough and couldn't connect to my sql server. I looked up the problem and MSDN told me to create an ASPNET "User" in SQL Svr. It worked, but is that right? Do I have to do that...
7
by: David C | last post by:
Our windows 2003 server has a user named ASPNET and it is referenced in the security logins on our SQL Server 2005 box (different server). is this something .Net framework creates or did our...
7
by: puzzlecracker | last post by:
Dynamically allocated objects reside on a heap, local objects on a stack. What about static objects? Thanks
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
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...
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
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 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.