I am pretty new to asp.net, and have recently taken over a project. I have
gotten to the point where I am about to release my changes, but for some
reason when i build the project in release mode and launch in in IE I always
get a "The Page cannot be displayed" page instead of my login form.
Anyone have any ideas? The applciation works fine in debug mode, its just in
release mode that this happens.
We have an webservice application that has a memory leak when the application is compiled release mode. However, when the application is compiled in debug mode it does not exhibit a memory leak.
We are running .net 1.1 compiled with VS 2003.
The application does reference an unmanaged dll that provides security functionality. This dll is instantiated once and referenced on every web service call.
I am running an ASP application from within VS .NET 2003. When I run, the files are put in readonly mode, even thought its only an ASP page. Is there a way to edit the ASP (not ASP.NET) page (not in the middle of debugging ofcourse) without quitting debug mode
how can i get the data submitted by the previous form using " for each x in Request.Form " and display them same as the the previous form before and the only different is tat this time the all the data in this form is being disabled. (the data may consists from text box, combo box, radio button, etc.) . just wondering is there any way to perfrom like this..
I'm using classic ASP. I made a change to a page and I got a Page Cannot Be Displayed error. I changed the code back and now I get the same thing. Other pages can run and access the db server.
I tried taking out includes and bypassing some code. I've also checked both the Application and Event logs on the server and there doesn't seem to be anything obvious there. I'm not using any components. Can anybody give me an idea as to the types of things that cause this problem?
I have a form from html called "rcf" and it suppose to get the data from users and send it to the database.but from my form to my add_rcf.asp page I get a "The " message.I uploaded the files.
i am tryint to access this ASP website, but it keeps giving me the msg PAGE CANNOT DISPLAY. when i send the url to my friend, it load for them just fine. can someone tell me if ther are any option i have to chang or any way of solving this problem?
Anyone with any internet account can access to the first site, but to enter to the 2nd, u need to have a special internet account (say, a certain supplier).
The general menu is on the Internet website, but one of the items in the sub-menu, links to a page On the INTRANET. If u r not authorized (=did not use the certain internet account), then u get the page "The page can not be displayed".
How do I redirect the "page can not be displayed" to the help page, and of course, redirect it ONLY when the "page can not be displayed" page is there b/c of linking from this sub-menu, or b/c of trying to reach directly to the Intranet certain URL that this sub menu links to.
I have a dynamically populated page, and for one of the records the page is not completely displayed. When I click view source, the code is complete but about half of the code isn't shown on the page.
I had a problem which will cause the user to get an error page cannot be displayed. But this error only happened on one of my users, the rest are able to login to my site.
what might had caused the user to get "page cannot be displayed error"? Is that due to internet security settings? Or error with my code?
I got a test asp page which connects to Northwind.mdb database. This page pulls all the rows from the Customers table. One column i.e. GoodStatus has been added to the customers table. The following is the code to display all records of the customers table with some customization. Code:
Is that possible that I can send request to IIS Server after a .ASP page is displayed? My Requirement is:
Clinet will Fill the Details in one Request Form after the details are filled then the Request Files will be shown to the user as Link in Another page. (Currently before Sending the Link Page to Customer I am updating DB in Different Servers Located Different Palces - So It takes Time).
So What is My Requrement is After the user gives his details - I will directly display the Link Page and After the Link Page is Sent to Browser then I will Execute / Update the DB.
I currently have a few asp pages linking together. On one page (postNew1.asp) it has a form that allows administrative users to enter a new form.
When creating a new form, there is also a file input box for the user to upload a filename.
If the user does not enter a correct filename, I have an alert box showing "invalid filename" when ever the user presses the "OK". It will not allow him to go anywhere until he enters a valid filename. Code:
I use vb create a DLL compoment(SessionManger.dll) which is used in ASP page.
in ASP page(test.asp) code: <%@ Language=VBScript %> <%response.buffer = true%> <% dim Session set Session = server.CreateObject("SessionMgr.Session2") Session("UserName")="gc" ......
Set Session=Nothing %>
In IE, when launch test.asp ,and after a while close it, I founld SessionManger.dll file is still being in the memory, and have to restart IIS.
am just wondering is there a easier way to release all the memory after the program is done?or do I need to set all my variable = nothing one by one at the end of my code?
How can I made time released ASP code? I want to make section of code viewable after a certain date. Something to this effect, but this does not work right:
if now() >= "6/24/2005" then Response.Write ( "here is my new html" ) else Response.Write ( "for now just show the current information" ) end if
i am facing the following error when i am going to access the msaccess97 database through ASP in XP.
The Microsoft Jet database engine cannot open the file 'c:exams.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
but there is no readonly attribute is unset in the database file. what can i do?
I recently downloaded and installed (hopefully correctly) MSDE 2000 Release A. I previously, and still do, have the version of IIS that comes with XP Professional installed on my computer. I wanted MSDE 2000 Release A so that I could do database access using ASP from my websites, which are on my computer. When I went to my first test website, I recieved the following error:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC SQL Server Driver]Neither DSN nor SERVER keyword supplied /testDB.asp, line 26
The ASP code that I used on my web to connect to the database (which is currently just an empty text file) is the following: Code:
I found some code on the Internet that I have modified for my needs and it works nicely from a localhost, but not when it is sitting on our intranet server.I believe the reason is that the instruction
<authentication mode="Windows" />
is missing.
In asp.net I would put this instruction in web.config, but since the code is in an earlier version of asp (the code is at http://www.hypergurl.com/verticaltext.html) I don't know how to include it.
I have done a CMS system and if I could do something in background mode,for example, send a newsletter.I don't want to wait until the page loads completely.I'm creating a mail object for each record of my newsletter suscriptors,I don't know if it would be better to use bcc with all records.
i tried to open an exe through a shortcut from an ASP page. although the exe shows in the task manager i cant see its UI.can anyone help me with it. i used the following code
cmdExe = "D:DevWalkwire est.exe" Set WshShell = Server.CreateObject("WScript.Shell") WshShell.Run (/c cmdExe) Set WshShell = Nothing
i have searched through a ton of past posts in an effort to find the answer to my problem but so far have come up with nothing. The problem I am experiencing is with VS6, visual interdev on windows 2000, with IIS.
When ever i attempt to debug my asp web app the debugger will step into the code and will start an Iexplore.exe process, but not actually make internet explorer visible.
Does anyone know any way round this I have spent loads of time trying to sort it already.
I need to create dynamicly an ouput table that users can edit their hours and cost center. Each day have maximum 2 entries for week if they have one entry per week, then the design table will have an empty text box for users to enter in.see the attached outline to show the weekly timesheet in edit mode. Below is the query I am using it ....
I'm developing a web site and i need to make adminisration for this site it's a site for Real Estates . But I don't need the administration to be online . I want them to fill data and images offline and then send them online.
but i have a problem regarding the images i want it to be sent to the web site So i want if there is a possible way to fill data offline and this will put it in offline database then on browsing images it'll be sent online and at the same time put on their location i adjusted offline . So how can i put Images at a desired location Offline and at the same time upload them online .
I need to create dynamicly an ouput table that users can edit their hours and cost center. Each day have maximum 2 entries for week if they have one entry per week, then the design table will have an empty text box for users to enter in....
Please see the attached outline to show the weekly timesheet in edit mode. Below is the query I am using it. Code:
When searching through code in Vis. Interdev 6, when in the Find dialog, it listed the results in the results pane below. The cursor didn't change position to the next found item until you clicked on a line in the results.
This is actually a nice feature that I haven't seen before - all the matches show up at once in a list, with a column containing the text for the line the string was found in, so you can quickly see the context of the match.
Anyway, the first couple times I used CTRL-F, I saw a results pane. Then I must have changed something without realizing, because now when you search, no results appear in the results pane, but the cursor moves in the editor window. This is the behavior I am used to with Vis Studio 6, but I would prefer to turn the results pane back on.
I am moving from a Windows 2000 Web Server to a Windows 2003 Server.I have converted all of my old CDONTS to CDOSYS with no problems. However,I am having major problems with getting my asp pages that have both MySQL and CDOSYS on them to work.I get the following error:HTTP 500 Internal Server error There is a problem with the page you are trying to reach and it cannot be displayed
Because I needed to store more than 4,000 characters, I decided to convert one field in SQL Server Database from nvarchar to ntext...now the field holds many more characters without a problem as I examined in my online manager.
But when I tried to display it on my asp page with Code:
<%=rs("Text")%>
, nothing showed up, and there is no error message. It cannot be null because i checked in the manager...
I've got an asp page that allows users to input quantities of certain items. When they click the "Total" button, the page is submitted to itself and a total for their selected items is displayed, similar to any online shopping cart.
When all items have been selected, the form is submitted, and their taken to the next page. If they choose the browser's "Back" button, or a "Cancel" button on the asp page, they get the Page Cannot Be Displayed Error. However, if they never update the total, and instead enter all the quantities and then submit the form, withing submitting back to itself, the browser's "Back" button and the asp "Cancel" button work fine.
It appears the back button doesn't work when the previous page has been submitted to itself. Does anyone have any suggestions? Is it a bug in my code or possibly an IIS issue?