I just wanted to update the thread with some information that I stumbled into. It appears that I have found a solution...
In IIS, under the virtual directory properties, using the "Configurat ion" screen, I was able to add a mapping of ".*" and use "c:\windows\mic rosoft.net\fram ework\v2.0.5072 7\aspnet_isapi. dll" as the executable. By doing this, I am now able to use http://localhost/Prototype instead of going...
User Profile
Collapse
-
This project actually started out as MVC, but I had to change it to traditional web forms because of architecture issues and how we will be retrieving data. I'm currently building another personal site in MVC so I can definitely see the benefits of it. Unfortunately it just doesn't work for this project.Leave a comment:
-
Well .net routing is esentially a simplified version of URL Rewriting. It allows me to go http://localhost/home or http://localhost/home/maintenance or http://localhost/category/product/car
I'm using it so we can have simpler promotional urls that get posted to Facebook/Twitter.
That's the same premise of URL Rewriting, right?Leave a comment:
-
Oh that's right.
So then the question becomes, is there another way to do .net routing so that I can use IIS5.1 to host my application? At this point I'm thinking the answer is "no", unfortunately.Leave a comment:
-
I was afraid of that. Is there anyway to get IIS6+ installed on my XP machine?Leave a comment:
-
After reinstalling the asp.net account from the article, I'm still getting "Directory Listing Denied" when going to http://localhost
Running my app with http://localhost/Prototype redirects to http://localhost/Prototype/home/, which is a 404 error. http://localhost:17315 works just fine, though.
It appears that it won't let me to use .net routing how I have it setup, unless I go through Visual Studio.
...Leave a comment:
-
When I have the default web site setup to c:\inetpub\wwwr oot and I pull up http://localhost I get:
"Directory Listing Denied"
I'll look into the article you sent over and see where that gets me.
Thank you!!Leave a comment:
-
Yep, I using IIS 5.1 at the moment on XP Pro sp3. But running the app as a standard virtual directory doesn't work (404 error), but running the app through Visual Studio works just fine. The only difference in the url is the port specification.Leave a comment:
-
Unfortunately I don't have location to host my development project at this time. All the work is being done locally.
If there isn't a way to browse the web app remotely I might have to come up with another method of .net routing...which would be a bummer.Leave a comment:
-
In the past I change my host file to resolve my local system to http://localfb instead of localhost, but for this project it doesn't seem to like either.
From what I've read, if I use the Visual Studio Development Server I can't have any remote connections. So I was hoping there was a way to setup the project in IIS so .net routing still works and it would be available to remote users in my network.Leave a comment:
-
Remotly connecting to an web forms application that uses asp.net routing?
I've been developing a asp.net/c# web application that uses .net routing with Visual Studio 2008. The project is setup to use http://localhost:17315 as the server path. I'm trying to figure out a way for a co-worker to connect to my local project from their system. When I setup the project as a virtual directory in IIS (5.1) the .net routing doesn't work correctly and I get a 404 error (http://localhost/home).
Is there anyway for a... -
Shoot, that was so simple! I'm still on .net 1.1, so I didn't think to look at the XmlUrlResolver class, but that did the trick.
Thank you again for your help!Leave a comment:
-
Sure!
Code:// Get the generated xml XPathDocument xDoc = new XPathDocument(GetXML()); // Load the stylesheet and perform the transform. XslTransform xslt = new XslTransform(); xslt.Load(@"c:\Temp\CreditReport.xslt"); XmlTextWriter myWriter = new XmlTextWriter(@"c:\Temp\test.html", null) ; xslt.Transform(xDoc, null, myWriter, null);
Leave a comment:
-
Definitely. That works great if I declare the stylesheet in the xml file. Unfortunately I am generating the xml dynamically and I can't set the stylesheet like that. So this seems to be a c# problem, rather than an xslt.
Thank you for your help!Leave a comment:
-
I found that if I set the xml-stylesheet of the xml file, the lookup table works correctly. However, if I use XslTransform in c#, the lookup table does not work. I'm not sure what the difference is, but for now I'll just have to specify the xml-stylesheet for my xml file.Leave a comment:
-
I supposed it should look like this:
Code:<html xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <head><META http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head> <body> Test 1 </body> </html>
Leave a comment:
-
Here is the updated code, but it's still not outputing anything other than the static HTML.
Code:<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "*">]> <xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version="1.0" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:xref="http://www.dummy.com/xref"
Leave a comment:
-
Reading Code/Description lookup via inline XSLT
I've been trying to piece together various code snippets to create a lookup table inside my xslt without the need for a supplemental xml file. Here is what I have so far. As of now, it does not return anything in the output. I would love to be able to query the xref:factor table to retrieve the value of xref:factor/lookup
Code:<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE xsl:stylesheet
-
Because there doesn't seem to be an easy solution to this, I've updated to the code to allow the user to get the latest version of each file or a list of files rather than the whole project. It appears that VSS doesn't handle corrupted files very well.Leave a comment:
-
Visual SourceSafe (VSS) command line issue with corrupt file/folder
Hi all,
I am running a simple command line Get for a networked VSS database. The command executes properly until it reaches a directory that is corrupted. Because the database is not local, I don't have access to run the analyze utility to try and fix the issue. Plus, I've been told it's been run before and has not resolved anything.
To my question...how can I duplicate the functionality of the UI that skips corrupted...
No activity results to display
Show More
Leave a comment: