I've created a virtual directory on a hard drive where I keep some jpg files, the problem is when I access a page that links to a jpg file it asks for a username and password, is there anyway to stop that from happening?
View Complete Post
May i know what is the Differenc that they actually make in IIS7 .
Please tell me at a low level as i am still a novice in Asp.Net
Thanks in Advance.
Hi All,I am working in a .net C# .In my application I have to create in theIIS>local computer>Web Sites>Default Web Site - virtual directoryand also I want to be able tochange properties of this vitrual directory (All process of creation virtual directory in the IIS I want to do programmaticaly).I had make a program in C# for create a Virtual Directory.But i didn't able to edit its property..After this i have to implement all this program in .Net Remoting 0r WCF.So please guide its possible and how to i make it ,Please members or seniors help me.I'll wait for reply..-- Warm Regards:- Gourav Vishnoi +91-9871157845 (M)
I can use Response.TransmitFile on my p.c. using VS2008 fine. But when I moved my code over to the server it won't work. Does the path have to be a virtual directory?
Lets assume you have 1 serverA with dir D:\ExcelReports and another serverB thats the webserver. So to transfer a file you would need something like Response.TransmitFile(D:\ExcelReports) ?
'create the pathname
Pathname = "WinNT://server.domain.com/NetID,user"
'Reset the password
'Create the object
Usr = GetObject(Pathname)
Usr.AccountDisabled = False
Usr.Put("PasswordExpired", CLng(1)) ' User must change password at next logon.