Showing posts with label website. Show all posts
Showing posts with label website. Show all posts

Monday, March 26, 2012

Confused about how to add the reference

So, I have the contents from the bin folder of the Sample Website that you get when you download the toolkit. I want to put that in a folder in my solution, so that I can check it into subversion. This means that every developer will always work with the same version of the toolkit.

Now for the problem: for convenience you want to add the controls to your VS toolbox, so you use the .dll in C:\Program Files... But then when you drop a control on a page, the referenced dll is changed to reference the on ein C:\Program Files. To avoid this, you need to add the dll from the solution folder to the VS toolbox, but now your toolbox is depending on one certain project and that's no good.

I'm kind of confused. What is the best way to do this?

Hi,

As far as I know, the assembly isn't necessary to be in the c:\pro... folder.


Yes, it can be anywhere. So what do you do when you want it in your toolbox? If you add it to your toolbox from c:\Program Files and then add a control to your page, you will get a reference to C:\Program Files. If you want the reference to be to a locationinside your solution, you'd have to add the control to your toolbox for each different solution that you are working with because otherwise the reference will be changed to C:\Program Files as soon as drag a control from the toolbox (because the toolbox gets the controls from C:\Program Files).

Do see the problem?

Confused about hosting and Atlas

I'm ready to start working with ASP.NET 2.0 and I'm looking for hosting plans for my website. However, I'm confused about Atlas. Can I use Atlas and all the AJAX extensions on any hosting provider that gives me ASP.NET? I was looking to use aplus.net for my hosting. Does anyone know if I can use aplus.net for this? If not, can someone give me a good hosting site?

Thanks!

The hosting site has to install it seperately. It does not come automagically with all asp.net hosting companies (although over time it probably will). There are a number of hosting companies that do offer it,...ultimahost.com being one I can think of off the top of my head.
Just copy the required Microsoft AJAX dll's to the \bin\ directory. I can't see how that should be a problem anywhere, or why you would need to install it (I've have done this on my own site).
That will only work if you can set your web site to run in full trust mode, most hosting providers don't allow this. There are several threads on the forum about this already with some explanations.

Saturday, March 24, 2012

Configure a ATLAS website in IIS

I downloaded the ATLAS msi, installed it, and I could create a ATLAS enabled ASP.Net web project. It works fine from VS.Net 2005, but when I copy the project to ISS it doesn't work. I copied the entire solution to C:\Inetpub\wwwroot\ATLASWebDemo, and created a web application called "ATLASWebDemo", but as soon as I execute the page I get "Object reference not set to an instance of an object" Messagebox.

How do I configure IIS to deply this solution to our IIS server (Windows Server 2003)?

Regards

Arno

hello.

have you checked if iis is configured to use asp.net 2.0?


Have got any new ideeas, because I am in the same situation...

Johan

www.helheten.net


Yes, the ASP.Net 2.0 application works 100%, but as soon as I invoke the timer <atlas:TimerControl> I get "Object reference not set to an instance of an object". It works fine when I run it from the VS.Net 2005 IDE, but as soon as I copy the solution to my InetPub folder it doesn't work.

How would you publish a solution that is using ATLAS? I am sure I am missing a setting in IIS or something.

Thank for the speedy reply.


Hi there, no ideas yet, I'll be trying again today, will keep you up to date.

I'm also have the same problem, but also in Cassini.

Here is the server respone for TimerControl request:

<delta><pageError message="Object reference not set to an instance of an object." /></delta></delta>


hello.

well, this means that you're getting an exception on the server side...it's not a configuration problem though.


Here are some suggestions (yes, some are obvious, but you never know):

1) Check to make sure Microsoft.Web.Atlas.DLL is indeed copied over and resides in the bin directory.

2) Check web.config to confirm it has the correct references to Atlas.

3) Look in EventViewer and see if there are any helpful logs coming from the app.

4) Use tools such as FileMon (fromwww.sysinternals.com) to check if there are any permissioning issues that could prevent objects from getting created.

-Jeff

Condition wont work?

Dear all:

here is my code for condition action.

but it looks like not working.

anything wrong?

I can't find any sample in the website.

thanks a lotl

<cc1:AnimationExtender ID="AnimationExtender1" runat="server" TargetControlID="hlProducts"> <Animations> <OnHoverOver> <Condition ConditionScript="$get('divProductsBlock').style.display == 'none';"> <Sequence> </Sequence> </Condition> </OnHoverOver> </Animations></cc1:AnimationExtender>

I have the same problem. Could you solve it?

I even put:

<Animations>
<OnClick>
<Condition ConditionScript="'1'=='1'">

and it dosent work. :(

Someone any idea?