Web Forms :: Difference Between IIS And VS2008 IIS?
Mar 10, 2010
I have the project in vs2008. I find that there is difference behavior between VS2008 Debug Mode IIS and Windows 7 IIS.
I have published the project and deploy on windows 7 IIS.
Different examples: After login, VS2008 debug mode can go to default page but not in windows 7 IIS in which it return back to login page after login. Sometimes, they can login but still difference behavior in page reload such as dropdownlist databind.
Is there a difference between the Web Setup Project in VS2008 and the Web Deployment Project that I keep reading about on this site? More importantly, how much of a help is the deployment project over just using the setup project?
I have been trying to use some of the controls in vs2008 and I am having probems. 1) When I try to choose multiple controls the control nor shif key works and I can only click on one control at a time.
2) When using wizard, panel, ajax tab control, etc. I cannot get my other controls to go inside the boxes. They want to land elsewhere on the page (Outside the box). I have tried copying, moving, a new pull, etc. Can anyone tell me what I am doing wrong or direct me to a tutual on this.
3) In Ajax tabs the tabs are so small that I cannot read the text in the tab. I have tried to enlarge etc. but it's not working. Also, when I try to pick on a tab to change tabs, my tab doesn't change and I cannot get the controls to go into the right tab.
I am developing a website and find problems on onunload event.
As the code below, it aims to modify the database when the 'X' of browser is clicked or it navigator to other page. However, when the AAA.aspx is loaded, it is found that end() would be run and already modify the database and change the status as 1, which is not my aim.
I need to uplaod photo in my VS2008 project. Can I use FileUpload control or link button is the better option. Also, how to do the upload using both controls.
In the process of migrating an old VS2003 web app to VS2008, I'm running into this issue and haven't been able to find a resolution. Sample code: "Default.aspx" has a PlaceHolder(ToolHeader). In the Page_Load(), we dynamically load a user control passing in the virtual path to a helper method [public Control ParseUserControl(string virtualPath)]. This reads the content from the physical path, returns a Control from ParseControl() method. I immediately get the following error when I open the default.aspx page in browser.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'DynamicUC.UcControl'.
Source Error: Line 1: <%@ Control AutoEventWireup="true" CodeBehind="UcControl.ascx.cs" Inherits="DynamicUC.UcControl" %>
Can't figure out why it can't load the type. Namespaces are looking right. I try removing the Inherits="DynamicUC.UcControl" attribute from the "ucControl.ascx", it loads the page fine. Also, this control is a simple one and has no code behind. There are others with actual code behind. They won't work if I remove the Inherits attribute.
Can anyone point me to where i can find a documentation about css, masterpage and derived pages in VS2008. I used them in VS2005 but it looks like it's almost impossible on VS2008. or it's just me.
Ive created a web site using VS2008 ASP.net and connected to a Firebird Database.
I have a page that has a GridView(added at design time) and have connected to a table at runtime.
[Code]....
All good as the table contents are displayed at 10 rows per page. Ive set the Property AllowSorting to True. Has anyone got examples on how to code the sorting? Ive had a look round the net but all the examples Ive tried dont work.
can I use .net framework 4.0 in VS2008 ? If yes how can I do that? My application uses 2.0 ,Or are there advantages to updating to the latest .NET 4.0 now? And also I came across some new features in framework 4.0 like :
i have crated dll of my c# application and Have signed it but m not getting how to register it as i want to access it in my asp application so plz can u provide the steps required for registration
I opened an existing VB WINFORM Project on Sunday that I had been working with on Friday, but now the toolbox only showed REPORTING and Visual basic PowerPacks.I had not added or changed the toolbox since I used it on Friday (in fact there have been no changes for a long time....if ever).I tried running "devenv /installvstemplates" and "devenv /resetskippkgs" but they didn't fix it.If I do a "Show All" on the toolbox, a Standard heading shows, but all controls (Label, Textbox, Button, etc) are grayed out
I need to migrate a ASP.NET application from 1.1 to 3.5. I have gone through the answers on this forum already, but still have some questions
should I convert the application from 1.1 to 3.5 directly? OR convert it to 2.0 first and then to 3.5 and the reasons for doing so.Is there any article that walks through the whole conversion process from 1.1 to 3.5 with solutions for any typical issues encountered during the conversion process?Is it possible to convert a ASP.NET 1.1 project to ASP.NET 2.0 using VS2008 OR do I need to use VS2005 IDE for doing so?
When I make a change to a form, add a control, or text, etc., the updates don't appear immediately in the web browser after I run the application again. I have also tried saving the changes before running it again. Same results in either IE or FireFox.
I have also set my browser to check for updates everytime a web page is loaded again.
I am trying to get the porofile for a specified user to return so i can put the info into appropriate textboxes but using profile base and a number of other remedies i cant seem to get it to return anything other than null values
I have an array that I want to bind to a repeater. It's a single dimensional array, and I simply want to post the values of that array to a repeater. I tried binding directly from the array but I couldn't get it to work right, so I looked around and found that I should maybe use a hashtable. I'm thinking that I can sort the array appropriately, then feed the array into the hashtable as is. The problem is, though, the key order in the hashtable doesn't match the values in the array. Here's the code:
[Code]....
So if my sorted array is 1,2,3,4,5, for some reason the hastable doesn't have the keys in the same order. Is there someway to sort the hashtable so that the key order is sequential when I bind the repeater, or is there a better way to handle this?
I'm having problems trying to connect to a remote debugger for VS2008-SP1.I'm trying to debug an ASP.NET application on a Win2k8 VM. The host PC (WinXPsp3) running Visual Studio is connected to an AD domain, and is logged in with a domain account. The VM is not connected to the domain and is logged in with the local Administrator account.The VisualStudio remote debugger requires authentication in both directions, so I would normally add my domain account as a local admin on the VM and allow debug permissions for that user.Since the VM is not on the domain, I can't add my domain account as a local admin. What can I do to get remote debugging going between my PC and the VM?