Hello all,
I'm wanting to create some dynamic controls, and have them persist their viewstate across page loads. Easy enough, right? All I have to do is re-create the controls upon each page load, using the same IDs. HOWEVER, here's the catch - in my PreRender event, I'm wanting to clear the...
I'm using Windows XP, not using any impersonation (that I know of)
I did made a bit of progress on this problem.
If I make the source directory manually, through windows explorer, my code has no problem executing the Directory.Move() method. However, if I create the source directory through...
Well, I gave "Everyone" full control, and I also gave ASPNET full control, and I still have the same problem.
Interestingly enough, if I take out the Directory.CreateDirectory, I get this IOException : Could not find a part of the path
(of course it doesn't tell you which path, the source or...
Hello all. I'm trying to move a folder and all of its contents to a different location using Directory.Move(). However, when I try to do this, I get the following IOException :
Access to the path...
Can I refer to the Session object inside the Application_Exception handler of my Global.asax?
I want to put some code that looks like this into my Global.asax :
void Application_Error(object sender, EventArgs e)
{
Session["appException"] = Server.GetLastError().GetBaseException()...
Right. Well, the deal is that I actually have a bunch of exception handling routines in my code already. And they're all predicated upon an exception being handled in the usual way, and not being intercepted by AJAX .NET.
In my code, if debug mode is turned off, then the user is redirected to...
Hey all,
Here's the situation -
Say that you've caught an exception, and you want to manually redirect to the standard ASP .NET server error page, and you want the page to display all the appropriate information about the exception that you caught. Is this possible?
Here's the background...
Hello all,
I'm wanting to do a CONTAINS query on fields that belong to two seperate tables. So, for example, this is what I'd *like* to do :
SELECT ci.itemName
FROM Content_Items ci
INNER JOIN Content_Pages AS cp ON ci.contentItemId = cp.contentItemId
INNER JOIN FREETEXTTABLE(Content_Items...
Hey all,
I'm wanting to build a site that uses URL rewriting. It will serve up all content from a single page, let's call it www.mysite.com/content/serveContent.aspx, which will be passed a querystring with an article identifier. However, I want users to see nice, human-readable...
Here's the situation :
I have the same ASP.NET 2.0 web application running on both Machine A and Machine B. On both machines, I have Integrated Windows Authentication turned on, and Anonymous Access turned off for the folder that contains the webservice .ASMX file. When I hit a certain page...
Here's the situation :
I have the same ASP.NET 2.0 web application running on both Machine A and Machine B. On both machines, I have Integrated Windows Authentication turned on, and Anonymous Access turned off for the folder that contains the webservice .ASMX file. When I hit a certain page...
Interesting - someone else just suggested that I use HTML comments. This is a good idea. However, my only concern is that users will be able to see the comments if they view source.
In the end, I may just make some sort of lightweight control derived from LiteralControl. Since it's derived...
I'm glad that I asked.
So, is there a safe way for me to demarcate the text in my document? I suppose that I could use XML for this somehow, but I wouldn't really know where to begin.
As I mentioned, this text is in a standard .ASPX file.
Do you have any suggestions?
Thanks again for the help.
Hello all,
Here's the situation - I'm writing a CMS, and I need a way to demarcate where content text begins and ends. I have a windows service which then reads the content text, and then processes it in various ways.
To demarcate the text, I invented a tag, <articleText> . I surround the...
Hello all,
I have created two custom event logs for my ASP .NET web applications. For now, let's call them Log A and Log B. For some reason, whenever one of my programs writes an error to Log A, the error will show up in both Log A and Log B.
If I try to write an error to Log A, the error...
Here's a minor correction to my original post :
Originally, I said that Machine A could call the webservice on Machine B but not on Machine A, and that Machine B could call the webservice on Machine A but not on
Machine B. After some more testing, I realized this was not the case.
Machine A...
Here's the situation :
I have the same asp.net 2.0 web application running on both Machine A and Machine B. On both machines, I have Integrated Windows Authentication turned on, and Anonymous Access turned off. When I hit a certain page on Machine A, it will call the web service on Machine A...
Hello,
I'm using XML in two different situations, and both call for an XML namespace. I'm new to XML, and am not even sure what an XML namespace is or why I need one.
In the first situation, I'm using XPath to query an XML document. The method XPathNavigator.GetAttribute takes a...
Is it possible to use one application to update the Application[] collection for another application?
For example, I have Web Application A which is an admin tool, and I want to use it to update the Application[] collection for Web Application B, which is the customer-facing application.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.