Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

IIS Virtual Directory map to network drive (with drive letter) but fail to create file -


i using c#/asp.net, iis6 on windows server 2003.

  1. map data server shared folder webserver driver letter v:\

  2. on webserver, iis created virtual directory , pointed 'local location' v:\ . since there no 'connect as', not sure user used

  3. in webmethod, want create file on shared folder filestream.write().

    i got io exception on action, hint?

p.s. have added aspnet/network service on data server shared folder.

thanks! gavin

mapped network drives specific user account created them:

using mapped drives iis - ms kb257174

the preferred method of accessing content web server exists on remote computer use shares follow universal naming convention (unc).

it's network service (or if you're running asp.net under impersonation, site anonymous account) hasn't got mapping.

to change location virtual directory points to, browse site in iis manager, right click on virtual directory , select properties. can select "a share located on computer":

alt text


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -