Solved

PageRequestManagerParserErrorException -> ISA server settings

Posted on 2008-09-29
8
606 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
Comment Utility
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
Comment Utility
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
Comment Utility
Are you using windows athentication in a domain environment?
If so what authentication method is used?
Regards, Neil
0
 

Author Comment

by:erwin_des
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 2

Expert Comment

by:nenwmn
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

763 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

6 Experts available now in Live!

Get 1:1 Help Now