my requirement is i want to upload word documents and pdf documents into my website with security (i mean encryption) and i want to retrieve documents by giving password the document should visible(or the document should visible for only some people how to do it)
point me towards any .NET API that will let me iterate the default documents (default.aspx, index.html, etc.) for the web site? I know I can parse web.config, but that doesn't always contain all of the default documents.
I was trying to install CMS for my ASP.NET (Open source Umbraco). After the installation process, when I try to run the website, I get this error: Could not create type 'umbraco.webservices.documents.documentService'. E:UsersSarinDocumentsVisual Studio 2010WebSitesWebSite20umbracowebservicesapiDocumentService.asmx
Here's the line from default.aspx which is showing this error.
I created a web application using visual studio 2010 (.NET framework 4.0). I am trying to add this website in IIS on a remote server. The remote server only has .NET Framework 2.0. I am getting an error:
Could not load file or assembly 'projectname' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Is there any workaround for this, without added .net framework 4.0?
I have a website deeloped in ASP.NET and I want it to be accessed via local URL, for eg: http://localhost/website20I tried once but the CMS in my website started giving error "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."
I have many different websites under the same directory on my server. I want to know if there is a way I can register a dll for many websites once. That way, I won't have to go to each website and do reference -> add reference , etc.
We have a web site that sits on a DotNetNuke platform and all of our coded modules are written in VB.Net for consistency. However, we have been sent a web page that works as a link and it is written in C# and references a cs file in its App_Code folder. If we try and load this into our website we get an error saying that it is not written in VB we then tried converting the homepage to VB but the reference folder is very complex and written in C#. Can we load the reference file even though it is C# and reference it using VB code. The current all is OurRemService RemService = New OurRemService(); where OurRemService is a file in the App_Code folder in the web page folder. The only other way around this is for us to set it up in IIS as a virtual directory and reference it directly but we would prefer to integrate it into our website.
When I add a second website to my solution, it is putting it on a different port. My first website is running on port 50483, and my new website is running on port 55760. I was a little surprised, because I don't see the need to run them on different ports since they are seperate virtual directories.
I have an asp.net website for a car dealership. I wanted to create an admin site where personel from the dealership can add and delete cars to the site. how do I get started? what shall I read up on? I've read some of the security knowledge to add login and user accounts and what not, but now I am after setting up the website to allow this. do I need a sub domain to allow this? is that the only way? the web hosting company I am using (discountasp.net) will make me pay more $5 a month to use sub domain
I am creating a Social Networking Website. I want to know how to add friends in a social networking website in which a user sends friend's request to other user and the other user approves or denies the request. The user also gets added to the friend's list.
I am unable to write code for this and also not found any such code. It would be very useful for me to get the code.
I am trying to find out if their is a way to Application Extension in Application Configrautions screen using Dos prompt. I am trying to develop a installer where i need to register the DLL file to application extension using Dos prmpt ?
I have a running ASP.NET web site. There is following problem with one of the forms:
One part of submitted data is added to database after "submit" is clicked. (to "table1") Another part is lost (not added to "table2", and no files uploaded) I have no source code of that project. So, because I cant edit existing page, I came to a decision to add new .aspx page to a running application with same functions as existing one. How can I do that? Or maybe you can recommend some other solution.
I am having some trouble adding an extra sitemap to my website. I have the main sitemap for the general navigation of the whole site, but would like to add a new sitemap for the navigation in the community area once people have logged in.
I am going to start and develop a e-commerce website for someone, i just wanted to now if i were to create som AJAX Controls for the site how much should i charge?
The kind of AJAX Control would be where a user clicks on a product and pops open a div element in the center of the screen with the product item and information and an add to basket button. The add to basket button will use an AJAX call and will perform the steps to add the item to the basket.
There will be other AJAX Controls i want to talk to him about but if i can have a general idea of how much this type of control would cost, then i can decide on how much other AJAX Controls can be priced.
i have a project which runs fine when I build it and run it. But when I add an web deployment project to the same, it throws out a "server block is not well formed" error in Default.aspx page
through googling i found out that it may have something to do with page/server directives. but i cant figue out what is wrong with this code.
I have an interweb web application that uses Active Directory to authenticate the user. Im now getting some complaints that users on other domains are unable to access the application.
How can i make it work so that their domain name is also accepted by the application?
it works really good, the only question is that how can I load the file with the button of "update", from the datagridview, how this code should be written?
I've done a bit of searching on this subject and haven't found anything so far. I am successfully using the Profile object and am saving Profile records away into my SQL Server Database. I have checked using the stored procedures and viewed the individual records to know they are there. However, I want to create a WebForm that can enumerate through all of the users in my Membership DB (Same DB as the Profile DB) and list each user in a grid showing what values each user has within their profile. For example:
Username Profile Element 1 Profile Element 2 Profile Element 3 bob true false true fred true false true
I want however to replace the 'Profile Element 1' etc etc to display the actual name of the Profile. I would like to do this programmatically so I don't have to recompile the website everytime I add a new Profile element.
When you use ASP.NET web site (instead of web application model) and add reference to an assembly from local folder, Visual Studio, it seems, understands that this local assembly is also in GAC and so does NOT copy this assembly to bin folder (as it does with non-GAC assemblies), but simply adds new record in web.config file.
Why such a behaviour? Is it possible to force copy to bin folder (I need this since .dll is not on target environment)? I can add assembly to bin folder as file and it will work, but in this case bin folder contents will be in source control, which is not good.
I wanted to make categories for my website. I have plans for 4 categories - we can call them CAT3,CAT2,CAT1 and CAT0.
So for example:
Technology (CAT3) - > Software (CAT2) - > Microsoft (CAT1) -> ASP.NET (CAT0)
These will be clickable links which the user should be able to go through.
What I have done so far is created the CAT3 categories in a Table. Now I want to display them on my website and I have chosen to show it in a ListView control.
How do I make them links so that it will link to the CAT2's then CAT1's then CAT0's. The user should be able to create new Category 0's but not be able to delete them. Also the user should be able to search through the database of all the CAT's using a search box.
What's the best way of doing this? How should I structure this? I've been looking for quite some time now (slept at 2AM :) ) for a solution but I still can't find one.
P.S I am using Visual Studio 2010 Web with ASP.NET and C# and for SQL Server Management Studio.