|
hi all,
i want some information about secutiry for perticuler website......
how to make secure........(Hakers?????)
thanking you.....
Impact Pro
|
|
|
|
|
Where do you live ? In a place where google[^] is not accessible ?
|
|
|
|
|
Hi all,
Please Clear my Doubt abut this....
i want to know in asp.net2.0 we dont have any dll.
when we deploy any application on server we just copy the aspx pages and rest of the folders including bin folder but in that bin folder we didn't find any dll of the project..and we know that for running a particular project we require dll then how the project run succesfully on server without dll...
can anyone tell me i have done so much googling but didn't find the ans.
Thanks in advance
Thanks and Regards
Aavesh Agarwal
|
|
|
|
|
It is very odd that you don't have any dlls in the bin directory. Did you build the asp.net site? The only time I can think of when you don't have dll is when you put all the code behind code in the aspx directly in script tags. This can cause performance issues.
Ben
|
|
|
|
|
Hi...
Aavesh Agarwal wrote: we didn't find any dll of the project..
yes you will not see any dlls in bin folder because in 2.0 they came uo with a new compilation i.e., precompilation so with that the dlls will be placed in the following path C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
so if you want to deploy the code you copy all the dlls from this folder in to your bin folder and then deploy the application.....
and one more new concept in 2.0 is "Publish Web site".
Regards,
Sandeep Kumar.V
|
|
|
|
|
ASP.NET compiles the .aspx files on-the-fly, when they're needed, not before hand. SO, you don't have any .DLL files to deploy.
This is a huge change from the ASP.NET 1.1 model where you had to deploy the compiled .DLL files.
|
|
|
|
|
Hi There,
Friends i am trying to display a message box using Javascript.
But i am facing
Sys.WebForms.PageRequestManagerParserErrorException :
The message received from the server could not be parsed.
Common causes for this error are when the response is modified by calls Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '
|
|
|
|
|
It appears that you are missing and '=' between language and javascript. Instead of using Response.Write perhaps you should register a startup script.
private void ShowDialog(string p_msg)
{
Type cstype = this.GetType();
StringBuilder tmpSB = new StringBuilder();
tmpSB.Append("<script type=text/javascript>");
tmpSB.Append("alert('" + p_msg + "')");
tmpSB.Append("</script>");
ClientScript.RegisterClientScriptBlock(cstype, "Save", tmpSB.ToString());
}
Hope that helps.
Ben
|
|
|
|
|
Hi Ben
Thanks for the Reply,
here is the code
protected void cancelRec(object sender, EventArgs e)
{
ShowDialog("test");
}
private void ShowDialog(string p_msg)
{
Type cstype = this.GetType();
StringBuilder tmpSB = new StringBuilder();
tmpSB.Append("");
tmpSB.Append("alert('" + p_msg + "')");
tmpSB.Append("");
ClientScript.RegisterClientScriptBlock(cstype, "Save", tmpSB.ToString());
}
But its not working.
Nor throwing any error.
Any idea?
Thanks
Cheers
Menon
|
|
|
|
|
The message box will only pop up after the page posts back. Is your CancelRec getting called? What are you really trying to do? I am guessing that since the method is called cancel rec you perhaps want to prompt the user before they cancel? If that is the case you want to do something complete different with javascript. If that is the case let me know and I can show you the code.
Ben
|
|
|
|
|
Hi Ben
I am sorry about the code. Actually i put the code in the CancelButton just to test.
I want it on the click of Savebutton. I am creating textboxes dynamically. And I want to throw Error via Messagebox if the Textbox is empty.
Thats it.
It still appreciate your help still..
Thanks
Cheers
Menon
|
|
|
|
|
Are you using .net 2.0? The code I posted was for .net 2.0 it is slightly different for .net 1.0 or 1.1. If you are using .net 2.0 then it should work. You could always do a more pure javascript solution.
Ben
|
|
|
|
|
Hi Ben
Yes i am using .NET 2.0
Cheers
Menon
|
|
|
|
|
Well then if you can verify in debug mode that the code behind is getting hit. If that is happening when that page comes back up, the question would be do you have pop up blockers that might be blocking the message box? You can always check the source of the page with View source. You should see the javascript toward the bottom of the page.
At this point I would be guess that it is either a pop up blocker or the code behind isn't getting hit or something like that.
Ben
|
|
|
|
|
Hey mady1380 could you please tel me the scenario so that we can help you better.
Regards,
Sandeep Kumar.V
|
|
|
|
|
Hi Sandeep
I am Creating Textbox dynamically.
I am making a check if the Textbox is null I want to Throw an Error via MessageBox.
I dont want it Onclick of button. I want to display the MessageBox on particular
condition.
Eg:
if(txtName.Text=="")
ShowDialog("Name Cannot Be Empty");//MESSAGE BOX
I hope its clear.
Thanks
Cheers
Menon
|
|
|
|
|
mady1380 wrote: I want to display the MessageBox on particular
condition.
could you please sepicify a condition??
like when you want to test textbox is null or not.....
Regards,
Sandeep Kumar.V
|
|
|
|
|
I want to make this Check about the TextBox on the Click Event of my OK button.
Cheers
Menon
|
|
|
|
|
I am doing an application in which i want to check the column values Date format
with that i stored in Database..
For eg:
The employee details are entered and the date is given as 20/10/2007.
I wanna enter another details but never the date should be entered twice..
As the user logs in he can enter new data, but can edit only a data field with a
date specified earlier...
In short a date should appear only once in database,,
Please help me....
SAJAN A PILLAI
C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
I think that best way to do this is to create insert store procedure. Inside proc you ought first check if insert date exist like:
select * from table where columnDate = insert date param.
if @@rowcount > 0 it means that date exeist and you shoud return some custom error for handling in your application.
else you do insert.
p.s. sorry for some text error, my english is bad
|
|
|
|
|
hi frns
i have developed a small web application in Visual Studio 2005.
when i am running my application from the vs its ok but if i close the vs and give the same url in the browser it is shows me an error stating
"Server cannot access application directory 'E:\datasetfill\'. The directory does not exist or is not accessible because of security settings."
any way also i havent saved my application in e:\datasetfill then i copied my applnand pasted in e:\datasetfill then is giving
"Configuration Error "
Line 12: <connectionstrings>
i also created a virtual directory for that folder
can any one gimme a suggestion/solution to solve this problem
thanx in advance
regards
sunilwise;)
|
|
|
|
|
come on frns any help me solve this problem
|
|
|
|
|
HI,
i want to built a chatroom with asp.net, but cant find any source, would anyone give me some opinion?? ?
|
|
|
|
|
go to Search and Search with "chat room" keyword.You will get many articles here
best regard
pathan
please don't forget to vote on the post that helped you.
|
|
|
|
|
thz pathan, but those result is only chat room with text, no video chat room can be found
|
|
|
|