Solved

PageRequestManagerParserErrorException -> ISA server settings

Posted on 2008-09-29
8
612 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

830 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