View Complete Post
Please see http://forums.asp.net/t/1611888.aspx for history. I am also posting on this group as well since the follow on question is a generic one. How does one register the above mentioned (IIS7) HTTP handler in II6? It seems IIS6 doesn't have a "managed" handler option. It seems to just have an "application extension" mapping which doesn't have a "path" option, rather just an extension. How do I tell IIS6 for all files (regardless of extension) in a particular folder to delegate to ASP.NET?
I am hoping somene here could advise me on a better solution to my present problem. First a little background information on the application.
I have a web application using the 3.5 framework. The structure of this application is as follows: UI -> WebService -> Business Layer -> DataAccess Layer. What I want to accomplish is for every request (click on a link or button) have a unique identifer that follows this request through its entire lifecycle. This unique identifer can be accessible anywhere within this request. We use Response.Redirects which could easily be changed to Server.Transfers (although I do not want to do that) but the problem lies with the web service calls. Currently, a GUID is set in the ApplicationRequest. This GUID checks for a guid value in the RawURL and if so, assigns this value to a HttpContext Item. If not, HttpContext.Items gets a new one created. However, this idea is wrong and will need to be revisisted. The bigger problem is with the web service calls. Without changing every web service method signature, and every call for that matter, is there a way of getting this GUID there. I created a web method in every web service so that each time I instantiate a web service object in the UI, before calling any
I've got a gridview I would like to let the user edit a couple of columns. Seems like everything I'm coming across so far makes the entire row editable.
Hopefully the solution isn't too complicated. Can someone point me in the right direction?
Seems like a stupid question, but I will go to Build > Build Solution many many times and the build will succeed many many times, then I will put in a minor syntax error and the build will fail, BUT the build will not fail because of the minor syntax error; it will fail because of an unresolved type that I put in about twenty compiles ago. And then I will fix the minor syntax eror, and the compiler will still complain about the unresolved type. Here is my code:
<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %><html><body> <form runat="server"> Hello World!! </form></body></html>
Pretty simple, really. I go to Buld > Build WebApplication1 and it runs OK. Now, if I put in a minor syntax error, such as substitute "forrrrrrrm" for "form" and then try to Build Solution, it complains not about the misspelled word, but about the FreeTextBox. And then if I correct the misspelled wird, it still complains about the FreeTextBox. Which leads me to believe that Building the Solution does not check absolutely 100% everything that needs to be checked. Is there a more thorough way of compiling a program that I need to use?
I have few files in FolderA on the web server.
I want the users to select a fews files from FolderA and copy them to FolderB on the same web server.
I want to list all the files in FolderA and allow the user to select a few files and copy.
I want to copy the files programatically when the user selects a few files and click on Copy button.
How to copy the files quickly from folderA to FolderB?
Hello,I created a ASP.NET project under Visual Web Developer 2008. Under that project I had a Database (along with ASPNETDB.MDF) which has about 3/4 tables (I had SQL server 2008). Everything was working fine (like insert, delete, etc.). And I was able to view the tables in database explorer view.
Then I had to format my computer for some reason and I copied the whole project in a USB drive and then after formatting the computer I copied the folder and tried to open it in Visual Web Developer (now I have VWD 2010). I can see the both Database under App_Data folder (ASPNETDB.mdf and the DB I created). ASPNETDB has all the tables and data as expected. But I do not see the tables under the DB I created.
I also tried in one of my friends computer who has Visual Web Developer 2008. But same result.I am just wondering if anyone can help me with retreiving the table. I have a bad feeling that I might needed to do something to backup the data (not sure though). But the tables should be still there ... isn't it ?Any help will be appreciated. Thank you in advance.
For projects such as forms apps and class libraries you can exclude folders which reside in the directory from the project. That menu option does not seem to exist when you create a website in VS 2005, is there any way to do it?
I have classes in App_Code:Connection.cs, ClientData.cs ....I have a folder Authenticated within it have an aspx page Client.aspxHow do I access the page through Client.aspx ClientData.cs the class, because there is a mistake for me to define the class as I do, please help me!
I've set up a sharepoint knowledgebase on my intranet site and all seemed fine.
The problem I have is that if I create a subfolder, I cannot create articles in that subfolder, as they appear in the root.
Uploading an article to the new folder is fine, as is editing/deleting the new folder itself.
When try to open a folder in a moss 2007 document library in Explorer View, the folder does not open.
I am using IE7 and the path of the folder does not contains more than 100 characters.
Also it opening on few on the machines which has IE7.
I have a custom folder content type. These folders have several attributes including text fields, choice, dates, and person lookups from AD. When I change the folder name, the folder will keep its date, choice and text box attributes, but lose the person
attributes. If I change it back to its old name then it regains the person attributes. The ID is stays the same. One of the person fields is a required field, but that it still saves as an empty field. If anyone has a work around or even a suggestion
as to what might be causing this it would help a lot.
If I have a folder structure that a user can place documents into, how do I create a navmenu that populates its subfolder based on the contents of its corresponding subfolder in the folder structure? For instance if I have a menu item named "Forms" and I want it to get all the documents out of a folder named "Forms" (In which these documents are populated by a user placing them in there)
Hopefully I explained with enough detail, thanks for any help guys.
Hello,i have made a very simple file upload app, that i want
users to be able to upload images to a folder on my server, well
localhost for the time being here is the simple upload code...
I had already setup roles for my pages and requirements call for ability to manage and create users.
So i was looking at code that allows you to do so using membership, even though i got the page to work, it was creating a database in my app_data folder.. i already have SQLExpress setup with the asp schema, but cant figure out how to get my application to use that instead of creating the db in the folder?
What am i missing or doing wrong?
I have the following setup in my web.config file..
<add name="SqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
We are using a third party wsp in our solution which directly adds the web parts into the web application store rather than the web part gallery(References to them are present
in IIS site's wpcatalog directory). We want to remove these web part files so that the users will not be able to add these web parts to pages directly. Or any other modification so that users will not be able to add these directly. Is there a way we can
do this programmatically?
Is There any one know how to link document library folder is to external site