Showing posts with label app. Show all posts
Showing posts with label app. Show all posts

Wednesday, March 28, 2012

Atlas Wiki VSI can now be downloaded

We demoed the 'Atlas' Wiki at PDC 2005 and ... yesterday we posted it fordownload !
Have fun exploring this sample app's source code.
thanks
-jhawkSounds like fun, checking now :)

Getting "Unknown stream header byte sequence" error when attempting to open the "ASPNETAtlasWikiRC.vsi".

Suggestion(s)?

Thanks,

Adam


The same for me aswell.
Ariel
Which browser version?
You should be able to just click on the link to download and then choose "Open" when prompted to "Open" or "Save" in the browser?
Can you describe the repro steps?

I got my error this morning from my home PC..."I.E. v 5.x", I believe. I'll verify tonight.
Repro steps: I downloaded the file and selected "Save." Once down, I selected "Open" and got the error. I then closed all open windows (on the pc <g>) and tried again...same error. I then went to the file via explorer, double clicked it, and got the same error.
Feeling totally defeated, I opened this thread and sulked off to work to salvage the remainder of my developer's self-esteem. ;-)
That's pretty much all the steps.
Adam


Hey,
I'm using IE6.0.2900.2180.XPSP2.
After the file is downloaded (FileSize : 1.79 MB (1,882,320 bytes))
you can choose to open the file and an error window is thrown at you.
Visual Studio Content Installer:
"Unknown stream header byte sequence."
That all the info, I have meanwhile.
Ariel

*FOLLOWUP*
My browser is I.E. 6.0.2900.2180.xpsp_sp2_gdr.050301-1519
-Adam
Sorry,
But when do we get an answer on our error, or will the "ASPNETAtlasWikiRC.VSI" file be replaced with the one that works on our pc?
My browser version is: I.E. 6.0.2900.2180.xpsp_sp2_gdr.040803-2158.
Hopefully you can help us, because I am looking forward to explore the Wiki Toolkit!
Thanks.
Just letting you know that we are still looking at this. It appears the the .vsi file may be getting corrupted somewhere between the download server and your local filesystem. Are you running an anti-virus program?
thanks
-jhawk

On my computer I have the McAfee VirusScan Enterprise 7.1.0 virusscanner. But we also did the download with a pc without a virusscanner and transferred the file with ftp to my pc, but it also didn't work.
On the other pc there is also Internet Explorer 6.0 with default microsoft updates.


Maybe it's for WebDeveloper Express only? I had install project on my
Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727
Installed Edition: WD Express
Microsoft Visual Web Developer 2005 76872-000-0000011-00123
Microsoft Visual Web Developer 2005

I had the exact same problem

I think the problem was file corruption during download.

It may be a weird server setting, but I was using a download manager which I disabled and tried again. It worked afterwards.

The download should be a simple right click > save as or if there's any interruption or middle app, there will be problems with the file.


Downloaded, installed the .vsi and created a wiki site from the template. That went all very well. The site doesn't work however because of connection problems with the database. I looked into this of course and tried to attach atlaswiki.mdf in the app_data folder, which doesn't work because the atlaswiki_log.ldf isn't there. The aspnetdb_log.ldf isn't there either. As far as I understand sql server databases these files are essential and should have been included. If I am wrong here I'd like to know.


hansh, Which software combo are you using?

Developer express? SQL Express?

Also what version of ASP.Net framework? If you have ASP.Net 2 Beta, then you may have to remove that and update to the newest version.

Monday, March 26, 2012

Atlas use in current asp.net app

I am sure that this question has been asked and answered before. I watched some webcasts regarding Atlas and I want to use this in our current intranet. I have downloaded and installed the June CTP along with the toolkit. I have also read about adding Atlas to an existing ASP.Net application, however when I follow those rules and copy this into my web.config file, I get all sorts of errors:

Copy these elements as children of the<configuration> element:

 <configSections> <sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup"> <section name="converters" type="Microsoft.Web.Configuration.ConvertersSection"/> </sectionGroup> </configSections> <microsoft.web> <converters> <add type="Microsoft.Web.Script.Serialization.Converters.DataSetConverter"/> <add type="Microsoft.Web.Script.Serialization.Converters.DataRowConverter"/> <add type="Microsoft.Web.Script.Serialization.Converters.DataTableConverter"/> </converters> </microsoft.web>

Copy (or integrate) these elements as children of the<system.web> element:

 <pages> <controls> <add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/> <add namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/> </controls> </pages> <!-- ASMX is mapped to a new handler so that proxy javascripts can also be served. --> <httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false"/> </httpHandlers> <httpModules> <add name="ScriptModule" type="Microsoft.Web.Services.ScriptModule"/> </httpModules>
I added the microsoft.web.atlas.dll into the bin directory. All I want to do is find out what I need to do to start using Atlas
Thanks for the information

guyinkalamazoo:

I have also read about adding Atlas to an existing ASP.Net application, however when I follow those rules and copy this into my web.config file, I get all sorts of errors:

All I want to do is find out what I need to do to start using Atlas

Follow the docsWink What errors?


I get this error: "Could not find schema information"

<

configurationxmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
I don't have that in my website. Can you give more information on why that schema is included?

hello.

that's the schema used by asp.net 2.0 config files. unfortunatelly, most guys really don't use that since it's a show stopper (using the namespace shuts down intellisense on the file...)


I use altlas in a non-atlas project. All I had to do was on the pages that I wanted Atlas on, I inserted:

<%@.RegisterAssembly="Microsoft.Web.Atlas"Namespace="Microsoft.Web.UI"TagPrefix="Atlas" %>

<%@.RegisterAssembly="Microsoft.AtlasControlExtender"Namespace="Microsoft.AtlasControlExtender"TagPrefix="Atlas" %>

<%@.RegisterAssembly="AtlasControlToolkit"Namespace="AtlasControlToolkit"TagPrefix="Atlas" %>

This allowed me to use atlas after adding just a reference to those 3 assemblies.

I hope this helps.


By the way, I didn't have to do ANYHTING to my web.config file after inserting those 3 registers.

Saturday, March 24, 2012

Atlas Unknow Error need help

The UpdatePanel does't work & trow Unknow Erro.The app canrun great without Atlas.I really enjoy using Atlas but this troublemakes me upset.
I will thank for your help
the address is http://shisoft.net/webservice/favorite/Please provide page code.

Wednesday, March 21, 2012

Atlas postback very very slow.

Hi i have a web app and most of the pages work fine, but i have two that are responding very slowly. I use Atlas update panels on the page so i thought if anything the responce would be quicker.
The postback is not doing a great deal. all i am doing is selecting a link button on a grid view which has the command='select' property. Within the row_command event all i am doing is changing the state of a couple of buttons on a seperate update panel.

The buttons act equally slow, they perform more code but still not a 4/10 sec round trip as i have other buttons that do more yet postback faster.

Any thoughts appreciated.

Steve

Hi Steve,

Can you check two things:

1) Are you running the app in debug mode? If so, the Atlas script libraries get downloaded on each request -- and that might be one cause of the delay.

2) What is the size of the viewstate on the page that you are working on? It could be that you have a lot of viewstate on the page which is slowing it down. Disabling viewstate would make postbacks work much faster.

Hope this helps,

Scott


Hi Scott

Thanks for posting.

I dont have it in debug mode.

How would i find the size of viewstate?

Steve


Scott

I disabled view state and the datagrid came back empty. The grid is only 1 col which is a template field with a link button in.

Steve


I have just done a view source on the two pages in question.

One: Viewstate = just short of 45000 chars.
Two: Viewstate = just short of 9000 chars.

So i guess thats the problem?? I am guessing that to cure the gridview coming back blank i will need to rebind on each postback?

Steve


How do i use properties like selectedindex from the gridview when viewstate is disabled??


You can use ControlState instead, which acts a lot like ViewState except that it's never turned off. Seehttp://msdn2.microsoft.com/en-us/library/system.web.ui.pagestatepersister.controlstate.aspx for more information. I'm not 100% sure you can enable at the page level as its supposed to work on controls, but then again a page is just a control

HTH
Thanks

How do i use the selectedindex from control state?

Steve

i use selectedvalue all over the place. Without creating my own control from the gridview is there anyway i can use this value.
I guess the selectedindex would work i could put the id in a hidden value and get it that way BUT... with view state turned off on the gridview i am unable to get the selectedindex, i thought selectedindex was held in control state....is there something special i need to do to use the control state properties?

Thanks

Steve


OK got it sorted.

on rowdatabound i have done e.Row.EnableViewState=false;
this has reduced the viewstate from 50K chars to a little over 6K. And I can access selectedvalue OK.

Time to stick it up live and see how we go.

Thanks, Steve