Wednesday, March 21, 2012

Compilation Errors

I installed the atlas site template from this location:

http://msdn.microsoft.com/asp.net/info/future/atlastemplate/

I'm working on this tutorial: http://atlas.asp.net/quickstart/atlas/doc/services/default.aspx#simple

and when I compile I get these warnings/errors:

Warning 1 Validation (ASP.Net): Attribute 'EnableScriptComponents' is not a valid attribute of element 'ScriptManager'. C:\Projects\AtlasWebSiteTest\Simple.aspx 6 60 C:\Projects\AtlasWebSiteTest\

Error 2 Validation (Internet Explorer 6): Element 'services' is not supported. C:\Projects\AtlasWebSiteTest\Simple.aspx 7 10 C:\Projects\AtlasWebSiteTest\

Error 3 Element 'ServiceReference' is not a known element. This can occur if there is a compilation error in the Web site. C:\Projects\AtlasWebSiteTest\Simple.aspx 8 20 C:\Projects\AtlasWebSiteTest\

Error 4 Type 'Microsoft.Web.UI.ScriptManager' does not have a public property named 'EnableScriptComponents'. C:\Projects\AtlasWebSiteTest\Simple.aspx 6

I've tried reinstalling the template as well as rebooting to make sure everything was opertating correctly.

Does anyone know why I might be receiving these errors?

Thanks
http://weblogs.asp.net/wallym/archive/2005/12/22/433873.aspx
This might be helpful. I had to update my web.config to get things to work.

Wally

wrote in message news:1149845@.66.129.67.203...
>I installed the atlas site template from this location:
>
> http://msdn.microsoft.com/asp.net/info/future/atlastemplate/
>
> I'm working on this tutorial:
> http://atlas.asp.net/quickstart/atlas/doc/services/default.aspx#simple
>
> and when I compile I get these warnings/errors:
>
> Warning 1 Validation (ASP.Net): Attribute 'EnableScriptComponents'
> is not a valid attribute of element 'ScriptManager'.
> C:\Projects\AtlasWebSiteTest\Simple.aspx 6 60
> C:\Projects\AtlasWebSiteTest\
>
> Error 2 Validation (Internet Explorer 6): Element 'services' is not
> supported. C:\Projects\AtlasWebSiteTest\Simple.aspx 7 10
> C:\Projects\AtlasWebSiteTest\
>
> Error 3 Element 'ServiceReference' is not a known element. This can
> occur if there is a compilation error in the Web site.
> C:\Projects\AtlasWebSiteTest\Simple.aspx 8 20
> C:\Projects\AtlasWebSiteTest\
>
> Error 4 Type 'Microsoft.Web.UI.ScriptManager' does not have a public
> property named 'EnableScriptComponents'.
> C:\Projects\AtlasWebSiteTest\Simple.aspx 6
>
> I've tried reinstalling the template as well as rebooting to make sure
> everything was opertating correctly.
>
> Does anyone know why I might be receiving these errors?
>
> Thanks
>

What changes do you recommend that i make? What did you do to get it running?

Thanks!


I think you don't have the December release. Try downloading it again.
I had to go back and delete the old files. Re install the new ones. It still didnt work.

Then I shut everything down, deleted the files. Rebooted, reinstalled the files and then started VS.NET 2005 and it worked finally.

Thanks for the help. It baffles me why the application was acting like this.

Thanks again!
I am sure that I am missing something obvious, but I cannot get this demo to work.

In case it matters, I am working with Windows 2003 Server (SP1) and VS2005. I have also tried the same thing under Windows XP (SP2). When I click the button in IE 6, I get the JScript error pop-up window with the following message:

"'Quickstart' is undefined"

Has anyone else encountered this problem? If so, did you find a solution? I am sure that it is going to be a "head slap" type of answer, but I cannot figure it out for the life of me.

Thanks,
Jim.
Okay, after checking my system again, I realized that I had not installed the December release. I could have sworn that I had, but once I installed the December release and created a new website using the Atlas Templates, the JScript error message went away.

Thanks,
Jim.

No comments:

Post a Comment