Solved

PageRequestManagerParserErrorException -> ISA server settings

Posted on 2008-09-29
8
607 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
  • 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Common practice undertaken by most system administrators is to document the configurations and final solutions of anything performed by them for their future use and reference. So here I am going to explain how to export ISA Server 2004 Firewall pol…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now