Session Expired Error When Viewing Reports Using ReportViewer Web Control In SSRS 2008?

Jan 13, 2011

I am getting "ASP.NET Session Expired" error when viewing SQL Server 2008 reports using the Microsoft ReportViewer web control. I found this article http://balanagaraj.wordpress.com/2009/09/25/session-has-expired-in-asp-net/ which suggests to use one worker process in IIS application pool, but that may affect performance, is there any other solution for this? I tried setting "AsyncRendering" to false already and that didn't work.

View 2 Replies


Similar Messages:

Reporting Services - Session Expired Error When Viewing A Report?

Oct 11, 2010

I am getting "ASP.NET session has expired" error when viewing a (SQL server reporting services) report using report viewer control. sometimes it works fine and sometimes I get this error, it works fine in Dev, but not in test environment. Please let me know if you have any clues.here is the code for the report viewer control.

ReportViewer1.ServerReport.ReportServerUrl =
new Uri(System.Configuration.ConfigurationManager.AppSettings["ReportServerUrl"]);
ReportViewer1.ServerReport.ReportPath = System.Configuration.ConfigurationManager.AppSettings["ReportPath"];
ReportViewer1.ServerReport.SetParameters(new List<ReportParameter> { new ReportParameter("key", "value") });
ReportViewer1.DataBind();

View 3 Replies

SQL Reporting :: Ssrs 2008 Reports Datasource Error In Test Server?

Oct 18, 2010

i Have upgraded my Reports from Report server VS 2005 to VS 2008 .

My reports works fine in local, development & test server.

After Ugrading to 2008 it works fine in local server & devlopement serverr.

When i deployed to Test server i am trying to access my reports i am getting below errors,

An error has occurred during report processing. (rsProcessingAborted)

Cannot create a connection to data source 'DataSource1'. (rsErrorOpeningConnection) For more information about this error navigate to the report server on the local server machine, or enable remote errors ..

i checked the Datasource conncetion properties..its pointing to correct Test database only..

My reports are windows integrated...

Now it works in srs 2005 developement & test server. For same properties it works in dev server, it doesn't works in srs 2008 test server.

View 1 Replies

SQL Reporting :: Make SSRS Reports Available Through ReportViewer

Dec 29, 2010

I have SSRS (discountasp.net) and I currently display reports on my web page using Reportviewer and use .net code to authenticate them (username/password). Recently I have bought VPS (Windows Server 2008 Web Edition + .net 4.0) and would like to use SSRS the same way as above. I have never done this before so need some guidance on that just to ensure the server is still "safe". Below are some questions that I think are related but feel free to add other comments that I didn't think about.

1) Set up new user? What permissions are required?
2) Configure SSRS to for external connections?
3) Firewall?

View 2 Replies

SQL Reporting :: Use The ReportViewer To Display SSRS Reports?

Mar 26, 2010

Starting to look into an web app thet uses the ReportViewer to display SSRS reports. This is for SSRS 2008. What would be the best way to go about the follwoing: The reports are sales reports so only ceratin people will get to see certain reports.

1: If a user opens a report which they can see and that report has a subreport which they can't, will the subreport still be viewable?

2: If the webapp will be used by many different people internally and eventually by outside people, what is the best security startegy to use, just plain ServerReportCredentials passing, or something else?

View 1 Replies

C# - MVC 2 And The Reportviewer With SSRS 2005 - White Page, No Error

Nov 15, 2010

I am having an issue with my reportviewer where nothing is visible, not even the control. If I add other content, it shows, but the reportviewer is not. I am using the 9.0.0.0 version of the control with SSRS 2005 inside an MVC 2.0 application. I have built and deployed the report to the server. I have confirmed by looking on the report server and running it there.

My app is MVC 2.0
I have added a regular webforms page into the root of the website. I put it in a form, runat=server, and enabled viewstate. I have added the .aspx routing exception My code behind is set up similarly to every example I can find. My webconfig is configured (maybe that is where my issue is) I set up a manual test by forcing the correct values in and I get the same blank page. I have a reference to the 9.0.0.0 versions of Microsoft.ReportViewer.WebForms and Microsoft.ReportViewer.Common and as you can see my web.config matches my references.

The page appears white - no control is visible. No errors are thrown. As I remembered it, there should at least be a blank Reportviewer control on the page, however there isn't anything there at all.

A few other oddities - If I remove the parameter setting, no error occurrs. I also added code to send in credentials, but that did not work, even when sending in the credentials for the administrator account.

Report.aspx

<%@ Page Language="C#" AutoEventWireup="true" ViewStateMode="Enabled" CodeBehind="Report.aspx.cs" Inherits="MySite.Web.Report" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<html>
<body>
<form id="form1" runat="server">
<rsweb:ReportViewer ID="reportViewer" EnableViewState="True" runat="server" />
</form>
</body>
</html>

Routing Exceptions

routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.IgnoreRoute("{resource}.aspx/{*pathInfo}");

Code Behind

protected void Page_Load(object sender, EventArgs e)
{
var qs = ReportQueryString.Parse(Request.QueryString["R"]);
reportViewer.ServerReport.ReportServerUrl = ConfigurationHelper.Reports.ReportServerUrl;
reportViewer.ServerReport.ReportPath = String.Format(ConfigurationHelper.Reports.ReportPath, qs.ReportName);
var result = from p in qs.Parameters
select new ReportParameter(p.Key, p.Value);
reportViewer.ServerReport.SetParameters(result);
reportViewer.ServerReport.Refresh();
}

Web.config

<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>
<buildProviders>
<add type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" extension=".rdl" />
</buildProviders>
</compilation>
<pages>
<namespaces>
<add namespace="Microsoft.Web.Mvc" />
<add namespace="System.Web.Mvc" />
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Routing" />
<add namespace="System.Drawing" />
</namespaces>
</pages>
<httpHandlers>
<add type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" path="Reserved.ReportViewerWebControl.axd" verb="*" />
</httpHandlers>

EDIT:

As requested, here is the page source. On a side note, I am using Chrome, but I did try IE with the same result.

<html>
<body>
<form method="post" action="Report.aspx?R=rYeJ28xc7emx1PJPgiRkOi1lXjmmNE6pF7aJrEJ443w*" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTE0NzMwNTUwMTgPZBYCAgEPZBYCAgEPFCsABA8WAh4OUmVuZGVyaW5nU3RhdGULKZUBTWljcm9zb2Z0LlJlcG9ydGluZy5XZWJGb3Jtcy5SZXBvcnRSZW5kZXJpbmdTdGF0ZSwgTWljcm9zb2Z0LlJlcG9ydFZpZXdlci5XZWJGb3JtcywgVmVyc2lvbj05LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2ECZCgpWFN5c3RlbS5HdWlkLCBtc2NvcmxpYiwgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkkOTQ5NWQxOTEtMmVmMy00OTJlLTk1ZTgtMzRhZDBkYWI4ZGM4AgEUKwABFCsAAgIBZBYKZg8PFgIeB1Zpc2libGVoZGQCAQ8PFgIfAWhkFgICCA8PFgIfAWhkZAIGDxYCHgVWYWx1ZQUBMGQCBw8WAh8CBQVmYWxzZWQCCA8WAh8CBQVmYWxzZWRkvlE8tEXOwYRIWVLykp+GFwUxbrW+MAtpUdojqbM994U=" />
</div>
<script src="/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=9.0.30729.4402&Name=Microsoft.Reporting.WebForms.Scripts.ReportViewer.js" type="text/javascript"></script>
<div class="aspNetHidden">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBgLgrv+UCwL8sqiiBgL8sqyiBgL8srCiBgL8srSiBgL8stiiBkbkdSlUJxfVD65mS2OQpfO01z367cPQhXOdmZguuzmc" />
</div>
<div id="reportViewer" style="display:inline-block;height:400px;width:100%;">
<Script language="javascript"><!--
if (document.getElementById('reportViewer') != null)
{
document.getElementById('reportViewer').ClientController = new RSClientController("reportViewer_ctl03", "ReportFramereportViewer", "/Reserved.ReportViewerWebControl.axd?Mode=true&ReportID=b003c2a678b44c71b949617a693d4f8c&ControlID=9495d1912ef3492e95e834ad0dab8dc8&Culture=1033&UICulture=1033&ReportStack=1&OpType=DocMapArea&Controller=reportViewer&RootLabel=&BackColor=%23ECE9D8&Border=1px+Black+Solid&Font=font-family%3aVerdana%3bfont-size%3a8pt%3b", "25%", false, "/Reserved.ReportViewerWebControl.axd?Mode=true&ReportID=2558c6ccaa09444ea46bd3062bc553dd&ControlID=9495d1912ef3492e95e834ad0dab8dc8&Culture=1033&UICulture=1033&ReportStack=1&OpType=ReportArea&Controller=reportViewer&LinkTarget=_top", true, true, true, true, true, true, "reportViewer_ctl06", false, "/Reserved.ReportViewerWebControl.axd?Mode=true&ReportID=66fb690f271c48d59bc881cd0f07421d&ControlID=9495d1912ef3492e95e834ad0dab8dc8&Culture=1033&UICulture=1033&ReportStack=1&OpType=Export&FileName=&ContentDisposition=OnlyHtmlInline&Format=", "PrintFramereportViewer", "/Reserved.ReportViewerWebControl.axd?Mode=true&ReportID=c1c1698c78c7476b8a04e03424d3a36c&ControlID=9495d1912ef3492e95e834ad0dab8dc8&Culture=1033&UICulture=1033&ReportStack=1&OpType=PrintHtml", "reportViewer_ctl07", "reportViewer_ctl00", "reportViewer_ctl08");
document.getElementById('reportViewer').ClientController.PostBackAction =
function(actionType, actionParam)
{
document.getElementById("reportViewer_ctl04").value = actionType;
document.getElementById("reportViewer_ctl05").value = actionParam;
doPostBack('reportViewer','');
};
}
--></Script><input type="hidden" name="reportViewer$ctl04" id="reportViewer_ctl04" /><input type="hidden" name="reportViewer$ctl05" id="reportViewer_ctl05" /><input type="hidden" name="reportViewer$ctl06" id="reportViewer_ctl06" value="0" /><input type="hidden" name="reportViewer$ctl07" id="reportViewer_ctl07" value="false" /><input type="hidden" name="reportViewer$ctl08" id="reportViewer_ctl08" value="false" /><noscript>

Your browser does not support scripts or has been configured not to allow scripts.

</noscript><Script language="javascript"><!--
document.getElementById('reportViewer').ClientController.CustomOnReportLoaded = function() {};
document.getElementById('reportViewer').ClientController.CustomOnAsyncPageChange = function() {};
document.getElementById('reportViewer').ClientController.CustomOnDocMapVisibilityChange = function() {};
document.getElementById('reportViewer').ClientController.CustomOnPromptAreaVisibilityChange = function() {};
document.getElementById('reportViewer').ClientController.CustomOnReloadDocMap = function() {};
--></Script>
</div><iframe name="reportViewerTouchSession0" id="reportViewerTouchSession0" onload="if (frames['reportViewerTouchSession0'].location != 'javascript:''') frames['reportViewerTouchSession0'].location.replace('javascript:''');" src="javascript:''" style="position:absolute;width:0;height:0;border-width:0;visibility:hidden;">
</iframe><script type="text/javascript">
setTimeout("frames['reportViewerTouchSession0'].location.replace('\/Reserved.ReportViewerWebControl.axd?Mode=true&ReportID=dd0df78cbe0d4c119d2af4e5a13a33b7&ControlID=9495d1912ef3492e95e834ad0dab8dc8&Culture=1033&UICulture=1033&ReportStack=1&OpType=SessionKeepAlive&TimerMethod=KeepAliveMethodreportViewerTouchSession0&CacheSeed=' + encodeURIComponent(Date()));", 0);function KeepAliveMethodreportViewerTouchSession0() {setTimeout("frames['reportViewerTouchSession0'].location.replace('\/Reserved.ReportViewerWebControl.axd?Mode=true&ReportID=dd0df78cbe0d4c119d2af4e5a13a33b7&ControlID=9495d1912ef3492e95e834ad0dab8dc8&Culture=1033&UICulture=1033&ReportStack=1&OpType=SessionKeepAlive&TimerMethod=KeepAliveMethodreportViewerTouchSession0&CacheSeed=' + encodeURIComponent(Date()));", 1140000);}
</script><Script language="javascript"><!--
document.getElementById('reportViewer').ClientController.ShowInitialWaitFrame();
--></Script>
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
</form>
</body>
</html>

View 1 Replies

SQL Reporting :: Getting Timeout Expired Error In Local Reports?

Oct 1, 2010

I am using local reports(rdlc) fils for reports generation in asp.net I am getting timeout expired error when i have more number of records. I am able to view the preview if there is less number of records. I have also added following code in by Submit button. I have tried by giving Connect TimeOut=3600 in Web.confing file at Connection. But not worked. I am using stored procedure to get the records and it was executed with in 3 secs. Very urgent give me any solution.I have also tried by adding following code also.da.SelectCommand.CommandTimeout = 0

View 4 Replies

.net - Chart Control Inside SSRS ReportViewer Is Viewable From Localhost But Not Internet?

Feb 24, 2010

A project I own was just moved from an older server to a new one, and in the process of moving the web folder, re-deploying the SSRS reports, restoring the database, configuring IIS, etc... I have lost the ability to view the Microsoft Chart Controls that are embedded in the SSRS reports, that are then displayed by a Microsoft.ReportViewer.

I could view them both locally and remotely (via the internet) on the old server. I can view them if I preview the SSRS report in Visual Studio. The report displays fine, only missing all the embedded charts. I can still view them locally through the web browser, just not from the internet.

I tried giving permissions to the ChartImageHandler temp storage folder, but it didn't work.

I'm getting the Javascript error: Error: ClientReport380ec8ca0c294a809e9986c1bef9db1c is undefined

View 4 Replies

SQL Reporting :: SSRS 2005 Error After Uploading New Reports?

Oct 4, 2010

I have been developing reports using BIDS 2005 and deploying them to a report server on my development machine.

These reports can be called succesfully from both the report manager and my asp.net website.Everything has been working fine.

Some time back some early versions of the reports were deployed to a test server in order that they could be tested away from the development machine. The reports processed successfully.Today I have uploaded a number of completed reports (using Report Manager) to the test server and am getting an error message for each one when I try to run it direct from Report Manager.

The message is: "An error has occurred during report processing Common Language Rutime detected an invalid program"

I've been trying to resolve this for a few hours now and am getting nowhere. Google has thrown up some finds on the error message but these seem to refer to people having issues with the compilation of large methods or forms with a very high number of controls.I can't see this being appropriate because most of the reports are relatively simple and the most complex probably has only 100 different controls.

View 1 Replies

State Management :: Error: Your Session Has Expired. Please Refresh Your Browser?

Feb 24, 2011

I receive the error message "Error: Your session has expired. Please refresh your browser." When I export a table in ASP to Excel. I know for a fact that the correct data to export exists. Everything works fine except for this error message. I don't see how the session on a browser could run out in a matter of the one second it takes for the Excel file to pop up

View 2 Replies

SQL Reporting :: CS0102 Error On ReportViewer Reports Using VS2010 Professional?

Sep 13, 2010

I am trying to build reports using the ReportViewer feature in Visual Studio 2010 Professional and I am encountering the following error when I try to run the aspx page containing the report.Compiler Error Message: CS0102: The type 'SupApps_SecurityDataSet' already contains a definition for '_schemaSerializationMode'The error is stating the issue is on line 27 of the file but I dont see how to view the code on a rdc file in Visual Studio.

HERE IS THE CODE FOR THE ASPX PAGE

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="QMDailyJournalReport.aspx.vb" Inherits="reports_QMDailyJournalReport" %>

View 1 Replies

SQL Reporting :: Printing .rdl Reports Using The ReportViewer Control From Webpage To Users Client

Oct 19, 2010

I have developed a set of ssrs .rdl reports and am trying to display them from the reportviewer control embeded in my asp web page. The problem is that when I select the print icon on the reportviewer control I am prompted to install ms sql server. What is the best way to print .rdl reports from the web page's embeded reportviewer control to the client's local network printer.

View 2 Replies

SQL Reporting :: Session Does Not Timeout On Using ReportViewer Control?

May 9, 2010

We are using the ReportViewer control to display SSRS reports in our ASP.NET application. On pages where we use the ReportViewer control the session does not time out. The reason for this is the ReportViewer control emits a "setTimeOut" javascript function which reads the Session timeout value from the web.config and pings the server 1 minute before the configured value. For example, if the session timeout value is 5 minutes, the ReportViewer pings the server on the 4th minute. We used fidldler to verify this behavior. In aiddition, if we remove the ReportViewer control from the page, the sessions times out as expected.

We also tried using the ReportViewer control in a sample application and observed the same behaviour.

View 3 Replies

SQL Reporting :: Differences Between Ssrs Reports And Crystal Reports?

Oct 20, 2010

differences between ssrs reports and crystal reports?

View 2 Replies

Changing Row Height In Excel After Rendering By ASP.Net SSRS ReportViewer

Jan 21, 2010

I have an SSRS report that has a Comments field where there's enough text to span multiple rows per record. It renders fine in the ASP.Net ReportViewer control, but when it's exported the formatting can be different. Exporting to Word it looks fantastic. But exporting to Excel and PDF, the row height for each record is never increased beyond the default, so the text just gets truncated. In Excel I can go in and double-click on individual or multiple row heights to fix them, but this is an extra step we don't want.

View 2 Replies

SQL Reporting :: C# Code Call SSRS Subreport From ReportViewer?

Nov 18, 2010

Any C# Code or any setting in Reportviewer to call SSRS Subreport from ReportViewerThe SSRS Subreport executes properly from report manager.

View 1 Replies

State Management :: Differentiate Between New Session Create For New Website Visit Or Session Expired

Mar 2, 2011

I have a problem by getting session which created for new site visit or session expired.

View 3 Replies

Visual Studio :: Error Viewing Images, Control And Debug Errors When Loading VWD 2010 Express

Jun 25, 2010

I recently upgraded from VWD 2008 Express to VWD 2010 Express. A problem has developed in that the website's graphics no longer appear in Design mode, there are "Error Creating Control" error messages that did not exist before, and also debugging errors that did not exist before. (Note: these problems did not exist when I first used VWD 2010; they may have originated with recent automatic Windows updates (I use Vista Home Premium SP2 with IIS 7)). The problem exists if I open the website either as a project file or as a website directory.

View 1 Replies

Crystal Reports :: Viewing RPT File Via PDF?

Dec 15, 2010

We are operating an ERP layered architecture using SOA, developed in asp.net (c#) with the help of Nhibernate(spring ver 1.1.1.0) in Windows 2003 Server. When viewing a quite large output file we encounter an error; "ComException(0x80000237): the file size was not large enough to format the contents of an object in the report failed to export the report". We checked the ways & means to increase the temp directory in windows.

View 1 Replies

VS 2008 - SSRS Error "Cannot Create A Connection To Data Source DsDB"

Feb 19, 2010

I have put my web project (which uses reporting services) into the web server for testing. All works fine on th elocal machine but on the server I get this error when trying to access the reports: The permissions granted to user 'NT AUTHORITYNETWORK SERVICE' are insufficient for performing this operation. (rsAccessDenied) I have now done this: go to the property tab and create a new group with name BUILTINUsers
And in the role assignment tick browser role Now the error is :

An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'dsDB'. (rsErrorOpeningConnection) For more information about this error navigate to the report server on the local server machine, or enable remote errors

View 3 Replies

Viewing Crystal Reports Other Than Through Custom Developed Webform Or Winform Apps?

May 19, 2010

At work we currently have a custom in-house built winforms app for the business users to view reports. It has role-based security and several administrator functions.My boss is thinking about getting me to port this app to webforms.My question is, are there options other than custom built winforms and webforms apps for deploying/viewing/administrating Crystal Reports at an enterprise level (role-based security, easy report deployment, etc)? I'm thinking about third-party packages or perhaps applications provided by Microsoft/Business Objects/SAP?

View 1 Replies

VS 2008 Concurrent Viewing And Logon ID?

Jun 7, 2010

I am a windows application developer doing a web application with VB.net and SQL 2008 for the first time.

I have developed a web application where users are supposed to view a file after selecting from a listbox. I then pick the users logon ID from windows then store in database and produce statistical reports later. It was working fine on my local machine till i deployed it on server to make it accessible on the intranet. The server OS is Windows 2008 Server and runs IIS. My issues are as follows,

1. The application is unable to store the user logon id from the client.
2. When more than one user uses the application, then there are errors but one user does not produce errors.

View 7 Replies

C# - Programmatically Exporting Reports Via SSRS API?

Dec 7, 2010

I have a custom interface where my users select multiple reports and export them all at once. I need to programatically export these reports and preferably offer all the same format options. I understand this can be done through the SSRS API.

View 1 Replies

Detecting An Expired Session From Php?

Feb 23, 2011

I'm developing an extra section to a web app that's written in asp.net, but in php - it's mostly done (the two parts don't really communicate with each other outside of a database - the integration is mostly just cosmetic.)

The only issue I have is detecting from the php part when the .net session has expired so that it logs the user out and redirects to the login page.

I believe the asp.net application is compiled, but either way I'm not allowed to alter it so I was thinking maybe the best thing to do would be to make a very small/simple aspx page that outputs true or false which I could call using curl from php (and passing the browser's cookies along.)

Would this even be possible? I'm not sure how session security works on asp.net eg whether one .net application can read another's session variables, but if it's anything like php then it'll be possible.

mypage.php --curl--> checksession.aspx --|
| |
<----------- true / false <---------------

So mypage issues a GET (with cookies from browser) to checksession using curl, checksession simply returns a true or false (or something like that) and mypage redirects to the site's login page if that's false.

The authentication for the php side is already sorted out and is separate to this issue.

So really, what I need to know is can I have just a simple .aspx file that does this check, and if so where would I go to to find out how to program such a simple page?

View 3 Replies

VS 2008 - PDF File Is Locked When Viewing Through Website

Sep 2, 2011

I have a web page in my project that views a selected pdf file. The problem is the file stays locked with the process w3wp.exe which I assume is the adobe file reader or something. How I can release this process after viewing it? Or another way of viewing it without locking the file?

Here is how I am doing it:

Code:

Dim File1 As String = System.Configuration.ConfigurationManager.AppSettings("Report")
Dim R1 As String = Page.Request.QueryString("r")
If R1 <> "" Then
Dim path As String = File1 & R1

[Code]..

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved