TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
-
Narcís
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
-
Contact:
Post
by Narcís » Tue May 22, 2007 2:30 pm
Hi MikeTheLad,
Thanks for the project. We could reproduce the problem here and finally found what was causing the problem. It is in web.config, the following code snippet was denying the use of your application to all users:
Code: Select all
<authorization>
<deny users="?" /> <!-- Allow all users -->
<!-- <allow users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
<deny users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
-->
</authorization>
Should be changed to:
Code: Select all
<authorization>
<allow users="?" /> <!-- Allow all users -->
<!-- <allow users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
<deny users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
-->
</authorization>
-
MikeTheLad
- Newbie
- Posts: 65
- Joined: Mon Jan 19, 2004 5:00 am
Post
by MikeTheLad » Tue May 22, 2007 2:43 pm
Narcís, thanks. I have tried changing this on the project I sent yourself and I still get the red cross. If I change this code on the actual project, the project will not even load.
-
Narcís
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
-
Contact:
Post
by Narcís » Tue May 22, 2007 2:51 pm
Hi MikeTheLad,
We have been playing around quite a lot with your project and we got it working making this change. I'm attaching the project you sent us with the modifications we did here. Could you please test if it works fine at your end?
Thanks in advance.
-
MikeTheLad
- Newbie
- Posts: 65
- Joined: Mon Jan 19, 2004 5:00 am
Post
by MikeTheLad » Tue May 22, 2007 3:11 pm
Narcís, thanks again. Ok the one you sent works fine. I have worked out that I need to change the web.config as you said. But also the getchart.
I have done the getchart on the live project and it still does not work as I need to change the web.config from deny to allow, but when i change this the website will not load and get page not found.
-
Narcís
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
-
Contact:
Post
by Narcís » Wed May 23, 2007 8:01 am
Hi MikeTheLad,
Yes, we changed GetChart.aspx to make sure the problem didn't came from there. If the project I sent works fine at your end you could try checking the differences with your project.
-
MikeThelad
- Newbie
- Posts: 7
- Joined: Fri Jan 16, 2004 5:00 am
- Location: UK
Post
by MikeThelad » Wed May 23, 2007 10:59 am
Narcis, I have worked differences out. It is just why when I change my web.config to allow, my site does not work. Is there any other way I can change the web.config to work but without changing this line.
-
Narcís
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
-
Contact:
Post
by Narcís » Wed May 23, 2007 1:51 pm
Hi MikeThelad,
You could try creating a new empty ASP.NET project, copy the web.config generated there to your not-working project and then start adding the differences between existing web.config and new web.config until you find what makes the difference.