.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

VS 2008 Web Application Project

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

Hi, I am working on a VS time clock project to be used for student's to clock in and out. When the student clocks in the time/date is saved to a temp table. Upon login out to the login screen for the next user to use I need to save the clocked in time to a permanate table. It is an update from the temp table to the permanate table. However, when the page redirects to the login page, I recieve the dbnull to date is invalid error. Now understand, when the page is redirecting to the login page for the next user, the only way I could figure out to get the browser to forget the sessionstate, was to use a delete statement that removes the data from the perm table, but before it erases it, I need to save it to the permanate database table.


Anyone have a solution they can send my way??


Thanks :) 

View Complete Post

More Related Resource Links

How to create ASP.Net Web Application project in VS 2008?


Hi Guys,

In VS 2005 we need to install patch or VS2005 SP1 to create "ASP.Net Web Application" project.

Can anyone explain how to create "ASP.Net Web Application" project in VS 2008? (Not Website)



is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site p


is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site project


my current project references




i have a very annoying iis problem

iis server stops working until app pool is recycled


i am hoping that new visual studio (net framework 4.0) may solve this very annoying unsolveable problem


Business Intelligence Reports Project in Visual studio 2008 ?



I wonder how to add a project template called  Intelligence Reports, something like that, to Visual studio 2008. I have SQL 2008 installed. Do I need to install some updates to get Intelligence Reports template to Visual studio 2008 ?

Thank you..

Visual Studio Web Deployment Project for VS 2008


What is the latest version of Visual Studio web deployment project which I can use with  VS 2008 ?

Can I use VS 2010 Web Deployment Project with  VS 2008 ?


Problems converting VS 2003 project to VS 2008



I'm having problems converting a VS 2003 project to VS 2008 (tried 2005 as well, same problem). There are several problems;
a) I don't have VS 2003 installed.
b) The project is a web service, however I'm not sure what type of VS project it was created as.
c) The general knowledge about the project setup is..slim.

I get a error message using the conversion wizard, however, I'm not familiar with the tool and I cannot quite find any good information on Google for it, so I am left with a error message I do not understand.

Conversion Issues - myProject.csproj:
Unable to open the Web site 'C:\local\path\to\project\myProject.csproj'. The Web site 'C:\local\path\to\project\myProject.csproj' does not exist.

The web service is not intended to run on the dev machine, it is copied to a test or a prod server. However, I do not know how this was done previously. I'm thinking that in order to convert, it has to access the server on which it should run (which is set somehow in a config maybe). But that doesn't actually make any sence..

If anyone could shed light on this, I would really appreciate it.

Thank you.

Installing Application templates on SharePoint Services 3.0 on Windows 2008 r2 x64

Hi, I know I can install this on a Windows 2003 x64, but I can't find any confirmation that this can be installed on Windows 2008 r2 x64. Can I install this on Windows 2008 r2 x64 thanks, Stjani

Connection to Exchange Server of .NET 1.1 Framework application on Windows 2008 64-bit

I am running Visual Studio 2003 .NET Framework 1.1 application on Windows 2008 64-bit machine. There is only one problem - connection to Exchange Server. The same application is running fine on Windows 7 64-bit machine (not server). I tried to use the same Interop.MAPI.dll I used for Windows 7, but it doesn't work for Windows 2008.   Please help.  

SSIS 2008 generates Registration information for this application needs to be updated - VSTA.exe

I am getting the following error in SQL Server 2008 R2 (build 10.50.1734) x86 platform BI Development Studio (BIDS) 9.0.30729.4462 with .NET Framework 3.5 SP1 in a Integration Services project. I have a package with a Data Flow task that contains a Script Component. I edit it and attempt to edit script and I get the following error: Registration information for this application needs to be updated. To update, log on as an administrator and run this command: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\VSTA.exe /HostID SSIS_ScriptComponent /setup About a minute later, another box displays with the following message Cannot show Visual Studio Tools for Applications editor. Additional information: The VSTA designer failed to load. “System.Runtime.InteropServices.COMExeption (0x80004005) Error HRESULT E_FAIL has been returned from a call to a COM component at VSTADTAProvider.Interop.VSTADTEProiderClass.GetDTE(String bysHostID, Uint32 dwTimeout). I execute the command above running as an administrator (there are no output results). BIDS displays the same symptoms. This happens on a Windows 7 Enterprise (I said Professional in an earlier but un-related post) workstation x86 platform. I get the error even if I create a new script component in a new data flow task in a new package. I also have VS 2010 Premium Edition (build 10.0.30319.1 RTMRel) i

Can I add an entire folder to my Web Application Project?

Hi gang, I have been developing my first ASP.Net 2.0 website using the Web Application Project model. I ran into a funny problem and I wanted to bounce it off you guys. I started working with a component called FCKeditor that is an HTML javascript editor. In addition to a .DLL file, you have to add an entire folder of stuff including javascript, CSS, and images. I tried copying the folder as a subfolder under the project root and then tried Add / Existing Item to add the folder to my project, but you can't add folders, only individual files. Am I missing something? Is there a way to add an entire folder of content to my Web Application Project? Thanks,Kevin

Problem create a web application on SharePoint 2007 (Project Server 2007)

I installed a Project Server 2007 in a 3 server structure (all Win 2003 sp2; one for App server hosting Central Admin, Project Server service & Search service; one for web server; one for database server).  They are only in the same domain and I use the same network account for the installation as well as the WSS service account.  The same network are local admin for those 3 servers. All installation & patches seem ok (at least I don't get error messages) until I attempt to create my first Web Application.  After I filled out the web appliction and try to click OK, the page does not change and i saw the java error at the right bottom corner from my IE browser (version 6). The message is .... Line: 1686 Char: 1 Error: 'WebForm_PostBackOptions' is undefined Code: 0 URL: http://myservername:28804/_admin/extendvs.aspx On my SP log, below are the portion of the log when the error happen. 09/09/2010 12:28:29  1  INF        Entering function UserInterface.ShowCentralAdmin 09/09/2010 12:28:29  1  INF          The show central admin command has been chosen 09/09/2010 12:28:29  1  INF          Searching for registry key Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\CentralAdministrati

Visual Studio 2008 Asp.net Development Server Launches When use local IIS is project option

I have a visual studio 2008 asp.net MVC webapp project.  The project is set to use local IIS WebServer. When I run without debugging, it runs just fine.  However when i run with debugging Visual studio launches the Asp.net Development Server on top of IIS.  I would not care if it wasnt for the fact that any time i make a web request to the MVC Site it seems to be creating duplicate requests resulting in a very painful debugging experience.Thanks,Giovanni

Error on VS 2008 Class Library project: are you missing an assembly reference?)

http://msdn.microsoft.com/en-us/library/bb153523(office.12).aspx Working with ASP.NET 2.0 Web Parts and Windows SharePoint Services 3.0 Based on the above MSDN Walkthrough, I created a Class Library VS 2008 project. When clicking the Build menu, 11 errors on System.Web.Security etc popped up.  What's wrong? *********************************************** using   System; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; Error 1 The type or namespace name 'Security' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) Error 2 The type or namespace name 'UI' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)

WPF VS 2008- The project type is not supported by this installation

I need to work on a new project using WPF. I got visual studio 2005 installed on my machine before. For this new project i've installed visual studio 2008 and kept vs 2005 also on my machine. When i opened a new WPF project  it opened normally. Paralelly i opened vs 2005 also to check my previous project. Then onwards i could not open WPF projects with vs 2008. I'm not sure this problem came due to i opened vs 2005 in the middle. My expectation is both should work side by side. I'm getting message saying that, "This project type not supported by this installation". If i open any existing WPF projects, it is showing only XAML but desinger is not showing any UI but a message saying "An unhandled exception has occured" followed lenghty exception details. I tried different ways to solve it like re-installing VS 2008, running devenv/setup devenv/resetskippags etc.. but nothing worked. Please suggest.


Hi All, I am attempting to implement the Project Real BI solution (http://www.microsoft.com/sqlserver/2005/en/us/project-real.aspx) It is designed for 2005. I am running two instances of SQL Server: 1. 2005 (default instance) 2. 2008 (named instance) AS 2005 is not installed, AS 2008 is. I have been able to get the source transactional and DW up on my SQL2005 instance. And have implemented the cube onto my AS 2008 instance. However, when i run the SSIS packages it fails when it gets to the AS_Dim_Process_MT.dtsx package - with the following error: [Execute Process Task] Error: In Executing "C:\Microsoft Project REAL\ETL\ETL\ascmd.exe" " -S "(local)" -d "REAL Warehouse Sample V6 MT" -v  maxparallel=6 ProcessType=ProcessUpdate -i "C:\Microsoft Project REAL\ETL\ETL\Dim_64bit.xmla" -T "C:\Microsoft Project REAL\ETL\ETL\Dim_process_trace_20100915_165920.csv" -Tl low " at "C:\Microsoft Project REAL\ETL\ETL", The process exit code was "1" while the expected was "0". I am guessing it has something to with either: 1. ascmd.exe and it's compatibility with 2008, or 2. the XMLA and it's compatibility with 2008? Also, in the project real directory there is also a Dim_32bit.xmla which i think it should be picking up (i am on 32 bit). Any assistance greatly appreciated. Thanks, Clay   &nbs

how to convert web application to website in visual studio 2008

Dear all,                      I have to integrate web application into website. What are the changes i have to do. I need information very urgently. can any one help here. 

Deadlock issue in SQL Server 2008 R2 (.Net 2.0 Application)

The Sql Server 2008 R2 instance in question is a heavy load OLTP production server. The deadlock issue came up a few days back and is still unresolved. We received the Xml deadlock report that listed the stored procedures involved in the deadlock and some other details. I'll try to list down the facts from this xml first: Two stored procedures are involved in the deadlock, say SP1 and SP2. According to the report SP1 was running in Isolation level "Serializable" and SP2 was running in "ReadCommitted" . We have investigated the following: Are we setting IsolationLevel of SP1 to "Serializable" inside SP or in Code? - No. Is any other SP whose IsolationLevel is "Serializable" calling SP1? - No. Are the table used by SP1 called by any other SP that has Isolation Level as "Serializable"? - Yes. There are SPs that have Isolation Level set to "Serializable" and access the same tables as SP1, but we don't know whether they were running at the time of deadlock or not as the deadlock report only showed SP1 and SP2. Lines of thought: We have considered the following possible causes: Deadlock is occurring because SP1 is running as "Serializable". - Why is this SP running in Serializable when I haven't set it? Is the Isolation level escalating (like locks do)? If we figure this out and make it run as ReadCom

Can't add ASPNETDB.MDF to ASP.NET 4 Web Site project [SQL Server 2008 R2 Express]

I'm using SQL Server 2008 R2 Express and try to add ASPNETDB.mdf database to my web site project. However, the following message appears: "Connections to SQL Server database files (.mdf) require SQL Server 2005 Express or SQL Server 2008 Express to be installed and running on the local computer. The current version of SQL Server Express can be downloaded at the following URL: http://go.microsoft.com/fwlink/?LinkId=125883". In spite of this message, however, database appears in App_Data folder. What is wrong?
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend