Wrox Programmer Forums
BOOK: Beginning Ajax with ASP.NET
This is the forum to discuss the Wrox book Beginning Ajax with ASP.NET by Wallace B. McClure, Scott Cate, Paul Glavich, Craig Shoemaker; ISBN: 9780471785446
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Ajax with ASP.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 24th, 2006, 06:10 AM
Registered User
Join Date: Nov 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with trying Ajax-pro library

Hello all

when i tried page that built using Ajax-pro library with visual web developer debuger(server supplement with vwd)working with out problems, but when i tried with IIS server on my computer (/localhost/)
the ajax script did not work (browser print in the corner of bottom pade error).

help me how can i solve .

Old November 28th, 2006, 06:33 PM
Registered User
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to scottcate Send a message via MSN to scottcate Send a message via Yahoo to scottcate

it sounds like the IIS site isn't setup the same.

When you run VWD (F5 run) you get a root site. Something like http://localhost:1234/default.aspx

So in that case, all your URL's can just be root, or not qualified.

Check the source of your page. You'll probably see something like

<script src="/whatever.js"></script>

This is expected to be found in the root of your site. And if fact it is, and is found when using VWD.

Now, over to IIS.

You probably setup a Virtual Directory like /MySite/

So it runs under http://localhost/mysite/default.aspx.

When the same source is served out, it errors because it can't be found.

<script src="/Whatever.js"></script> is looking in http://localhost/Whatever.js and it can't be found there.

Just a guess, but that's probably your problem.

either way, give us some more details, and we'll see if we can get it running for you.

-=- Scott Cate

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to access Application with Ajax.net Pro lib Aaronmeng BOOK: Beginning Ajax with ASP.NET 0 January 29th, 2007 10:16 PM
Ajax.NET Pro Library dotnetdave BOOK: Beginning Ajax with ASP.NET 1 December 16th, 2006 06:40 PM
Ajax.NET Pro v6.4.16.1 Compiled Library pcdebb BOOK: Beginning Ajax with ASP.NET 2 November 28th, 2006 06:28 PM
Video: Microsoft AJAX Library Basics jminatel BOOK: Beginning Ajax with ASP.NET 0 October 5th, 2006 03:36 PM
Problem executing code from Pro C# book leo05 General .NET 0 February 22nd, 2005 04:42 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.