By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,963 Members | 1,778 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,963 IT Pros & Developers. It's quick & easy.

AppDomain.CurrentDomain.BaseDirectory in ASP.Net for UNC path.

P: n/a
My ASP.Net application installed in IIS virtual folder which points to some
shared folder on network. Everything works fine except
AppDomain.CurrentDomain.BaseDirectory method. It returns
E:\WINDOWS\system32\apokrifpc\Services\Release\cnL ogger\ instead of
\\apokrifpc\Services\Release\cnLogger\.

How to get correct assembly path?
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,
if i get you right :

Request.ApplicationPath
or
Request.PhysicalPath
Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.