Re: Validation Summary

Tech-Archive recommends: Fix windows errors by optimizing your registry



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: IIS Hosting Webservice which accesses a COM server
    ... I've create a COM server in VFP which I try to access from a Webservice ... If you want to run executables on IIS from a script (i.e. an ASP, ASP.Net, ... well as Web Service Extension for the appropriate Script Engine. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Bug in .NET Framework compiling C# scripts?
    ... worked fine when copied to the server and then accessed from my ... most likely in IIS 5.1 because it uses .NET Framework 1.1 instead ... But I concede that you are right about ending the script with: ... Juan T. Llibre, asp.net MVP ...
    (microsoft.public.dotnet.framework.aspnet)
  • IIS & ASP security advice
    ... I have a user who has requested special permissions on my IIS 5.0 server. ... that they do but IIS does not allow this to happen unless an ASP script is ...
    (microsoft.public.inetserver.iis.security)
  • Re: CGI Script permissions
    ... the IIS interface so I haven't looked at the logs (not ... >what's the http status reply for that request in IIS ... >> Server to IIS 6.0. ... For example, the script will ...
    (microsoft.public.inetserver.iis.security)
  • RE: IIS 5.0 access to W2K3 DC
    ... IIS 5.0 running on w2k sp4 server whereas domain is currently ... Script GetObject fails to following error, ... IIS but nothing is logged to secyrity log. ...
    (microsoft.public.inetserver.iis)