Error To Read A Page
Nov 6, 2009I am using the attached code to read hlml, it is working OK for many URL but in
[Code]...
I am using the attached code to read hlml, it is working OK for many URL but in
[Code]...
i got an error while loading a page in asp.net.I have renamed the page before loading it.The error is as follows:-
**could not read state "objDebugResolveAssemblyReference.cache"**
So i've been working on a page for a project where the person logs into a login page and then can see a list from the database of employees. everything is working except for one problem. If someone puts in a username and password, username= a and password=b, for example it still allows that individual to view the next page and doesn't throw the error that i have enbedded on the login page to say sorry you have the incorrect password/username. The working code that i have so far is below:
[Code]...
I am having problem with my windows based application in VS 2008. I have a page from where I copy the component and use the same on another page for saving my designing time.It works fine and run without error.But when I restart the solution then the 2nd page where I had pasted the component is not displayed in the form designer. I get the following on the screen
View 1 RepliesI'm using Visual Studio Development Server (Visual Basic 2010) and it works fine. Now I've enabled NTLM Authorization because I want to test the website using a different user account. Now when I try to access the website I always get the following error page:
Server Error in '/' Application.
HTTP Error 403 - Forbidden.
Version Information: ASP.NET Development Server 10.0.0.0 .I'm using a test account which is a normal user within our domain. I've already set the access rights in my project folder to Full Access for this user but it does not help.
When I deployed my project on a server, in certain circumstances, I get an error page that indicates I should create a custom error page. I was wondering how exactly I would implement this custom error page the server asks for to give me a precise and helpful message or preferably, how I would get the error to just display on the main page?This is the error message I got below
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
[code]....
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
[code]....
I have a project that reference from leadtools 16.5, and after that, i want to run my project..i see am error like it " An error occurred creating the form. See Exception.InnerException for details. The error is: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. im using vb 2008 pro
View 6 RepliesI am facing another error "An error occurred trying to load the page. Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND) )" performing the following scenario:- Opened a sample VS 2010 WPF project that I receiveved from a co-worker (Project compiles, and run on his machine)I tried to open project properties (Project --> Properties)The project properties panel/window didn't open, all it had was an error symbol (red/white X) and the error message above(HRESULT: 0x80020003).I am unable to view niether the designer window nor the code window (no messages are reported) but the pane where the code/design shoud display is empty, all you can see is the background color.
View 1 RepliesI know it's possible in asp.net to create a custom error page in a web app, by putting the following line in the web.config: <customErrors mode="RemoteOnly" defaultRedirect="frmErrorPage.aspx" />
I have had to do this for my web app, since it is clearly much tidier than letting the program bomb out with it's ugly default error page. My custom error page just has the customer's logo and a brief message saying "Error has occurred. Please return to homepage"The trouble now is that I have no way of knowing what caused the error, when a customer reports it.
Is there a way to make the actual error message appear on this custom error page too?
i have page that contain some data and i need to get thees data the idea of page is to set some data in the text box and receive other data as reply,
i need to automate the insert of data in the page and the data reading, is it's possible??
note : the page is an on line web site it's a big challenge for me in work and need to solve it
I'm trying to read the source code of a remote .xml web page.
View 2 RepliesI have an older VB6 application which uses a scanner on the COMM port and does the following... (I have been tasked with re-writing it in ASP.NET (VB)...
OLD APPLICATION...
1. reads a Scanner and loads the data onto the PC
2. FTP's the data file to a SQL Server (where a small app picks it up and processes it)
3. Deletes the data from the scanner[code]...
Read a new page after click a button to submit? Public Class Form1 [code]...
View 3 RepliesIn a loop, I need to read a list of URLs from a text file, download the web page, and search for a bit of text using a regex. I used the following code, which triggers the error "WebClient does not support concurrent I/O operations.":
[Code]...
From few days I am doing efforts to read web pages using webbrowser control in my desktop application. But it is very slower than my expectations(because I want to read lots of pages in minutes and browser control reads almost one page in 5 to 10 seconds), what I need is to read two or three tags written in web page.
So finally I decided to use something, which can give me only source code of page. I think StreamReader will help me to read it. I am not sure if it is flaxible with my purpose, or something else is there which can give me only html source code of web page.
I have written this code to read html code, but it gives error.
Quote:
System.ArgumentException: URI formats are not supported.
public static string Navigate(string URL)
{
[code]....
Im working on a application that will read content in a certain format from a custom php page that will echo out SQL Info. The PHP Page will echo in the following format;[code]And in my visual basic application, I have the following Text Box's..[code]When the user presses the button "Load Flight", I want the info from FlightID to go in Flight ID, The info in DEPICAO to go in Departure ICAO, And so on.
View 20 RepliesI have problem with getting a single line text from html webpage. I have searched for it but when I try that code:
Private Shared Function GetTitle(html As String) As String
Dim r As New Regex("<title.*?>")
Dim Title_start As Integer = 0
Dim Title_end As Integer = 0
For Each m As Match In r.Matches(html)
[Code] .....
Then it gives me a error: REXES IS NOT DEFINED. Also I am using Visual Studio 2010.
I programmed a tool to help making invoices.It is fully programmed in Visual basic.
Can i put the items that i read in in inputboxes in cells in an excel page?
I have a VB.Net project that creates a new Webbrowser instance which then navigates to a page in order to read the HTML into a variable ( then modify this before displaying in a visable webbrowser).The issue i have is that the webbrowser navigate just reads the page from the cache and does not read it from the server.
View 2 RepliesI'm trying to make an executable in VS2008 that will read a webpage source code using a vb.NET function into a string variable. The problem is that the page is not *.html but rather *.aspx.I need a way to execute the aspx and get the displayed html into a I have tried the following code, which works properly for html pages, but generates the wrong source code with "access denied" for the page title when I pass in the above aspx page.
Dim myReq As WebRequest = WebRequest.Create(url)
Dim myWebResponse As WebResponse = myReq.GetResponse()
Dim dataStream As Stream = myWebResponse.GetResponseStream()
[code].....
I have a text input in textbox1 in tab page 1 and i want that text from textbox1 will be displayed in textbox2 in tab page 2.
View 3 RepliesI wrote a page Page method in my aspx page. in web service method I need to call FindControl method return textbox and get text box value. But my findControl will take MasterPage object to iterate.
see my code
<script type = "text/javascript">
function ShowCurrentDateTime() {
$.ajax({
[Code]....
How to pass Master Page object or Page to Page method?. So I can use in Sared method.
Is there any way I can access Textbox value directly in Page method? I need access couple of controls in Page Method.
HOW TO RUN THE JAVASCRIPT FUNCTION ON PAGE ONLOAD EVENT IN CONTENT PAGE OF MASTER PAGE.? means i have masterpage and the content page of master page namely default.aspx in vb.net.i wanna run javascript function in Default.aspx and i have called the function body onload in master page.when i run my website it shows the error "" Microsoft JScript Runtime Error : Object Expected ""
View 4 RepliesI need sample vb.net code to save single windows form as many page and reload the page whenever i call that page...
View 1 Replieshave a difficulty in percistente Makingin dependent of the number of times I call properly display printing on the sheet.
View 2 RepliesHow can I get Webbrowser1 to navigate to each page and wait for the one page to completely load, then move to the next page...? [code]
View 3 RepliesIE9 gives webpage expired error suddenly on any process of my page. Any action I do like edit, add or delete.. after some operations .. page suddenly says expired message in IE9 only.
Our website developed in ASP.Net VB version.
I've written a class for a new TabPage type.The only thing I've added is a couple variables which I can assign to the tab page in order for my app to identify which tab page is selected.This works fine on my pc, and a few others, but I have one customer who is using my app.When they run, and they open a new tab, the TABcontrols.tabpages.add(NEWTAB) errors out.I'm 100% sure that this is because it doesn't like the fact that newTAB is my custom TAB class.When I did some debugging, his pc moved past the error when I just added a default tabpage type.
View 11 RepliesI am trying to add Page.Header.Controls.Add(New LiteralControl("<link href='../CSS/test.css' rel='stylesheet' type='text/css' />"))
in vb code. Strangely the solution builds but when i run my code i get 'Object reference not set to an instance of an object.' error.i have searched extensively on internet but couldn't see what's going wrong. Solution builds alright but it errors out while running on same line of code.
I have this function that utilizes jQuery's post feature to send an ajax request to my logout handler, which destroys the session (set by asp.net) and redirects to the login page:
<script type="text/javascript">
//<![CDATA[
function doLogout() {
[code].....