asp.net-1.1

How to transform a WebService call that is using behaviours?

We have some really old code that calls WebServices using behaviours (webservice.htc), and we are having some strange problems... since they've been deprecated a long time ago, I want to change the call. What's the correct way of doing it? It's ASP.NET 1.1 EDIT: Please stop re-tagging when it's not needed. Refer to the FAQ ...

How do I logout of multiple asp.net applications?

I have a main asp.net app, which is written in asp.net 1.1. Runnning underneath the application are several 2.0 apps. To completely logout a user can I just logout of the 1.1 app with FormsAuthentication.SignOut or is it more complicated than that? ...

What is the best way to print screens from an ASP.NET page .NET1.1/.NET2.0

I have seen examples of printing from a windows application but I have not been able to find a good example of any way of doing this. ...

ASP.NET 1.1 Page_ClientValidate Debugging

I have an ASP.NET 1.1 application, and on my local machine the submit button on my page works fine, but when I deploy it to our development application server, I click on Submit and nothing happens.. I'm assuming that the Page_Validate() function is failing and disabling the POSTBACK, but how do I debug this and determine what is failing...

Determine when application cache item will timeout?

In ASP.NET, when storing a value in the application cache with absolute expiry is there a method to retrieve the date/time when the item will expire? The application cache item will be refreshed if expired based on user requests. ...

Writing a cookie from an ASP.Net HTTPHandler - Page.Response object?

Hey all, I am creating an HTTP handler that listens for calls to a specific file type, and handles it accordingly. My HTTP Handler listens for .bcn files, then writes a cookie to the user's computer and sends back an image... this will be used in advertising banners so that the user is tagged as seeing the banner, and we can then offer...

HttpHeaders in ASP.NET 1.1

How do I read the Response Headers that are being sent down in a page ? I want to be able to read the header values and modify some of them. This is for an ASP.NET 1.1 application but I would be curious to know if it can done in any version of ASP.NET. The reason for doing this is someone may have added custom headers of their own befor...

Run time error in ASP.Net 1.1

I am using Windows 2003. I have mapped a web application into a virtual directory. This is built on framework 1.1 When i try to browse to the default page i get a error as Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and mod...

window.showModalDialog Page Load not being executed.

I am actually loading a page as a modal dialog box as window.showModalDialog("url.aspx"). The first time the modal dialog is poped up the page load event gets called. When i close it and call the same again, the Control does not come to the PageLoad. Instead the page pops up with the previous values in all its controls. I actually want...

Hidden Input Field causes potentially dangerous Request.Form value error

In my ASP.NET 1.1 application, I am compressing and replacing the hidden Viewstate variable with an alternate compressed value, stored in a hidden field called __VSTATE. This works well but on a few occasions, submitting a page causes the common "potentially dangerous Request.Form value ..." error. I examined the __VSTATE value and noth...

Setting Response.ContentType="image/tiff" in asp.net 1.1 and IE7 doesn't display tif files

I have an Asp.Net 1.1 application that uses the following code to write out an image file to a pop up web page. Response.ContentType="image/tiff" 'Only for Tif files Dim objStream As Object objStream = Server.CreateObject("ADODB.Stream") objStream.open() objStream.type = 1 objStream.loadfromfile(localfile) ...

Sql Server 2005 only accessible in ASP.NET 1.1 when I specify protocol and port

My company is currently migrating some of their really old db's to sql server 2005. Some legacy apps have problems connecting to the new server. The connection string works in Asp.NET 2.0, probably because it assumes tcp:1433 automatically. I have to construct the connection string like this in ASP.NET 1.1 for it to work: "Server=tcp:m...

Aspx change causing a reload?

We have a setup here that is less than ideal, We have our webserver configured so that there is a global application and then we have each web applications dll ( hundreds ) in WEBROOT/bin Recently I made a change to a ASPX page in .NET 1.1. and we I went to check the change it was complaining that a seperate and totally unconnected DLL ...

ASP.Net 1.1 with Wildcard Mapping gives 404 on default documents.

I have an application where it was requested that a friendly url be made for a dynamic page that uses a lot of query string values. After some research on the Internet, I found that I needed to create either an HttpModule or HttpHandler to do the routing and then setup a wildcard mapping to the .Net v1.1 of aspnet_isapi.dll in IIS (remo...

How to get shared folder on remote system using IP addresses in asp.net 1.1

Get names of shared folder on remote system using there IP addresses using asp.net ...

IE prompts for password when saving an excel file

File is sent to the client using Response.writefile and content diposition as inline. When user chooses to Save As, they are asked to authenticate with IIS again even though Anonymous access in enabled ...

Why would upgrading from SQL Server 2000 to 2005 result in slower queries?

Are there any common reasons why upgrading a database from SQL Server 2000 to SQL Server 2005 would result in slower queries? This is coming from an ASP.NET 1.1 application with hundred of tables, everything is indexed and seems to run well on the older version. ...

Using SSRS in ASP.NET 1.1

Is it possible to use SSRS for reports in an ASP.NET 1.1 application? Is there a report viewer control for ASP.NET 1.1? If not is there any workaround for this? ...

Legacy ASP.NET 1.1 with jQuery integration problem

I am working on a legacy web application written in VB.NET for ASP.NET 1.1. One particular page has a form with a number of fields. In response to a drop down box changing value, I am clearing a number of fields, resetting a number of drop down boxes to the first option, and setting them all to "disabled" in the UI. To do this, I'm us...

IIS7 Response.WriteBuffer not working

We have an ASP.NET 1.1 application that uses Crystal Reports to spit out an excel spreadsheet. The codes works under IIS6 but when we try to migrate it to IIS7 it is spitting out html with no content instead of the Excel file. The MIME Type exists. Below is the code we are using. I did not write this code as I'm working primarily in ...