Solved

PageRequestManagerParserErrorException -> ISA server settings

Posted on 2008-09-29
8
620 Views
Last Modified: 2010-04-21
I already posted a detailed question on this subject (question ID = 23749777) but without any solution.

Now I discoverd that our ISA server has a SSL client Certificate Timeout  = 300 seconds.
This explains I think why I still have this parser error after a period of 5 minutes.

What is now the best solution? Increase the timeout (secure????) of another way to get rid of the problem.
0
Comment
Question by:erwin_des
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 2

Expert Comment

by:nenwmn
ID: 22595728
Parser errors are caused by the use of incorret syntax in the ASP.Net script page. Problems in the definition of ASP.Net controls in the web form will cause parser errors.
Regards, Neil
0
 

Author Comment

by:erwin_des
ID: 22595961
No, the problem is not the code but the interference of ISA server.
I used a simple example of an Updatepanel an used that in place of out site. It generates the same error after some time.

I also noticed now that ISA has been set for  "Validate credentials every 300 secords".




0
 
LVL 2

Expert Comment

by:nenwmn
ID: 22598868
Are you using windows athentication in a domain environment?
If so what authentication method is used?
Regards, Neil
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

Author Comment

by:erwin_des
ID: 22598948
We have to design this application for an intranet -> using Windows authentication (with active directory groups etc.). But, our client wants to  follow the progress of our application and test it already during our development... so we put it on the internet (via HTTPS).

Any suggestions on changing our settings here?

0
 
LVL 2

Expert Comment

by:nenwmn
ID: 22599262
You could use the method below IIS and SQL server can manage the security.
The site needs to be configured to use Integrated Windows Authentication.

Use aspnet_regsql
aspnet_regsql -S Local\SQLExpress -E -A all -d MyDatabase

This will install the ASP Net tables, change the switch when all tables are not required.
Create some roles and add the users domain login to these roles then configure IIS to restrict anonymous access and use windows athentication.
Add entries in the web.config for the sql provider.. I use this approch in a domain environment over vpn using proxy.
 
Regards, Neil
0
 

Author Comment

by:erwin_des
ID: 22599385
This seems intersting.

Although, I have to admit that our situation seems still different : the application we are developping has te work in antoher Domain than ours. This means that the testusers are not defined in our Active Directory.  Their credentials are taken care off at the ISA level.

Perhaps I can still use your solution too but i'm not sure they will let me configure the external users in our domain...

Does your solution really avoid any interference with ISA-server? Are yu using AJAX intensively in your website too?
In that case, it might me usefull to give me some additional information for this setup. I have to negociate internally for this solution...




0
 
LVL 2

Accepted Solution

by:
nenwmn earned 500 total points
ID: 22600494
Install ASP.Net tables in a SQL Server Express database and grant ASPNET permission.

SQL Script,
EXEC sp_grantlogin 'MachineName\ASPNET'
USE thisDatabase
EXEC sp_grantdbaccess 'MachineName\ASPNET'
EXEC sp_addrolemanager 'db_owner', 'MachineName\ASPNET'
Add Roles and user to the db tables

SQL Script  'the app name is linked in the web config rolemamanger relation'
EXEC aspnet_Roles_CreateRole 'AppName', "RoleName'
EXEC aspnet_UsersInRoles_AddUsersToRoles 'AppName', 'Domain\LoginName', 'RoleName', 8
Web Config
<connectionstrings>
     <add name="SqlRoleManagerConnection" connectionString="Data Source=local\sqlexpress;Initial Catalog=thisdatabase;Integrated Security=SSPI;"/>
</connectionstrings>

<authentication mode="Windows"/>
<authorization>
       <deny users="?"/>
</authorization>
<roleManager enabled="true" defaultProvider="SqlRoleManager">
<providers>
     <add name="SqlRoleManager" type="System.Web.Security.SqlRoleProvider" connectionStringName="SqlRoleManagerConnection" applicationName="AppName"/>
</providers>
</roleManager>

<location path ="Forms/Default.aspx">
     <system.web>
     <authorization>
     <allow roles="RoleName"/>
     <deny users="*"/>
     <authorization>
     <system.web>
</location>

IIS,
Disable anonymous access and enable Integrated Windows Authentication.

let me know the configSections where json is configured.

Regards, Neil


 
0
 

Author Closing Comment

by:erwin_des
ID: 31501149
Thanks for your suggestion, Neil. Unfortunately, in the current project my company has decided not to implement this. However, I will, in a few months try out your suggestion.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been asked to explain on many, many occasions the correct way to setup network cards and DNS settings on ISA Server 2004, 2006 and forefront Threat management gateway (FTMG) and have willing done so. I have also promised my self everytime tha…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question