I tried that years ago and it didn't work. Can't mix vb and csharp together in the same project. When you publish or run the project, the app_code folder gets compiled into a single or multiple dll's, not sure which but they don't mix.
It's kind of like having webforms with a mixture of cs and vb code behind pages.
You need to rewrite one of them if you want to keep them in the App_Code.
now I using IIS 5.1.
I created web application project using Visual Studio 2005 &
SQL Server 2005. then
I created virtual directory on IIS 5.1.
I attached database in MS SQL server 2005.
My web application contain ASP.Net 2.0 membership & login control.
When I browse my application from Browser using..
my application runs correctly.
I cannot use Login control.
Login control just display when I run.
But it is not working, when I use log in control.
How I have to configure IIS 5.1
I am very confusing now, reading other help from Online.
Did you setup your database and table, and enter a user and password in it.
I remember seeing a complete MS kit, in which you can download a starter program that already has all that going, and it sets up your sql server as well, so you get instant gratification within about an half hour.
now I am trying to make virtual directory for asp.net 2.0 web application.
I know how to make virtual directory.
in my web project, App_Data contains database (.mdf) file.
then, I change web.config connection strings like that:
I used auto attach connection.
But now,when I browse this application from browser, It shows error like below.
CREATE DATABASE permission denied in database 'master'.
An attempt to attach an auto-named database for file C:\Inetpub\wwwroot\WebHelpDesk\App_Data\Database.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
I don't know how to slove.
pls share me , giving idea how to solve.
I also checked in SQL server 2005 management.
I detached my database file in SQL server.
but it shows error like above.
i am not able to get where you got this problem. but another solution for this is, you can install your database in your SQL server and change your connection string to point local SQL instance and your database.
I have a web forms app where I use Windows authentication and built-in authorization based on the logged on Windows user. I don;t make explicit use of session state anywhere in my application code. Therefore, my web application has zero log on or log off functionality, but the client has expressed concern that because users never actively log off, we are left with unused session objects or similar such things left lying around, affecting performance and memory.
First, is there any risk of what the client fears? Then, what housekeeping practices can I adopt to prevent this happening if it does, or to mitigate the effects?
The two concepts I was trying to point you toward are:
Session Timeout - If the user does not refresh or request a page within the time-out period, the session ends.
Session Abandon - If you do not call the Abandon method explicitly, the server destroys these objects when the session times out.
From the above information, I believe we can conclude that you don't have to do anything special in your web application, the IIS server has a session timeout value default around 20 or 30 minutes after the timeout period, the inactive users will have their session ended and the IIS server will destroy the memory and resources allocated to that session.
Please correct me if I'm wrong, but that is how I understand it.
Yes, the links are valid, thank you, but knowing that sessions time out isn't enough in this case. I am looking for some sort of assurance that the resources used for timed out sessions are properly freed up.
I need to find/extract XML output from a VS 2010 project. I've inherited a project from somebody who vacated it without notice. I DO NOT KNOW WHAT I'M DOING IN VS... but hsve been told by my boss that I must figure it out. My understanding is that when a VS "project" is "Run" it will generate XML output. I'M A TOTAL NOOB. How do I "open" and "run" a VS project and then find the XML output in a portable format? My second requirement is to give this XML output to another individual. Please help. Thank you!
Last Visit: 31-Dec-99 19:00 Last Update: 8-Dec-22 23:37