Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

PageRequestManagerParserErrorException -> ISA server settings

Posted on 2008-09-29
8
Medium Priority
?
632 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

824 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