|
I have published an ASP.Net website, but when I want to open it this error apperas:
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load the assembly 'App_Web_qghl5xlo'. Make sure that it is compiled before accessing the page.
Source Error:
Line 1: <%@ master language="C#" autoeventwireup="true" inherits="FDoctor_MasterPage, App_Web_qghl5xlo" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /FDoctor/MasterPage.master Line: 1
I have published it with Visual Studio 2005
Best wishes
|
|
|
|
|
Hi all....
hw to use Vbclrf in asp.net (with vb).....
i want to display a message in a label in a button click.....that message should be in two line....
Ex:-
Welcome to Oasys
Bangalore
i have done like this but not working....
label1.text="Welcome to Oasys" & vbCrLf & "Bangalore"
how can i achieve that?
|
|
|
|
|
sandhya14 wrote: label1.text="Welcome to Oasys" & vbCrLf & "Bangalore"
label1.text="Welcome to Oasys<br>Bangalore" <BR> is the line break tag in HTML.
|
|
|
|
|
sandhya14 wrote: Vbclrf in asp.net
The exact equivalent of VbCrLf (Carriage LineFeed) is Environment.NewLine. However, going by the example text you would like to have, you need to understand that HTML does not care about excess line breaks. You ought to indicate with a tag to squeeze a line break in the content that is presented.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
we can use in HTML...but am trying to do that in code behind......hw to do it there....
in a button click am trying to do that...
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Label1.Text = DateTime.Now & " feedback was sent from an ASP.NET " & vbCrLf & "Wheeler's Accident Investigation Form"
End Sub
|
|
|
|
|
Hi,
i have got the answer....thanku.....
|
|
|
|
|
I have the following section in my web.config file:
<location path="members" allowoverride="false">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
I thought that ALL files and folders inside the specified path were affected by this entry. In other words, access is denied to anyone not logged in to the site. It does work for *files* inside the "members" sub-folder, but in subfolders within members (like "members/xyz", files can be viewed by typing the whole path ("http://www.mysite.com/members/xyz/mypage.php").
I tried adding this (so I have both location path entries in the web.config):
<location path="members/xyz" allowoverride="false">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
but that doesn't appear to have any affect.
Does anyone know what I'm doing wrong?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
modified on Wednesday, January 23, 2008 6:53:59 AM
|
|
|
|
|
Can't see your angly bracket stuff.
|
|
|
|
|
Fixed
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: can be viewed by typing the whole path ("http://www.mysite.com/members/xyz/mypage.php").
AFAIK, ASP.NET will execute the request, if extension type is mapped to aspnet_isapi.dll in IIS. Usually PHP extension won't be mapped, which will ignore the settings written in web.config. This might be the problem.
|
|
|
|
|
I'm not using IIS...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: I'm not using IIS...
Then how come your ASP.NET pages are served ?
|
|
|
|
|
I'm using Apache. Don't you read the Lounge here?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: Don't you read the Lounge here?
Usually I won't. Now I read and understood your scenario, but I don't have any idea on this
|
|
|
|
|
John Simmons / outlaw programmer wrote: I'm not using IIS...
Which is your webserver? In any case, if the request can be mapped to aspnet_isapi.dll (which ultimately processes web.config), your objective can be achieved.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
It's one I wrote myself, and I have it running on a Nokia cell phone.
Actually, it's Apache.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Hi all,
I need to open a third part site (external page), with a post call, in a page (page A) with my logo on top of the page (Frame A).
first step: I've used frames (page A) to do it, and it works without problems.
Second step: i need to call that external page with a post call, throwing params as hidden fields. There's no problem! I create a page (Page B) that do this, and i call this page in the frame (Frame B) Instead of the first one (external page). I use this call to make an auto-login into the second site. For make this i need to throw the info of the user calls the page.
The problem is this: In a frame page (page A) i cannot persist my session cookie into the frame (Frame B), i think. If i work without frames, calling directly the Page B, the post call works. In the frame no.
Someone can help me to resolve this problem? I wrong something or is a limit of frameset?
There are other ways to have my page A (with my logo and the external page) without frames?
Thank you
Ellis
|
|
|
|
|
AFAIK, Session and Frames are not related. If you are creating a session in PageA, you won't get access to this session inside your frame(pageB) until you refresh the pageB frame or the page that contains entire frameset.
|
|
|
|
|
Is it possible to edit different rows of a grid at the same time i mean give single edit and update buttons for all the rows?
|
|
|
|
|
|
Thank you Vasudevan. Thats what i wanted.
|
|
|
|
|
I want to transfer data present in Access database to sqlserver i have written this code but its not working cant understand y
Plz help
private void button1_Click(object sender, System.EventArgs e)
{
OdbcConnection myconn = new OdbcConnection("DSN=test");
SqlConnection conn = new SqlConnection("server=.;database=techpaymaster;uid=sa;password=;Pooling=false;Connect Timeout=55;");
OdbcCommand da = new OdbcCommand("select * from tinfo",myconn);
myconn.Open();
OdbcDataReader dr=da.ExecuteReader();
while(dr.Read())
{
string i =(string)dr["Name"];
int j =(int)dr["Age"];
conn.Open();
SqlCommand cmd = new SqlCommand("insert into sadd(Namee,Agee)values('" + i + "'," + j + ")",conn);
cmd.ExecuteNonQuery();
}
|
|
|
|
|
What error you are getting ?
|
|
|
|
|
This is the error i am getting
An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll
Additional information: System error.
|
|
|
|
|
Cuckoo wrote: SqlException
SqlException can happen when your query is not well formed. Use parameterized queries or assign your query to a string and print it before you pass it to SQLCommand . This will help you to identify the problem.
|
|
|
|