Hi guys
I'm working on a web app in VS2005 (.net 2.0.50727). All is working fine,
except when I add a HTTPModule to my web.config file, as follows...
<httpModules>
<add name="UrlRewrite" type="UrlRewrite" />
</httpModules>
If I do that, I get a really huge dialog box which basically says "Unable to
start debugging on the web server" followed by the page code of one of the
"Server error in application" pages. However, it's so long, I can't see what
that error is.
My HTTPModule compiles fine, and all code / vs / webserver is the same
machine.
I'm sure it's something silly, but I've no idea what...?!
Help appreciated, thanks!
Dan 4 2653
make sure that you don't rewrite requests for get_aspx_ver.aspx
"musosdev" <mu*******@community.nospamwrote in message
news:F3**********************************@microsof t.com...
Hi guys
I'm working on a web app in VS2005 (.net 2.0.50727). All is working fine,
except when I add a HTTPModule to my web.config file, as follows...
<httpModules>
<add name="UrlRewrite" type="UrlRewrite" />
</httpModules>
If I do that, I get a really huge dialog box which basically says "Unable
to
start debugging on the web server" followed by the page code of one of the
"Server error in application" pages. However, it's so long, I can't see
what
that error is.
My HTTPModule compiles fine, and all code / vs / webserver is the same
machine.
I'm sure it's something silly, but I've no idea what...?!
Help appreciated, thanks!
Dan
No rewriting occurs, I've commented out all the rewrite code, and still the
act of adding the HTTPModule in web.config breaks debugging. :(
.............?
"gerry" wrote:
make sure that you don't rewrite requests for get_aspx_ver.aspx
"musosdev" <mu*******@community.nospamwrote in message
news:F3**********************************@microsof t.com...
Hi guys
I'm working on a web app in VS2005 (.net 2.0.50727). All is working fine,
except when I add a HTTPModule to my web.config file, as follows...
<httpModules>
<add name="UrlRewrite" type="UrlRewrite" />
</httpModules>
If I do that, I get a really huge dialog box which basically says "Unable
to
start debugging on the web server" followed by the page code of one of the
"Server error in application" pages. However, it's so long, I can't see
what
that error is.
My HTTPModule compiles fine, and all code / vs / webserver is the same
machine.
I'm sure it's something silly, but I've no idea what...?!
Help appreciated, thanks!
Dan
can you run it without debugging ?
"musosdev" <mu*******@community.nospamwrote in message
news:D8**********************************@microsof t.com...
No rewriting occurs, I've commented out all the rewrite code, and still
the
act of adding the HTTPModule in web.config breaks debugging. :(
............?
"gerry" wrote:
>make sure that you don't rewrite requests for get_aspx_ver.aspx "musosdev" <mu*******@community.nospamwrote in message news:F3**********************************@microso ft.com...
Hi guys
I'm working on a web app in VS2005 (.net 2.0.50727). All is working
fine,
except when I add a HTTPModule to my web.config file, as follows...
<httpModules>
<add name="UrlRewrite" type="UrlRewrite" />
</httpModules>
If I do that, I get a really huge dialog box which basically says
"Unable
to
start debugging on the web server" followed by the page code of one of
the
"Server error in application" pages. However, it's so long, I can't see
what
that error is.
My HTTPModule compiles fine, and all code / vs / webserver is the same
machine.
I'm sure it's something silly, but I've no idea what...?!
Help appreciated, thanks!
Dan
Hi Gerry,
I can run it without debugging. That gave me a proper error message, which
was in fact very helpful.
Apparently, the way the web.config works has changed in relation to IIS7
(I'm running on Vista).
Adding the UrlRewrite module in the <server.webServersection as seems to
have cured the problem.
Thanks,
Dan
"gerry" wrote:
can you run it without debugging ?
"musosdev" <mu*******@community.nospamwrote in message
news:D8**********************************@microsof t.com...
No rewriting occurs, I've commented out all the rewrite code, and still
the
act of adding the HTTPModule in web.config breaks debugging. :(
............?
"gerry" wrote:
make sure that you don't rewrite requests for get_aspx_ver.aspx
"musosdev" <mu*******@community.nospamwrote in message
news:F3**********************************@microsof t.com...
Hi guys
I'm working on a web app in VS2005 (.net 2.0.50727). All is working
fine,
except when I add a HTTPModule to my web.config file, as follows...
<httpModules>
<add name="UrlRewrite" type="UrlRewrite" />
</httpModules>
If I do that, I get a really huge dialog box which basically says
"Unable
to
start debugging on the web server" followed by the page code of one of
the
"Server error in application" pages. However, it's so long, I can't see
what
that error is.
My HTTPModule compiles fine, and all code / vs / webserver is the same
machine.
I'm sure it's something silly, but I've no idea what...?!
Help appreciated, thanks!
Dan
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Girish |
last post by:
Ok, Ive been thinking about this problem for a while.
I have 30 odd aspx pages (already built) on my website that I need to have
some validation occur before the page should load. The validation...
|
by: msnews.microsoft.com |
last post by:
I have a VB.NET project in VS.NET that isn't stopping on any breaks. I have
debug mode configured: asp.net debugging checked. Any idea how to get breaks
to work again?
-Max
|
by: Ryan Cromwell |
last post by:
I have written an httpModule for use in our test environment. If a user goes
to http://testserver/SomeApplication/MyPage.aspx it will resolve to the
latest version of that application deployed:...
|
by: nail |
last post by:
Folks,
I develop a HttpModule and it works correct, but one problem is occurs.
After I register the httpmodule in the web.config, my pages (not testing
http://localhost/site but...
|
by: Danny W |
last post by:
Hi There!
Is it possible to use HttpModule to replace the built-in ASP.NET Session
object? I want to write a HttpModule that will handle storing and retrieving
of session values from an external...
|
by: Simon-Pierre Jarry |
last post by:
Hi,
I created a custom HttpModule for managing the security of my
application. in "Init" sub, I regsiter the events doing that :
Public Sub Init(ByVal context As System.Web.HttpApplication)...
|
by: walter |
last post by:
Hi there, I know there is pool of HttpApplications, and for each request
coming in, HttpRuntime will dedicate one from pool to serve the request. My
questions are :
1. since HttpModule is plug...
|
by: =?Utf-8?B?TmF2YW5lZXRoLksuTg==?= |
last post by:
Hello,
I am designing a HTTPModule that tracks and logs all pages visited by user.
I am succeeded in that. Now to provide much better experience for the person
who monitor's these logs, I need...
|
by: Jimi Schacht |
last post by:
ok, so, i've got a web project in c#. I'm using IIS instead of dev server.
The application builds fine until I add an httpmodule I intend to use for
URL rewriting and it's entry in the web.config....
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |