Re: Validation Summary



I finally got it to work. I had to add .axd mapping to my website
configuration and most importantly, make sure 'Verify that file exists' is
UNchecked.

Posts that I found, seemed to assume that the mapping was already there but
needed to uncheck the box. Do you know why this mapping is not there by
default?

example post:
http://forums.asp.net/thread/1399591.aspx


--
Thank-you,
Barbara Alderton


"Barbara Alderton" wrote:

I tried what you suggested and it cannot display the page.

I have been doing some playing around and I have found the following. If I
create the VS 2005 Web Application project(not Web Site project) and leave
the default Web properties to use Visual Studio Development Server to run the
app, the pop-up validation summary control works fine, but if I switch to
using the IIS Web server, the control does not work when trying to use the
pop-up message box.

In your previous post, you mentioned there may be something wrong with the
IIS server configuration, which seems to be the case since it doesn't work
when using IIS. Any suggestions if I want to run it using IIS? Since I'm
new to VS 2005 and ASP 2.0, how do you setup up the web site for production
use, without IIS? Can you use the Development Server for deployment?

--
Thank-you,
Barbara Alderton


"Steven Cheng[MSFT]" wrote:

Thanks for your reply Barbara,

The "directly paste the link in webbrowser and check" I mentioned means you
can use the webbrowser to directly request the script resource through the
url embeded in the <script> tag. For example, for your scenario, you get
the following tags in the page's client html source.

=========================
<script
src="/EFileWebApplication/WebResource.axd?d=So-UjLwjE7Z4kAK1NGKWNw2&t=632993
639229875740" type="text/javascript"></script>

<script
src="/EFileWebApplication/WebResource.axd?d=UV4paiYYY-jwjXuko52t1RZ0U12-1-Y9
SnenBVjK0ok1&t=632993639229875740" type="text/javascript"></script>
<script
src="/EFileWebApplication/WebResource.axd?d=BYcKGYXElYRGBPTdN3TR4w2&t=632993
639229875740" type="text/javascript"></script>
=======================

You can paste the url(from the "src" attribute) into the browser(with the
correct server name ahead such as http://servername/). Just like:

http://localhost/EFileWebApplication/WebResource.axd?d=So-UjLwjE7Z4kAK1NGKWN
w2&t=632993639229875740

then, if the url is valid, you should be able to download the stream and
save it as a "js" file. Open it through notepad or any other text editor to
see wehther it contains the validation script functions.

If you still have anything unclear, please feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.


.



Relevant Pages

  • Re: HttpHandler not working
    ... I had to uncheck the "Check that file exists" option while mapping ... It's because the URL didnt actually correspond to the file location. ... file exists" option while mapping .zip in IIS. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: OWA / Exchange 2000 problem
    ... > Remove the mapping to this file server and reboot the box. ... > still see the red hexagons in IIS so do a stop/start on IIS from the ... The Exchange IFS failed to map drive ?:. ...
    (microsoft.public.exchange2000.general)
  • Re: Validation Summary
    ... "Barbara Alderton" wrote: ... needed to uncheck the box. ... the default Web properties to use Visual Studio Development Server to run the ... IIS server configuration, which seems to be the case since it doesn't work ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Drive Mapping in IIS 6.0
    ... server to provide the mapping so that we can ... trouble mapping drives with WNetAddConnectionunder Win ... >> user that was logged in on the web server. ... >Tom Kaminski IIS MVP ...
    (microsoft.public.inetserver.iis)
  • [NT] Heap Overrun in HTR Chunked Encoding Could Enable Web Server Compromise
    ... This patch eliminates a newly discovered vulnerability affecting Internet ... in IIS 4.0 and 5.0, and could likewise be used to overrun heap memory on ... allowing code to be run on the server. ... * Microsoft has long recommended disabling HTR functionality unless there ...
    (Securiteam)

Loading