Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > Other ASP.NET > BOOK: Beginning Ajax with ASP.NET
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 24th, 2006, 06:10 AM
Registered User
Join Date: Nov 2006
Location: , , .
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 .

  #2 (permalink)  
Old November 28th, 2006, 06:33 PM
Registered User
Join Date: Nov 2006
Location: scottsdale, az, USA.
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 12:16 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.