Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:589903
More Search Options
RSS Available
Matching Posts
Re: CSS not working w/URLRewriter.net when rewritten URL is not found - help
*bump*, anyone have an idea on this? thanks..
Posted to
Getting Started
(Forum)
by
Sounge
on 10/6/2009
URLRewriter.net Questions - advice/help needed
Hello, I am looking for some help in using URLRewriter.net. I have pretty much gotten the basics, but I had two more questions: 1) I noticed that URLRewriter.net puts its Name and Version in the "X-Powered-By" HTTP header on the entire website. How do I remove that? 2) I am trying to create a rewrite rule/regular expression that basically converts ~/SomeWord into ~/SomeWord.aspx, i.e., ~/Contact => ~/Contact.aspx. I tried a regex which I thought worked, but it doesn't take into affect
Posted to
Component Discussions
(Forum)
by
Sounge
on 10/6/2009
Re: CSS not working w/URLRewriter.net when rewritten URL is not found - help
Well, the thing is that I don't put the <link> tag there myself.. I put <pages theme="ThemeName"> in my web.config, and that auto-generates the link tag for all pages when they are compiled.
Posted to
Getting Started
(Forum)
by
Sounge
on 10/5/2009
Re: CSS not working w/URLRewriter.net when rewritten URL is not found - help
Yeah, I can do that, but it sucks because the main thing is that I'd really like to figure out why exactly that's happening, and happening only on IIS 7.
Posted to
Getting Started
(Forum)
by
Sounge
on 10/5/2009
Re: rewriting on iis7 with urlrewriter.net
Did you ever figure out your problem? I also am having a problem, but not a 404. I get a 'Security Exception' when loading any page, and it goes away when I remove all references of the URLRewriter.net module from my web.config. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration
Posted to
HttpHandlers and HttpModules
(Forum)
by
Sounge
on 10/4/2009
Re: rewriting on iis7 with urlrewriter.net
Here is the Event Viewer log for the error I posted above: Event code: 3008 Event message: A configuration error has occurred. Event time: 10/4/2009 2:44:27 AM Event time (UTC): 10/4/2009 6:44:27 AM Event ID: b194e4c7a14e4506bcd87c46be56b016 Event sequence: 1 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT-11-128991122678536169 Trust level: Full Application Virtual Path: / Application Path: C:\somepath\WebSite Machine name: MachineNameHere Process
Posted to
HttpHandlers and HttpModules
(Forum)
by
Sounge
on 10/4/2009
URLRewriter.net on IIS7 problem - Security Exception, help
I am having a problem getting URLRewriter.net working on IIS7 (It works on IIS6 just fine). I have followed Scott Guthrie's instructions (at http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx), and per another thread here, have also looked at a similar link, here: http://peterkellner.net/2008/08/24/urlrewrite-with-aspnet-urlrewriter-wildcard-mapping-iis6-iis7. The problem is that when I put in all the code in my Web.Config for URLRewriter.net to get it
Posted to
Configuration and Deployment
(Forum)
by
Sounge
on 10/4/2009
CSS not working w/URLRewriter.net when rewritten URL is not found - help
I am running Windows 7 Ultimate w/IIS7. I've installed URLRewriter.net, which is working from what I see. I have a rule that applies to "PageX.asp". However, PageX.asp doesn't currently exist, so when the rule gets executed, it doesn't see the page so it throws an exception. The Exception is being caught in my Application_Error function in global.asax, which does a Server.Transfer("Error.aspx"). The transfer is done successfully, but the CSS I have in my theme doesn't
Posted to
Getting Started
(Forum)
by
Sounge
on 10/4/2009
Re: CSS not working w/URLRewriter.net when rewritten URL is not found - help
Thanks for the reply. I took a closer look, and I do see a difference. Let me explain: My URL Rewrite rule basically does this -> it converts "/PageX/1234" to "/PageX.aspx?id=1234". When I go to the address: "/PageX.aspx/12", it throws an error because no such page "PageX.aspx" exists, and then in my Application_Error function I do a Server.Transfer("~/Error.aspx"). in IIS6, when I test this out, the Error page loads successfully with CSS and everything
Posted to
Getting Started
(Forum)
by
Sounge
on 10/4/2009
Re: CSS not working w/URLRewriter.net when rewritten URL is not found - help
Cool, I will try that. Basically, I redirect the user to Error.aspx any time there is an exception thrown. The way I am adding the Theme to all my pages is by the <theme> tag in my web.config. Is this the correct way to do it? Anyone else know why there is the CSS issue discrepancy between IIS6 and IIS7? Thanks again.
Posted to
Getting Started
(Forum)
by
Sounge
on 10/4/2009
Page 1 of 5 (47 items) 1
2
3
4
5
Next >
Channel 9:
BugCamSmash in Action!
Channel 9:
Virtual Earth Videomap Movies
TechNet Edge:
AD RMS Certificates and Licensing on the Client and the Server
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13 [C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13]
Channel 10:
Bing Launches 2nd Homepage Photo Contest
Channel 10:
Bing4Free Lets You Use Bing.com Images for Desktop Wallpaper
Channel 10:
Bing for Windows Mobile Updated
Channel 10:
Bing Updates: Streetside Views, Photosynth, and "Mapplications"
WindowsClient:
Tale of two tweets - VS beta - is it busy 70% of the time or is it brilliantly fast?
TechNet Edge:
Forefront TMG URL Filtering and MRS
Mix Online:
Using the HTML5 Video and Audio Tag with Gestalt
WindowsClient:
Subclassing Shape (or more accurately, Path)
WindowsClient:
Having trouble deleting files? Try this
Channel 9:
Nick Baker: Xbox Architecture
TechNet Edge:
Thrive Live! Behavioral Interviewing: A behavioral answer is always the correct answer
ASP.NET:
PDC and Tech-Ed Europe Slides and Code
WindowsClient:
JScript location bar silliness
WindowsClient:
Anybody build a XAML parser in C or C++ yet?
WindowsClient:
Silverlight use, power and deployment keeps growing; so does WPF
ASP.NET:
T4CSS: A T4 Template for .Less CSS With Compression
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online