Edited by Nancy Michell
MSDN Magazine December 2003
View Complete Post
I have a problem with views not being found. Let me describe my setup. In my main mvc site, I load an external assembly using Activator.CreateInstance. I also have a virutal directory at /Views/CustomViews. In my main mvc site, I tell the external assembly to render itself, the path of the view it uses is such "~/Views/CustomViews/Index.aspx", however it is not found! If I switch it to use a view that is a physical file like "~/Views/PhysicalView.aspx", then it works.
I thought it was that mvc can't use virutal directories to find views, however I set up a test site where I reference a path to a view in a virutal directory BUT from assembly initialized from a referenced project and not activated dynamically and it works.
Could this be a security permission or some kind of app path of the loaded assembly that it can't find the virutal directory? Anybody have similar issues or something like this? Any help is appreciated...
I created a site maunually in IIS and then deleted it from IIS but accidently deleted all the virtual directories present there of Central Admin and Project Server. Everything else is as it should be, all DBs n everything is fine.
I have the full farm backup from the last night. So is it possible that the virtual directories and all the config files in the wwwroot folder could be restored from the Full Farm backup.
Kindly note that Central admin is not accessible as webpages have been deleted but I can use power shell. I have some solutions in mind but need some expert advice on them. Please help:
We also have a full system backup of about a month old.
1) Restore the backup on a separate system
2) Only copy the Central Admin virtual directory from there
3) Restore the farm backup
would there be any versioning problems as the files would be older than a month or more?
Restore the farm backup from Power Shell, but I have no idea if it would restore all the websites and virtual directories such as web.config files etc.
1) Run the initial Farm configuration wizard.
2) Once Central Admin is restored, run full farm restore
In this case it would also mess with the DB which is fully intact
I get the following error on last line below (working on remote host): 'E:\web\sfcascom\ls_admin/uploads/images/001.JPG' is not a valid virtual path,
Note that the slashes go in different directions
I've tried a number of things but nothing seems to work. Thanks-
Partial Class Protected_imageupload
Private Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click
' Initialize variables
Dim sSavePath As String
Dim sThumbExtension As String
Dim intThumbWidth As Integer
Dim intThumbHeight As Integer
Dim sFilename As String = ""
' Set constant values
'sSavePath = "images/"
sSavePath = Server.MapPath("~/") + "ls_admin/uploads/images/"
sThumbExtension = "_thumb"
intThumbWidth = 160
intThumbHeight = 120
' If file field isn?t empty
If FilUpload.PostedFile IsNot Nothing Then
' Check file size (mustn?t be 0)
Dim myFile As Http
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.
Following this thread: Any plans on releasing the source code for WebMatrix itself?
How about those Helpers code?
I tried reflecting into WebMatrix.exe but was unable. I'm interested on how you integrated the WPF Ribbon & the Office-style sidebar.
This month we look inside the Windows 7 beta to examine the Virtual Disk API and the Microsoft Virtual Hard Disk (VHD) format.
MSDN Magazine April 2009
Because Virtual Server is built upon a set of COM modules, you can automate the creation and testing of virtual machines. Here we use Windows PowerShell to run the tests.
Dr. James McCaffrey and Paul Despe
MSDN Magazine December 2008
This time James McCaffrey sets up a virtual environment to use for configuration testing to introduce you to software configuration testing with Microsoft Virtual Server
Dr. James McCaffrey
MSDN Magazine September 2008
MSDN Magazine March 2007
In this article, Chandu Thota highlights some of the most salient features of the Virtual Earth APIs and shows you how to build your own powerful mapping and local search applications using them.
MSDN Magazine September 2006
When you begin to work with the MicrosoftÃÂ® . NET Framework 2. 0 and ASP. NET, you discover that the new Web Parts infrastructure adds some very powerful functionality to the underlying platform. In the September 2005 issue of MSDNÃÂ®Magazine, Fritz Onion and I have an article on programming Web Parts titled "ASP.
MSDN Magazine February 2006
MSDN Magazine November 2004
In a settlement agreement reached in January 2001 to resolve a dispute over the Microsoft distribution of its Java implementation, Sun Microsystems and Microsoft agreed to limit the duration of the time Microsoft would use Sun's source code and compatibility test suites to support the MicrosoftÃÂ® Java Virtual Machine (MSJVM).
MSDN Magazine October 2004
Efficient testing can require many different machine and server configurations but the effort needed to manage these test environments can take a toll. Microsoft Virtual Server 2005 simplifies the provisioning and management of testing environments. This article demonstrates how the extensive Virtual Server COM API can be used to create an automated application testing environment to make your testing chores a whole lot easier.
MSDN Magazine August 2004