|
just a suggestion: delete all temporay files...then re-compile....
Hope it's ok
<< >>
|
|
|
|
|
enjoycrack wrote: delete all temporay files...then re-compile....
That usually works, but you need to make sure you get everything...I'm sure enjoyCrack meant this, but no need to delete "Temporary Internet Files" from IE - need to look in <windir>\Micrisoft.net\Framework\xxxx.xxxx\Temporary ASP.NET files directory - you'll see a sub folder for each app your server is running. Make sure nothing is locking the files (that's the fun bit - close IE, VSS AND issue an IISReset / stop) and delete the offending folder. Once deleted, don't panic if your app appears not to load for a bit - it can take a while, since the it essentially has to be re-built on the server....but it'll get there eventually...
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
plz help me..how can i create a popupwindow tat returns a value to the called window...using the c# code
|
|
|
|
|
You can have a look at this[^] article. This will will give you the detail idea how to perform that.
Best Regards,
Apurva Kaushal
|
|
|
|
|
I have an asp:button which when clicked runs a quick check of some database values, and then does a Response.Redirect("some_page.aspx"); to one of two pages, depending on the result.
I want to be able to add a javascipt popup window to this button as well that will display some parallel information. At the moment I can only make it either do the redirecting, OR open the popup. How can I make both happen?
Thanks,
Alice
|
|
|
|
|
I think you can attach javascript window.open to open a popup and then can write your server side code for redirect it to another page. But honestly I don't think it is a good practice.
Best Regards,
Apurva Kaushal
|
|
|
|
|
I am facing a problem , i have to download images from my asp.net application to the server for which i use mapping in which i create a temperory drive on the server and then map the images before downloading it in the respective folder of the server .
I am using the impersonation concepts , when i download it on XP it is working fine but in case of win 2k its not working
eror 1314 always appears means denying the access
its becoz asp.net application requires SE_TCB priveledge in win 2k
can anybody send me the code by which i can make it work on windows 2k
impersonation for win2k or send it any related link
my account is
zmir@e-emphasys.com
|
|
|
|
|
Hi,
I'm calling a web service method and I occasionally get a server timeout error. I'm notified of this by a message which says I'm not trapping the exception yet the error occurs in a try catch clause which catches an Exception object.
What's going on? Is this type of exception not a standard type of exception?
|
|
|
|
|
you can set the server.timeout period. This can eliminate the error.
Sathesh Pandian
|
|
|
|
|
And if the server is unavailable, how do I handle the exception?
|
|
|
|
|
hi i have two tables like want to display based on the date:
eg:
table1:
Id cardDate Intime1 Outtime1
1 12/22/2006 09:00 20:00
2 12/22/2007 09:00 20:00
3 12/22/2006 09:00 13:00
and table 2:
Id leaveDate Intime2 Outtime2
3 12/22/2006 13:00 20:00
4 12/22/2006 09:00 20:00
5 11/11/2006 09:00 20:00
If i select the date 12/22/2006" then it want to display like:
Id Carddate InTime1 Outtime1 Leavedate Intime2 Outtime2
1 12/22/2006 09:00 20:00 null null null
3 12/22/2006 09:00 13:00 12/22/2006 13:00 20:00
4 12/22/2006 09:00 20:00 null null null
I am week in sqlquery,plz hlp me...,
Magi
|
|
|
|
|
your sql query should like this
<br />
select a.*,b.* from teble1 a, table2 b, <br />
where datedifff(dd,a.carddate,b.leavedate) = 0<br />
|
|
|
|
|
No it willn't work taht much exactly
See once again my pre msg output.........,
Magi
|
|
|
|
|
select CD.*,LD.* from Table1 as CD,Table2 as LD where cd.carddate=ld.leavedate and CD.carddate='"+ inputdate +"' and LD.leavedate='"+ inputdate +"';
I think it will be helpful to u
Best regards
Pathan
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
Please, if you have a question, ask in the correct forum, and no-where else. Don't spam half the site.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi guys i have query....I am login in one page using session and redirect to another page....Now i have to logout from the page...please anyone send me a code for that (Asp.net with c#)
With Regards,
Samson
|
|
|
|
|
You need to clear the session values i.e. the one which you are storing in session and using it to check the login status of the user.
Best Regards,
Apurva Kaushal
|
|
|
|
|
samsonx wrote: please anyone send me a code for that (Asp.net with c#)
Session.Remove("yoursessionname");
|
|
|
|
|
how to check the FTP url is exist or not ?
let said i have ftp://ftp.host.com/folder1/
how i check this FTP Exist or not ?
thanks.
Regards,
Chee ken
|
|
|
|
|
I have an ASPX page which contains grid,submit button and textbox. When some one enters text in text box and presses the submit button it will be added to database and will show in grid. All these are working fine. But problem started when I hit refresh button on browser. Suddenly already inserted data added once more. Any way to avoid this ?
|
|
|
|
|
Actually what happens is when the page is getting posted back due to some event then it stores the event which posted back the data so when you clicks refresh then again the same event is getting fired that is why you are getting the same recorded again. I too haven't found a good solution for this problem. What you can do as a workaround is to reload the page again.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Strange
How can this ? if you are writing the code in Button click event then this should not happened. I think the data is getting added in datagrid only
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
sandeep akhare wrote: Strange
It's not..
sandeep akhare wrote: How can this ? if you are writing the code in Button click event then this should not happened. I think the data is getting added in datagrid only
No, previously posted data will be there and it will repost the data when we press refresh button..
|
|
|
|
|
OK Can you post the apsx.cs file so that i can learn something if you like
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
sandeep akhare wrote: OK Can you post the apsx.cs file so that i can learn something if you like
I don't have the code rite now with me., You can try the following scenario.
1. Create one text box, button,and one grid.
2. Write the following in buttons onclick event
button onclick()
{
}
You could see the newly added data on grid. Now press refresh. Browser will show one warning message. Press ok and check the result
|
|
|
|