Startup problem with XML-script

Last post 12-07-2006 3:01 AM by raffaeu. 9 replies.

Sort Posts:

  • Startup problem with XML-script

    12-04-2006, 9:05 AM
    • Loading...
    • raffaeu
    • Joined on 12-04-2006, 8:54 AM
    • Italy
    • Posts 33

    Hy all. Today i have downloaded the ATLAS CTP version (November), the ATLAS extension for Visual Studio 2005 and the AJAX Control Toolkit. Ok now if i try to create a new web project i can choose from 'ASP.NET AJAX Enabled ...' and it works fine.

    So when i open my project i can find inside a default.aspx page who has inside only a ScriptManager block.

    I have puted manally the XML-script delcaration like the example but if i try tu run it i don't receive error from Internet Explorer, but also my script doesn't work. Alternatively the Server Framework works good because i tried to build a new Accordion and it works fine.

    Maybe i'm mistaking something, where i can find a startup guide to XML-script into ASP.NET AJAX? This is a must for me because i'm writing in italian language a new shortly guide to AJAX ASP.NET (Codename ATLAS) and how to work with XML-script but i'm not able to startup with this new technology.

     Kind regards
    RaffaeuSmile

    Raffaele Garofalo
    MCAD, MCPD
    raffaeu[at]raffaeu[dot]com
  • Re: Startup problem with XML-script

    12-05-2006, 3:37 AM
    • Loading...
    • raffaeu
    • Joined on 12-04-2006, 8:54 AM
    • Italy
    • Posts 33
    Today i have re-tried to install ATLAS Beta 2 and nobody works ... Now when i create a new AJAX CTP Project in my bin folder i'm able to find only Microsoft.Preview.dll. What is this? Where was been my Microsoft.ajax.dll?? And so my Ajax folder isn't here and i'm not able to run XML-script. Please tell me what do you change and what i have to do to restore the working beta 1 situation.
    Raffaele Garofalo
    MCAD, MCPD
    raffaeu[at]raffaeu[dot]com
    Filed under:
  • Re: Startup problem with XML-script

    12-05-2006, 9:38 AM
    • Loading...
    • raffaeu
    • Joined on 12-04-2006, 8:54 AM
    • Italy
    • Posts 33

    I'm not shure but i think that XML-script was disabled in the July CTP version of ATLAS. Isn't it?

    Sad

    Raffaele Garofalo
    MCAD, MCPD
    raffaeu[at]raffaeu[dot]com
  • Re: Startup problem with XML-script

    12-05-2006, 9:43 AM
    • Loading...
    • Luis Abreu
    • Joined on 02-12-2005, 6:22 AM
    • Madeira [Portugal]
    • Posts 5,218
    • TrustedFriends-MVPs

    hello.

    1. the main ajax extensions dll is added to the gac

    2. you can still use xml-script. this might help you: http://msmvps.com/blogs/luisabreu/archive/2006/11/19/i-m-not-getting-xml-support-on-beta-2-why.aspx 

    --
    Regards,
    Luis Abreu
    email: labreu_at_gmail.com
    PT blog: http://weblogs.pontonetpt.com/luisabreu
    EN blog:http://msmvps.com/blogs/luisabreu
    http://www.pontonetpt.com
    http://weblogs.pontonetpt.com/
  • Re: Startup problem with XML-script

    12-05-2006, 9:55 AM
    • Loading...
    • raffaeu
    • Joined on 12-04-2006, 8:54 AM
    • Italy
    • Posts 33
    I'm not shure because is still 3 days i'm trying to run XML-script with November CTP and IE doesn't recognise ...
    Raffaele Garofalo
    MCAD, MCPD
    raffaeu[at]raffaeu[dot]com
  • Re: Startup problem with XML-script

    12-05-2006, 9:58 AM
    • Loading...
    • Luis Abreu
    • Joined on 02-12-2005, 6:22 AM
    • Madeira [Portugal]
    • Posts 5,218
    • TrustedFriends-MVPs
    well, did you read the post? you just need to add that entry to the scriptmanager scripts' property and make sure the preview dll is on the bin folder (you've said that it was there, so it must  work).
    --
    Regards,
    Luis Abreu
    email: labreu_at_gmail.com
    PT blog: http://weblogs.pontonetpt.com/luisabreu
    EN blog:http://msmvps.com/blogs/luisabreu
    http://www.pontonetpt.com
    http://weblogs.pontonetpt.com/
  • Re: Startup problem with XML-script

    12-05-2006, 10:04 AM
    • Loading...
    • raffaeu
    • Joined on 12-04-2006, 8:54 AM
    • Italy
    • Posts 33

    Ok this evening i will test everything and tomorrow i will post the answer. I beleave you but i would like to test my olds pages before.

    Thanks a lot i'm going to be crazy with this change.

    Raffaele Garofalo
    MCAD, MCPD
    raffaeu[at]raffaeu[dot]com
  • Re: Startup problem with XML-script

    12-05-2006, 10:21 AM
    • Loading...
    • raffaeu
    • Joined on 12-04-2006, 8:54 AM
    • Italy
    • Posts 33

    Ok but now i will receive this error

    Assembly 'Microsoft.Web.Preview, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not contain a Web resource with name 'Microsoft.Web.Resource.ScriptLibrary.PreviewScript.js'.
    Maybe i need to insert not only the preview.dll but also other thing, doens't ?
    Raffaele Garofalo
    MCAD, MCPD
    raffaeu[at]raffaeu[dot]com
  • Re: Startup problem with XML-script

    12-06-2006, 6:09 PM
    • Loading...
    • Wesmaster
    • Joined on 12-05-2006, 8:17 PM
    • Posts 20

    Luis Abreu:
    2. you can still use xml-script. this might help you: http://msmvps.com/blogs/luisabreu/archive/2006/11/19/i-m-not-getting-xml-support-on-beta-2-why.aspx 

     I'm having the hardest time converting a working version of an xml-script to Beta 2.  The link above, although it was helpful, did not solve my problem.  the JS "searchResults.control.set_data(result)" no longer works where it once did.  It has no idea what "control" is and if you try to "set_data" directly on the results it says that's not a property.  How did this part of the funcionality dissapear?

  • Re: Startup problem with XML-script

    12-07-2006, 3:01 AM
    • Loading...
    • raffaeu
    • Joined on 12-04-2006, 8:54 AM
    • Italy
    • Posts 33

    Big SmileIf i try to work wuth an UpdatePanel and Javascript, no XMLScript, i have not problems. Also if i see the HTML output i can see the Sys.Initialize() command. But if i try to write a Js function and i try to use the Sys Class, IE say me that doesn't recognise Sys object ...

    Maybe i need to pass to AJAX.NET and abandon ATLAS ?

     

    Raffaele Garofalo
    MCAD, MCPD
    raffaeu[at]raffaeu[dot]com
Page 1 of 1 (10 items)
Microsoft Communities
Page view counter