Description:
An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Line 5:
Line 6: <script language="javascript" type="text/javascript">
Line 7: var sessionTimeoutWarning = '<%= System.Configuration.ConfigurationSettings.AppSettings["SessionWarning"].ToString()%>'; Line 8: var sessionTimeout = "<%= Session.Timeout %>";
Line 9: var timeOnPageLoad = new Date();
afastars
Member
52 Points
221 Posts
Re: Session Time Out Error
Dec 30, 2012 07:29 AM|LINK
still got error message furry
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30203: Identifier expected.
Source Error:
dotnetramesh
Member
74 Points
37 Posts
Re: Session Time Out Error
Dec 30, 2012 07:39 AM|LINK
Hai
Check your webconfig and your code from vijay_myl ways
<configuration>
<appSettings>
<add key="var1"value="SomeValue"/>
</appSettings>
<connectionStrings>
<add name="MyConnString"connectionString="Data Source=(local);Initial Catalog=Northwind;Integrated Security=True;"/>
</connectionStrings>
...
<configuration>
To read these entries using javascript, use the below:
<script type="text/javascript">
function ReadConfigSettings()
{
var conn='<%=ConfigurationManager.ConnectionStrings["MyConnString"].ConnectionString %>'
alert(conn);
var v1 = '<%=ConfigurationManager.AppSettings["var1"].ToString() %>'
alert(v1);
}
</script>
To read these entries using JavaScript , use the below:
and look this
http://forums.asp.net/t/1795429.aspx/1
http://forums.asp.net/t/1552985.aspx/1